sha
null | last_modified
null | library_name
stringclasses 154
values | text
stringlengths 1
900k
| metadata
stringlengths 2
348k
| pipeline_tag
stringclasses 45
values | id
stringlengths 5
122
| tags
listlengths 1
1.84k
| created_at
stringlengths 25
25
| arxiv
listlengths 0
201
| languages
listlengths 0
1.83k
| tags_str
stringlengths 17
9.34k
| text_str
stringlengths 0
389k
| text_lists
listlengths 0
722
| processed_texts
listlengths 1
723
| tokens_length
listlengths 1
723
| input_texts
listlengths 1
61
| embeddings
listlengths 768
768
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
null | null |
transformers
|
# CLIP-Italian
CLIP Italian is a CLIP-like Model for Italian. The CLIP model (Contrastive Language–Image Pre-training) was developed by researchers at OpenAI and is able to efficiently learn visual concepts from natural language supervision.
We fine-tuned a competitive Italian CLIP model with only ~1.4 million Italian image-text pairs. This model is part of the [Flax/Jax Community Week](https://discuss.huggingface.co/t/open-to-the-community-community-week-using-jax-flax-for-nlp-cv/7104), organized by [HuggingFace](https://huggingface.co/) and TPU usage sponsored by Google.
## Training Data
We considered three main sources of data:
- [WIT](https://github.com/google-research-datasets/wit)
- [MSCOCO-IT](https://github.com/crux82/mscoco-it)
- [Conceptual Captions](https://ai.google.com/research/ConceptualCaptions/)
## Training Procedure
Preprocessing, hardware used, hyperparameters...
## Evaluation Performance
## Limitations
## Usage
## Team members
- Federico Bianchi ([vinid](https://huggingface.co/vinid))
- Raphael Pisoni ([4rtemi5](https://huggingface.co/4rtemi5))
- Giuseppe Attanasio ([g8a9](https://huggingface.co/g8a9))
- Silvia Terragni ([silviatti](https://huggingface.co/silviatti))
- Dario Balestri ([D3Reo](https://huggingface.co/D3Reo))
- Gabriele Sarti ([gsarti](https://huggingface.co/gsarti))
- Sri Lakshmi ([srisweet](https://huggingface.co/srisweet))
## Useful links
- [CLIP Blog post](https://openai.com/blog/clip/)
- [CLIP paper](https://arxiv.org/abs/2103.00020)
- [Community Week README](https://github.com/huggingface/transformers/blob/master/examples/research_projects/jax-projects/README.md)
- [Community Week channel](https://discord.com/channels/858019234139602994/859711887520038933)
- [Hybrid CLIP example scripts](https://github.com/huggingface/transformers/tree/master/examples/research_projects/jax-projects/hybrid_clip)
- [Model Repository](https://huggingface.co/clip-italian/clip-italian-final/)
|
{"language": "it", "tags": ["italian", "bert", "vit", "vision"], "datasets": ["wit", "ctl/conceptualCaptions", "mscoco-it"]}
| null |
clip-italian/clip-italian-final
|
[
"transformers",
"jax",
"hybrid-clip",
"italian",
"bert",
"vit",
"vision",
"it",
"dataset:wit",
"dataset:ctl/conceptualCaptions",
"dataset:mscoco-it",
"arxiv:2103.00020",
"endpoints_compatible",
"region:us"
] |
2022-03-02T23:29:05+00:00
|
[
"2103.00020"
] |
[
"it"
] |
TAGS
#transformers #jax #hybrid-clip #italian #bert #vit #vision #it #dataset-wit #dataset-ctl/conceptualCaptions #dataset-mscoco-it #arxiv-2103.00020 #endpoints_compatible #region-us
|
# CLIP-Italian
CLIP Italian is a CLIP-like Model for Italian. The CLIP model (Contrastive Language–Image Pre-training) was developed by researchers at OpenAI and is able to efficiently learn visual concepts from natural language supervision.
We fine-tuned a competitive Italian CLIP model with only ~1.4 million Italian image-text pairs. This model is part of the Flax/Jax Community Week, organized by HuggingFace and TPU usage sponsored by Google.
## Training Data
We considered three main sources of data:
- WIT
- MSCOCO-IT
- Conceptual Captions
## Training Procedure
Preprocessing, hardware used, hyperparameters...
## Evaluation Performance
## Limitations
## Usage
## Team members
- Federico Bianchi (vinid)
- Raphael Pisoni (4rtemi5)
- Giuseppe Attanasio (g8a9)
- Silvia Terragni (silviatti)
- Dario Balestri (D3Reo)
- Gabriele Sarti (gsarti)
- Sri Lakshmi (srisweet)
## Useful links
- CLIP Blog post
- CLIP paper
- Community Week README
- Community Week channel
- Hybrid CLIP example scripts
- Model Repository
|
[
"# CLIP-Italian\nCLIP Italian is a CLIP-like Model for Italian. The CLIP model (Contrastive Language–Image Pre-training) was developed by researchers at OpenAI and is able to efficiently learn visual concepts from natural language supervision. \n\nWe fine-tuned a competitive Italian CLIP model with only ~1.4 million Italian image-text pairs. This model is part of the Flax/Jax Community Week, organized by HuggingFace and TPU usage sponsored by Google.",
"## Training Data\nWe considered three main sources of data: \n- WIT\n- MSCOCO-IT\n- Conceptual Captions",
"## Training Procedure\nPreprocessing, hardware used, hyperparameters...",
"## Evaluation Performance",
"## Limitations",
"## Usage",
"## Team members\n- Federico Bianchi (vinid)\n- Raphael Pisoni (4rtemi5)\n- Giuseppe Attanasio (g8a9)\n- Silvia Terragni (silviatti)\n- Dario Balestri (D3Reo)\n- Gabriele Sarti (gsarti)\n- Sri Lakshmi (srisweet)",
"## Useful links\n- CLIP Blog post\n- CLIP paper\n- Community Week README\n- Community Week channel\n- Hybrid CLIP example scripts\n- Model Repository"
] |
[
"TAGS\n#transformers #jax #hybrid-clip #italian #bert #vit #vision #it #dataset-wit #dataset-ctl/conceptualCaptions #dataset-mscoco-it #arxiv-2103.00020 #endpoints_compatible #region-us \n",
"# CLIP-Italian\nCLIP Italian is a CLIP-like Model for Italian. The CLIP model (Contrastive Language–Image Pre-training) was developed by researchers at OpenAI and is able to efficiently learn visual concepts from natural language supervision. \n\nWe fine-tuned a competitive Italian CLIP model with only ~1.4 million Italian image-text pairs. This model is part of the Flax/Jax Community Week, organized by HuggingFace and TPU usage sponsored by Google.",
"## Training Data\nWe considered three main sources of data: \n- WIT\n- MSCOCO-IT\n- Conceptual Captions",
"## Training Procedure\nPreprocessing, hardware used, hyperparameters...",
"## Evaluation Performance",
"## Limitations",
"## Usage",
"## Team members\n- Federico Bianchi (vinid)\n- Raphael Pisoni (4rtemi5)\n- Giuseppe Attanasio (g8a9)\n- Silvia Terragni (silviatti)\n- Dario Balestri (D3Reo)\n- Gabriele Sarti (gsarti)\n- Sri Lakshmi (srisweet)",
"## Useful links\n- CLIP Blog post\n- CLIP paper\n- Community Week README\n- Community Week channel\n- Hybrid CLIP example scripts\n- Model Repository"
] |
[
70,
111,
25,
16,
4,
3,
3,
69,
34
] |
[
"passage: TAGS\n#transformers #jax #hybrid-clip #italian #bert #vit #vision #it #dataset-wit #dataset-ctl/conceptualCaptions #dataset-mscoco-it #arxiv-2103.00020 #endpoints_compatible #region-us \n# CLIP-Italian\nCLIP Italian is a CLIP-like Model for Italian. The CLIP model (Contrastive Language–Image Pre-training) was developed by researchers at OpenAI and is able to efficiently learn visual concepts from natural language supervision. \n\nWe fine-tuned a competitive Italian CLIP model with only ~1.4 million Italian image-text pairs. This model is part of the Flax/Jax Community Week, organized by HuggingFace and TPU usage sponsored by Google.## Training Data\nWe considered three main sources of data: \n- WIT\n- MSCOCO-IT\n- Conceptual Captions## Training Procedure\nPreprocessing, hardware used, hyperparameters...## Evaluation Performance## Limitations## Usage## Team members\n- Federico Bianchi (vinid)\n- Raphael Pisoni (4rtemi5)\n- Giuseppe Attanasio (g8a9)\n- Silvia Terragni (silviatti)\n- Dario Balestri (D3Reo)\n- Gabriele Sarti (gsarti)\n- Sri Lakshmi (srisweet)## Useful links\n- CLIP Blog post\n- CLIP paper\n- Community Week README\n- Community Week channel\n- Hybrid CLIP example scripts\n- Model Repository"
] |
[
-0.07109637558460236,
0.13908669352531433,
-0.001285700942389667,
0.06808706372976303,
0.07002151757478714,
0.01009872741997242,
0.1700759381055832,
0.12564347684383392,
0.03720983490347862,
0.10621091723442078,
-0.020974071696400642,
0.044043704867362976,
0.1176399290561676,
0.17043538391590118,
-0.0013193198246881366,
-0.25516051054000854,
0.03596658632159233,
-0.03037780150771141,
-0.042686525732278824,
0.11755995452404022,
0.13491684198379517,
-0.043780840933322906,
0.04907799884676933,
-0.01434961799532175,
-0.09136521816253662,
0.026896890252828598,
-0.004686501808464527,
-0.047875162214040756,
0.0989082083106041,
0.06710438430309296,
0.11039402335882187,
0.010558812879025936,
0.05651077255606651,
-0.1457744836807251,
0.014807614497840405,
0.09945048391819,
-0.0037413863465189934,
-0.01371573843061924,
0.13335543870925903,
0.053582269698381424,
0.11585428565740585,
0.008939151652157307,
0.06437499076128006,
0.01487770490348339,
-0.12534724175930023,
-0.052896082401275635,
-0.042926594614982605,
-0.015481023117899895,
0.03815536946058273,
0.07520972192287445,
-0.030529970303177834,
0.14737245440483093,
-0.16762521862983704,
0.02173135057091713,
0.03034449927508831,
-0.11494196951389313,
-0.13360276818275452,
-0.013685353100299835,
0.08867152780294418,
0.12265389412641525,
-0.07523460686206818,
0.02865377813577652,
0.011024625040590763,
0.022623207420110703,
-0.05974390357732773,
-0.011678630486130714,
-0.050497040152549744,
-0.05473222956061363,
-0.09830412268638611,
0.01971343159675598,
0.19435161352157593,
-0.022623255848884583,
0.0022239922545850277,
-0.10873107612133026,
-0.03418992832303047,
0.07592052221298218,
-0.08516084402799606,
-0.048200640827417374,
0.014918102882802486,
0.029868969693779945,
0.10733714699745178,
0.09551606327295303,
-0.0947752371430397,
-0.08284676820039749,
0.028857683762907982,
0.08965054899454117,
0.04582135006785393,
0.015817850828170776,
-0.030572930350899696,
0.03722793981432915,
-0.02760738879442215,
-0.09234435111284256,
0.0006604440859518945,
-0.030613703653216362,
-0.035649120807647705,
-0.02563607133924961,
0.037026017904281616,
-0.03865789994597435,
0.07933419197797775,
0.11706839501857758,
0.09439365565776825,
0.038427211344242096,
0.07768384367227554,
0.0212948527187109,
0.04977220669388771,
0.03045029751956463,
-0.04456132650375366,
-0.12026805430650711,
-0.04293442144989967,
0.04755173251032829,
-0.02753520756959915,
-0.01754171773791313,
-0.0348355658352375,
0.021377550438046455,
-0.053425733000040054,
0.014031738042831421,
0.0972958356142044,
0.05251723900437355,
-0.12067096680402756,
-0.043341826647520065,
0.09027259796857834,
-0.13469502329826355,
0.04153994098305702,
0.00001721178887237329,
-0.03557572886347771,
0.09221726655960083,
-0.07368620485067368,
-0.010128785856068134,
-0.06583824008703232,
0.03222139924764633,
-0.05905841663479805,
-0.025922654196619987,
-0.11016880720853806,
-0.0695876032114029,
0.06664453446865082,
-0.09352916479110718,
-0.060850076377391815,
-0.0901079922914505,
-0.0667060986161232,
-0.11631400138139725,
0.04238562658429146,
-0.10451465845108032,
-0.012768744491040707,
-0.004582064691931009,
0.03052469715476036,
-0.005583970341831446,
0.0008000687812454998,
0.0005412852624431252,
-0.07455339282751083,
0.051254648715257645,
-0.04998328536748886,
0.06821945309638977,
-0.050253577530384064,
0.034640006721019745,
-0.10070085525512695,
0.009440903551876545,
-0.17997603118419647,
0.06104062497615814,
-0.09497469663619995,
0.024272413924336433,
-0.1420213282108307,
0.0016781371086835861,
-0.06499995291233063,
0.06282445043325424,
0.041487980633974075,
0.16581016778945923,
-0.28768491744995117,
-0.030199121683835983,
0.13386671245098114,
-0.17156533896923065,
-0.02891082689166069,
0.16458231210708618,
0.012561134062707424,
0.14834162592887878,
0.08683286607265472,
0.16863390803337097,
0.07550472021102905,
-0.11905630677938461,
0.0033846718724817038,
-0.014125407673418522,
0.024150187149643898,
0.03979163616895676,
0.0845135897397995,
-0.021124806255102158,
0.1778099536895752,
0.016857381910085678,
-0.14872656762599945,
-0.035269107669591904,
-0.05090738460421562,
-0.06089295819401741,
0.015296847559511662,
-0.06782405823469162,
-0.06297679245471954,
0.048460111021995544,
0.02740982361137867,
-0.05253566801548004,
-0.10124605894088745,
-0.08472144603729248,
0.052604448050260544,
-0.022529246285557747,
-0.0006885185139253736,
-0.10851036757230759,
0.17552843689918518,
0.07667301595211029,
-0.0034519254695624113,
-0.10840970277786255,
-0.07229055464267731,
0.09672550857067108,
-0.07901056110858917,
0.004250342957675457,
0.035535115748643875,
0.03313744440674782,
-0.005759389605373144,
-0.0219609085470438,
0.02855296991765499,
-0.013974758796393871,
-0.013929273001849651,
-0.0319073386490345,
-0.23090635240077972,
-0.015117351897060871,
-0.03206983208656311,
0.14067454636096954,
-0.1595744788646698,
-0.007400892209261656,
0.13742144405841827,
0.14134345948696136,
-0.018736885860562325,
-0.05980977788567543,
-0.10925453901290894,
0.023203371092677116,
-0.031614575535058975,
-0.04838759824633598,
0.07210560142993927,
-0.009008493274450302,
0.031768593937158585,
0.046818435192108154,
-0.059975557029247284,
0.0000027059820695285453,
0.0761619582772255,
-0.11150170117616653,
-0.09331214427947998,
-0.022933920845389366,
-0.015805384144186974,
-0.04408646002411842,
-0.051945675164461136,
-0.058296434581279755,
0.10396311432123184,
0.0012696499470621347,
0.027080927044153214,
-0.11228395998477936,
0.008155194111168385,
0.01677841693162918,
-0.003987194504588842,
-0.02915526181459427,
0.06460025906562805,
0.1633114218711853,
-0.06649899482727051,
0.10663712024688721,
0.07972089946269989,
0.023585429415106773,
0.21511951088905334,
-0.032903075218200684,
-0.07473205775022507,
0.03480120003223419,
0.051433321088552475,
-0.018391672521829605,
0.07054740935564041,
-0.1567472517490387,
-0.01215562503784895,
0.009629539214074612,
0.01254996843636036,
0.02398986741900444,
-0.14672693610191345,
-0.011612354777753353,
-0.030014583840966225,
-0.0065573351457715034,
-0.03152366727590561,
-0.021431157365441322,
-0.03561699762940407,
0.12124896049499512,
0.04615990072488785,
-0.07304155081510544,
0.005318772047758102,
-0.062177855521440506,
-0.0779072567820549,
0.13155581057071686,
-0.06174197793006897,
-0.1809541881084442,
-0.05701892077922821,
0.05187276750802994,
0.03139323741197586,
0.012160943821072578,
0.0038122835103422403,
-0.07282799482345581,
-0.07313504070043564,
-0.029716691002249718,
0.07891596853733063,
0.05580797418951988,
-0.06620732694864273,
-0.09516678750514984,
0.033796049654483795,
-0.0373707190155983,
-0.0964338481426239,
0.002011912642046809,
0.0007118737557902932,
-0.08714083582162857,
0.004332414362579584,
-0.10085011273622513,
0.12168361991643906,
0.09989558905363083,
0.03090311586856842,
-0.016059162095189095,
0.01402515359222889,
0.22247228026390076,
-0.18448776006698608,
0.09021038562059402,
0.14772295951843262,
-0.02577156014740467,
0.010682237334549427,
0.19055064022541046,
0.044710103422403336,
-0.07758398354053497,
-0.04076189175248146,
0.03973282873630524,
-0.01559623796492815,
-0.19193324446678162,
-0.11075123399496078,
-0.08285307884216309,
-0.007659137714654207,
0.046783413738012314,
0.05981864407658577,
-0.0482466034591198,
0.056729234755039215,
-0.04527399688959122,
-0.06182096153497696,
0.08210021257400513,
0.02419983223080635,
0.11089837551116943,
-0.01079465914517641,
0.0688256248831749,
-0.04730388894677162,
-0.040902137756347656,
0.10986711829900742,
0.06754351407289505,
0.19227008521556854,
0.034875258803367615,
0.17203521728515625,
0.06844887882471085,
0.08847746253013611,
0.05847330763936043,
0.018468916416168213,
0.0962878093123436,
-0.01767994835972786,
-0.018042005598545074,
-0.03591082990169525,
-0.0006919922889210284,
0.04560646787285805,
0.010783787816762924,
-0.18482647836208344,
0.002200258197262883,
-0.03542270138859749,
0.09264359623193741,
0.26977357268333435,
0.007956990040838718,
-0.2141488641500473,
0.011507180519402027,
0.010258561000227928,
-0.05299432948231697,
-0.09411533176898956,
0.01642305962741375,
0.11215333640575409,
-0.12756884098052979,
0.05121858790516853,
0.017767049372196198,
0.08862856775522232,
-0.12645602226257324,
-0.013882146216928959,
0.13112129271030426,
0.027673324570059776,
-0.008294887840747833,
0.06160181388258934,
-0.13863831758499146,
0.23233449459075928,
-0.0029566767625510693,
0.11419827491044998,
-0.0766148790717125,
0.018574679270386696,
-0.04427846893668175,
0.07484647631645203,
0.10994143784046173,
0.007489297538995743,
-0.029482129961252213,
-0.07284080982208252,
-0.06953740119934082,
0.023964429274201393,
0.10593155026435852,
-0.05788668990135193,
0.03520163521170616,
-0.05030721426010132,
0.02813439629971981,
-0.011687084101140499,
-0.11737805604934692,
-0.10411598533391953,
-0.16822034120559692,
0.08571469038724899,
-0.008521982468664646,
-0.0008131064241752028,
-0.06519383192062378,
-0.09602987766265869,
-0.07313654571771622,
0.13487571477890015,
-0.028829971328377724,
-0.03511549159884453,
-0.1232249066233635,
0.03578660264611244,
0.07125020772218704,
-0.02459489181637764,
0.03691105172038078,
-0.01902684196829796,
0.029711486771702766,
0.0010250021005049348,
0.0005478493985719979,
0.12258502840995789,
-0.08166380971670151,
-0.11406140774488449,
-0.1006602942943573,
0.06178386136889458,
0.09217453747987747,
0.015416191890835762,
0.03715838864445686,
0.0025816848501563072,
0.04075437784194946,
-0.05139332637190819,
-0.04513642191886902,
0.008666519075632095,
-0.06504076719284058,
0.02028079144656658,
-0.08005667477846146,
-0.04598180949687958,
-0.05252806842327118,
-0.07772144675254822,
0.021446993574500084,
0.13462235033512115,
-0.04584808647632599,
0.04944903403520584,
0.10190290212631226,
-0.10042654722929001,
-0.29469776153564453,
0.03451409935951233,
0.0862940326333046,
-0.054039619863033295,
-0.015220372006297112,
-0.13875865936279297,
0.11689910292625427,
0.13811898231506348,
-0.029398618265986443,
0.0707278847694397,
-0.2864532470703125,
-0.07283082604408264,
-0.03532584384083748,
0.053088586777448654,
0.0473271943628788,
-0.16991490125656128,
-0.03070143796503544,
-0.004301798064261675,
-0.19284269213676453,
0.007355647161602974,
0.05156750604510307,
0.038366470485925674,
0.02583671361207962,
-0.10303010046482086,
-0.005213994067162275,
-0.024900775402784348,
0.15896502137184143,
0.05073334649205208,
0.018813421949744225,
-0.07009360939264297,
-0.033274635672569275,
0.04690208286046982,
0.05623362213373184,
-0.0022376864217221737,
0.05881422013044357,
-0.08554208278656006,
-0.06239130347967148,
-0.036377184092998505,
-0.08197212964296341,
0.06978464871644974,
-0.06817062944173813,
-0.0009726859861984849,
-0.023586520925164223,
0.09626022726297379,
0.009253452531993389,
0.020262647420167923,
-0.010752232745289803,
-0.09852883219718933,
0.08441933244466782,
0.03323660418391228,
0.15205618739128113,
0.029009105637669563,
-0.12573499977588654,
-0.011850196868181229,
0.028876932337880135,
0.06764501333236694,
-0.0043899500742554665,
0.017917577177286148,
0.13587434589862823,
0.010762880556285381,
0.07520421594381332,
0.02842112071812153,
-0.08763858675956726,
-0.026180898770689964,
0.1421007663011551,
-0.05200280621647835,
-0.1577543467283249,
0.012785239145159721,
-0.019813470542430878,
-0.06089604273438454,
-0.03734968230128288,
0.06124114990234375,
-0.007876028306782246,
-0.01853834092617035,
-0.013745437376201153,
0.07193519920110703,
-0.04473043978214264,
0.21970583498477936,
-0.033196285367012024,
-0.0011493528727442026,
-0.12375077605247498,
0.09916310012340546,
0.05601507052779198,
-0.1576034426689148,
-0.051472801715135574,
0.12487149238586426,
-0.06533953547477722,
-0.05205272510647774,
0.12781645357608795,
0.07547541707754135,
-0.023060157895088196,
-0.09667599201202393,
-0.08444838225841522,
-0.16099032759666443,
0.028804128989577293,
0.07645556330680847,
0.04924497380852699,
0.032554082572460175,
0.03061205893754959,
0.012009105645120144,
-0.054663728922605515,
0.05019180104136467,
0.13743270933628082,
0.013947655446827412,
-0.02573900856077671,
0.02198781631886959,
0.04813089966773987,
-0.08449500054121017,
-0.03185749426484108,
-0.013814684003591537,
-0.137969508767128,
-0.0027002880815416574,
0.0059915510937571526,
-0.004556496161967516,
-0.0330282598733902,
0.0072531308978796005,
-0.003679900895804167,
-0.035236816853284836,
-0.053951650857925415,
-0.03098205104470253,
-0.10080518573522568,
-0.019974324852228165,
-0.0227222703397274,
0.09625940024852753,
-0.05698242038488388,
0.03014020435512066,
0.06847577542066574,
-0.06892449408769608,
0.04093607887625694,
-0.0009033283567987382,
-0.00919413287192583,
0.004036100581288338,
-0.17005424201488495,
0.002878455678001046,
-0.04343565180897713,
0.05648137256503105,
0.0057019200176000595,
-0.005820497404783964,
0.027016043663024902,
0.05935834348201752,
0.005868191830813885,
0.014352134428918362,
0.02941780909895897,
-0.06323394924402237,
0.11461956799030304,
-0.02384488470852375,
-0.16073061525821686,
-0.01500202901661396,
0.06632059812545776,
0.13012085855007172,
0.03753548488020897,
0.06816042959690094,
-0.07079774141311646,
0.042785290628671646,
-0.12455543130636215,
0.004770695697516203,
0.04737663269042969,
-0.06011416018009186,
-0.015408246777951717,
-0.01849443092942238,
0.08066808432340622,
0.020522626116871834,
0.1306128054857254,
0.12358769029378891,
-0.004854544065892696,
0.05368823558092117,
0.04232461005449295,
-0.04236936196684837,
0.04412311315536499,
0.07642773538827896,
0.04776149243116379,
0.04563537612557411,
-0.0325692743062973,
-0.014261897653341293,
-0.03801253065466881,
0.04788699746131897,
0.07544984668493271,
0.2129400223493576,
0.018898015841841698,
0.06308718025684357,
0.08802547305822372,
-0.07090919464826584,
-0.04625155031681061,
0.12344521284103394,
-0.06484732776880264,
0.08565031737089157,
-0.11336848884820938,
0.10141494870185852,
0.0580998994410038,
-0.1583143174648285,
0.06671825051307678,
-0.07190553098917007,
-0.09381262212991714,
-0.09453579783439636,
-0.17620475590229034,
-0.0439998060464859,
-0.11082353442907333,
0.008672165684401989,
-0.11343606561422348,
0.10528090596199036,
0.11930316686630249,
0.032243501394987106,
-0.06427478045225143,
0.14849631488323212,
-0.06716785579919815,
-0.07635097950696945,
0.10292767733335495,
-0.005503572057932615,
0.096954345703125,
-0.09507746994495392,
-0.0569935068488121,
-0.09834463894367218,
0.055774953216314316,
-0.007015108596533537,
0.031186891719698906,
-0.03631332889199257,
-0.005124252755194902,
-0.05058504641056061,
-0.07207418978214264,
0.019165296107530594,
-0.04109111800789833,
-0.023439517244696617,
0.1888827085494995,
0.00017932600167114288,
-0.01434367522597313,
0.03445693477988243,
0.1492583155632019,
0.03348201513290405,
-0.05710457265377045,
-0.1803998351097107,
0.08881595730781555,
-0.07077748328447342,
0.010696341283619404,
0.011626848950982094,
-0.07639521360397339,
0.002429731423035264,
0.2669370174407959,
0.131866455078125,
-0.032193832099437714,
-0.013030086643993855,
0.021086668595671654,
0.009116948582231998,
0.024936186149716377,
0.13078221678733826,
-0.005197784397751093,
0.21287567913532257,
-0.07401599735021591,
0.02385142259299755,
-0.03253114968538284,
0.014507445506751537,
-0.12082386761903763,
0.06023319438099861,
0.08919129520654678,
0.019797170534729958,
-0.11712478846311569,
0.13658767938613892,
0.04268850013613701,
-0.13632167875766754,
0.07097306847572327,
-0.12879832088947296,
-0.12077102065086365,
-0.06082804873585701,
0.015115304850041866,
0.005811155308037996,
0.09741851687431335,
-0.005597754847258329,
-0.05571916699409485,
0.09371481835842133,
0.02652476169168949,
-0.06424029916524887,
-0.1574990153312683,
0.12096202373504639,
-0.15535369515419006,
0.2165069580078125,
-0.051807526499032974,
0.10851087421178818,
0.07971438020467758,
0.03738044574856758,
-0.0529528371989727,
0.03237141668796539,
0.06210429593920708,
-0.0839172899723053,
-0.030262483283877373,
0.011054113507270813,
-0.06490031629800797,
0.08253488689661026,
0.07155987620353699,
-0.06359581649303436,
0.09458284080028534,
-0.02399452216923237,
-0.03171376511454582,
-0.10705481469631195,
0.0956232026219368,
-0.14891187846660614,
0.144742950797081,
0.16559965908527374,
-0.018732575699687004,
-0.031340647488832474,
-0.05456070601940155,
0.03287060931324959,
0.006787621416151524,
0.10096727311611176,
-0.045253824442625046,
-0.2549036145210266,
-0.022426672279834747,
-0.0952676311135292,
0.04319236800074577,
-0.0035452076699584723,
-0.04539567604660988,
-0.05527797341346741,
-0.004440562799572945,
-0.06909220665693283,
0.05879092961549759,
0.10218477249145508,
0.0038387675303965807,
-0.030317598953843117,
-0.2497158646583557,
0.02548966370522976,
0.1327926367521286,
-0.03471454605460167,
-0.02628422901034355
] |
null | null |
transformers
|
# Italian CLIP
Paper: [Contrastive Language-Image Pre-training for the Italian Language](https://arxiv.org/abs/2108.08688)
With a few tricks, we have been able to fine-tune a competitive Italian CLIP model with **only 1.4 million** training samples. Our Italian CLIP model is built upon the [Italian BERT](https://huggingface.co/dbmdz/bert-base-italian-xxl-cased) model provided by [dbmdz](https://huggingface.co/dbmdz) and the OpenAI [vision transformer](https://huggingface.co/openai/clip-vit-base-patch32).
Do you want to test our model right away? We got you covered! You just need to head to our [demo application](https://huggingface.co/spaces/clip-italian/clip-italian-demo).
The demo also contains all the details of the project, from training tricks to our most impressive results, and much more!
# Training data
We considered four main sources of data:
+ [WIT](https://github.com/google-research-datasets/wit) is an image-caption dataset collected from Wikipedia (see,
[Srinivasan et al., 2021](https://arxiv.org/pdf/2103.01913.pdf)).
+ [MSCOCO-IT](https://github.com/crux82/mscoco-it). This image-caption dataset comes from the work by [Scaiella et al., 2019](http://www.ai-lc.it/IJCoL/v5n2/IJCOL_5_2_3___scaiella_et_al.pdf).
+ [Conceptual Captions](https://ai.google.com/research/ConceptualCaptions/). This image-caption dataset comes from
the work by [Sharma et al., 2018](https://aclanthology.org/P18-1238.pdf).
+ [La Foto del Giorno](https://www.ilpost.it/foto-del-giorno/). This image-caption dataset is collected from [Il Post](https://www.ilpost.it/), a prominent Italian online newspaper.
We used better data augmentation, strategic training choices (we have way less data than the original CLIP paper), and backbone-freezing pre-training. For all the details on that, please refer to our [demo](https://huggingface.co/spaces/clip-italian/clip-italian-demo).
# Experiments
## Quantitative Evaluation
To better understand how well our clip-italian model works we run an experimental evaluation. Since this is the first clip-based model in Italian, we used the multilingual CLIP model as a comparison baseline.
### mCLIP
The multilingual CLIP (henceforth, mCLIP), is a model introduced by [Nils Reimers](https://www.sbert.net/docs/pretrained_models.html) in his
[sentence-transformer](https://www.sbert.net/index.html) library. mCLIP is based on a multilingual encoder
that was created through multilingual knowledge distillation (see [Reimers et al., 2020](https://aclanthology.org/2020.emnlp-main.365/)).
### Tasks
We selected two different tasks:
+ image-retrieval
+ zero-shot classification
### Reproducibiliy
Both experiments should be very easy to replicate, we share the two colab notebook we used to compute the two results
+ [Image Retrieval](https://colab.research.google.com/drive/1bLVwVKpAndpEDHqjzxVPr_9nGrSbuOQd?usp=sharing)
+ [ImageNet Zero Shot Evaluation](https://colab.research.google.com/drive/1zfWeVWY79XXH63Ci-pk8xxx3Vu_RRgW-?usp=sharing)
### Image Retrieval
This experiment is run against the MSCOCO-IT validation set (that we haven't used in training). Given in input
a caption, we search for the most similar image in the MSCOCO-IT validation set. As evaluation metrics
we use the MRR@K.
| MRR | CLIP-Italian | mCLIP |
| --------------- | ------------ |-------|
| MRR@1 | **0.3797** | 0.2874|
| MRR@5 | **0.5039** | 0.3957|
| MRR@10 | **0.5204** | 0.4129|
It is true that we used MSCOCO-IT in training, and this might give us an advantage. However the original CLIP model was trained
on 400million images (and some of them probably were from MSCOCO).
### Zero-shot image classification
This experiment replicates the original one run by OpenAI on zero-shot image classification on ImageNet.
To do this, we used DeepL to translate the image labels in ImageNet. We evaluate the models computing the accuracy at different levels.
| Accuracy | CLIP-Italian | mCLIP |
| --------------- | ------------ |-------|
| Accuracy@1 | **22.11** | 20.15 |
| Accuracy@5 | **43.69** | 36.57 |
| Accuracy@10 | **52.55** | 42.91 |
| Accuracy@100 | **81.08** | 67.11 |
Our results confirm that CLIP-Italian is very competitive and beats mCLIP on the two different task
we have been testing. Note, however, that our results are lower than those shown in the original OpenAI
paper (see, [Radford et al., 2021](https://arxiv.org/abs/2103.00020)). However, considering that our results are in line with those obtained by mCLIP we think that
the translated image labels might have had an impact on the final scores.
# Team members
- Federico Bianchi ([vinid](https://huggingface.co/vinid))
- Raphael Pisoni ([4rtemi5](https://huggingface.co/4rtemi5))
- Giuseppe Attanasio ([g8a9](https://huggingface.co/g8a9))
- Silvia Terragni ([silviatti](https://huggingface.co/silviatti))
- Dario Balestri ([D3Reo](https://huggingface.co/D3Reo))
- Gabriele Sarti ([gsarti](https://huggingface.co/gsarti))
- Sri Lakshmi ([srisweet](https://huggingface.co/srisweet))
|
{"language": "it", "license": "gpl-3.0", "tags": ["italian", "bert", "vit", "vision"], "datasets": ["wit", "ctl/conceptualCaptions", "mscoco-it"]}
|
feature-extraction
|
clip-italian/clip-italian
|
[
"transformers",
"pytorch",
"jax",
"vision-text-dual-encoder",
"feature-extraction",
"italian",
"bert",
"vit",
"vision",
"it",
"dataset:wit",
"dataset:ctl/conceptualCaptions",
"dataset:mscoco-it",
"arxiv:2108.08688",
"arxiv:2103.01913",
"arxiv:2103.00020",
"license:gpl-3.0",
"endpoints_compatible",
"has_space",
"region:us"
] |
2022-03-02T23:29:05+00:00
|
[
"2108.08688",
"2103.01913",
"2103.00020"
] |
[
"it"
] |
TAGS
#transformers #pytorch #jax #vision-text-dual-encoder #feature-extraction #italian #bert #vit #vision #it #dataset-wit #dataset-ctl/conceptualCaptions #dataset-mscoco-it #arxiv-2108.08688 #arxiv-2103.01913 #arxiv-2103.00020 #license-gpl-3.0 #endpoints_compatible #has_space #region-us
|
Italian CLIP
============
Paper: Contrastive Language-Image Pre-training for the Italian Language
With a few tricks, we have been able to fine-tune a competitive Italian CLIP model with only 1.4 million training samples. Our Italian CLIP model is built upon the Italian BERT model provided by dbmdz and the OpenAI vision transformer.
Do you want to test our model right away? We got you covered! You just need to head to our demo application.
The demo also contains all the details of the project, from training tricks to our most impressive results, and much more!
Training data
=============
We considered four main sources of data:
* WIT is an image-caption dataset collected from Wikipedia (see,
Srinivasan et al., 2021).
* MSCOCO-IT. This image-caption dataset comes from the work by Scaiella et al., 2019.
* Conceptual Captions. This image-caption dataset comes from
the work by Sharma et al., 2018.
* La Foto del Giorno. This image-caption dataset is collected from Il Post, a prominent Italian online newspaper.
We used better data augmentation, strategic training choices (we have way less data than the original CLIP paper), and backbone-freezing pre-training. For all the details on that, please refer to our demo.
Experiments
===========
Quantitative Evaluation
-----------------------
To better understand how well our clip-italian model works we run an experimental evaluation. Since this is the first clip-based model in Italian, we used the multilingual CLIP model as a comparison baseline.
### mCLIP
The multilingual CLIP (henceforth, mCLIP), is a model introduced by Nils Reimers in his
sentence-transformer library. mCLIP is based on a multilingual encoder
that was created through multilingual knowledge distillation (see Reimers et al., 2020).
### Tasks
We selected two different tasks:
* image-retrieval
* zero-shot classification
### Reproducibiliy
Both experiments should be very easy to replicate, we share the two colab notebook we used to compute the two results
* Image Retrieval
* ImageNet Zero Shot Evaluation
### Image Retrieval
This experiment is run against the MSCOCO-IT validation set (that we haven't used in training). Given in input
a caption, we search for the most similar image in the MSCOCO-IT validation set. As evaluation metrics
we use the MRR@K.
MRR: MRR@1, CLIP-Italian: 0.3797, mCLIP: 0.2874
MRR: MRR@5, CLIP-Italian: 0.5039, mCLIP: 0.3957
MRR: MRR@10, CLIP-Italian: 0.5204, mCLIP: 0.4129
It is true that we used MSCOCO-IT in training, and this might give us an advantage. However the original CLIP model was trained
on 400million images (and some of them probably were from MSCOCO).
### Zero-shot image classification
This experiment replicates the original one run by OpenAI on zero-shot image classification on ImageNet.
To do this, we used DeepL to translate the image labels in ImageNet. We evaluate the models computing the accuracy at different levels.
Accuracy: Accuracy@1, CLIP-Italian: 22.11, mCLIP: 20.15
Accuracy: Accuracy@5, CLIP-Italian: 43.69, mCLIP: 36.57
Accuracy: Accuracy@10, CLIP-Italian: 52.55, mCLIP: 42.91
Accuracy: Accuracy@100, CLIP-Italian: 81.08, mCLIP: 67.11
Our results confirm that CLIP-Italian is very competitive and beats mCLIP on the two different task
we have been testing. Note, however, that our results are lower than those shown in the original OpenAI
paper (see, Radford et al., 2021). However, considering that our results are in line with those obtained by mCLIP we think that
the translated image labels might have had an impact on the final scores.
Team members
============
* Federico Bianchi (vinid)
* Raphael Pisoni (4rtemi5)
* Giuseppe Attanasio (g8a9)
* Silvia Terragni (silviatti)
* Dario Balestri (D3Reo)
* Gabriele Sarti (gsarti)
* Sri Lakshmi (srisweet)
|
[
"### mCLIP\n\n\nThe multilingual CLIP (henceforth, mCLIP), is a model introduced by Nils Reimers in his\nsentence-transformer library. mCLIP is based on a multilingual encoder\nthat was created through multilingual knowledge distillation (see Reimers et al., 2020).",
"### Tasks\n\n\nWe selected two different tasks:\n\n\n* image-retrieval\n* zero-shot classification",
"### Reproducibiliy\n\n\nBoth experiments should be very easy to replicate, we share the two colab notebook we used to compute the two results\n\n\n* Image Retrieval\n* ImageNet Zero Shot Evaluation",
"### Image Retrieval\n\n\nThis experiment is run against the MSCOCO-IT validation set (that we haven't used in training). Given in input\na caption, we search for the most similar image in the MSCOCO-IT validation set. As evaluation metrics\nwe use the MRR@K.\n\n\nMRR: MRR@1, CLIP-Italian: 0.3797, mCLIP: 0.2874\nMRR: MRR@5, CLIP-Italian: 0.5039, mCLIP: 0.3957\nMRR: MRR@10, CLIP-Italian: 0.5204, mCLIP: 0.4129\n\n\nIt is true that we used MSCOCO-IT in training, and this might give us an advantage. However the original CLIP model was trained\non 400million images (and some of them probably were from MSCOCO).",
"### Zero-shot image classification\n\n\nThis experiment replicates the original one run by OpenAI on zero-shot image classification on ImageNet.\nTo do this, we used DeepL to translate the image labels in ImageNet. We evaluate the models computing the accuracy at different levels.\n\n\nAccuracy: Accuracy@1, CLIP-Italian: 22.11, mCLIP: 20.15\nAccuracy: Accuracy@5, CLIP-Italian: 43.69, mCLIP: 36.57\nAccuracy: Accuracy@10, CLIP-Italian: 52.55, mCLIP: 42.91\nAccuracy: Accuracy@100, CLIP-Italian: 81.08, mCLIP: 67.11\n\n\nOur results confirm that CLIP-Italian is very competitive and beats mCLIP on the two different task\nwe have been testing. Note, however, that our results are lower than those shown in the original OpenAI\npaper (see, Radford et al., 2021). However, considering that our results are in line with those obtained by mCLIP we think that\nthe translated image labels might have had an impact on the final scores.\n\n\nTeam members\n============\n\n\n* Federico Bianchi (vinid)\n* Raphael Pisoni (4rtemi5)\n* Giuseppe Attanasio (g8a9)\n* Silvia Terragni (silviatti)\n* Dario Balestri (D3Reo)\n* Gabriele Sarti (gsarti)\n* Sri Lakshmi (srisweet)"
] |
[
"TAGS\n#transformers #pytorch #jax #vision-text-dual-encoder #feature-extraction #italian #bert #vit #vision #it #dataset-wit #dataset-ctl/conceptualCaptions #dataset-mscoco-it #arxiv-2108.08688 #arxiv-2103.01913 #arxiv-2103.00020 #license-gpl-3.0 #endpoints_compatible #has_space #region-us \n",
"### mCLIP\n\n\nThe multilingual CLIP (henceforth, mCLIP), is a model introduced by Nils Reimers in his\nsentence-transformer library. mCLIP is based on a multilingual encoder\nthat was created through multilingual knowledge distillation (see Reimers et al., 2020).",
"### Tasks\n\n\nWe selected two different tasks:\n\n\n* image-retrieval\n* zero-shot classification",
"### Reproducibiliy\n\n\nBoth experiments should be very easy to replicate, we share the two colab notebook we used to compute the two results\n\n\n* Image Retrieval\n* ImageNet Zero Shot Evaluation",
"### Image Retrieval\n\n\nThis experiment is run against the MSCOCO-IT validation set (that we haven't used in training). Given in input\na caption, we search for the most similar image in the MSCOCO-IT validation set. As evaluation metrics\nwe use the MRR@K.\n\n\nMRR: MRR@1, CLIP-Italian: 0.3797, mCLIP: 0.2874\nMRR: MRR@5, CLIP-Italian: 0.5039, mCLIP: 0.3957\nMRR: MRR@10, CLIP-Italian: 0.5204, mCLIP: 0.4129\n\n\nIt is true that we used MSCOCO-IT in training, and this might give us an advantage. However the original CLIP model was trained\non 400million images (and some of them probably were from MSCOCO).",
"### Zero-shot image classification\n\n\nThis experiment replicates the original one run by OpenAI on zero-shot image classification on ImageNet.\nTo do this, we used DeepL to translate the image labels in ImageNet. We evaluate the models computing the accuracy at different levels.\n\n\nAccuracy: Accuracy@1, CLIP-Italian: 22.11, mCLIP: 20.15\nAccuracy: Accuracy@5, CLIP-Italian: 43.69, mCLIP: 36.57\nAccuracy: Accuracy@10, CLIP-Italian: 52.55, mCLIP: 42.91\nAccuracy: Accuracy@100, CLIP-Italian: 81.08, mCLIP: 67.11\n\n\nOur results confirm that CLIP-Italian is very competitive and beats mCLIP on the two different task\nwe have been testing. Note, however, that our results are lower than those shown in the original OpenAI\npaper (see, Radford et al., 2021). However, considering that our results are in line with those obtained by mCLIP we think that\nthe translated image labels might have had an impact on the final scores.\n\n\nTeam members\n============\n\n\n* Federico Bianchi (vinid)\n* Raphael Pisoni (4rtemi5)\n* Giuseppe Attanasio (g8a9)\n* Silvia Terragni (silviatti)\n* Dario Balestri (D3Reo)\n* Gabriele Sarti (gsarti)\n* Sri Lakshmi (srisweet)"
] |
[
114,
73,
23,
45,
189,
337
] |
[
"passage: TAGS\n#transformers #pytorch #jax #vision-text-dual-encoder #feature-extraction #italian #bert #vit #vision #it #dataset-wit #dataset-ctl/conceptualCaptions #dataset-mscoco-it #arxiv-2108.08688 #arxiv-2103.01913 #arxiv-2103.00020 #license-gpl-3.0 #endpoints_compatible #has_space #region-us \n### mCLIP\n\n\nThe multilingual CLIP (henceforth, mCLIP), is a model introduced by Nils Reimers in his\nsentence-transformer library. mCLIP is based on a multilingual encoder\nthat was created through multilingual knowledge distillation (see Reimers et al., 2020).### Tasks\n\n\nWe selected two different tasks:\n\n\n* image-retrieval\n* zero-shot classification### Reproducibiliy\n\n\nBoth experiments should be very easy to replicate, we share the two colab notebook we used to compute the two results\n\n\n* Image Retrieval\n* ImageNet Zero Shot Evaluation### Image Retrieval\n\n\nThis experiment is run against the MSCOCO-IT validation set (that we haven't used in training). Given in input\na caption, we search for the most similar image in the MSCOCO-IT validation set. As evaluation metrics\nwe use the MRR@K.\n\n\nMRR: MRR@1, CLIP-Italian: 0.3797, mCLIP: 0.2874\nMRR: MRR@5, CLIP-Italian: 0.5039, mCLIP: 0.3957\nMRR: MRR@10, CLIP-Italian: 0.5204, mCLIP: 0.4129\n\n\nIt is true that we used MSCOCO-IT in training, and this might give us an advantage. However the original CLIP model was trained\non 400million images (and some of them probably were from MSCOCO)."
] |
[
-0.005006704945117235,
0.027754835784435272,
-0.003676062449812889,
0.03764769434928894,
0.010837120935320854,
0.02434508129954338,
0.04256000742316246,
0.16994518041610718,
-0.06351590901613235,
0.07051998376846313,
-0.0010922192595899105,
0.06708470731973648,
0.06462088227272034,
0.0029157563112676144,
-0.023015325888991356,
-0.18074311316013336,
0.06044728308916092,
-0.024269653484225273,
-0.01201895996928215,
0.07418987900018692,
0.12535598874092102,
-0.07716929912567139,
0.0388387069106102,
0.006386976223438978,
-0.0486273393034935,
-0.0044955103658139706,
-0.01363662350922823,
0.019105814397335052,
0.08904758095741272,
0.04987417906522751,
0.06462473422288895,
0.11378806829452515,
0.02569407783448696,
-0.21906165778636932,
-0.0025558718480169773,
0.08408798277378082,
0.06563297659158707,
0.05946632847189903,
0.0925903171300888,
-0.04423961788415909,
0.1029476746916771,
0.052443813532590866,
0.0474107563495636,
0.07991713285446167,
-0.1256793886423111,
-0.16736161708831787,
-0.09059158712625504,
-0.000543945818208158,
0.08153906464576721,
-0.022008664906024933,
-0.030242757871747017,
0.13498711585998535,
-0.10478807240724564,
0.046471137553453445,
0.1811029464006424,
-0.24654221534729004,
-0.04983425512909889,
0.188723623752594,
0.10455240309238434,
0.034299835562705994,
-0.03411000594496727,
0.0645497739315033,
0.03926699608564377,
0.00008184427861124277,
0.003792446805164218,
-0.02410712279379368,
-0.03804047033190727,
0.001658123917877674,
-0.1466669887304306,
-0.02757955901324749,
0.1714746057987213,
-0.03333481401205063,
-0.05834805220365524,
-0.06998100876808167,
-0.035193875432014465,
0.06611371785402298,
0.0029132056515663862,
-0.0664605051279068,
0.030723026022315025,
0.0337086096405983,
-0.0304058026522398,
-0.04145928844809532,
-0.10031018406152725,
-0.05294977128505707,
-0.0013248607283458114,
0.047494594007730484,
0.05750275403261185,
0.0264070313423872,
0.02715250477194786,
0.10483749955892563,
-0.00803645234555006,
-0.06976573914289474,
-0.07630044966936111,
-0.10292553901672363,
-0.10917723923921585,
-0.06499254703521729,
-0.063455730676651,
-0.1685710847377777,
0.07622139900922775,
0.22563844919204712,
0.06098061800003052,
0.026020662859082222,
-0.046119365841150284,
0.0984119400382042,
0.021845446899533272,
0.12192612886428833,
-0.08207479864358902,
0.08738445490598679,
-0.025918133556842804,
0.036891330033540726,
-0.03963169828057289,
0.005688908509910107,
-0.03613004460930824,
-0.03370130807161331,
0.09789937734603882,
0.05173342302441597,
0.049595415592193604,
0.024400051683187485,
-0.07101143896579742,
-0.0275796540081501,
-0.08414552360773087,
-0.11534091085195541,
0.021899890154600143,
0.003550516441464424,
-0.06585856527090073,
0.047534797340631485,
0.05059535801410675,
0.01821199059486389,
-0.03004421852529049,
0.019796276465058327,
-0.0604243241250515,
0.04632515087723732,
-0.09728019684553146,
-0.14940857887268066,
0.032435864210128784,
-0.03436455875635147,
-0.06193527579307556,
-0.12070713937282562,
-0.047034792602062225,
-0.06734730303287506,
0.10728519409894943,
-0.09208525717258453,
0.06540125608444214,
-0.04209171235561371,
-0.01641559787094593,
-0.04035329818725586,
0.04103846102952957,
0.012362171895802021,
-0.020436841994524002,
0.046927403658628464,
-0.05095480754971504,
0.13828343152999878,
0.08473953604698181,
0.015608040615916252,
-0.07527851313352585,
0.09139657765626907,
-0.15685366094112396,
0.09236469119787216,
-0.10895318537950516,
-0.01844247616827488,
-0.13664065301418304,
-0.03474863991141319,
-0.011729407124221325,
-0.011494998820126057,
0.02989814057946205,
0.09354112297296524,
-0.20468983054161072,
-0.0023635674733668566,
0.21051454544067383,
-0.12519638240337372,
-0.08279530704021454,
0.14464041590690613,
-0.04424389451742172,
0.14178462326526642,
0.040392786264419556,
0.08780022710561752,
0.0689917728304863,
-0.12760084867477417,
-0.003440618747845292,
-0.0653042197227478,
-0.04454251378774643,
0.18153107166290283,
0.09157127141952515,
0.009595263749361038,
-0.0060449568554759026,
-0.004059417638927698,
0.01085512526333332,
-0.03191569820046425,
-0.09060277789831161,
-0.07912936806678772,
0.014838985167443752,
-0.055907681584358215,
0.045253146439790726,
-0.006042070686817169,
-0.014317937195301056,
-0.060783565044403076,
-0.12182169407606125,
-0.07147707045078278,
0.0653594434261322,
-0.08251051604747772,
0.010785862803459167,
-0.11089727282524109,
0.06171436235308647,
-0.09293901175260544,
0.00981847569346428,
-0.12572580575942993,
-0.012247457168996334,
0.06804370135068893,
-0.1081414744257927,
-0.005541156977415085,
0.17101141810417175,
0.04531657323241234,
0.05521126091480255,
-0.055594634264707565,
0.03133133798837662,
-0.018748097121715546,
0.012241693213582039,
-0.04072035476565361,
-0.0788707360625267,
-0.06149257346987724,
-0.04281911626458168,
0.18614090979099274,
-0.07263043522834778,
-0.016728054732084274,
0.0371498204767704,
0.13916395604610443,
0.014372000470757484,
-0.028506597504019737,
-0.01028923038393259,
-0.00044307668576948345,
-0.040319960564374924,
-0.05131588131189346,
0.056701719760894775,
0.020895037800073624,
-0.0398603193461895,
0.10531014204025269,
-0.13751494884490967,
-0.17608505487442017,
0.02322199195623398,
-0.042316120117902756,
-0.11068025976419449,
-0.04912078380584717,
-0.06626924872398376,
-0.030736634507775307,
-0.08114494383335114,
-0.09751584380865097,
0.10438895970582962,
0.03522762283682823,
0.08875256031751633,
-0.09482210874557495,
-0.0754832774400711,
0.0030438052490353584,
-0.08769580721855164,
-0.01802535355091095,
0.08853709697723389,
0.050260260701179504,
-0.21340225636959076,
0.01902538165450096,
0.016172995790839195,
-0.0381336435675621,
0.0016269152984023094,
0.009154858067631721,
-0.11284985393285751,
-0.07116688042879105,
0.06306947022676468,
0.06816192716360092,
0.030686749145388603,
0.037145934998989105,
0.05935847386717796,
0.05695486068725586,
-0.0021375208161771297,
0.04832557216286659,
-0.12384124100208282,
0.06220587342977524,
0.040660154074430466,
-0.033753637224435806,
0.05816925689578056,
-0.0032504380214959383,
0.013380354270339012,
0.09544748812913895,
-0.008498335257172585,
-0.007416723761707544,
-0.00859314389526844,
-0.04121139273047447,
-0.053844135254621506,
0.16872604191303253,
-0.07182919234037399,
-0.23132885992527008,
-0.12414420396089554,
0.008083827793598175,
-0.03210015594959259,
0.0224900059401989,
0.04485155642032623,
0.012183706276118755,
-0.09823392331600189,
-0.0389639250934124,
0.034118399024009705,
-0.021844152361154556,
-0.09883452951908112,
-0.026437081396579742,
0.09218747913837433,
0.05845341086387634,
-0.11546207964420319,
-0.012744034640491009,
0.0196631271392107,
-0.12137472629547119,
0.15101975202560425,
-0.09315077215433121,
0.07072266936302185,
0.053989946842193604,
-0.05934162437915802,
0.027249924838542938,
0.020120695233345032,
0.1622260957956314,
-0.011058489792048931,
0.04571158066391945,
0.10008545219898224,
-0.049652691930532455,
0.07849525660276413,
0.0823245495557785,
0.01350703090429306,
-0.06163300201296806,
0.025858022272586823,
0.021538756787776947,
-0.04246025159955025,
-0.19443771243095398,
-0.07037897408008575,
-0.02354537509381771,
-0.0433497317135334,
0.061736371368169785,
-0.00031931381090544164,
0.03372432291507721,
0.060022786259651184,
-0.07483019679784775,
-0.03550911694765091,
0.10847221314907074,
0.0646500214934349,
0.07752968370914459,
-0.014027124270796776,
0.07765123248100281,
-0.023063328117132187,
-0.08017326146364212,
0.03868084028363228,
0.051801975816488266,
0.20365828275680542,
0.02883003279566765,
-0.009985024109482765,
0.1052791103720665,
0.005179119296371937,
0.014622390270233154,
0.1158314198255539,
-0.02860265225172043,
0.030456602573394775,
-0.034279171377420425,
-0.07451421022415161,
-0.009650151245296001,
0.10096899420022964,
0.08309359103441238,
-0.10567361116409302,
0.0038611709605902433,
0.019531799480319023,
0.06784562766551971,
0.18854205310344696,
0.14665712416172028,
-0.23199647665023804,
0.003334223059937358,
-0.009638886898756027,
0.014293484389781952,
-0.036908380687236786,
-0.009395487606525421,
0.1619015336036682,
-0.09407807141542435,
0.016382843255996704,
-0.05119838938117027,
0.09238620847463608,
-0.10828912258148193,
0.0013465113006532192,
-0.010634531266987324,
0.021633056923747063,
0.015264888294041157,
0.12287047505378723,
-0.1786864548921585,
0.15836188197135925,
0.034948159009218216,
0.05330923572182655,
-0.047983985394239426,
0.016658591106534004,
0.012777336873114109,
-0.041982244700193405,
0.14317907392978668,
0.0208742618560791,
-0.1152590811252594,
-0.17148415744304657,
-0.12312807142734528,
0.0060101221315562725,
0.11526380479335785,
-0.08253546804189682,
0.14589041471481323,
-0.04841640219092369,
-0.019688716158270836,
-0.0358843095600605,
0.13601142168045044,
-0.10729574412107468,
-0.1368379443883896,
0.09206916391849518,
-0.03838619217276573,
-0.03768013417720795,
-0.08125671744346619,
-0.024098297581076622,
-0.03259875997900963,
0.1481093466281891,
0.0202458668500185,
-0.06830669194459915,
-0.1055411547422409,
0.056613847613334656,
0.169584259390831,
-0.02940998785197735,
-0.025801388546824455,
0.030163025483489037,
0.13126154243946075,
-0.04486934468150139,
-0.0797366201877594,
0.0521351620554924,
-0.046769849956035614,
-0.1301841288805008,
-0.037611935287714005,
0.07700038701295853,
0.008413123898208141,
0.0843106210231781,
0.09761875122785568,
0.11038931459188461,
-0.015423702076077461,
-0.045111414045095444,
0.016385197639465332,
0.07226569205522537,
0.012870908714830875,
0.07508517801761627,
-0.13949096202850342,
0.07634152472019196,
-0.11066477000713348,
-0.0032980532851070166,
0.11641790717840195,
0.307014137506485,
-0.0939767062664032,
0.07348484545946121,
0.0867653489112854,
-0.10664542764425278,
-0.24960097670555115,
-0.08751386404037476,
0.0012221286306157708,
0.010987307876348495,
0.037183284759521484,
-0.11101137846708298,
0.024526597931981087,
0.1308131068944931,
-0.030720798298716545,
-0.03726701810956001,
-0.3002476394176483,
-0.07388854026794434,
-0.0011765166418626904,
0.00026267411885783076,
0.03625977039337158,
-0.08543390780687332,
-0.027102163061499596,
-0.05294252932071686,
-0.15172407031059265,
0.011712195351719856,
0.00962820928543806,
0.12363281100988388,
-0.008330089040100574,
-0.09014033526182175,
0.07282206416130066,
-0.05147022008895874,
0.16559122502803802,
-0.03692134842276573,
0.03831718489527702,
-0.04394525662064552,
0.09250731766223907,
0.06171742454171181,
-0.026326900348067284,
0.11114330589771271,
0.03637686371803284,
0.041719116270542145,
0.007599246688187122,
-0.026880517601966858,
-0.024428628385066986,
0.02513599768280983,
-0.037601277232170105,
-0.048896342515945435,
-0.10511864721775055,
0.09310618042945862,
0.10927911102771759,
0.03253631666302681,
-0.1045500710606575,
-0.035067297518253326,
0.13018947839736938,
0.14358271658420563,
0.08047007769346237,
-0.026883350685238838,
-0.08122728019952774,
0.0197784211486578,
0.031537655740976334,
0.044453371316194534,
-0.0098526980727911,
0.10318256914615631,
0.15232589840888977,
-0.009091571904718876,
0.15731053054332733,
0.07273295521736145,
-0.15168185532093048,
0.0014936961233615875,
0.0793076604604721,
-0.0833771675825119,
-0.15000419318675995,
-0.039910975843667984,
0.0593627505004406,
-0.024532506242394447,
-0.10635638236999512,
0.14502212405204773,
-0.06530074775218964,
-0.0065198661759495735,
0.006283974274992943,
0.08011855185031891,
-0.007535036187618971,
0.15618707239627838,
-0.019551917910575867,
0.06748955696821213,
-0.043854959309101105,
0.11841865628957748,
0.11285766959190369,
-0.07663306593894958,
-0.025013243779540062,
-0.012223558500409126,
-0.04276740178465843,
-0.0390687920153141,
-0.008329976350069046,
0.0945863127708435,
-0.05061111971735954,
-0.013339156284928322,
-0.08353524655103683,
-0.05885491520166397,
-0.03821239247918129,
0.07059374451637268,
0.05175425857305527,
0.0866280198097229,
0.05007294565439224,
-0.03600159287452698,
-0.10057470202445984,
0.11649835109710693,
0.0809856429696083,
0.05672124773263931,
-0.022342104464769363,
0.07583488523960114,
-0.03502735495567322,
-0.010669880546629429,
-0.03961580619215965,
-0.006726896855980158,
-0.11614883691072464,
0.003958645276725292,
-0.12477106600999832,
0.040613774210214615,
-0.02808346413075924,
-0.04491204395890236,
0.05642586946487427,
0.0019867350347340107,
-0.023762457072734833,
-0.0023793268483132124,
-0.11884810030460358,
-0.04044850543141365,
-0.06976887583732605,
0.0798412561416626,
-0.07287006825208664,
-0.08016988635063171,
0.11805202066898346,
-0.11994846910238266,
0.034167736768722534,
-0.03377566114068031,
-0.044294241815805435,
-0.009690837934613228,
-0.0850876197218895,
-0.10827436298131943,
0.0068419501185417175,
0.09643527120351791,
0.01956263743340969,
-0.22049330174922943,
0.0037681327667087317,
0.013547508977353573,
-0.021243831142783165,
0.016251882538199425,
0.028064792975783348,
-0.10329380631446838,
-0.041150741279125214,
-0.10696475952863693,
-0.07784301042556763,
-0.05816035717725754,
-0.004559669177979231,
0.03653542697429657,
0.14144974946975708,
0.11262114346027374,
-0.09785634279251099,
0.0881749838590622,
-0.14202958345413208,
-0.010149814188480377,
0.022080084308981895,
-0.053333401679992676,
0.07544653117656708,
-0.014853269793093204,
0.04549400135874748,
-0.061990536749362946,
0.09661779552698135,
0.05026477947831154,
-0.016383547335863113,
0.02716628648340702,
-0.03521720692515373,
-0.06423281878232956,
0.03804936632514,
0.05710126459598541,
0.07148183882236481,
-0.01685132272541523,
-0.060294412076473236,
-0.000134634567075409,
0.023290999233722687,
-0.0775998905301094,
0.1002010926604271,
0.16173109412193298,
0.03787040337920189,
0.04098415747284889,
0.07496785372495651,
-0.006942653562873602,
0.007431156933307648,
0.10285681486129761,
0.042271047830581665,
0.07665321975946426,
-0.010081400163471699,
0.08775617927312851,
0.1592649519443512,
-0.13482290506362915,
0.10839085280895233,
-0.08797462284564972,
-0.047077726572752,
-0.13612408936023712,
-0.08184383064508438,
-0.11548154801130295,
-0.07515674829483032,
-0.000878878403455019,
-0.10247096419334412,
0.04613255336880684,
0.1012142226099968,
0.03048817440867424,
-0.000695460825227201,
0.0657353326678276,
-0.12164849787950516,
-0.044341932982206345,
0.023967182263731956,
-0.05937600135803223,
0.012999852187931538,
0.046134013682603836,
-0.030546119436621666,
0.09827884286642075,
0.13764385879039764,
0.07518382370471954,
0.06379275023937225,
0.07176799327135086,
-0.013511321507394314,
-0.08389006555080414,
-0.11897620558738708,
-0.002695754636079073,
-0.07100559026002884,
0.03311939164996147,
-0.041928909718990326,
0.042881764471530914,
-0.01141873374581337,
-0.003682271111756563,
0.16083325445652008,
-0.03195467218756676,
-0.1029612347483635,
-0.17631705105304718,
0.21678559482097626,
0.015529626049101353,
0.050409022718667984,
0.049411285668611526,
-0.06414151936769485,
-0.048109643161296844,
0.1826041340827942,
0.09499281644821167,
0.011492641642689705,
-0.04299186170101166,
0.007825762964785099,
0.009203571826219559,
0.013282503932714462,
0.041079942137002945,
0.02460000477731228,
0.08786217868328094,
-0.08418691158294678,
0.06278900802135468,
0.005863684695214033,
-0.02316943369805813,
-0.11515817791223526,
0.014424636028707027,
0.030697956681251526,
0.03111628070473671,
-0.07293122261762619,
0.12085171788930893,
0.011646728962659836,
-0.06573300808668137,
-0.007768642622977495,
-0.08496514707803726,
-0.10679477453231812,
-0.03687003627419472,
0.05737290903925896,
-0.0854615718126297,
0.11698946356773376,
-0.06186337769031525,
-0.01660056971013546,
0.06743718683719635,
-0.020679444074630737,
-0.043643683195114136,
-0.03274046257138252,
0.06176158785820007,
-0.04342705011367798,
0.19601063430309296,
0.03679480403661728,
0.08360741287469864,
0.10500670969486237,
-0.04354051128029823,
-0.09628882259130478,
0.05540990084409714,
0.0214146226644516,
-0.11555856466293335,
0.05551552027463913,
0.17983534932136536,
-0.031848181039094925,
0.056235842406749725,
0.0863482803106308,
-0.09675197303295135,
0.06171298772096634,
0.011211060918867588,
0.0141212809830904,
-0.03770093247294426,
0.03999530151486397,
-0.056684017181396484,
0.09062014520168304,
0.18360549211502075,
-0.029808776453137398,
0.04344616085290909,
-0.06722592562437057,
0.015119530260562897,
0.047681454569101334,
0.05317537859082222,
-0.041265469044446945,
-0.14435826241970062,
-0.02520909532904625,
-0.11378158628940582,
0.01106290053576231,
-0.16724534332752228,
-0.07467436790466309,
0.03651774674654007,
-0.010220520198345184,
-0.008390718139708042,
0.1400068998336792,
0.10927829891443253,
0.004756620153784752,
-0.046780362725257874,
-0.24191929399967194,
0.003622994292527437,
0.058835454285144806,
-0.0878906399011612,
-0.05899136886000633
] |
null | null |
transformers
|
# CoNTACT
### Model description
<u>Co</u>ntextual <u>N</u>eural <u>T</u>ransformer <u>A</u>dapted to <u>C</u>OVID-19 <u>T</u>weets or **CoNTACT** is a Dutch RobBERT model (```pdelobelle/robbert-v2-dutch-base```) adapted to the domain of COVID-19 tweets. The model was developed at [CLiPS](https://www.uantwerpen.be/en/research-groups/clips/) by Jens Lemmens, Jens Van Nooten, Tim Kreutz and Walter Daelemans. A full description of the model, the data that was used and the experiments that were conducted can be found in this ArXiv preprint: https://arxiv.org/abs/2203.07362
### Intended use
The model was developed with the intention of achieving high results on NLP tasks involving Dutch social media messages related to COVID-19.
### How to use
CoNTACT should be fine-tuned on a downstream task. This can be achieved by referring to ```clips/contact``` in the ```--model_name_or_path``` argument in Huggingface/Transformers' example scripts, or by loading CoNTACT (as shown below) and fine-tuning it using your own code:
```
from transformers import AutoModel, AutoTokenizer
model = AutoModel.from_pretrained('clips/contact')
tokenizer = AutoTokenizer.from_pretrained('clips/contact')
...
```
### Training data
CoNTACT was trained on 2.8M Dutch tweets related to COVID-19 that were posted in 2021.
### Training Procedure
The model's pre-training phase was extended by performing Masked Language Modeling (MLM) on the training data described above. This was done for 4 epochs, using the largest possible batch size that fit working memory (32).
### Evaluation
The model was evaluated on two tasks using data from two social media platforms: Twitter and Facebook. Task 1 involved the binary classification of COVID-19 vaccine stance (hesitant vs. not hesitant), whereas task 2 consisted of the mulilabel, multiclass classification of arguments for vaccine hesitancy. CoNTACT outperformed out-of-the-box RobBERT in virtually all our experiments, and with statistical significance in most cases.
### How to cite
```
@misc{lemmens2022contact,
title={CoNTACT: A Dutch COVID-19 Adapted BERT for Vaccine Hesitancy and Argumentation Detection},
author={Jens Lemmens and Jens Van Nooten and Tim Kreutz and Walter Daelemans},
year={2022},
eprint={2203.07362},
archivePrefix={arXiv},
primaryClass={cs.CL}
}
```
|
{}
|
feature-extraction
|
clips/contact
|
[
"transformers",
"pytorch",
"roberta",
"feature-extraction",
"arxiv:2203.07362",
"endpoints_compatible",
"region:us"
] |
2022-03-02T23:29:05+00:00
|
[
"2203.07362"
] |
[] |
TAGS
#transformers #pytorch #roberta #feature-extraction #arxiv-2203.07362 #endpoints_compatible #region-us
|
# CoNTACT
### Model description
<u>Co</u>ntextual <u>N</u>eural <u>T</u>ransformer <u>A</u>dapted to <u>C</u>OVID-19 <u>T</u>weets or CoNTACT is a Dutch RobBERT model () adapted to the domain of COVID-19 tweets. The model was developed at CLiPS by Jens Lemmens, Jens Van Nooten, Tim Kreutz and Walter Daelemans. A full description of the model, the data that was used and the experiments that were conducted can be found in this ArXiv preprint: URL
### Intended use
The model was developed with the intention of achieving high results on NLP tasks involving Dutch social media messages related to COVID-19.
### How to use
CoNTACT should be fine-tuned on a downstream task. This can be achieved by referring to in the argument in Huggingface/Transformers' example scripts, or by loading CoNTACT (as shown below) and fine-tuning it using your own code:
### Training data
CoNTACT was trained on 2.8M Dutch tweets related to COVID-19 that were posted in 2021.
### Training Procedure
The model's pre-training phase was extended by performing Masked Language Modeling (MLM) on the training data described above. This was done for 4 epochs, using the largest possible batch size that fit working memory (32).
### Evaluation
The model was evaluated on two tasks using data from two social media platforms: Twitter and Facebook. Task 1 involved the binary classification of COVID-19 vaccine stance (hesitant vs. not hesitant), whereas task 2 consisted of the mulilabel, multiclass classification of arguments for vaccine hesitancy. CoNTACT outperformed out-of-the-box RobBERT in virtually all our experiments, and with statistical significance in most cases.
### How to cite
|
[
"# CoNTACT",
"### Model description\n\n<u>Co</u>ntextual <u>N</u>eural <u>T</u>ransformer <u>A</u>dapted to <u>C</u>OVID-19 <u>T</u>weets or CoNTACT is a Dutch RobBERT model () adapted to the domain of COVID-19 tweets. The model was developed at CLiPS by Jens Lemmens, Jens Van Nooten, Tim Kreutz and Walter Daelemans. A full description of the model, the data that was used and the experiments that were conducted can be found in this ArXiv preprint: URL",
"### Intended use\n\nThe model was developed with the intention of achieving high results on NLP tasks involving Dutch social media messages related to COVID-19.",
"### How to use\n\nCoNTACT should be fine-tuned on a downstream task. This can be achieved by referring to in the argument in Huggingface/Transformers' example scripts, or by loading CoNTACT (as shown below) and fine-tuning it using your own code:",
"### Training data\n\nCoNTACT was trained on 2.8M Dutch tweets related to COVID-19 that were posted in 2021.",
"### Training Procedure\n\nThe model's pre-training phase was extended by performing Masked Language Modeling (MLM) on the training data described above. This was done for 4 epochs, using the largest possible batch size that fit working memory (32).",
"### Evaluation\n\nThe model was evaluated on two tasks using data from two social media platforms: Twitter and Facebook. Task 1 involved the binary classification of COVID-19 vaccine stance (hesitant vs. not hesitant), whereas task 2 consisted of the mulilabel, multiclass classification of arguments for vaccine hesitancy. CoNTACT outperformed out-of-the-box RobBERT in virtually all our experiments, and with statistical significance in most cases.",
"### How to cite"
] |
[
"TAGS\n#transformers #pytorch #roberta #feature-extraction #arxiv-2203.07362 #endpoints_compatible #region-us \n",
"# CoNTACT",
"### Model description\n\n<u>Co</u>ntextual <u>N</u>eural <u>T</u>ransformer <u>A</u>dapted to <u>C</u>OVID-19 <u>T</u>weets or CoNTACT is a Dutch RobBERT model () adapted to the domain of COVID-19 tweets. The model was developed at CLiPS by Jens Lemmens, Jens Van Nooten, Tim Kreutz and Walter Daelemans. A full description of the model, the data that was used and the experiments that were conducted can be found in this ArXiv preprint: URL",
"### Intended use\n\nThe model was developed with the intention of achieving high results on NLP tasks involving Dutch social media messages related to COVID-19.",
"### How to use\n\nCoNTACT should be fine-tuned on a downstream task. This can be achieved by referring to in the argument in Huggingface/Transformers' example scripts, or by loading CoNTACT (as shown below) and fine-tuning it using your own code:",
"### Training data\n\nCoNTACT was trained on 2.8M Dutch tweets related to COVID-19 that were posted in 2021.",
"### Training Procedure\n\nThe model's pre-training phase was extended by performing Masked Language Modeling (MLM) on the training data described above. This was done for 4 epochs, using the largest possible batch size that fit working memory (32).",
"### Evaluation\n\nThe model was evaluated on two tasks using data from two social media platforms: Twitter and Facebook. Task 1 involved the binary classification of COVID-19 vaccine stance (hesitant vs. not hesitant), whereas task 2 consisted of the mulilabel, multiclass classification of arguments for vaccine hesitancy. CoNTACT outperformed out-of-the-box RobBERT in virtually all our experiments, and with statistical significance in most cases.",
"### How to cite"
] |
[
39,
4,
148,
37,
68,
28,
58,
114,
5
] |
[
"passage: TAGS\n#transformers #pytorch #roberta #feature-extraction #arxiv-2203.07362 #endpoints_compatible #region-us \n# CoNTACT### Model description\n\n<u>Co</u>ntextual <u>N</u>eural <u>T</u>ransformer <u>A</u>dapted to <u>C</u>OVID-19 <u>T</u>weets or CoNTACT is a Dutch RobBERT model () adapted to the domain of COVID-19 tweets. The model was developed at CLiPS by Jens Lemmens, Jens Van Nooten, Tim Kreutz and Walter Daelemans. A full description of the model, the data that was used and the experiments that were conducted can be found in this ArXiv preprint: URL### Intended use\n\nThe model was developed with the intention of achieving high results on NLP tasks involving Dutch social media messages related to COVID-19.### How to use\n\nCoNTACT should be fine-tuned on a downstream task. This can be achieved by referring to in the argument in Huggingface/Transformers' example scripts, or by loading CoNTACT (as shown below) and fine-tuning it using your own code:### Training data\n\nCoNTACT was trained on 2.8M Dutch tweets related to COVID-19 that were posted in 2021.### Training Procedure\n\nThe model's pre-training phase was extended by performing Masked Language Modeling (MLM) on the training data described above. This was done for 4 epochs, using the largest possible batch size that fit working memory (32).### Evaluation\n\nThe model was evaluated on two tasks using data from two social media platforms: Twitter and Facebook. Task 1 involved the binary classification of COVID-19 vaccine stance (hesitant vs. not hesitant), whereas task 2 consisted of the mulilabel, multiclass classification of arguments for vaccine hesitancy. CoNTACT outperformed out-of-the-box RobBERT in virtually all our experiments, and with statistical significance in most cases.### How to cite"
] |
[
-0.010582035407423973,
-0.051824286580085754,
-0.0035321940667927265,
0.028459696099162102,
0.018602363765239716,
-0.021081993356347084,
0.06348985433578491,
0.04765351116657257,
0.03270191699266434,
0.1216486394405365,
-0.028623512014746666,
-0.0015417967224493623,
0.07262206822633743,
0.08232100307941437,
0.07976282387971878,
-0.10870278626680374,
0.008562722243368626,
-0.13409969210624695,
-0.07135466486215591,
0.07464300841093063,
0.08451899886131287,
-0.09056639671325684,
0.09303933382034302,
0.017928889021277428,
0.015351777896285057,
-0.03013579733669758,
-0.03470198065042496,
0.007988258264958858,
0.06208667904138565,
0.026132678613066673,
0.10907149314880371,
0.02229408361017704,
0.09772002696990967,
-0.17610612511634827,
-0.0035503352992236614,
0.039088036864995956,
-0.013724129647016525,
0.02602538838982582,
0.08144651353359222,
0.004789106547832489,
0.16461199522018433,
-0.1277163177728653,
0.05919307842850685,
0.07059910893440247,
-0.10453834384679794,
-0.03822415694594383,
-0.12356032431125641,
0.020429369062185287,
0.11661256849765778,
0.06611873209476471,
-0.039510298520326614,
0.09356024116277695,
-0.04517003148794174,
0.030221812427043915,
0.008063742890954018,
-0.09406571835279465,
-0.04392150044441223,
0.12231168150901794,
0.038446467369794846,
0.04495063051581383,
-0.12180129438638687,
0.022876888513565063,
0.015852730721235275,
-0.010139092803001404,
0.04369238764047623,
-0.05736921355128288,
0.02032925747334957,
-0.018979888409376144,
-0.1256743222475052,
-0.04164879396557808,
0.06720159202814102,
0.0064743198454380035,
-0.06412201374769211,
-0.14902640879154205,
-0.018589042127132416,
-0.0000641934821032919,
-0.0008085453882813454,
-0.09648425132036209,
0.03552107512950897,
0.010350682772696018,
0.03971629962325096,
0.001727724215015769,
-0.13603031635284424,
0.019347358494997025,
-0.03506975248456001,
0.09017245471477509,
-0.009834004566073418,
0.009223252534866333,
-0.0240822471678257,
0.07878582924604416,
0.023394102230668068,
-0.08955841511487961,
-0.03868004307150841,
-0.04706534370779991,
-0.11062536388635635,
-0.06875699013471603,
0.04301444813609123,
-0.11271107941865921,
0.02095138654112816,
0.11586365848779678,
-0.030202681198716164,
0.016013678163290024,
-0.07089216262102127,
-0.015015056356787682,
0.08717868477106094,
0.14156022667884827,
-0.09119822084903717,
-0.025456003844738007,
-0.014548751525580883,
-0.015939366072416306,
0.01621374487876892,
-0.008785568177700043,
-0.04680801182985306,
0.06416548788547516,
-0.027080394327640533,
0.07639798521995544,
0.02299279347062111,
0.01944415457546711,
-0.04932507872581482,
-0.06416263431310654,
0.1786944568157196,
-0.08024588972330093,
0.013202818110585213,
0.023018883541226387,
0.015568696893751621,
0.05644799396395683,
0.021734539419412613,
-0.0005761447246186435,
-0.004930447321385145,
0.05566997453570366,
-0.05356374755501747,
-0.011626988649368286,
-0.07578916847705841,
-0.12082263082265854,
0.05981158837676048,
0.035439372062683105,
-0.09075121581554413,
-0.15686000883579254,
-0.010652025230228901,
-0.09155648946762085,
-0.018085019662976265,
-0.045929037034511566,
0.07217016816139221,
-0.07107976078987122,
-0.07305537164211273,
0.0400436669588089,
0.04766377806663513,
0.004328885581344366,
-0.03414250537753105,
-0.034374549984931946,
-0.09524785727262497,
0.03259166330099106,
0.06669797003269196,
-0.010877452790737152,
-0.0792635977268219,
0.006762977689504623,
-0.18048180639743805,
0.07552288472652435,
-0.13037167489528656,
0.02357340231537819,
-0.11222637444734573,
-0.01987580768764019,
0.032823991030454636,
-0.04274763539433479,
-0.00551170390099287,
0.10684052109718323,
-0.21653735637664795,
-0.01669725403189659,
0.15034666657447815,
-0.07030223309993744,
-0.008955749683082104,
0.08978287875652313,
-0.04251260310411453,
0.05689070373773575,
0.0844680592417717,
0.03409089520573616,
0.11995541304349899,
-0.21032163500785828,
-0.07254556566476822,
-0.006189917679876089,
-0.05267677083611488,
0.19974486529827118,
0.09597700089216232,
-0.03538842126727104,
0.053753163665533066,
0.0021185223013162613,
-0.05723852291703224,
-0.0010504398960620165,
-0.016737334430217743,
-0.028484152629971504,
0.0803917869925499,
-0.012355552054941654,
0.055802494287490845,
-0.0008318041218444705,
-0.06380891054868698,
-0.049867793917655945,
-0.08211779594421387,
-0.09005129337310791,
0.10873310267925262,
-0.03645359352231026,
0.024493301287293434,
-0.09423304349184036,
-0.053223706781864166,
0.010600224137306213,
-0.004148722160607576,
-0.08023408055305481,
-0.12234716862440109,
0.07026766985654831,
-0.0350990854203701,
0.08713416755199432,
0.06320223957300186,
0.03219345584511757,
0.047756608575582504,
-0.06555167585611343,
0.01190925296396017,
-0.10329729318618774,
-0.015683572739362717,
-0.030302632600069046,
-0.18077751994132996,
0.008892064914107323,
-0.06014725938439369,
0.17554272711277008,
-0.027765978127717972,
-0.021956676617264748,
0.10123374313116074,
0.0989585816860199,
0.04903820902109146,
-0.0568363294005394,
0.023498212918639183,
0.023718932643532753,
-0.005339470226317644,
-0.0301943589001894,
-0.032880671322345734,
-0.032031815499067307,
-0.043036118149757385,
0.059709805995225906,
-0.10448174923658371,
-0.29661914706230164,
0.03746667131781578,
-0.003187864786013961,
-0.08631423860788345,
0.0533498115837574,
-0.04215029999613762,
-0.012617486529052258,
-0.06795681267976761,
-0.140868678689003,
0.1782326102256775,
0.034325964748859406,
0.020081570371985435,
-0.06465137749910355,
-0.11483421176671982,
0.005474221892654896,
0.002303161658346653,
-0.027620045468211174,
0.07576832920312881,
-0.0128061817958951,
-0.15659840404987335,
0.04526778310537338,
0.034445811063051224,
0.09516619145870209,
0.1392221748828888,
0.019042354077100754,
-0.0737948790192604,
-0.05793527886271477,
0.010733111761510372,
0.052920106798410416,
0.03740470111370087,
0.023147763684391975,
0.041184213012456894,
0.05718127638101578,
0.018305275589227676,
0.00949260126799345,
-0.009648291394114494,
0.045490119606256485,
0.010575547814369202,
-0.025653287768363953,
0.01461332943290472,
-0.013364246115088463,
0.009755481965839863,
0.1062001883983612,
0.041721489280462265,
0.055033955723047256,
-0.0712428092956543,
-0.07031264156103134,
-0.12217020243406296,
0.12356775999069214,
-0.1302480846643448,
-0.29497992992401123,
-0.13531769812107086,
0.06646213680505753,
-0.059551630169153214,
0.01460462436079979,
-0.025507057085633278,
-0.09710941463708878,
-0.10846564918756485,
-0.09626353532075882,
0.0882960855960846,
0.012569097802042961,
-0.04784316569566727,
-0.05663517862558365,
0.07641687244176865,
-0.01942896470427513,
-0.1338043212890625,
-0.005359312519431114,
-0.011221219785511494,
-0.11127074062824249,
0.05570133775472641,
0.04017898067831993,
0.10244430601596832,
0.11000663042068481,
0.022805118933320045,
-0.07592171430587769,
-0.029005536809563637,
0.12075968086719513,
-0.10936857759952545,
0.13899892568588257,
0.04630562290549278,
-0.006459958851337433,
0.041725803166627884,
0.11772432923316956,
0.017079083248972893,
-0.045395124703645706,
0.03924053534865379,
0.06864804029464722,
-0.04683107137680054,
-0.24521274864673615,
-0.1336665004491806,
-0.0585063099861145,
-0.004259479232132435,
0.03342146426439285,
-0.00834460835903883,
0.05484965443611145,
-0.026812409982085228,
-0.07937738299369812,
-0.008531256578862667,
0.06798353791236877,
0.08689893037080765,
-0.0260283462703228,
0.03527531027793884,
0.06457655876874924,
-0.033334288746118546,
-0.04334581270813942,
0.14982308447360992,
-0.08283159881830215,
0.14631281793117523,
-0.0045372480526566505,
0.1329725980758667,
0.1053151786327362,
0.019578758627176285,
0.0029074782505631447,
0.0605652816593647,
0.022556660696864128,
0.031341537833213806,
-0.03478013351559639,
-0.08367963135242462,
-0.0168681051582098,
0.08151262253522873,
0.03320397064089775,
-0.05183299630880356,
0.0347173810005188,
0.002558111911639571,
0.11432641744613647,
0.11266450583934784,
0.06118585914373398,
-0.06852778792381287,
-0.06920237094163895,
0.03913475200533867,
-0.053624868392944336,
-0.028329461812973022,
-0.0011676157591864467,
0.1791207492351532,
-0.15784211456775665,
0.09259671717882156,
0.0039862473495304585,
0.07582014054059982,
-0.01824958808720112,
-0.008715281262993813,
-0.028194610029459,
-0.026450298726558685,
-0.00005297626194078475,
0.09762630611658096,
-0.13929075002670288,
0.10006538033485413,
0.008430076763033867,
0.041906196624040604,
-0.06126954033970833,
0.026677457615733147,
0.02930203080177307,
0.01992618292570114,
0.14264264702796936,
0.06656956672668457,
-0.047966744750738144,
-0.036207713186740875,
-0.11355555802583694,
-0.03717817738652229,
0.08216805756092072,
-0.15408049523830414,
0.09334957599639893,
0.018520761281251907,
-0.03746093809604645,
-0.06068293750286102,
-0.022797182202339172,
-0.11518173664808273,
-0.11191999912261963,
0.07547049224376678,
-0.10087453573942184,
-0.021486250683665276,
-0.018637986853718758,
-0.014327150769531727,
-0.11268280446529388,
0.11867835372686386,
-0.19238333404064178,
-0.04256617650389671,
-0.12095280736684799,
0.01612420193850994,
0.09926056861877441,
-0.09363371878862381,
-0.019171960651874542,
0.014833992347121239,
0.12041836231946945,
-0.06019274517893791,
-0.08249872922897339,
0.012708091177046299,
-0.09710340946912766,
-0.21994833648204803,
-0.027065100148320198,
0.17585597932338715,
0.14928503334522247,
0.06700187921524048,
0.03174727037549019,
0.06232908368110657,
0.0026054265908896923,
-0.14335618913173676,
0.06167326495051384,
0.1964380294084549,
0.05075588822364807,
0.03642229363322258,
0.00976476352661848,
-0.0931495726108551,
-0.10934984683990479,
-0.012871287763118744,
0.05538725107908249,
0.18813416361808777,
-0.06505399942398071,
0.11139576882123947,
0.12115813791751862,
-0.12199076265096664,
-0.24336668848991394,
-0.01181860826909542,
0.05621569976210594,
-0.026767009869217873,
0.013083013705909252,
-0.08711671084165573,
0.08541219681501389,
0.03786890208721161,
0.0009594285511411726,
-0.07512801885604858,
-0.1321791708469391,
-0.15810571610927582,
-0.0038978727534413338,
-0.049454089254140854,
-0.0929502472281456,
-0.03849409520626068,
-0.030206575989723206,
-0.011933979578316212,
-0.08530604839324951,
0.11181122809648514,
-0.08675159513950348,
-0.0010730624198913574,
0.01798180863261223,
0.026611603796482086,
0.04000311344861984,
-0.035712987184524536,
0.13650864362716675,
0.0919598788022995,
0.04692351818084717,
-0.04245828464627266,
-0.05238031968474388,
0.14723753929138184,
-0.024483362212777138,
0.06988207250833511,
0.10321328043937683,
0.0061598424799740314,
-0.1293480545282364,
-0.010841844603419304,
-0.08015506714582443,
0.05361960083246231,
-0.0630134865641594,
-0.07294372469186783,
-0.15012884140014648,
0.11409067362546921,
0.1419525146484375,
-0.014294955879449844,
0.012750411406159401,
-0.07682213187217712,
-0.04239495098590851,
0.17384383082389832,
0.19561024010181427,
0.05202604457736015,
0.0588965117931366,
0.02165115438401699,
0.00004002822970505804,
0.003817522432655096,
-0.028838908299803734,
0.07278534024953842,
0.08836998790502548,
-0.008025797083973885,
0.07073206454515457,
-0.016879092901945114,
-0.13157111406326294,
0.0077946861274540424,
0.07980518043041229,
-0.10524513572454453,
-0.11751608550548553,
-0.04701794311404228,
0.05562496930360794,
-0.07402089238166809,
-0.050005994737148285,
0.1569913774728775,
-0.006511082872748375,
-0.031466495245695114,
-0.02078564651310444,
0.10384450107812881,
0.0009801816195249557,
0.06520688533782959,
-0.0032677799463272095,
0.041664641350507736,
-0.07397639006376266,
0.04604071006178856,
0.10278582572937012,
-0.09756317734718323,
0.013914315961301327,
0.09285251051187515,
-0.11487697809934616,
-0.030458170920610428,
0.046068090945482254,
0.1340148001909256,
-0.004785186145454645,
-0.031038034707307816,
0.0517759770154953,
-0.04842173680663109,
-0.01088165957480669,
0.09808138012886047,
0.01665048487484455,
0.052937719970941544,
0.010973187163472176,
0.04572863131761551,
-0.059320785105228424,
0.10738097131252289,
0.0018122020410373807,
0.02749442681670189,
0.002511519007384777,
0.15743815898895264,
-0.03714790567755699,
-0.010560775175690651,
-0.031802594661712646,
-0.009193702600896358,
-0.06839661300182343,
-0.04375499486923218,
0.011444254778325558,
0.04234204441308975,
-0.03556240722537041,
-0.03667499125003815,
-0.012126191519200802,
-0.018016144633293152,
0.0031175226904451847,
0.017859017476439476,
-0.029916396364569664,
-0.02445453219115734,
-0.03889433294534683,
0.07656236737966537,
-0.13359041512012482,
-0.025983527302742004,
0.10292678326368332,
-0.051511719822883606,
0.08367522805929184,
-0.008374499157071114,
0.04249165207147598,
0.037802234292030334,
-0.10953221470117569,
0.030516888946294785,
-0.01780540496110916,
0.09319958835840225,
0.02592395432293415,
-0.1465662568807602,
-0.02290765568614006,
-0.027925046160817146,
-0.06639658659696579,
0.0032685967162251472,
0.02828025072813034,
-0.03898262232542038,
0.0842803567647934,
0.037143103778362274,
-0.11059385538101196,
-0.09999255836009979,
0.043823663145303726,
0.029991785064339638,
0.016021693125367165,
0.07654709368944168,
-0.05275828018784523,
0.05460992828011513,
-0.12094046920537949,
-0.03674134239554405,
0.04809784144163132,
0.04318700730800629,
-0.02168012037873268,
-0.05926433205604553,
0.05296425148844719,
-0.050541482865810394,
0.046229857951402664,
0.04706341400742531,
0.010880893096327782,
0.025947589427232742,
-0.0048585147596895695,
-0.026160014793276787,
0.03756192699074745,
-0.08088843524456024,
-0.024264944717288017,
-0.014491424895823002,
-0.04966004937887192,
-0.06789566576480865,
-0.04648558422923088,
-0.09181001782417297,
0.1907864660024643,
0.0869203731417656,
0.16621039807796478,
-0.006345459260046482,
0.056226491928100586,
-0.059705931693315506,
-0.10900121182203293,
-0.0440514050424099,
-0.0593239925801754,
-0.03712838515639305,
-0.03541061654686928,
0.04980183020234108,
0.041776448488235474,
-0.227071613073349,
0.14396293461322784,
-0.03445037081837654,
-0.05696774646639824,
-0.03061937727034092,
-0.1275368481874466,
-0.04227477312088013,
-0.03138890117406845,
-0.010236797854304314,
-0.12432478368282318,
0.0479029081761837,
0.01174791157245636,
0.030095919966697693,
-0.013260711915791035,
0.12049739062786102,
-0.23651085793972015,
-0.0701679214835167,
0.07265938073396683,
0.040701672434806824,
0.05887841060757637,
0.057437714189291,
0.05259010195732117,
-0.005984271876513958,
0.09690343588590622,
0.07237736880779266,
0.06721068918704987,
0.07064569741487503,
-0.025957521051168442,
-0.04919954389333725,
-0.09272773563861847,
0.04272022470831871,
-0.05781756713986397,
-0.019287878647446632,
0.10301554948091507,
0.06700345128774643,
0.010555495508015156,
0.018281346186995506,
0.13527581095695496,
-0.04247954487800598,
-0.06507360190153122,
-0.1441608965396881,
0.03532993420958519,
-0.028652256354689598,
0.04083860293030739,
0.027492018416523933,
-0.08966898173093796,
-0.01963076926767826,
0.1700378805398941,
0.1349802017211914,
0.04425225406885147,
0.011199841275811195,
-0.03733636438846588,
0.019569896161556244,
0.05809786170721054,
0.06855785846710205,
-0.01256432943046093,
0.20800131559371948,
-0.05790721997618675,
0.055554844439029694,
0.001375113963149488,
-0.021157586947083473,
-0.002716629533097148,
0.04228900372982025,
-0.05974103882908821,
-0.014644130133092403,
-0.075811468064785,
0.09478338807821274,
-0.0029561740811914206,
-0.22588635981082916,
0.04712313786149025,
-0.04986068233847618,
-0.049900658428668976,
0.013552894815802574,
-0.009293599054217339,
0.0038827061653137207,
0.04048733040690422,
0.04765593633055687,
-0.018657522276043892,
0.1866380274295807,
0.03806215152144432,
0.010732460767030716,
-0.02477462776005268,
0.08432180434465408,
-0.04709072783589363,
0.14006459712982178,
-0.003597562899813056,
0.09867081791162491,
0.11879660934209824,
-0.031117087230086327,
-0.07476071268320084,
0.02698453702032566,
0.050013620406389236,
-0.010751890949904919,
0.04493902623653412,
0.19516025483608246,
0.0034979700576514006,
0.0916748195886612,
0.08965719491243362,
-0.08158964663743973,
0.02448083832859993,
-0.004700691904872656,
0.007987527176737785,
-0.0761224552989006,
0.14897066354751587,
-0.11931905895471573,
0.12514354288578033,
0.153737410902977,
-0.024422431364655495,
0.03209715709090233,
-0.04031836986541748,
0.01133502647280693,
-0.03535792604088783,
0.1300368309020996,
-0.012994841672480106,
-0.11747164279222488,
0.0005446491995826364,
0.0033619380556046963,
0.09874352067708969,
-0.13576103746891022,
-0.017518462613224983,
0.04117526486515999,
-0.02152073010802269,
0.015541179105639458,
0.1326655149459839,
-0.05446605011820793,
-0.03603018447756767,
-0.010070521384477615,
-0.06746012717485428,
0.03405201807618141,
0.07768162339925766,
-0.05564839392900467,
-0.003514844225719571
] |
null | null |
sentence-transformers
|
# MFAQ
We present a multilingual FAQ retrieval model trained on the [MFAQ dataset](https://huggingface.co/datasets/clips/mfaq), it ranks candidate answers according to a given question.
## Installation
```
pip install sentence-transformers transformers
```
## Usage
You can use MFAQ with sentence-transformers or directly with a HuggingFace model.
In both cases, questions need to be prepended with `<Q>`, and answers with `<A>`.
#### Sentence Transformers
```python
from sentence_transformers import SentenceTransformer
question = "<Q>How many models can I host on HuggingFace?"
answer_1 = "<A>All plans come with unlimited private models and datasets."
answer_2 = "<A>AutoNLP is an automatic way to train and deploy state-of-the-art NLP models, seamlessly integrated with the Hugging Face ecosystem."
answer_3 = "<A>Based on how much training data and model variants are created, we send you a compute cost and payment link - as low as $10 per job."
model = SentenceTransformer('clips/mfaq')
embeddings = model.encode([question, answer_1, answer_3, answer_3])
print(embeddings)
```
#### HuggingFace Transformers
```python
from transformers import AutoTokenizer, AutoModel
import torch
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)
question = "<Q>How many models can I host on HuggingFace?"
answer_1 = "<A>All plans come with unlimited private models and datasets."
answer_2 = "<A>AutoNLP is an automatic way to train and deploy state-of-the-art NLP models, seamlessly integrated with the Hugging Face ecosystem."
answer_3 = "<A>Based on how much training data and model variants are created, we send you a compute cost and payment link - as low as $10 per job."
tokenizer = AutoTokenizer.from_pretrained('clips/mfaq')
model = AutoModel.from_pretrained('clips/mfaq')
# Tokenize sentences
encoded_input = tokenizer([question, answer_1, answer_3, answer_3], padding=True, truncation=True, return_tensors='pt')
# Compute token embeddings
with torch.no_grad():
model_output = model(**encoded_input)
# Perform pooling. In this case, max pooling.
sentence_embeddings = mean_pooling(model_output, encoded_input['attention_mask'])
```
## Training
You can find the training script for the model [here](https://github.com/clips/mfaq).
## People
This model was developed by [Maxime De Bruyn](https://www.linkedin.com/in/maximedebruyn/), Ehsan Lotfi, Jeska Buhmann and Walter Daelemans.
## Citation information
```
@misc{debruyn2021mfaq,
title={MFAQ: a Multilingual FAQ Dataset},
author={Maxime De Bruyn and Ehsan Lotfi and Jeska Buhmann and Walter Daelemans},
year={2021},
eprint={2109.12870},
archivePrefix={arXiv},
primaryClass={cs.CL}
}
```
|
{"language": ["cs", "da", "de", "en", "es", "fi", "fr", "he", "hr", "hu", "id", "it", "nl", "no", "pl", "pt", "ro", "ru", "sv", "tr", "vi"], "license": "apache-2.0", "tags": ["sentence-transformers", "feature-extraction", "sentence-similarity", "transformers"], "datasets": ["clips/mfaq"], "pipeline_tag": "sentence-similarity", "widget": {"source_sentence": "<Q>How many models can I host on HuggingFace?", "sentences": ["<A>All plans come with unlimited private models and datasets.", "<A>AutoNLP is an automatic way to train and deploy state-of-the-art NLP models, seamlessly integrated with the Hugging Face ecosystem.", "<A>Based on how much training data and model variants are created, we send you a compute cost and payment link - as low as $10 per job."]}}
|
sentence-similarity
|
clips/mfaq
|
[
"sentence-transformers",
"pytorch",
"tf",
"xlm-roberta",
"feature-extraction",
"sentence-similarity",
"transformers",
"cs",
"da",
"de",
"en",
"es",
"fi",
"fr",
"he",
"hr",
"hu",
"id",
"it",
"nl",
"no",
"pl",
"pt",
"ro",
"ru",
"sv",
"tr",
"vi",
"dataset:clips/mfaq",
"arxiv:2109.12870",
"license:apache-2.0",
"endpoints_compatible",
"has_space",
"region:us"
] |
2022-03-02T23:29:05+00:00
|
[
"2109.12870"
] |
[
"cs",
"da",
"de",
"en",
"es",
"fi",
"fr",
"he",
"hr",
"hu",
"id",
"it",
"nl",
"no",
"pl",
"pt",
"ro",
"ru",
"sv",
"tr",
"vi"
] |
TAGS
#sentence-transformers #pytorch #tf #xlm-roberta #feature-extraction #sentence-similarity #transformers #cs #da #de #en #es #fi #fr #he #hr #hu #id #it #nl #no #pl #pt #ro #ru #sv #tr #vi #dataset-clips/mfaq #arxiv-2109.12870 #license-apache-2.0 #endpoints_compatible #has_space #region-us
|
# MFAQ
We present a multilingual FAQ retrieval model trained on the MFAQ dataset, it ranks candidate answers according to a given question.
## Installation
## Usage
You can use MFAQ with sentence-transformers or directly with a HuggingFace model.
In both cases, questions need to be prepended with '<Q>', and answers with '<A>'.
#### Sentence Transformers
#### HuggingFace Transformers
## Training
You can find the training script for the model here.
## People
This model was developed by Maxime De Bruyn, Ehsan Lotfi, Jeska Buhmann and Walter Daelemans.
information
|
[
"# MFAQ\n\nWe present a multilingual FAQ retrieval model trained on the MFAQ dataset, it ranks candidate answers according to a given question.",
"## Installation",
"## Usage\nYou can use MFAQ with sentence-transformers or directly with a HuggingFace model. \nIn both cases, questions need to be prepended with '<Q>', and answers with '<A>'.",
"#### Sentence Transformers",
"#### HuggingFace Transformers",
"## Training\nYou can find the training script for the model here.",
"## People\nThis model was developed by Maxime De Bruyn, Ehsan Lotfi, Jeska Buhmann and Walter Daelemans.\n\ninformation"
] |
[
"TAGS\n#sentence-transformers #pytorch #tf #xlm-roberta #feature-extraction #sentence-similarity #transformers #cs #da #de #en #es #fi #fr #he #hr #hu #id #it #nl #no #pl #pt #ro #ru #sv #tr #vi #dataset-clips/mfaq #arxiv-2109.12870 #license-apache-2.0 #endpoints_compatible #has_space #region-us \n",
"# MFAQ\n\nWe present a multilingual FAQ retrieval model trained on the MFAQ dataset, it ranks candidate answers according to a given question.",
"## Installation",
"## Usage\nYou can use MFAQ with sentence-transformers or directly with a HuggingFace model. \nIn both cases, questions need to be prepended with '<Q>', and answers with '<A>'.",
"#### Sentence Transformers",
"#### HuggingFace Transformers",
"## Training\nYou can find the training script for the model here.",
"## People\nThis model was developed by Maxime De Bruyn, Ehsan Lotfi, Jeska Buhmann and Walter Daelemans.\n\ninformation"
] |
[
120,
36,
2,
51,
7,
9,
13,
30
] |
[
"passage: TAGS\n#sentence-transformers #pytorch #tf #xlm-roberta #feature-extraction #sentence-similarity #transformers #cs #da #de #en #es #fi #fr #he #hr #hu #id #it #nl #no #pl #pt #ro #ru #sv #tr #vi #dataset-clips/mfaq #arxiv-2109.12870 #license-apache-2.0 #endpoints_compatible #has_space #region-us \n# MFAQ\n\nWe present a multilingual FAQ retrieval model trained on the MFAQ dataset, it ranks candidate answers according to a given question.## Installation## Usage\nYou can use MFAQ with sentence-transformers or directly with a HuggingFace model. \nIn both cases, questions need to be prepended with '<Q>', and answers with '<A>'.#### Sentence Transformers#### HuggingFace Transformers## Training\nYou can find the training script for the model here.## People\nThis model was developed by Maxime De Bruyn, Ehsan Lotfi, Jeska Buhmann and Walter Daelemans.\n\ninformation"
] |
[
-0.03432588279247284,
-0.019332783296704292,
-0.003993920981884003,
0.07136460393667221,
0.09263365715742111,
0.003250337205827236,
0.13713495433330536,
0.07738319039344788,
0.0170064028352499,
0.050340402871370316,
0.037137627601623535,
-0.014543422497808933,
0.0860019326210022,
0.0039624981582164764,
0.025200484320521355,
-0.31297993659973145,
0.013451209291815758,
0.008024370297789574,
-0.14302533864974976,
0.10089386254549026,
0.12663404643535614,
-0.050694793462753296,
0.09188103675842285,
0.018755851313471794,
-0.134271502494812,
0.022144971415400505,
0.014419523067772388,
-0.030084189027547836,
0.12201438844203949,
0.08195395022630692,
0.08544308692216873,
0.03795788437128067,
0.04277287423610687,
-0.17960499227046967,
0.025197112932801247,
0.056344881653785706,
-0.029004231095314026,
0.04866211861371994,
0.0014554646331816912,
-0.0461932010948658,
0.15132956206798553,
-0.027767593041062355,
0.011927912011742592,
0.07195176184177399,
-0.13961653411388397,
-0.12071748822927475,
-0.022189714014530182,
0.09611382335424423,
0.09924701601266861,
0.11362656205892563,
-0.04813413694500923,
0.08591975271701813,
-0.0836150050163269,
0.08905303478240967,
0.22095242142677307,
-0.21086257696151733,
-0.07035127282142639,
0.04622935131192207,
0.15837199985980988,
0.022984104230999947,
-0.1294926106929779,
0.026962334290146828,
0.01347978413105011,
0.003728733863681555,
0.08317222446203232,
-0.05329114943742752,
0.06254636496305466,
0.03339023515582085,
-0.12992949783802032,
0.07039421796798706,
0.18215198814868927,
0.07018138468265533,
-0.034567344933748245,
-0.05842107906937599,
-0.04065767675638199,
0.07676982879638672,
0.0007409412646666169,
-0.0450010672211647,
0.004177048336714506,
-0.00993591733276844,
-0.07453770935535431,
-0.06907875090837479,
-0.09137439727783203,
-0.05023520812392235,
-0.05871422961354256,
0.2654721736907959,
-0.014148293994367123,
0.01975998282432556,
-0.08540158718824387,
0.03645852208137512,
-0.041646361351013184,
-0.13578596711158752,
-0.016562163829803467,
-0.04041344299912453,
-0.13437941670417786,
-0.03177563473582268,
-0.07078637182712555,
-0.03635862097144127,
0.02684703655540943,
0.11946094781160355,
-0.025350911542773247,
0.0031437589786946774,
-0.04249994456768036,
0.03416737914085388,
0.004290172830224037,
0.16824579238891602,
-0.11187773942947388,
-0.06900603324174881,
-0.043924883008003235,
0.024579225108027458,
-0.02231975831091404,
-0.022212665528059006,
-0.1107429713010788,
-0.013927106745541096,
-0.04828924313187599,
0.038876377046108246,
0.003969530574977398,
0.08321347087621689,
-0.008493601344525814,
-0.04345703125,
0.018466319888830185,
-0.09130577743053436,
0.024545958265662193,
0.06170502305030823,
-0.08355195075273514,
0.04652939364314079,
0.0043595279566943645,
0.012727528810501099,
-0.044519949704408646,
0.055939268320798874,
-0.07191281020641327,
0.010341078974306583,
-0.04598764702677727,
-0.15598522126674652,
0.014428121037781239,
-0.0016934429295361042,
-0.01445954479277134,
-0.11258846521377563,
-0.095963254570961,
-0.03116585500538349,
0.02098538912832737,
-0.06182226911187172,
-0.009553654119372368,
-0.05422456935048103,
-0.07352327555418015,
0.0038395675364881754,
0.038676515221595764,
-0.005618362221866846,
0.012801779434084892,
0.06265214830636978,
-0.014362300746142864,
0.12293172627687454,
0.06168109178543091,
0.06304257363080978,
-0.03385059908032417,
0.002142592566087842,
-0.13412675261497498,
0.09403674304485321,
-0.07994440197944641,
0.0508311428129673,
-0.0790625736117363,
-0.06733540445566177,
-0.005820136051625013,
0.032664764672517776,
-0.009276112541556358,
0.14116092026233673,
-0.13223594427108765,
-0.1061190515756607,
0.20316728949546814,
-0.07362614572048187,
-0.098122738301754,
0.1355525255203247,
-0.021153757348656654,
0.05270131304860115,
0.05802147090435028,
0.09989918023347855,
0.09893902391195297,
-0.16831006109714508,
0.05774569511413574,
0.06768393516540527,
-0.0804542750120163,
0.1515808254480362,
0.11456988751888275,
0.05245707184076309,
-0.008701215498149395,
-0.008781005628407001,
-0.12344415485858917,
0.06397581845521927,
-0.03021259605884552,
-0.0580633208155632,
0.049425724893808365,
-0.013680189847946167,
0.08496740460395813,
-0.005470052361488342,
0.0046377768740057945,
-0.005293171387165785,
-0.09041781723499298,
0.03818316385149956,
0.10561561584472656,
-0.027405019849538803,
0.004100941587239504,
-0.0745302140712738,
-0.038474515080451965,
0.06758065521717072,
0.00036964210448786616,
-0.1465730518102646,
0.010607518255710602,
0.00442699296399951,
-0.016497761011123657,
0.0659380778670311,
0.06611353904008865,
0.06237595155835152,
0.04238111898303032,
-0.06246999278664589,
0.009589453227818012,
-0.05060114338994026,
-0.0032747879158705473,
-0.007323728874325752,
-0.1561846286058426,
-0.01707230694591999,
-0.0632743164896965,
0.1860331892967224,
-0.06161642074584961,
0.04064992442727089,
0.03526941314339638,
0.1102869063615799,
0.0510050430893898,
0.031339190900325775,
-0.028571389615535736,
-0.0120145408436656,
0.001733776181936264,
-0.039272889494895935,
0.045926403254270554,
0.04116427153348923,
-0.08300445973873138,
0.0561557337641716,
-0.10479618608951569,
-0.03780457749962807,
0.10852963477373123,
-0.02252485230565071,
-0.10044272989034653,
0.0011072257766500115,
-0.03867075592279434,
0.0020931714680045843,
-0.0689748078584671,
-0.12409982830286026,
0.13450998067855835,
0.05331084132194519,
0.10785496979951859,
-0.06730590015649796,
-0.08402584493160248,
-0.010455388575792313,
-0.01683240756392479,
-0.032408393919467926,
0.08011700212955475,
0.009513557888567448,
-0.1884613186120987,
0.10976755619049072,
0.00014732130512129515,
-0.0640280619263649,
0.14146803319454193,
-0.025296134874224663,
-0.011498639360070229,
-0.09361344575881958,
0.00039914596709422767,
0.031224047765135765,
0.06487614661455154,
-0.07016356289386749,
-0.02555399015545845,
0.033426035195589066,
-0.054790057241916656,
-0.007755945436656475,
-0.08889219909906387,
-0.031116703525185585,
0.036565158516168594,
-0.04423855245113373,
-0.03604607656598091,
0.062102608382701874,
-0.03687615692615509,
0.10206660628318787,
0.05537388473749161,
-0.018225155770778656,
-0.04314218834042549,
-0.04905224218964577,
-0.12437990307807922,
0.17171400785446167,
-0.10198166221380234,
-0.241520956158638,
-0.11774325370788574,
0.022095097228884697,
-0.061649467796087265,
0.02356766350567341,
0.038038842380046844,
-0.1001463383436203,
-0.002200929680839181,
-0.016307763755321503,
0.12598085403442383,
-0.045666053891181946,
-0.044923052191734314,
0.036657389253377914,
0.01064577978104353,
0.004541939590126276,
-0.11435317993164062,
-0.016871992498636246,
-0.002212429651990533,
-0.013331152498722076,
0.059446293860673904,
-0.08122117817401886,
0.037346046417951584,
0.09032583981752396,
0.042386483401060104,
0.04568750411272049,
-0.03505580872297287,
0.22027185559272766,
-0.12568816542625427,
0.11108648031949997,
0.1118067055940628,
0.00745987705886364,
0.06823746114969254,
0.10698505491018295,
0.03972797095775604,
-0.019910745322704315,
0.05569233000278473,
0.0383504293859005,
-0.02393692545592785,
-0.15943807363510132,
-0.08540775626897812,
-0.08370243012905121,
0.030342377722263336,
0.04299670085310936,
0.011228007264435291,
0.08606123924255371,
0.033297035843133926,
-0.05538862571120262,
-0.024013983085751534,
0.10185801982879639,
0.0809190571308136,
0.05852434039115906,
-0.008263749070465565,
0.0673295259475708,
-0.011844724416732788,
-0.11935481429100037,
0.05345495045185089,
-0.030244596302509308,
0.1337485909461975,
0.052699554711580276,
0.08475719392299652,
0.05039241164922714,
-0.07599613070487976,
-0.004039919003844261,
0.09424809366464615,
-0.03494895249605179,
-0.03149326518177986,
-0.018562154844403267,
-0.08522684872150421,
0.0644708126783371,
0.06581727415323257,
0.05321197211742401,
0.0029807351529598236,
-0.06540415436029434,
0.003024248406291008,
0.07758908718824387,
0.17704598605632782,
0.027965206652879715,
-0.1638040691614151,
-0.06530123949050903,
0.04657691717147827,
0.004889868199825287,
-0.014741973951458931,
-0.00476341787725687,
0.09600883722305298,
-0.12314745038747787,
0.06635118275880814,
-0.015796201303601265,
0.10453059524297714,
0.08063532412052155,
0.013668353669345379,
-0.0030205361545085907,
0.0887489840388298,
-0.018346542492508888,
0.08172710239887238,
-0.25243866443634033,
0.16165466606616974,
0.009380945935845375,
0.05428339168429375,
-0.0032965103164315224,
-0.004659371916204691,
0.057416319847106934,
0.099068783223629,
0.15213656425476074,
0.0435139425098896,
-0.011794190853834152,
-0.08597608655691147,
0.04336792230606079,
-0.026326758787035942,
0.08410406112670898,
-0.09829152375459671,
0.061922233551740646,
-0.03160270303487778,
-0.03179173171520233,
0.020173296332359314,
0.12771005928516388,
-0.06105102226138115,
-0.07404930144548416,
0.017822936177253723,
-0.06311202049255371,
0.036800313740968704,
-0.04725618287920952,
-0.043021589517593384,
-0.06557321548461914,
0.05894535034894943,
-0.0456099770963192,
-0.045844633132219315,
-0.1363745778799057,
0.02500757947564125,
0.020006326958537102,
-0.12190227210521698,
-0.09223610162734985,
0.009009982459247112,
0.18679404258728027,
-0.0949370339512825,
-0.08411706238985062,
0.04448484256863594,
-0.09546834975481033,
-0.06534970551729202,
-0.039401546120643616,
0.1568724364042282,
0.09761811792850494,
0.08481625467538834,
0.016759101301431656,
0.005041350610554218,
-0.052250996232032776,
-0.12678001821041107,
0.03981444612145424,
0.016974130645394325,
-0.0388374924659729,
0.039748337119817734,
-0.1150149255990982,
0.02695748768746853,
-0.11947514116764069,
0.025324121117591858,
0.16254150867462158,
0.1623716950416565,
-0.10790574550628662,
0.05861023813486099,
0.16450469195842743,
-0.03334741294384003,
-0.26493698358535767,
-0.023629987612366676,
0.07923436164855957,
0.04213302209973335,
-0.07119513303041458,
-0.15256115794181824,
0.03617115691304207,
-0.010467082262039185,
0.007467708550393581,
-0.10369150340557098,
-0.19198401272296906,
-0.09723212569952011,
0.104237861931324,
-0.003680088324472308,
0.004974827170372009,
-0.1260221302509308,
-0.01501968502998352,
-0.07416494935750961,
-0.16225937008857727,
0.16647407412528992,
-0.20229467749595642,
0.08197835832834244,
0.02268224023282528,
0.015934670343995094,
-0.004004567861557007,
-0.02493835613131523,
0.12962578237056732,
0.10885098576545715,
0.04389975219964981,
-0.04197567701339722,
-0.16121149063110352,
0.07480928301811218,
-0.015471691265702248,
0.09841638803482056,
-0.044101305305957794,
0.0204651840031147,
-0.12892620265483856,
-0.015330761671066284,
-0.1334022879600525,
0.08702147752046585,
-0.08012059330940247,
-0.07944631576538086,
-0.0957692414522171,
0.11727628856897354,
0.07711606472730637,
-0.036170851439237595,
-0.05337174981832504,
-0.05337608978152275,
0.1446724534034729,
0.20384261012077332,
0.10549655556678772,
0.05097929760813713,
-0.07841765880584717,
-0.0007034021546132863,
-0.008209423162043095,
0.11042454838752747,
-0.12626676261425018,
0.04772813990712166,
0.10967648774385452,
0.05506052449345589,
0.20380330085754395,
0.04532638564705849,
-0.09791288524866104,
-0.03594587743282318,
0.0394567996263504,
-0.08509258180856705,
-0.16669145226478577,
-0.11720143258571625,
-0.0766238272190094,
-0.05832356959581375,
-0.041049934923648834,
0.11105550825595856,
-0.042171500623226166,
-0.0018242517253383994,
0.030797436833381653,
0.027712062001228333,
-0.069564089179039,
0.10363039374351501,
0.08370383083820343,
0.0819455161690712,
-0.06406843662261963,
0.047230180352926254,
0.030836205929517746,
-0.07025352865457535,
-0.0170454028993845,
0.10329196602106094,
-0.11714848130941391,
-0.06970424205064774,
-0.0663393884897232,
0.14444537460803986,
-0.11469576507806778,
0.008433252573013306,
-0.06998883187770844,
-0.20128898322582245,
0.03253127634525299,
0.1066945418715477,
0.0506325289607048,
-0.005176958162337542,
-0.03548123687505722,
0.05552540719509125,
-0.06983918696641922,
0.10600375384092331,
0.04669933393597603,
-0.010274458676576614,
-0.04461226984858513,
0.15968823432922363,
0.001810654066503048,
0.10851611196994781,
-0.045008860528469086,
-0.05255621671676636,
-0.15981893241405487,
0.00007070331048453227,
-0.06626851856708527,
-0.029612060636281967,
-0.08079949021339417,
-0.0022001690231263638,
-0.015769263729453087,
-0.09017142653465271,
-0.020228203386068344,
0.010208459571003914,
-0.07054267823696136,
-0.030540741980075836,
-0.039206765592098236,
0.03357002139091492,
-0.08769917488098145,
-0.05941065400838852,
0.08664818853139877,
-0.08435589075088501,
0.0771082267165184,
0.07749099284410477,
-0.03118347004055977,
0.012839567847549915,
-0.06047627702355385,
-0.030290566384792328,
-0.02834269031882286,
0.03280138224363327,
0.048539742827415466,
-0.17734068632125854,
0.03558533266186714,
-0.07434245198965073,
0.007607399486005306,
0.012193207629024982,
0.021517187356948853,
-0.0396265983581543,
0.10697821527719498,
-0.04524880647659302,
-0.04803276062011719,
-0.12028546631336212,
0.03976680338382721,
0.07482695579528809,
0.05156927928328514,
0.09700532257556915,
-0.06743792444467545,
0.11146865785121918,
-0.16796228289604187,
0.03249242901802063,
0.01650266908109188,
-0.06147541478276253,
0.07648476958274841,
-0.06782320886850357,
0.05724421516060829,
-0.05496043711900711,
0.052114516496658325,
0.008328145369887352,
0.017062224447727203,
0.05713048204779625,
0.0019031219417229295,
-0.01780390739440918,
0.014632318168878555,
0.05202440172433853,
0.017984014004468918,
-0.025162803009152412,
-0.07844170182943344,
-0.023571357131004333,
0.009895747527480125,
0.003803879488259554,
0.1475933939218521,
0.10365434736013412,
0.025133464485406876,
0.014721961691975594,
0.1592680662870407,
0.010780292563140392,
-0.04409310966730118,
-0.07682802528142929,
-0.02269130013883114,
-0.014312592335045338,
-0.0193388219922781,
0.12148294597864151,
0.1978633850812912,
-0.17073869705200195,
0.12602964043617249,
-0.02223212644457817,
-0.07938141375780106,
-0.09143798053264618,
-0.051912203431129456,
-0.038799554109573364,
-0.06999645382165909,
0.019759412854909897,
-0.11431989818811417,
-0.004661797545850277,
-0.0549195297062397,
0.055460281670093536,
-0.008560421876609325,
0.1285335272550583,
-0.06736502796411514,
-0.09567857533693314,
0.10807880759239197,
0.010794672183692455,
0.004835253115743399,
0.026496991515159607,
0.049321457743644714,
0.05377504974603653,
0.021115748211741447,
0.025233376771211624,
0.020040499046444893,
0.0147660868242383,
-0.006511211395263672,
-0.1071498692035675,
-0.06721776723861694,
0.0227883979678154,
-0.013987362384796143,
-0.026594549417495728,
0.07639237493276596,
0.011149479076266289,
-0.010501968674361706,
0.002483949763700366,
0.16564492881298065,
-0.10321829468011856,
-0.1424890011548996,
-0.17859505116939545,
0.14596112072467804,
0.010404321365058422,
0.04074232652783394,
-0.003086475422605872,
-0.0677945539355278,
-0.08833295106887817,
0.2540859282016754,
0.21480436623096466,
-0.03377038612961769,
0.039433252066373825,
0.046355586498975754,
0.024744857102632523,
0.093214251101017,
0.015786943957209587,
0.06515960395336151,
0.20519882440567017,
-0.06265242397785187,
0.12238197028636932,
-0.059322185814380646,
-0.060951441526412964,
-0.005133229773491621,
0.13395775854587555,
0.06872037798166275,
-0.030882228165864944,
-0.05038780719041824,
0.08389539271593094,
-0.037282876670360565,
-0.17039914429187775,
-0.036157798022031784,
-0.09149757027626038,
-0.06877367198467255,
-0.0523909255862236,
-0.019467219710350037,
0.08221061527729034,
0.10990143567323685,
0.040193259716033936,
-0.032812103629112244,
0.1345263421535492,
0.03381217271089554,
-0.07878965884447098,
-0.008092403411865234,
0.10951947420835495,
-0.0979912057518959,
0.0156704168766737,
-0.040073275566101074,
0.06201386824250221,
0.11988785117864609,
0.001884248573333025,
-0.0038891693111509085,
0.08237667381763458,
0.04233892261981964,
-0.08275628089904785,
0.015216742642223835,
0.13823072612285614,
-0.0175018347799778,
-0.018001968041062355,
0.05637708306312561,
-0.146820068359375,
0.06235141307115555,
0.004187722224742174,
-0.053890932351350784,
-0.0966978520154953,
0.13039012253284454,
-0.06986809521913528,
0.10701718181371689,
0.21433937549591064,
-0.02670969069004059,
-0.022378982976078987,
-0.052572060376405716,
-0.02149873971939087,
0.05676867067813873,
0.08332495391368866,
-0.025433097034692764,
-0.1063784658908844,
-0.006588229909539223,
-0.0535905584692955,
0.048536159098148346,
-0.23360849916934967,
-0.07861807942390442,
-0.012277275323867798,
-0.035802435129880905,
0.0409509614109993,
0.08960000425577164,
0.07323630154132843,
0.045784130692481995,
-0.0311370100826025,
-0.19780001044273376,
0.012579445727169514,
0.12786267697811127,
-0.11127909272909164,
-0.04064841940999031
] |
null | null |
transformers
|
## albert_chinese_small
### Overview
**Language model:** albert-small
**Model size:** 18.5M
**Language:** Chinese
**Training data:** [CLUECorpusSmall](https://github.com/CLUEbenchmark/CLUECorpus2020)
**Eval data:** [CLUE dataset](https://github.com/CLUEbenchmark/CLUE)
### Results
For results on downstream tasks like text classification, please refer to [this repository](https://github.com/CLUEbenchmark/CLUE).
### Usage
**NOTE:**Since sentencepiece is not used in `albert_chinese_small` model, you have to call **BertTokenizer** instead of AlbertTokenizer !!!
```
import torch
from transformers import BertTokenizer, AlbertModel
tokenizer = BertTokenizer.from_pretrained("clue/albert_chinese_small")
albert = AlbertModel.from_pretrained("clue/albert_chinese_small")
```
### About CLUE benchmark
Organization of Language Understanding Evaluation benchmark for Chinese: tasks & datasets, baselines, pre-trained Chinese models, corpus and leaderboard.
Github: https://github.com/CLUEbenchmark
Website: https://www.cluebenchmarks.com/
|
{"language": "zh"}
| null |
clue/albert_chinese_small
|
[
"transformers",
"pytorch",
"albert",
"zh",
"endpoints_compatible",
"region:us"
] |
2022-03-02T23:29:05+00:00
|
[] |
[
"zh"
] |
TAGS
#transformers #pytorch #albert #zh #endpoints_compatible #region-us
|
## albert_chinese_small
### Overview
Language model: albert-small
Model size: 18.5M
Language: Chinese
Training data: CLUECorpusSmall
Eval data: CLUE dataset
### Results
For results on downstream tasks like text classification, please refer to this repository.
### Usage
NOTE:Since sentencepiece is not used in 'albert_chinese_small' model, you have to call BertTokenizer instead of AlbertTokenizer !!!
### About CLUE benchmark
Organization of Language Understanding Evaluation benchmark for Chinese: tasks & datasets, baselines, pre-trained Chinese models, corpus and leaderboard.
Github: URL
Website: URL
|
[
"## albert_chinese_small",
"### Overview\n\nLanguage model: albert-small\nModel size: 18.5M\nLanguage: Chinese\nTraining data: CLUECorpusSmall\nEval data: CLUE dataset",
"### Results\n\nFor results on downstream tasks like text classification, please refer to this repository.",
"### Usage\n\nNOTE:Since sentencepiece is not used in 'albert_chinese_small' model, you have to call BertTokenizer instead of AlbertTokenizer !!!",
"### About CLUE benchmark\n\nOrganization of Language Understanding Evaluation benchmark for Chinese: tasks & datasets, baselines, pre-trained Chinese models, corpus and leaderboard.\n\nGithub: URL\nWebsite: URL"
] |
[
"TAGS\n#transformers #pytorch #albert #zh #endpoints_compatible #region-us \n",
"## albert_chinese_small",
"### Overview\n\nLanguage model: albert-small\nModel size: 18.5M\nLanguage: Chinese\nTraining data: CLUECorpusSmall\nEval data: CLUE dataset",
"### Results\n\nFor results on downstream tasks like text classification, please refer to this repository.",
"### Usage\n\nNOTE:Since sentencepiece is not used in 'albert_chinese_small' model, you have to call BertTokenizer instead of AlbertTokenizer !!!",
"### About CLUE benchmark\n\nOrganization of Language Understanding Evaluation benchmark for Chinese: tasks & datasets, baselines, pre-trained Chinese models, corpus and leaderboard.\n\nGithub: URL\nWebsite: URL"
] |
[
26,
9,
38,
23,
41,
47
] |
[
"passage: TAGS\n#transformers #pytorch #albert #zh #endpoints_compatible #region-us \n## albert_chinese_small### Overview\n\nLanguage model: albert-small\nModel size: 18.5M\nLanguage: Chinese\nTraining data: CLUECorpusSmall\nEval data: CLUE dataset### Results\n\nFor results on downstream tasks like text classification, please refer to this repository.### Usage\n\nNOTE:Since sentencepiece is not used in 'albert_chinese_small' model, you have to call BertTokenizer instead of AlbertTokenizer !!!### About CLUE benchmark\n\nOrganization of Language Understanding Evaluation benchmark for Chinese: tasks & datasets, baselines, pre-trained Chinese models, corpus and leaderboard.\n\nGithub: URL\nWebsite: URL"
] |
[
-0.08944784104824066,
0.03735475242137909,
-0.0007534999749623239,
0.0707535520195961,
0.13578839600086212,
-0.03661090508103371,
0.15722906589508057,
0.09243247658014297,
0.0794573575258255,
0.029879743233323097,
0.013736749067902565,
-0.06603856384754181,
0.10280143469572067,
0.016018137335777283,
-0.03480609133839607,
-0.2878716289997101,
0.02403709664940834,
0.1804678738117218,
0.12916764616966248,
0.09497057646512985,
0.10560682415962219,
-0.14537429809570312,
0.1485014408826828,
0.05184723436832428,
-0.0421346053481102,
-0.0055468431673944,
-0.05622472986578941,
-0.1289501041173935,
0.10872165113687515,
-0.000781862938310951,
0.07917948812246323,
0.008680902421474457,
-0.001989749725908041,
-0.11238681524991989,
0.015292375348508358,
-0.02747330255806446,
0.03920954838395119,
0.06902934610843658,
0.08746474981307983,
0.037436794489622116,
0.054833076894283295,
-0.07246159017086029,
-0.00628806184977293,
0.054076340049505234,
-0.01459306851029396,
-0.03046947531402111,
-0.04750563204288483,
0.1458602100610733,
0.13497789204120636,
0.10196144878864288,
-0.02754213847219944,
0.20551547408103943,
-0.1687164157629013,
0.052581481635570526,
0.2250927835702896,
-0.35888558626174927,
-0.003935195971280336,
0.1470019370317459,
0.0417352132499218,
0.053226009011268616,
-0.12410330027341843,
0.003113370854407549,
0.07438623905181885,
0.002134071197360754,
0.007288259454071522,
-0.0957576110959053,
-0.020088227465748787,
0.02489694394171238,
-0.06815052032470703,
0.0612172856926918,
0.22258250415325165,
0.036827657371759415,
-0.05034253001213074,
-0.1560615748167038,
-0.007417574990540743,
-0.06698344647884369,
-0.04928665980696678,
-0.0755373015999794,
0.07924417406320572,
0.005592454224824905,
0.07519923150539398,
-0.09702391922473907,
-0.05273882672190666,
-0.05511360615491867,
-0.10615789145231247,
0.0580715611577034,
0.012013813480734825,
-0.002065209671854973,
-0.06765393912792206,
0.035512086004018784,
-0.005090887658298016,
-0.09931714832782745,
-0.03667248412966728,
-0.051992982625961304,
-0.03015623614192009,
0.01320216991007328,
0.0787915587425232,
0.03428154066205025,
-0.019795235246419907,
-0.0036949373316019773,
-0.011888129636645317,
0.0619826577603817,
0.013606256805360317,
0.05285948887467384,
0.01253314409404993,
0.3174760937690735,
-0.13453789055347443,
-0.054371777921915054,
0.02639569155871868,
-0.007943266071379185,
-0.005117810796946287,
0.024435751140117645,
-0.09264832735061646,
-0.09209717065095901,
0.08082370460033417,
0.020783528685569763,
-0.11894167959690094,
0.0345609076321125,
-0.0818527489900589,
-0.0837317705154419,
0.034833088517189026,
-0.08705634623765945,
0.023326361551880836,
0.025379851460456848,
-0.12099988758563995,
0.20260266959667206,
-0.05674203112721443,
0.034399088472127914,
-0.0916256383061409,
0.04985608160495758,
-0.06773034483194351,
-0.0033782697282731533,
-0.044599756598472595,
-0.046743277460336685,
0.02391493134200573,
-0.13360419869422913,
0.05334476754069328,
-0.05938298627734184,
-0.13345035910606384,
0.02836897410452366,
-0.02073650062084198,
-0.04554625600576401,
-0.03173254802823067,
-0.05297364294528961,
-0.09878478199243546,
-0.10051123797893524,
-0.0129499277099967,
-0.031969353556632996,
-0.03842499107122421,
-0.004586920607835054,
0.06267192214727402,
0.04417594522237778,
-0.06998129189014435,
0.0309812743216753,
-0.13739947974681854,
0.04090708866715431,
-0.12625931203365326,
0.11039892584085464,
-0.005729759577661753,
0.04915791004896164,
-0.04390336573123932,
-0.0507768951356411,
0.02104603685438633,
0.027445778250694275,
0.0008434221381321549,
0.149570032954216,
-0.1851997971534729,
-0.09191086143255234,
0.09303174167871475,
-0.07530687004327774,
-0.13382521271705627,
0.15053659677505493,
-0.01302431058138609,
0.04360033571720123,
0.11810426414012909,
0.17067192494869232,
-0.0503649078309536,
-0.03501700237393379,
-0.12400119006633759,
0.08497130125761032,
-0.028147274628281593,
-0.02995305508375168,
0.15138569474220276,
0.05073640123009682,
-0.030087538063526154,
0.06181861460208893,
-0.0303364135324955,
-0.03600960969924927,
-0.08655894547700882,
-0.06498351693153381,
-0.01329673733562231,
-0.02724270150065422,
0.018227800726890564,
0.022539455443620682,
0.13020530343055725,
-0.04948117956519127,
-0.009115898981690407,
-0.0025180752854794264,
0.021643351763486862,
-0.02855888567864895,
0.015569127164781094,
-0.14078162610530853,
0.020774424076080322,
0.033155407756567,
0.0010688431793823838,
-0.10709840059280396,
0.14039991796016693,
0.10084273666143417,
0.06641188263893127,
0.01925460249185562,
0.07697296142578125,
-0.011633055284619331,
-0.02999080717563629,
-0.0599965825676918,
-0.01610010676085949,
-0.001771722105331719,
-0.02866172231733799,
-0.07927542924880981,
-0.05078990012407303,
0.017033882439136505,
-0.003109264886006713,
0.04992114380002022,
-0.18372656404972076,
-0.00163539859931916,
0.01018498744815588,
0.055359240621328354,
0.01958966813981533,
0.056460581719875336,
0.014865517616271973,
0.06650495529174805,
-0.05023100599646568,
0.0018031254876405,
0.027660556137561798,
0.014612923376262188,
-0.1514197587966919,
0.11200811713933945,
0.0184556283056736,
0.01582704298198223,
0.1787417232990265,
-0.018063385039567947,
0.014938052743673325,
-0.04878421872854233,
-0.055602628737688065,
-0.03456278517842293,
-0.032341841608285904,
0.018669292330741882,
0.3329111933708191,
-0.008171845227479935,
0.18358507752418518,
-0.12917175889015198,
0.0575367696583271,
-0.014867263846099377,
-0.05970363691449165,
0.021065659821033478,
0.1340441256761551,
-0.01235351525247097,
-0.0041772364638745785,
0.11596709489822388,
-0.017963681370019913,
-0.06255026161670685,
0.12848904728889465,
0.00690099224448204,
-0.02652183547616005,
0.02710551582276821,
0.0016711198259145021,
-0.028340240940451622,
0.15172408521175385,
-0.17311953008174896,
-0.032016731798648834,
0.055841755121946335,
0.016022037714719772,
0.042334023863077164,
-0.1510237753391266,
0.002543259644880891,
0.013342980295419693,
-0.03159664198756218,
0.07800520956516266,
-0.03999490290880203,
0.015255697071552277,
0.10933078825473785,
0.0007552657043561339,
-0.039839327335357666,
-0.022776814177632332,
0.002784090582281351,
-0.14020691812038422,
0.12230954319238663,
-0.036443594843149185,
-0.2950431704521179,
-0.006769165862351656,
-0.0007562753744423389,
-0.07926126569509506,
0.020307648926973343,
-0.009238316677510738,
-0.12371503561735153,
-0.049877844750881195,
-0.0785491019487381,
0.047766271978616714,
-0.020698916167020798,
-0.03868893161416054,
0.07494544237852097,
0.037241380661726,
-0.11897209286689758,
-0.06390727311372757,
-0.020524615421891212,
-0.05030781775712967,
-0.09229870140552521,
0.049033962190151215,
-0.15134716033935547,
0.0251676756888628,
0.12766721844673157,
-0.024493573233485222,
-0.0030977658461779356,
-0.0940612405538559,
0.061046428978443146,
-0.0965510755777359,
0.003042913042008877,
0.07071821391582489,
0.01760401763021946,
-0.04318813234567642,
0.04750186577439308,
-0.02143975906074047,
-0.022717507556080818,
-0.00019530644931364805,
0.0039774044416844845,
-0.03930460661649704,
-0.252058207988739,
-0.09584550559520721,
-0.07567580789327621,
0.13972580432891846,
-0.020170819014310837,
0.03261914476752281,
0.027301602065563202,
0.04085157811641693,
0.0037516916636377573,
0.13958539068698883,
-0.039337385445833206,
0.033648811280727386,
-0.0417853482067585,
0.0004820258473046124,
0.04055434837937355,
-0.0475822314620018,
-0.04135439544916153,
0.07770252227783203,
0.05415051430463791,
0.17318402230739594,
0.023364678025245667,
0.20875196158885956,
-0.007855376228690147,
0.06558024883270264,
0.14941789209842682,
0.08933834731578827,
-0.12063368409872055,
-0.022225815802812576,
-0.05095324292778969,
-0.024787068367004395,
-0.05753704160451889,
0.04215535521507263,
0.03793790936470032,
0.0972791239619255,
-0.12527810037136078,
0.14646098017692566,
0.10695359110832214,
0.28040775656700134,
0.031347256153821945,
-0.1209815964102745,
-0.056979838758707047,
0.037186529487371445,
-0.03512989357113838,
-0.06284506618976593,
0.13642415404319763,
0.15186838805675507,
-0.177725687623024,
0.016463879495859146,
0.027589157223701477,
0.15109121799468994,
-0.09395536035299301,
0.05977402627468109,
-0.14366717636585236,
-0.029079332947731018,
0.03244810551404953,
0.07574301958084106,
-0.3665657043457031,
0.18273518979549408,
0.01865660399198532,
0.0141045693308115,
-0.11189228296279907,
-0.046609099954366684,
0.010442418046295643,
0.05531278997659683,
0.1351107507944107,
-0.006053582299500704,
0.16373291611671448,
-0.06050216779112816,
-0.17188329994678497,
0.06574080139398575,
0.004517683759331703,
0.03730052337050438,
0.021450404077768326,
0.014066146686673164,
0.004521468188613653,
-0.02392319031059742,
-0.026910578832030296,
-0.09510283917188644,
-0.0734182819724083,
-0.012967393733561039,
0.022798549383878708,
-0.03216478228569031,
0.0035918578505516052,
-0.05414200946688652,
0.0005017909570597112,
0.12520720064640045,
-0.0418316051363945,
-0.04865112900733948,
-0.0336020365357399,
-0.00019062019418925047,
0.040716808289289474,
-0.06440287828445435,
-0.013338613323867321,
-0.03618437796831131,
0.08368320763111115,
-0.0045539638958871365,
0.008675440214574337,
0.07190567255020142,
-0.019901426509022713,
-0.10129856318235397,
-0.0031674192287027836,
0.13819608092308044,
-0.011853407137095928,
0.12524670362472534,
0.05439440533518791,
-0.06256550550460815,
0.008867479860782623,
-0.12355471402406693,
-0.08814522624015808,
0.04482753202319145,
0.000831437821034342,
0.17390207946300507,
-0.11853209882974625,
-0.09754781424999237,
-0.10338740050792694,
-0.056686073541641235,
0.21881547570228577,
0.09905415773391724,
-0.04711287096142769,
0.0590575635433197,
0.11962146311998367,
-0.028974594548344612,
-0.21759462356567383,
0.016955113038420677,
0.0034703107085078955,
0.08063440024852753,
-0.05772750824689865,
-0.13048525154590607,
0.09712344408035278,
0.042596131563186646,
0.0040481300093233585,
-0.003919860813766718,
-0.16678239405155182,
-0.09122829139232635,
0.10474114120006561,
-0.017643386498093605,
0.06245821341872215,
-0.15209102630615234,
-0.058985620737075806,
0.010616622865200043,
-0.07881974428892136,
0.06668256968259811,
-0.043363191187381744,
0.08567140996456146,
-0.052105292677879333,
-0.060675885528326035,
0.0326584093272686,
-0.05096923187375069,
0.133240208029747,
0.06556758284568787,
0.012324037961661816,
-0.0009801990818232298,
-0.14757497608661652,
0.08341380208730698,
0.007059276103973389,
0.14857245981693268,
-0.04573957249522209,
0.05686114728450775,
-0.20549896359443665,
-0.07130277156829834,
-0.006939451210200787,
-0.0016764402389526367,
-0.019585376605391502,
-0.048060521483421326,
-0.11265653371810913,
0.09706410020589828,
-0.01253883633762598,
0.030993079766631126,
0.19974087178707123,
-0.011242919601500034,
-0.1362377256155014,
0.0436115525662899,
0.19898732006549835,
-0.16370032727718353,
0.1045137420296669,
-0.039412226527929306,
0.007283681537955999,
0.07503236830234528,
-0.11563831567764282,
0.055010806769132614,
0.1465717852115631,
0.012963606044650078,
0.1511273831129074,
0.04665070027112961,
-0.037488456815481186,
0.06922628730535507,
-0.004775230772793293,
-0.12266652286052704,
-0.12838897109031677,
-0.11758272349834442,
-0.02434147708117962,
0.01804305426776409,
0.009140263311564922,
0.01915891282260418,
-0.10626204311847687,
-0.043783821165561676,
0.006348094902932644,
-0.03995281085371971,
-0.042875345796346664,
0.05990413576364517,
-0.03028922528028488,
0.03640308603644371,
-0.12184058874845505,
0.06703675538301468,
0.09122361242771149,
-0.005987540353089571,
0.01855614222586155,
0.09323122352361679,
-0.09990677982568741,
-0.008117004297673702,
-0.007393603678792715,
0.289836585521698,
0.06386490911245346,
-0.04796167463064194,
-0.10046517103910446,
-0.1553039401769638,
-0.02165929414331913,
-0.05063524469733238,
0.10151165723800659,
0.0021321182139217854,
-0.02361844852566719,
-0.07504431903362274,
-0.10216575860977173,
0.04671835899353027,
0.06414097547531128,
0.005343093536794186,
-0.11873678863048553,
0.003776190336793661,
0.1019914448261261,
0.15274038910865784,
-0.05541719123721123,
-0.04500313475728035,
-0.16575445234775543,
0.0549607016146183,
-0.23596468567848206,
0.10926869511604309,
-0.07796935737133026,
-0.053497012704610825,
-0.04250910505652428,
-0.06711523234844208,
-0.04844442754983902,
-0.013238033279776573,
-0.052482523024082184,
0.029558511450886726,
0.024073109030723572,
0.11555300652980804,
0.017698412761092186,
0.005117619875818491,
0.06578591465950012,
-0.03807782754302025,
0.1205744743347168,
0.07192791253328323,
-0.061571408063173294,
0.05917869880795479,
-0.07634370028972626,
-0.03952699527144432,
0.08079437166452408,
0.06429143249988556,
0.10868141800165176,
0.01126762293279171,
0.005026896484196186,
0.07192232459783554,
0.08053836971521378,
0.006565232761204243,
0.07850747555494308,
-0.08227651566267014,
-0.10750217735767365,
-0.13098855316638947,
-0.08366360515356064,
-0.046039048582315445,
0.07023737579584122,
0.12785887718200684,
0.10570713877677917,
0.06852159649133682,
-0.03896680474281311,
0.10065234452486038,
-0.1082347184419632,
0.00044812425039708614,
-0.051056791096925735,
-0.018918555229902267,
-0.032121144235134125,
-0.07189108431339264,
0.06314978748559952,
-0.03786546364426613,
0.2583606243133545,
0.026031898334622383,
-0.013110383413732052,
0.017456362023949623,
-0.041729886084795,
0.03423526883125305,
0.03859885409474373,
0.2575533986091614,
0.09353642910718918,
0.017698219045996666,
0.09410391747951508,
0.05903071537613869,
0.032704319804906845,
0.12345057725906372,
0.1390308439731598,
0.16830018162727356,
-0.08412569016218185,
0.1395401656627655,
0.02088116481900215,
-0.029930368065834045,
-0.04965725168585777,
-0.05032807216048241,
-0.04457302764058113,
0.0015721864765509963,
-0.026470854878425598,
0.11304828524589539,
0.12301057577133179,
-0.1255229264497757,
0.12912173569202423,
-0.021272718906402588,
-0.1262989640235901,
-0.08428995311260223,
-0.0182124562561512,
-0.10732611268758774,
-0.06318776309490204,
-0.012414406053721905,
-0.13993068039417267,
-0.10642281919717789,
0.06565246731042862,
0.05740491300821304,
-0.10312202572822571,
0.09450297057628632,
-0.07360749691724777,
-0.050268057733774185,
0.1194942519068718,
0.008877079002559185,
0.01806953176856041,
-0.14563050866127014,
-0.023427199572324753,
-0.04066943749785423,
0.0254585612565279,
0.017843306064605713,
0.03468279168009758,
-0.06903457641601562,
0.0045340717770159245,
-0.0030002850107848644,
-0.06378334760665894,
0.001070930971764028,
-0.07433799654245377,
0.04110372066497803,
0.08109193295240402,
0.01979116164147854,
-0.05912531539797783,
-0.010330971330404282,
0.2079840749502182,
-0.013936118222773075,
-0.026701077818870544,
-0.1408626139163971,
0.18140092492103577,
0.0014722379855811596,
-0.03836787864565849,
0.0426076203584671,
-0.04444101080298424,
-0.07030857354402542,
0.32162556052207947,
0.20534484088420868,
-0.14412951469421387,
-0.028668032959103584,
-0.07927552610635757,
0.02882661484181881,
0.01342842262238264,
0.05852491036057472,
0.10792441666126251,
0.2310064136981964,
-0.06941530853509903,
-0.004581186454743147,
-0.09375186264514923,
-0.04781398922204971,
-0.1207691878080368,
0.1058381050825119,
0.12424897402524948,
-0.030419589951634407,
-0.09552036225795746,
0.0551246777176857,
-0.09912510216236115,
-0.0429069809615612,
-0.03597500920295715,
-0.21167442202568054,
-0.10211345553398132,
0.016460897400975227,
-0.09209991246461868,
0.06484783440828323,
0.039690688252449036,
0.016234859824180603,
0.06702615320682526,
0.017101626843214035,
0.031725771725177765,
-0.10388284176588058,
0.048844777047634125,
0.14764806628227234,
-0.06622476875782013,
0.18838557600975037,
0.01062129344791174,
0.03750194236636162,
0.07446449995040894,
0.09249485284090042,
-0.052655793726444244,
0.054761771112680435,
-0.03497635945677757,
-0.012578795664012432,
0.008874679915606976,
0.04869335517287254,
0.00451621925458312,
-0.012339801527559757,
0.04669683054089546,
-0.04051697626709938,
0.019246608018875122,
0.018961509689688683,
-0.02145266719162464,
-0.12907418608665466,
0.06324005126953125,
-0.08761599659919739,
0.0779145359992981,
0.1674390286207199,
-0.04970313608646393,
-0.006831214297562838,
-0.014231089502573013,
0.06672096252441406,
-0.03493897244334221,
-0.04950720816850662,
-0.04479949548840523,
-0.14572463929653168,
0.012446519918739796,
-0.021130554378032684,
-0.051278404891490936,
-0.2346607893705368,
0.011920067481696606,
-0.07905221730470657,
-0.04676351696252823,
-0.0711119994521141,
-0.0259395819157362,
0.0708884596824646,
0.05789850652217865,
-0.03597503900527954,
-0.1884772628545761,
-0.010292436927556992,
0.080880306661129,
-0.10452254861593246,
-0.1369205266237259
] |
null | null |
transformers
|
## albert_chinese_tiny
### Overview
**Language model:** albert-tiny
**Model size:** 16M
**Language:** Chinese
**Training data:** [CLUECorpusSmall](https://github.com/CLUEbenchmark/CLUECorpus2020)
**Eval data:** [CLUE dataset](https://github.com/CLUEbenchmark/CLUE)
### Results
For results on downstream tasks like text classification, please refer to [this repository](https://github.com/CLUEbenchmark/CLUE).
### Usage
**NOTE:**Since sentencepiece is not used in `albert_chinese_tiny` model, you have to call **BertTokenizer** instead of AlbertTokenizer !!!
```
import torch
from transformers import BertTokenizer, AlbertModel
tokenizer = BertTokenizer.from_pretrained("clue/albert_chinese_tiny")
albert = AlbertModel.from_pretrained("clue/albert_chinese_tiny")
```
### About CLUE benchmark
Organization of Language Understanding Evaluation benchmark for Chinese: tasks & datasets, baselines, pre-trained Chinese models, corpus and leaderboard.
Github: https://github.com/CLUEbenchmark
Website: https://www.cluebenchmarks.com/
|
{"language": "zh"}
| null |
clue/albert_chinese_tiny
|
[
"transformers",
"pytorch",
"albert",
"zh",
"endpoints_compatible",
"region:us"
] |
2022-03-02T23:29:05+00:00
|
[] |
[
"zh"
] |
TAGS
#transformers #pytorch #albert #zh #endpoints_compatible #region-us
|
## albert_chinese_tiny
### Overview
Language model: albert-tiny
Model size: 16M
Language: Chinese
Training data: CLUECorpusSmall
Eval data: CLUE dataset
### Results
For results on downstream tasks like text classification, please refer to this repository.
### Usage
NOTE:Since sentencepiece is not used in 'albert_chinese_tiny' model, you have to call BertTokenizer instead of AlbertTokenizer !!!
### About CLUE benchmark
Organization of Language Understanding Evaluation benchmark for Chinese: tasks & datasets, baselines, pre-trained Chinese models, corpus and leaderboard.
Github: URL
Website: URL
|
[
"## albert_chinese_tiny",
"### Overview\n\nLanguage model: albert-tiny\nModel size: 16M\nLanguage: Chinese\nTraining data: CLUECorpusSmall\nEval data: CLUE dataset",
"### Results\n\nFor results on downstream tasks like text classification, please refer to this repository.",
"### Usage\n\nNOTE:Since sentencepiece is not used in 'albert_chinese_tiny' model, you have to call BertTokenizer instead of AlbertTokenizer !!!",
"### About CLUE benchmark\n\nOrganization of Language Understanding Evaluation benchmark for Chinese: tasks & datasets, baselines, pre-trained Chinese models, corpus and leaderboard.\n\nGithub: URL\nWebsite: URL"
] |
[
"TAGS\n#transformers #pytorch #albert #zh #endpoints_compatible #region-us \n",
"## albert_chinese_tiny",
"### Overview\n\nLanguage model: albert-tiny\nModel size: 16M\nLanguage: Chinese\nTraining data: CLUECorpusSmall\nEval data: CLUE dataset",
"### Results\n\nFor results on downstream tasks like text classification, please refer to this repository.",
"### Usage\n\nNOTE:Since sentencepiece is not used in 'albert_chinese_tiny' model, you have to call BertTokenizer instead of AlbertTokenizer !!!",
"### About CLUE benchmark\n\nOrganization of Language Understanding Evaluation benchmark for Chinese: tasks & datasets, baselines, pre-trained Chinese models, corpus and leaderboard.\n\nGithub: URL\nWebsite: URL"
] |
[
26,
8,
36,
23,
40,
47
] |
[
"passage: TAGS\n#transformers #pytorch #albert #zh #endpoints_compatible #region-us \n## albert_chinese_tiny### Overview\n\nLanguage model: albert-tiny\nModel size: 16M\nLanguage: Chinese\nTraining data: CLUECorpusSmall\nEval data: CLUE dataset### Results\n\nFor results on downstream tasks like text classification, please refer to this repository.### Usage\n\nNOTE:Since sentencepiece is not used in 'albert_chinese_tiny' model, you have to call BertTokenizer instead of AlbertTokenizer !!!### About CLUE benchmark\n\nOrganization of Language Understanding Evaluation benchmark for Chinese: tasks & datasets, baselines, pre-trained Chinese models, corpus and leaderboard.\n\nGithub: URL\nWebsite: URL"
] |
[
-0.08302637934684753,
0.030817251652479172,
-0.0008382295491173863,
0.06846442818641663,
0.13648758828639984,
-0.039240069687366486,
0.15571753680706024,
0.09898444265127182,
0.0639805868268013,
0.021700797602534294,
0.01659640483558178,
-0.06200014054775238,
0.09728258848190308,
-0.007482687011361122,
-0.030159663408994675,
-0.2826257348060608,
0.02848043665289879,
0.17990025877952576,
0.10715153813362122,
0.09384767711162567,
0.09898056089878082,
-0.15204092860221863,
0.14542719721794128,
0.055339962244033813,
-0.05150733143091202,
-0.011026890948414803,
-0.051007091999053955,
-0.12715554237365723,
0.10439213365316391,
-0.0026578977704048157,
0.0833769366145134,
0.0025067308451980352,
0.01249112281948328,
-0.11540879309177399,
0.013432567939162254,
-0.01563158445060253,
0.044727686792612076,
0.06426673382520676,
0.08910872042179108,
0.03591782599687576,
0.04917924851179123,
-0.06795797497034073,
-0.0018258967902511358,
0.055066224187612534,
-0.019497722387313843,
-0.029888028278946877,
-0.04627479612827301,
0.14324776828289032,
0.1326787918806076,
0.09263075888156891,
-0.023316171020269394,
0.2088521271944046,
-0.17199429869651794,
0.061921682208776474,
0.21477147936820984,
-0.33032581210136414,
-0.015375479124486446,
0.1652621626853943,
0.05047086626291275,
0.03845091536641121,
-0.12005694955587387,
0.004465839825570583,
0.0772303119301796,
0.0010978304781019688,
-0.002579075749963522,
-0.09759844839572906,
-0.010724515654146671,
0.03050844371318817,
-0.06800569593906403,
0.05957276374101639,
0.20785202085971832,
0.02915162965655327,
-0.054097555577754974,
-0.16418425738811493,
-0.010418996214866638,
-0.08537539094686508,
-0.06307918578386307,
-0.07288710027933121,
0.08414556086063385,
0.009785790927708149,
0.07222326844930649,
-0.09490721672773361,
-0.04892721027135849,
-0.06042439118027687,
-0.09277735650539398,
0.06367379426956177,
0.00828418880701065,
-0.014561650343239307,
-0.06608325988054276,
0.04598626121878624,
-0.006492081098258495,
-0.09949538856744766,
-0.04582729935646057,
-0.04659947752952576,
-0.016657564789056778,
0.012519611045718193,
0.07995916903018951,
0.04052041843533516,
-0.007806871552020311,
0.016983242705464363,
0.007468146737664938,
0.07696989923715591,
0.009329309687018394,
0.043634071946144104,
0.0054877870716154575,
0.32286280393600464,
-0.1305917352437973,
-0.03949505090713501,
0.03516356647014618,
-0.002249157987535,
0.006921157706528902,
0.017591508105397224,
-0.08560801297426224,
-0.07583528012037277,
0.08140839636325836,
0.033111557364463806,
-0.09752469509840012,
0.049278512597084045,
-0.0762687399983406,
-0.07940053939819336,
0.02751508541405201,
-0.09837162494659424,
0.021824320778250694,
0.012014316394925117,
-0.11467874050140381,
0.18032148480415344,
-0.0603492371737957,
0.04293341189622879,
-0.10091828554868698,
0.0675579085946083,
-0.07202199101448059,
-0.01038728654384613,
-0.04207058623433113,
-0.046935196965932846,
0.024397026747465134,
-0.13428089022636414,
0.06335659325122833,
-0.05645636469125748,
-0.12815974652767181,
0.033084165304899216,
-0.00580073706805706,
-0.042563945055007935,
-0.03628537058830261,
-0.046632979065179825,
-0.12429182976484299,
-0.08956607431173325,
-0.004638542886823416,
-0.041318897157907486,
-0.03907807916402817,
-0.01085781678557396,
0.08774292469024658,
0.03889691084623337,
-0.0526285283267498,
0.017778567969799042,
-0.14312151074409485,
0.0478854775428772,
-0.13992342352867126,
0.12798455357551575,
-0.01472754217684269,
0.06450200825929642,
-0.04366656020283699,
-0.03881344944238663,
0.017196927219629288,
0.02541746012866497,
-0.0009884338360279799,
0.1502581387758255,
-0.17360590398311615,
-0.09299273043870926,
0.09217242151498795,
-0.07849664986133575,
-0.13122329115867615,
0.13885673880577087,
-0.01676853559911251,
0.028265465050935745,
0.12454790621995926,
0.2001311033964157,
-0.03790204972028732,
-0.032980162650346756,
-0.12025341391563416,
0.0861436277627945,
-0.027632851153612137,
-0.011503349058330059,
0.14846861362457275,
0.05151476711034775,
-0.011401396244764328,
0.057262908667325974,
-0.05965487286448479,
-0.03911089524626732,
-0.08384817093610764,
-0.06566107273101807,
-0.023659102618694305,
-0.017842184752225876,
0.012731614522635937,
0.021002594381570816,
0.11350598931312561,
-0.0551774725317955,
-0.022020377218723297,
0.010559641756117344,
0.022720426321029663,
-0.03215882182121277,
0.017187559977173805,
-0.1520715057849884,
0.015356828458607197,
0.020559223368763924,
0.006967922206968069,
-0.10545314848423004,
0.12677471339702606,
0.10639418661594391,
0.055864136666059494,
0.021139755845069885,
0.07205883413553238,
-0.015931744128465652,
-0.03390640765428543,
-0.06061781942844391,
-0.02601594477891922,
-0.009796367958188057,
-0.022004902362823486,
-0.07518259435892105,
-0.05779751017689705,
0.011182076297700405,
-0.005463746376335621,
0.022937515750527382,
-0.1923678070306778,
0.004957391414791346,
0.03287852182984352,
0.05082995072007179,
0.02530716173350811,
0.05514846742153168,
0.010465913452208042,
0.06026915833353996,
-0.06178192421793938,
-0.01833716221153736,
0.024883804842829704,
0.01726660132408142,
-0.13934412598609924,
0.11791761219501495,
0.01897388882935047,
0.028190217912197113,
0.19372914731502533,
-0.036417406052351,
0.017372719943523407,
-0.019980821758508682,
-0.05860273540019989,
-0.02743210457265377,
-0.028758198022842407,
0.013401774689555168,
0.3171255588531494,
-0.009313185699284077,
0.18129073083400726,
-0.14189741015434265,
0.04701400175690651,
-0.003925596829503775,
-0.06089207902550697,
0.01679678075015545,
0.1304660439491272,
-0.010109872557222843,
0.025758780539035797,
0.1049281433224678,
-0.037669844925403595,
-0.04742249846458435,
0.11230107396841049,
0.008086632005870342,
-0.011777777224779129,
0.024379562586545944,
-0.0037876227870583534,
-0.016967831179499626,
0.14088022708892822,
-0.19236387312412262,
-0.030358027666807175,
0.047712940722703934,
0.03405604511499405,
0.04949476569890976,
-0.15616856515407562,
0.0031632091850042343,
0.02849649265408516,
-0.03388366848230362,
0.0765853226184845,
-0.056062888354063034,
-0.0013871958944946527,
0.10278942435979843,
0.00509419571608305,
-0.006479464005678892,
-0.02342977188527584,
-0.0014610897051170468,
-0.14596377313137054,
0.12051567435264587,
-0.03459677845239639,
-0.3010258674621582,
-0.016949363052845,
-0.018284987658262253,
-0.07128889858722687,
0.03152117133140564,
-0.00794111005961895,
-0.13889575004577637,
-0.0522935725748539,
-0.08394667506217957,
0.05093362182378769,
-0.03698883205652237,
-0.03566144406795502,
0.07531322538852692,
0.046463239938020706,
-0.11957075446844101,
-0.07138056308031082,
-0.02259300835430622,
-0.034700002521276474,
-0.0797194093465805,
0.0444890558719635,
-0.1396283060312271,
0.03234381228685379,
0.1209053322672844,
-0.03428676351904869,
-0.00804179348051548,
-0.08870454132556915,
0.08044060319662094,
-0.1053631454706192,
0.01218147948384285,
0.08279377967119217,
0.0321001335978508,
-0.04626686871051788,
0.04452507197856903,
-0.01963767223060131,
-0.03891855478286743,
0.001349194790236652,
0.014147492125630379,
-0.04299077391624451,
-0.24779579043388367,
-0.0905861034989357,
-0.07814013212919235,
0.14320865273475647,
-0.026075758039951324,
0.03545206040143967,
0.02295294590294361,
0.04346216097474098,
-0.0047996025532484055,
0.1591271013021469,
-0.040663376450538635,
0.045740921050310135,
-0.015758421272039413,
0.005339544266462326,
0.0460452064871788,
-0.04952021688222885,
-0.05054875835776329,
0.07601702213287354,
0.04418276622891426,
0.15850670635700226,
0.027969785034656525,
0.21570919454097748,
-0.008207675069570541,
0.07264239341020584,
0.14890874922275543,
0.08643227070569992,
-0.11564803868532181,
-0.030477751046419144,
-0.04050839692354202,
-0.028955861926078796,
-0.06522694230079651,
0.028565872460603714,
0.019157258793711662,
0.10035841912031174,
-0.11338578164577484,
0.16109731793403625,
0.10444416105747223,
0.2761760354042053,
0.02597660757601261,
-0.1334325075149536,
-0.05646023899316788,
0.03502253443002701,
-0.037279315292835236,
-0.05755072087049484,
0.13329903781414032,
0.14276859164237976,
-0.1829250305891037,
0.01837584748864174,
0.028363842517137527,
0.15635541081428528,
-0.09703721106052399,
0.05798880755901337,
-0.13610689342021942,
-0.04688283056020737,
0.02504746988415718,
0.08063938468694687,
-0.3639489412307739,
0.1558288186788559,
0.025332191959023476,
0.03466101363301277,
-0.10668790340423584,
-0.03890383988618851,
0.005147200543433428,
0.06426350027322769,
0.1429203897714615,
-0.011807636357843876,
0.17466166615486145,
-0.0806855708360672,
-0.1570945680141449,
0.07059964537620544,
0.022998208180069923,
0.04801367595791817,
0.036098986864089966,
-0.002763707423582673,
0.006655439268797636,
-0.01892906427383423,
-0.041644658893346786,
-0.10319484025239944,
-0.08063571155071259,
-0.013336903415620327,
0.020427482202649117,
-0.05448983982205391,
-0.005344472825527191,
-0.04570402577519417,
0.014328270219266415,
0.14153115451335907,
-0.0629393458366394,
-0.04845983535051346,
-0.044511932879686356,
-0.004145482089370489,
0.04462485760450363,
-0.0566834919154644,
-0.008161786943674088,
-0.04657939821481705,
0.09991161525249481,
0.0025914148427546024,
-0.005618253722786903,
0.06580201536417007,
-0.03371958062052727,
-0.11183015257120132,
-0.0017069043824449182,
0.13780787587165833,
-0.022636141628026962,
0.11815313994884491,
0.058990053832530975,
-0.05855916813015938,
0.010288958437740803,
-0.12608495354652405,
-0.08705134689807892,
0.02868230640888214,
-0.014848499558866024,
0.16565416753292084,
-0.11411942541599274,
-0.06866621971130371,
-0.09759476780891418,
-0.05363001674413681,
0.19148293137550354,
0.0974293053150177,
-0.036288339644670486,
0.055063046514987946,
0.11591564118862152,
-0.03827783837914467,
-0.23286497592926025,
0.025592586025595665,
-0.005990844219923019,
0.07118523120880127,
-0.07041725516319275,
-0.1309378445148468,
0.12773139774799347,
0.027701260522007942,
0.0103074312210083,
0.017724644392728806,
-0.1779564768075943,
-0.09397023171186447,
0.08714475482702255,
-0.01750366762280464,
0.02156408689916134,
-0.1563650518655777,
-0.07455466687679291,
-0.0007579113007523119,
-0.08825285732746124,
0.07221177220344543,
-0.041941557079553604,
0.08114884048700333,
-0.044649627059698105,
-0.07789928466081619,
0.03548511490225792,
-0.05000438168644905,
0.13413111865520477,
0.06731494516134262,
0.01919570192694664,
-0.008844138123095036,
-0.16392935812473297,
0.11777067929506302,
0.012062891386449337,
0.14317528903484344,
-0.03239816799759865,
0.06085862219333649,
-0.20936454832553864,
-0.07612033933401108,
0.01107831671833992,
-0.0005119726993143559,
-0.023531218990683556,
-0.057802390307188034,
-0.12789279222488403,
0.08910118788480759,
-0.005069092847406864,
0.03296038135886192,
0.19663405418395996,
-0.012139282189309597,
-0.1449074149131775,
0.05998198315501213,
0.20485903322696686,
-0.1838633269071579,
0.11810965090990067,
-0.03270311653614044,
0.012576436623930931,
0.0635412409901619,
-0.1259339600801468,
0.055236466228961945,
0.14528873562812805,
0.016823243349790573,
0.13372793793678284,
0.05373556911945343,
-0.034180641174316406,
0.06169498339295387,
-0.0102152768522501,
-0.11700592190027237,
-0.1310044229030609,
-0.11810001730918884,
-0.039829153567552567,
0.026129107922315598,
0.012781095691025257,
0.01764160580933094,
-0.10924042761325836,
-0.038097579032182693,
0.007453677244484425,
-0.04624466225504875,
-0.04175987094640732,
0.07485993206501007,
-0.02447706088423729,
0.04176347702741623,
-0.1303224414587021,
0.07289568334817886,
0.08723454177379608,
-0.0308290533721447,
0.014209850691258907,
0.08616048097610474,
-0.10888124257326126,
-0.0032174289226531982,
0.014918440952897072,
0.29039832949638367,
0.06479484587907791,
-0.043834444135427475,
-0.10452170670032501,
-0.1534271091222763,
-0.010557593777775764,
-0.05584803596138954,
0.11063297092914581,
0.0019990215077996254,
-0.02944030426442623,
-0.06958495080471039,
-0.11696165055036545,
0.0530688613653183,
0.0542045533657074,
0.014623557217419147,
-0.12957844138145447,
0.02058464288711548,
0.09890521317720413,
0.15002329647541046,
-0.05781751871109009,
-0.04134172946214676,
-0.16298002004623413,
0.056244298815727234,
-0.19646631181240082,
0.12542667984962463,
-0.07000172883272171,
-0.04894689843058586,
-0.041622765362262726,
-0.05796126276254654,
-0.060688767582178116,
-0.019190598279237747,
-0.04393083229660988,
0.018661465495824814,
0.016565769910812378,
0.10835306346416473,
0.012672584503889084,
0.014789230190217495,
0.06534644961357117,
-0.039600081741809845,
0.10748644173145294,
0.05846770107746124,
-0.06032578647136688,
0.061081383377313614,
-0.06505550444126129,
-0.037053316831588745,
0.07382605224847794,
0.06122266873717308,
0.10181991010904312,
0.01925925351679325,
0.009878681041300297,
0.07163000851869583,
0.08240597695112228,
0.01375660765916109,
0.0866013839840889,
-0.09706585109233856,
-0.11422797292470932,
-0.1413087248802185,
-0.09569910913705826,
-0.04659530892968178,
0.08453179150819778,
0.14578837156295776,
0.09634018689393997,
0.06974601745605469,
-0.03450128808617592,
0.09004011005163193,
-0.11690013855695724,
-0.005602286197245121,
-0.05013603717088699,
-0.020157741382718086,
-0.03750922903418541,
-0.05776472017168999,
0.06403542309999466,
-0.03554290533065796,
0.26782193779945374,
0.04205445572733879,
-0.01318935863673687,
0.025117725133895874,
-0.051478058099746704,
0.02802811749279499,
0.04751219227910042,
0.2841988503932953,
0.10431020706892014,
0.010518565773963928,
0.08753500878810883,
0.049798384308815,
0.04074249789118767,
0.09662578254938126,
0.11856993287801743,
0.1803685873746872,
-0.0847272202372551,
0.14350613951683044,
0.011486628092825413,
-0.03600680083036423,
-0.04966466873884201,
-0.028727928176522255,
-0.049513719975948334,
0.006490055005997419,
-0.016638943925499916,
0.13399679958820343,
0.12647715210914612,
-0.1199861392378807,
0.12918314337730408,
-0.023393016308546066,
-0.12486203759908676,
-0.08672422915697098,
-0.03047560341656208,
-0.10913055390119553,
-0.06667354702949524,
-0.02101770229637623,
-0.14927157759666443,
-0.1085132509469986,
0.0683683380484581,
0.04943913221359253,
-0.10776502639055252,
0.10976844280958176,
-0.0877559632062912,
-0.04996943846344948,
0.11461533606052399,
0.012701204977929592,
0.0064445012249052525,
-0.11899767816066742,
-0.025428635999560356,
-0.03712627291679382,
0.031694408506155014,
0.02300548367202282,
0.04277152568101883,
-0.06856651604175568,
0.011191969737410545,
-0.002823131624609232,
-0.06466525048017502,
0.012762568891048431,
-0.07586308568716049,
0.041481390595436096,
0.04914873093366623,
0.013611911796033382,
-0.06608039140701294,
-0.010172149166464806,
0.22659356892108917,
-0.00784856453537941,
-0.009514061734080315,
-0.13377946615219116,
0.15695276856422424,
-0.0009156942251138389,
-0.021529173478484154,
0.041717592626810074,
-0.05033372342586517,
-0.06463634967803955,
0.3396599590778351,
0.2049638330936432,
-0.13209664821624756,
-0.03405923768877983,
-0.06492788344621658,
0.027886321768164635,
0.017026366665959358,
0.06698528677225113,
0.09616565704345703,
0.20026980340480804,
-0.06492303311824799,
-0.009018470533192158,
-0.09599395096302032,
-0.06026539206504822,
-0.11421477794647217,
0.10514994710683823,
0.1340695172548294,
-0.02984367124736309,
-0.09952923655509949,
0.0655163899064064,
-0.09038757532835007,
-0.04562034457921982,
-0.0024433541111648083,
-0.20242901146411896,
-0.08871382474899292,
0.016558432951569557,
-0.09633902460336685,
0.04878685250878334,
0.03664364293217659,
0.015235468745231628,
0.05988780036568642,
0.0027153140399605036,
0.03461109474301338,
-0.11476970463991165,
0.05496746674180031,
0.13352733850479126,
-0.047978635877370834,
0.197321355342865,
0.0063675642013549805,
0.01896383799612522,
0.08042015135288239,
0.09271584451198578,
-0.06415977329015732,
0.04751881584525108,
-0.030988367274403572,
-0.012072393670678139,
0.013808795250952244,
0.04387383908033371,
0.005252170376479626,
-0.025601334869861603,
0.043822020292282104,
-0.04648398980498314,
0.02469646744430065,
0.015621211379766464,
-0.016193965449929237,
-0.13556991517543793,
0.05204562097787857,
-0.10191553831100464,
0.06933310627937317,
0.1658076047897339,
-0.05037036910653114,
0.00030914245871827006,
-0.022671591490507126,
0.07023194432258606,
-0.03318965807557106,
-0.04634100943803787,
-0.04180685803294182,
-0.1528748869895935,
0.013453851453959942,
-0.017624780535697937,
-0.05878864973783493,
-0.25386714935302734,
0.014741284772753716,
-0.07040169835090637,
-0.047967329621315,
-0.0706501454114914,
-0.013594944961369038,
0.07179621607065201,
0.05938819795846939,
-0.03799504414200783,
-0.19426240026950836,
-0.011254662647843361,
0.09235269576311111,
-0.10273326933383942,
-0.13421796262264252
] |
null | null |
transformers
|
# Introduction
This model was trained on TPU and the details are as follows:
## Model
##
| Model_name | params | size | Training_corpus | Vocab |
| :------------------------------------------ | :----- | :------- | :----------------- | :-----------: |
| **`RoBERTa-tiny-clue`** <br/>Super_small_model | 7.5M | 28.3M | **CLUECorpus2020** | **CLUEVocab** |
| **`RoBERTa-tiny-pair`** <br/>Super_small_sentence_pair_model | 7.5M | 28.3M | **CLUECorpus2020** | **CLUEVocab** |
| **`RoBERTa-tiny3L768-clue`** <br/>small_model | 38M | 110M | **CLUECorpus2020** | **CLUEVocab** |
| **`RoBERTa-tiny3L312-clue`** <br/>small_model | <7.5M | 24M | **CLUECorpus2020** | **CLUEVocab** |
| **`RoBERTa-large-clue`** <br/> Large_model | 290M | 1.20G | **CLUECorpus2020** | **CLUEVocab** |
| **`RoBERTa-large-pair`** <br/>Large_sentence_pair_model | 290M | 1.20G | **CLUECorpus2020** | **CLUEVocab** |
### Usage
With the help of[Huggingface-Transformers 2.5.1](https://github.com/huggingface/transformers), you could use these model as follows
```
tokenizer = BertTokenizer.from_pretrained("MODEL_NAME")
model = BertModel.from_pretrained("MODEL_NAME")
```
`MODEL_NAME`:
| Model_NAME | MODEL_LINK |
| -------------------------- | ------------------------------------------------------------ |
| **RoBERTa-tiny-clue** | [`clue/roberta_chinese_clue_tiny`](https://huggingface.co/clue/roberta_chinese_clue_tiny) |
| **RoBERTa-tiny-pair** | [`clue/roberta_chinese_pair_tiny`](https://huggingface.co/clue/roberta_chinese_pair_tiny) |
| **RoBERTa-tiny3L768-clue** | [`clue/roberta_chinese_3L768_clue_tiny`](https://huggingface.co/clue/roberta_chinese_3L768_clue_tiny) |
| **RoBERTa-tiny3L312-clue** | [`clue/roberta_chinese_3L312_clue_tiny`](https://huggingface.co/clue/roberta_chinese_3L312_clue_tiny) |
| **RoBERTa-large-clue** | [`clue/roberta_chinese_clue_large`](https://huggingface.co/clue/roberta_chinese_clue_large) |
| **RoBERTa-large-pair** | [`clue/roberta_chinese_pair_large`](https://huggingface.co/clue/roberta_chinese_pair_large) |
## Details
Please read <a href='https://arxiv.org/pdf/2003.01355'>https://arxiv.org/pdf/2003.01355.
Please visit our repository: https://github.com/CLUEbenchmark/CLUEPretrainedModels.git
|
{"language": "zh"}
| null |
clue/roberta_chinese_3L312_clue_tiny
|
[
"transformers",
"pytorch",
"jax",
"roberta",
"zh",
"arxiv:2003.01355",
"endpoints_compatible",
"region:us"
] |
2022-03-02T23:29:05+00:00
|
[
"2003.01355"
] |
[
"zh"
] |
TAGS
#transformers #pytorch #jax #roberta #zh #arxiv-2003.01355 #endpoints_compatible #region-us
|
Introduction
============
This model was trained on TPU and the details are as follows:
Model
-----
### Usage
With the help ofHuggingface-Transformers 2.5.1, you could use these model as follows
'MODEL\_NAME':
Details
-------
Please read <a href='URL/URL
Please visit our repository: URL
|
[
"### Usage\n\n\nWith the help ofHuggingface-Transformers 2.5.1, you could use these model as follows\n\n\n'MODEL\\_NAME':\n\n\n\nDetails\n-------\n\n\nPlease read <a href='URL/URL\n\n\nPlease visit our repository: URL"
] |
[
"TAGS\n#transformers #pytorch #jax #roberta #zh #arxiv-2003.01355 #endpoints_compatible #region-us \n",
"### Usage\n\n\nWith the help ofHuggingface-Transformers 2.5.1, you could use these model as follows\n\n\n'MODEL\\_NAME':\n\n\n\nDetails\n-------\n\n\nPlease read <a href='URL/URL\n\n\nPlease visit our repository: URL"
] |
[
38,
56
] |
[
"passage: TAGS\n#transformers #pytorch #jax #roberta #zh #arxiv-2003.01355 #endpoints_compatible #region-us \n### Usage\n\n\nWith the help ofHuggingface-Transformers 2.5.1, you could use these model as follows\n\n\n'MODEL\\_NAME':\n\n\n\nDetails\n-------\n\n\nPlease read <a href='URL/URL\n\n\nPlease visit our repository: URL"
] |
[
-0.02475031279027462,
-0.023753372952342033,
-0.005788425449281931,
0.017262039706110954,
0.154889315366745,
0.014598589390516281,
0.12218254804611206,
0.011026198975741863,
0.027535930275917053,
-0.0283235814422369,
0.13841627538204193,
0.1639997661113739,
-0.018907759338617325,
0.002010606462135911,
-0.0011029873276129365,
-0.2834642231464386,
0.04424329102039337,
0.09276065230369568,
-0.17695342004299164,
0.1290457397699356,
0.1289764791727066,
-0.07976970821619034,
0.11352850496768951,
0.10635396093130112,
-0.19570501148700714,
0.06181417033076286,
0.039011090993881226,
-0.0804319679737091,
0.13240602612495422,
0.04647378996014595,
0.1662408858537674,
0.040327735245227814,
0.02071070671081543,
-0.12514184415340424,
0.03255630284547806,
-0.02783353254199028,
-0.049016572535037994,
0.0597178190946579,
0.05925596132874489,
-0.05346788093447685,
0.15676520764827728,
0.018947165459394455,
-0.011050911620259285,
0.013620030134916306,
-0.09465458989143372,
-0.17356497049331665,
-0.017546575516462326,
0.1387305110692978,
0.06726376712322235,
0.04149607568979263,
0.03810090199112892,
0.15405967831611633,
-0.10589539259672165,
0.06864621490240097,
0.3092266619205475,
-0.23458737134933472,
-0.03278530761599541,
0.0802195817232132,
0.0799705982208252,
-0.07732603698968887,
-0.043715160340070724,
0.09031317383050919,
0.03172168880701065,
0.019456353038549423,
0.016920465975999832,
-0.06238348037004471,
0.010122987441718578,
0.053388163447380066,
-0.1220405250787735,
-0.06596978008747101,
0.17580659687519073,
-0.005752538330852985,
-0.007498717866837978,
0.026797931641340256,
-0.10630957782268524,
0.051199425011873245,
-0.050920408219099045,
-0.04693341627717018,
-0.017917683348059654,
0.0014216700801625848,
-0.06114581972360611,
-0.0725143775343895,
-0.10349961370229721,
-0.08866703510284424,
-0.05190499126911163,
0.3324753940105438,
-0.0036896667443215847,
0.10732028633356094,
-0.16368217766284943,
0.059358902275562286,
-0.0019299223786219954,
-0.13461650907993317,
0.05496473237872124,
-0.1356935352087021,
0.06477613747119904,
0.04079660773277283,
-0.08319777995347977,
-0.028500506654381752,
0.08361058682203293,
0.18436533212661743,
0.08824437111616135,
0.013609830290079117,
0.08110588788986206,
0.06834676116704941,
-0.012195762246847153,
0.1278194636106491,
-0.11772371083498001,
-0.036873962730169296,
0.08152101933956146,
-0.037466712296009064,
0.0230498556047678,
-0.023650838062167168,
-0.14866121113300323,
-0.11681435257196426,
0.023800119757652283,
0.0404663048684597,
0.0456901416182518,
0.027354560792446136,
-0.0053601376712322235,
-0.09755443036556244,
0.10732470452785492,
-0.040195684880018234,
-0.0244891494512558,
-0.02249690145254135,
-0.0024717196356505156,
0.10339373350143433,
0.07519232481718063,
-0.0033159214071929455,
-0.008073861710727215,
0.06302646547555923,
-0.08776061236858368,
0.006254419218748808,
-0.09612510353326797,
-0.06351752579212189,
-0.0009157638414762914,
-0.011332288384437561,
0.08801056444644928,
-0.19200095534324646,
-0.08200391381978989,
0.05447721108794212,
0.09958487749099731,
0.02111443690955639,
-0.03669959306716919,
0.04387259855866432,
-0.05332222580909729,
0.02923276275396347,
-0.021334661170840263,
0.0009668132406659424,
-0.010383889079093933,
0.07045908272266388,
0.05268874019384384,
0.07029211521148682,
-0.061309706419706345,
0.019949601963162422,
-0.05013043060898781,
0.034483980387449265,
-0.15153634548187256,
-0.02684316597878933,
-0.05277785658836365,
0.11111097037792206,
-0.06512424349784851,
-0.07213172316551208,
-0.01764524169266224,
0.0319584421813488,
0.058014921844005585,
0.14646007120609283,
0.026482073590159416,
-0.10370144248008728,
0.113411083817482,
-0.14484639465808868,
-0.18965685367584229,
0.08174047619104385,
-0.006083700805902481,
-0.01850382797420025,
0.013045731000602245,
0.07707704603672028,
0.11654070764780045,
-0.14209872484207153,
0.09571284800767899,
0.04348694533109665,
-0.12298107147216797,
-0.11457839608192444,
0.05018224939703941,
0.01335989497601986,
-0.14800137281417847,
0.028240738436579704,
-0.11920420825481415,
0.11397819221019745,
-0.07504954934120178,
-0.06132562831044197,
-0.03921782225370407,
-0.07350501418113708,
0.08618367463350296,
0.05225130915641785,
0.05677957832813263,
0.026522189378738403,
-0.02545335330069065,
0.08274618536233902,
0.06646627187728882,
-0.003772580996155739,
0.02262059599161148,
-0.0862845778465271,
0.09169651567935944,
-0.09803879261016846,
0.02600051276385784,
-0.18324576318264008,
-0.04713522270321846,
-0.038173116743564606,
0.03256916627287865,
0.015064846724271774,
0.02365068346261978,
0.09217319637537003,
-0.020797379314899445,
-0.02142660692334175,
-0.02023322321474552,
-0.0020519904792308807,
0.011390762403607368,
0.018591009080410004,
-0.09465228021144867,
-0.08969596773386002,
-0.031242012977600098,
-0.0384623259305954,
-0.030426885932683945,
-0.022193580865859985,
-0.021282320842146873,
0.1492636352777481,
-0.009989495389163494,
0.0477985255420208,
-0.029792441055178642,
0.011250579729676247,
-0.015509027987718582,
0.012992547824978828,
0.049687497317790985,
-0.01873519830405712,
-0.05412500351667404,
0.07175512611865997,
0.029597816988825798,
0.3588584065437317,
0.156012162566185,
-0.24018968641757965,
0.02699968032538891,
0.022225262597203255,
-0.018012292683124542,
0.021775219589471817,
0.02964930236339569,
-0.007976014167070389,
0.07279426604509354,
0.014874148182570934,
0.09960640966892242,
-0.059469640254974365,
0.03426097705960274,
0.03455648943781853,
-0.08400539308786392,
-0.015584802255034447,
0.036898259073495865,
0.1006779596209526,
-0.1695612519979477,
0.0716547891497612,
0.10566036403179169,
-0.11604127287864685,
0.09863024204969406,
-0.030539941042661667,
-0.039539843797683716,
-0.04329807311296463,
-0.05246125906705856,
0.0054672956466674805,
0.10574449598789215,
-0.14304232597351074,
-0.0591982863843441,
0.0754641592502594,
-0.06593417376279831,
0.07350760698318481,
-0.12281446903944016,
-0.014863752759993076,
0.025379998609423637,
0.022903840988874435,
-0.044105272740125656,
0.10477297008037567,
-0.008780445903539658,
0.040014274418354034,
0.03614407405257225,
-0.06491214036941528,
0.04960188269615173,
-0.0004251152276992798,
-0.06400025635957718,
0.19527283310890198,
-0.0441536009311676,
-0.2008446455001831,
-0.22126759588718414,
-0.12666848301887512,
-0.07372906804084778,
0.0015021824510768056,
0.01598960906267166,
-0.07087048888206482,
-0.07054576277732849,
0.11755635589361191,
0.11928397417068481,
-0.05478472635149956,
0.03989401087164879,
0.0025290241464972496,
0.035549528896808624,
0.0013604783453047276,
-0.0849468857049942,
-0.017246685922145844,
-0.046710655093193054,
0.03312130272388458,
0.009825749322772026,
-0.07272183150053024,
0.12371617555618286,
0.07222012430429459,
0.009022671729326248,
0.07314720004796982,
0.04696387052536011,
0.19045455753803253,
-0.06187473610043526,
-0.03726739436388016,
0.2505771219730377,
-0.015414408408105373,
0.0754307210445404,
0.11044266074895859,
0.06734161078929901,
-0.035673998296260834,
-0.0053230635821819305,
-0.053048957139253616,
-0.10221005231142044,
-0.12865570187568665,
-0.10485082864761353,
-0.08634375780820847,
-0.08657801896333694,
0.05469835549592972,
0.016830692067742348,
0.10112069547176361,
0.10863898694515228,
0.043267808854579926,
-0.01910809427499771,
-0.046313028782606125,
0.0852653831243515,
0.19973956048488617,
0.04544426500797272,
0.08497443795204163,
-0.050109297037124634,
-0.10232458263635635,
-0.0009854640811681747,
-0.028609633445739746,
0.13917304575443268,
0.07325953990221024,
0.03308548405766487,
0.09882919490337372,
0.10892380774021149,
0.1370190978050232,
0.17162634432315826,
-0.007206839043647051,
-0.06062307208776474,
0.018228929489850998,
-0.038831986486911774,
-0.09660972654819489,
0.054917529225349426,
0.06946821510791779,
-0.01348151732236147,
-0.003016197355464101,
-0.05254622548818588,
0.020143939182162285,
0.1596573144197464,
-0.010676913894712925,
-0.2543143332004547,
-0.05047640949487686,
0.0005390847800299525,
-0.018506167456507683,
-0.05353965237736702,
0.02001703716814518,
-0.08891993761062622,
-0.12142305821180344,
0.052138276398181915,
-0.07750335335731506,
0.10316280275583267,
0.0238096471875906,
0.0347430594265461,
-0.026077598333358765,
0.04525626078248024,
0.03904452919960022,
0.06467440724372864,
-0.17249757051467896,
0.2710990011692047,
0.007282434497028589,
-0.008611944504082203,
-0.018558291718363762,
-0.014288393780589104,
0.04970260709524155,
0.17888224124908447,
0.0745876356959343,
-0.0061805034056305885,
0.04114540293812752,
-0.03989753499627113,
0.005672937259078026,
0.04015287756919861,
0.06451145559549332,
-0.05735119432210922,
0.04314063861966133,
-0.0498129203915596,
-0.035091642290353775,
-0.0022597787901759148,
0.10430984199047089,
-0.059409454464912415,
-0.08793267607688904,
0.02654205821454525,
-0.09665421396493912,
0.04926697909832001,
-0.04599429666996002,
-0.029232125729322433,
0.010448630899190903,
0.11608367413282394,
-0.006678710225969553,
-0.07313189655542374,
-0.13550126552581787,
-0.01763237826526165,
0.15455056726932526,
-0.11025387048721313,
0.10868266969919205,
-0.05596921965479851,
0.07801784574985504,
-0.04884715378284454,
-0.17071658372879028,
0.043669044971466064,
-0.12340065836906433,
0.017441894859075546,
0.02011091075837612,
0.11041926592588425,
-0.024859078228473663,
-0.010574735701084137,
0.015813255682587624,
0.016080264002084732,
-0.10436363518238068,
-0.1177651658654213,
-0.016520731151103973,
0.02469797432422638,
-0.0525544174015522,
0.003127587726339698,
-0.003741928841918707,
-0.0027457932010293007,
-0.019055034965276718,
0.052901457995176315,
0.14197656512260437,
0.14795494079589844,
-0.05214773491024971,
0.06496408581733704,
0.23015433549880981,
0.02327548898756504,
-0.24411721527576447,
-0.13291321694850922,
-0.007395740132778883,
0.03064638003706932,
-0.07546935975551605,
-0.11993538588285446,
0.1439279019832611,
-0.05344793200492859,
-0.03271189332008362,
0.014599326997995377,
-0.20448100566864014,
-0.11086288839578629,
0.18211525678634644,
0.06418575346469879,
0.2527693808078766,
-0.11263447254896164,
-0.04846986010670662,
-0.06060027703642845,
-0.30575117468833923,
0.09721022844314575,
0.04253624007105827,
0.04239058494567871,
-0.053455207496881485,
0.0836910530924797,
0.009129338897764683,
-0.05767723545432091,
0.12723815441131592,
-0.045967329293489456,
0.03477424010634422,
-0.028542011976242065,
-0.13791552186012268,
0.12255760282278061,
-0.028508774936199188,
0.04774882271885872,
0.0651017352938652,
0.04273069277405739,
-0.08622554689645767,
-0.05110723152756691,
-0.11923573911190033,
0.07812868058681488,
0.012515914626419544,
-0.05968785658478737,
-0.011669088155031204,
-0.03093152679502964,
-0.03330496698617935,
0.005148733034729958,
0.19809797406196594,
-0.001465912675485015,
0.03868599608540535,
0.11828207224607468,
0.08779372274875641,
-0.13646487891674042,
-0.14838139712810516,
-0.011444171890616417,
-0.0650085061788559,
0.13332374393939972,
-0.13130387663841248,
0.02108977735042572,
0.07006653398275375,
0.07539694756269455,
-0.0009334174101240933,
0.08510977029800415,
-0.035025455057621,
-0.022697733715176582,
0.13030199706554413,
-0.17132318019866943,
-0.02109895460307598,
-0.0808119997382164,
0.015734240412712097,
-0.029403654858469963,
0.0689171776175499,
0.1123536080121994,
-0.027721092104911804,
-0.043950118124485016,
0.008971825242042542,
-0.06151400879025459,
-0.11855023354291916,
0.02876967564225197,
0.1394035816192627,
0.07048871368169785,
-0.13056041300296783,
0.002134503098204732,
-0.04925854876637459,
-0.04673989489674568,
-0.08349514752626419,
0.05885966867208481,
-0.11558470129966736,
-0.07340636849403381,
-0.05608456954360008,
0.08037491887807846,
-0.2743002772331238,
-0.04655423015356064,
-0.09210652858018875,
-0.0783894807100296,
0.003670230507850647,
0.14858777821063995,
0.11801408231258392,
-0.013974876143038273,
-0.08174476027488708,
-0.0015933825634419918,
-0.08356743305921555,
-0.004886757582426071,
0.04775535315275192,
0.04091876000165939,
-0.16861189901828766,
-0.04928436502814293,
-0.007478920742869377,
0.1071275919675827,
-0.07967398315668106,
-0.011478997766971588,
-0.1523035615682602,
0.06981038302183151,
-0.13665011525154114,
-0.04575228691101074,
-0.11448704451322556,
-0.005729947704821825,
-0.00014046006253920496,
-0.0954555794596672,
-0.10105056315660477,
0.0488806776702404,
-0.10906555503606796,
-0.015430296771228313,
0.025226514786481857,
-0.03251894190907478,
-0.06864836812019348,
-0.008110802620649338,
0.121646948158741,
-0.07080105692148209,
0.04067762568593025,
0.14904582500457764,
-0.010167169384658337,
0.0950295478105545,
-0.06821443885564804,
-0.10664425045251846,
0.07249340415000916,
0.00474500423297286,
0.07147367298603058,
-0.0758078396320343,
0.06026892364025116,
-0.002636624500155449,
0.009785100817680359,
-0.0036020742263644934,
0.049144744873046875,
-0.09749329090118408,
0.0031420253217220306,
-0.015622233971953392,
-0.06645290553569794,
-0.022168835625052452,
-0.01880636438727379,
0.15307335555553436,
0.07938956469297409,
0.10406465083360672,
-0.016045836731791496,
0.07213488221168518,
-0.04808984324336052,
0.03595057874917984,
-0.05476643145084381,
-0.1153164654970169,
0.009864561259746552,
-0.08703148365020752,
-0.00538669666275382,
-0.009921131655573845,
0.15084503591060638,
-0.03445848077535629,
0.08498577028512955,
0.025316787883639336,
0.1268831193447113,
0.05746680498123169,
0.02340567857027054,
0.20814165472984314,
0.06925305724143982,
0.03397063910961151,
0.007540029939264059,
0.10452687740325928,
0.03744223713874817,
-0.01953630894422531,
0.06966574490070343,
0.10146351158618927,
0.003954853862524033,
0.10601796954870224,
0.0713467001914978,
0.03348813205957413,
-0.12954562902450562,
-0.18282337486743927,
-0.017985371872782707,
0.033146899193525314,
-0.00972516369074583,
-0.012230641208589077,
0.23446489870548248,
-0.028126278892159462,
0.025356139987707138,
0.07209686189889908,
-0.01208397839218378,
-0.10720063000917435,
-0.022159382700920105,
-0.07129696011543274,
-0.15988166630268097,
0.03896978497505188,
-0.06572156399488449,
-0.06974897533655167,
0.1049325242638588,
-0.01785401999950409,
-0.00373591179959476,
0.13475774228572845,
0.15127292275428772,
-0.07077480852603912,
0.032845254987478256,
-0.018409905955195427,
-0.04915548861026764,
0.08743683993816376,
0.04229944571852684,
-0.06766483187675476,
-0.07758563756942749,
-0.04818054288625717,
-0.02354247495532036,
-0.09153448045253754,
0.018755001947283745,
-0.03990856185555458,
-0.0806061178445816,
-0.018039792776107788,
0.03787943348288536,
0.004842682275921106,
0.07283008098602295,
-0.016291677951812744,
-0.005282933823764324,
-0.030737144872546196,
0.1331765055656433,
-0.047219257801771164,
-0.12166783958673477,
-0.10366608202457428,
0.21333235502243042,
0.018628738820552826,
0.0767396092414856,
-0.023093190044164658,
-0.00947255827486515,
-0.06901203840970993,
0.275190144777298,
0.19759701192378998,
-0.014951549470424652,
0.02951335720717907,
0.08257238566875458,
0.020214209333062172,
0.0044630966149270535,
0.07634729892015457,
0.02198040299117565,
0.24596169590950012,
-0.08199412375688553,
-0.036101702600717545,
-0.0877896323800087,
-0.0520339161157608,
-0.030063757672905922,
0.026932667940855026,
0.07427613437175751,
-0.10550273209810257,
-0.04992503672838211,
0.09997681528329849,
-0.16706883907318115,
0.08205476403236389,
0.07072384655475616,
-0.1102723479270935,
-0.06152249872684479,
-0.04305977746844292,
0.04172312095761299,
0.030358463525772095,
0.1246611550450325,
-0.058047227561473846,
-0.0805392935872078,
0.07866276800632477,
0.03846817463636398,
-0.17278768122196198,
-0.062017567455768585,
0.14017309248447418,
0.022496430203318596,
0.06695844978094101,
-0.05309373140335083,
0.037314169108867645,
0.10477723926305771,
0.037065278738737106,
-0.05494146794080734,
-0.051652178168296814,
0.029062023386359215,
-0.14159907400608063,
-0.02648855745792389,
0.011600912548601627,
0.014069375582039356,
-0.05824081599712372,
-0.043644241988658905,
-0.16535669565200806,
0.015285368077456951,
-0.00652277609333396,
0.06091194599866867,
-0.03790699318051338,
0.038143258541822433,
-0.0706951916217804,
0.07449840754270554,
0.058272585272789,
-0.02277410961687565,
-0.056723177433013916,
-0.0261378213763237,
0.10479523241519928,
0.11249624192714691,
0.017819847911596298,
-0.10872643440961838,
-0.09887256473302841,
-0.05884486436843872,
0.03034946136176586,
-0.06994467973709106,
-0.10856354981660843,
-0.07119467109441757,
0.045593712478876114,
-0.015049814246594906,
-0.05015936121344566,
0.03214183449745178,
0.08559749275445938,
0.036416541785001755,
0.03181881457567215,
-0.0682174414396286,
-0.018489651381969452,
0.04755857586860657,
-0.18609943985939026,
-0.12525710463523865
] |
null | null |
transformers
|
## roberta_chinese_base
### Overview
**Language model:** roberta-base
**Model size:** 392M
**Language:** Chinese
**Training data:** [CLUECorpusSmall](https://github.com/CLUEbenchmark/CLUECorpus2020)
**Eval data:** [CLUE dataset](https://github.com/CLUEbenchmark/CLUE)
### Results
For results on downstream tasks like text classification, please refer to [this repository](https://github.com/CLUEbenchmark/CLUE).
### Usage
**NOTE:** You have to call **BertTokenizer** instead of RobertaTokenizer !!!
```
import torch
from transformers import BertTokenizer, BertModel
tokenizer = BertTokenizer.from_pretrained("clue/roberta_chinese_base")
roberta = BertModel.from_pretrained("clue/roberta_chinese_base")
```
### About CLUE benchmark
Organization of Language Understanding Evaluation benchmark for Chinese: tasks & datasets, baselines, pre-trained Chinese models, corpus and leaderboard.
Github: https://github.com/CLUEbenchmark
Website: https://www.cluebenchmarks.com/
|
{"language": "zh"}
| null |
clue/roberta_chinese_base
|
[
"transformers",
"pytorch",
"jax",
"roberta",
"zh",
"endpoints_compatible",
"region:us"
] |
2022-03-02T23:29:05+00:00
|
[] |
[
"zh"
] |
TAGS
#transformers #pytorch #jax #roberta #zh #endpoints_compatible #region-us
|
## roberta_chinese_base
### Overview
Language model: roberta-base
Model size: 392M
Language: Chinese
Training data: CLUECorpusSmall
Eval data: CLUE dataset
### Results
For results on downstream tasks like text classification, please refer to this repository.
### Usage
NOTE: You have to call BertTokenizer instead of RobertaTokenizer !!!
### About CLUE benchmark
Organization of Language Understanding Evaluation benchmark for Chinese: tasks & datasets, baselines, pre-trained Chinese models, corpus and leaderboard.
Github: URL
Website: URL
|
[
"## roberta_chinese_base",
"### Overview\n\nLanguage model: roberta-base\nModel size: 392M\nLanguage: Chinese\nTraining data: CLUECorpusSmall\nEval data: CLUE dataset",
"### Results\n\nFor results on downstream tasks like text classification, please refer to this repository.",
"### Usage\n\nNOTE: You have to call BertTokenizer instead of RobertaTokenizer !!!",
"### About CLUE benchmark\n\nOrganization of Language Understanding Evaluation benchmark for Chinese: tasks & datasets, baselines, pre-trained Chinese models, corpus and leaderboard.\n\nGithub: URL\nWebsite: URL"
] |
[
"TAGS\n#transformers #pytorch #jax #roberta #zh #endpoints_compatible #region-us \n",
"## roberta_chinese_base",
"### Overview\n\nLanguage model: roberta-base\nModel size: 392M\nLanguage: Chinese\nTraining data: CLUECorpusSmall\nEval data: CLUE dataset",
"### Results\n\nFor results on downstream tasks like text classification, please refer to this repository.",
"### Usage\n\nNOTE: You have to call BertTokenizer instead of RobertaTokenizer !!!",
"### About CLUE benchmark\n\nOrganization of Language Understanding Evaluation benchmark for Chinese: tasks & datasets, baselines, pre-trained Chinese models, corpus and leaderboard.\n\nGithub: URL\nWebsite: URL"
] |
[
29,
8,
37,
23,
22,
47
] |
[
"passage: TAGS\n#transformers #pytorch #jax #roberta #zh #endpoints_compatible #region-us \n## roberta_chinese_base### Overview\n\nLanguage model: roberta-base\nModel size: 392M\nLanguage: Chinese\nTraining data: CLUECorpusSmall\nEval data: CLUE dataset### Results\n\nFor results on downstream tasks like text classification, please refer to this repository.### Usage\n\nNOTE: You have to call BertTokenizer instead of RobertaTokenizer !!!### About CLUE benchmark\n\nOrganization of Language Understanding Evaluation benchmark for Chinese: tasks & datasets, baselines, pre-trained Chinese models, corpus and leaderboard.\n\nGithub: URL\nWebsite: URL"
] |
[
-0.0705212950706482,
0.15302561223506927,
-0.0019858868326991796,
0.046881917864084244,
0.1537281572818756,
-0.03469303995370865,
0.09084589779376984,
0.10636495053768158,
-0.027234112843871117,
0.015915008261799812,
0.045303475111722946,
0.019110945984721184,
0.08944206684827805,
0.05037252604961395,
-0.0241121593862772,
-0.30189839005470276,
0.027466168627142906,
0.14321574568748474,
0.006871095392853022,
0.1010574921965599,
0.11542019248008728,
-0.12315881252288818,
0.14813025295734406,
0.03279847279191017,
-0.08283067494630814,
0.03876518830657005,
-0.05799206718802452,
-0.12488829344511032,
0.105348601937294,
-0.0027956441044807434,
0.1039658635854721,
-0.012148755602538586,
0.012958738021552563,
-0.09706725925207138,
0.018796881660819054,
-0.01760312169790268,
0.01165795512497425,
0.07686378061771393,
0.060035448521375656,
-0.022235248237848282,
0.08920933306217194,
-0.012110784649848938,
-0.024018466472625732,
0.031280938535928726,
-0.03200294449925423,
-0.07592739909887314,
-0.07079257071018219,
0.16152018308639526,
0.07737414538860321,
0.10126520693302155,
-0.02376401796936989,
0.1979331523180008,
-0.16851818561553955,
0.0858202576637268,
0.1883145123720169,
-0.3028123378753662,
-0.03969277814030647,
0.12449724972248077,
0.03177478536963463,
0.018085548654198647,
-0.09579678624868393,
-0.019229495897889137,
0.04101090878248215,
-0.012020373716950417,
-0.056192547082901,
-0.11461549997329712,
-0.06843187659978867,
0.04816695675253868,
-0.0739656388759613,
0.06955770403146744,
0.2622867822647095,
0.019678322598338127,
-0.0409051813185215,
-0.04544404149055481,
-0.014087513089179993,
0.009243745356798172,
-0.043865278363227844,
-0.02263258770108223,
0.040923524647951126,
0.008518396876752377,
-0.025121981278061867,
-0.1120164692401886,
-0.05212656781077385,
-0.06475969403982162,
-0.08830717951059341,
0.11493967473506927,
0.05204693228006363,
0.018699223175644875,
-0.06635596603155136,
0.05741211399435997,
-0.02268459089100361,
-0.11359180510044098,
-0.03618593513965607,
-0.0784245952963829,
-0.04412197321653366,
0.026447264477610588,
0.08235710859298706,
-0.010607972741127014,
0.07218604534864426,
0.11101033538579941,
-0.01041359081864357,
0.09120256453752518,
-0.026344770565629005,
0.022771045565605164,
0.0149439861997962,
0.24178865551948547,
-0.15442274510860443,
-0.12441614270210266,
0.0687294602394104,
-0.0647888332605362,
-0.01299040112644434,
0.043709371238946915,
-0.08639241009950638,
-0.10811784118413925,
0.07505042105913162,
0.03242624178528786,
-0.05967113748192787,
0.07316923886537552,
-0.012917306274175644,
-0.05068239942193031,
0.052198462188243866,
-0.09885893762111664,
-0.01866964064538479,
0.007474385201931,
-0.0994921624660492,
0.1001635193824768,
-0.040840424597263336,
0.039099209010601044,
-0.08011191338300705,
0.015541313216090202,
-0.06529005616903305,
-0.04386674985289574,
-0.060825053602457047,
-0.05696991831064224,
0.00024367366859223694,
-0.16002298891544342,
0.0766923651099205,
-0.06536679714918137,
-0.1564096361398697,
0.02234535850584507,
0.01655253954231739,
-0.0602254644036293,
-0.025228098034858704,
-0.0394800640642643,
-0.0952402651309967,
-0.06481592357158661,
-0.008378996513783932,
0.060241520404815674,
-0.037251152098178864,
0.04914429038763046,
0.09183181822299957,
0.021812431514263153,
-0.08826150000095367,
0.025271927937865257,
-0.15260660648345947,
0.040960643440485,
-0.1901036649942398,
0.10575942695140839,
-0.03867961838841438,
0.11829105019569397,
-0.06320789456367493,
-0.05306423082947731,
-0.03410429507493973,
0.011587296612560749,
0.032620809972286224,
0.10468456894159317,
-0.10119117796421051,
-0.05968315154314041,
0.1562584936618805,
-0.10999505966901779,
-0.10129138082265854,
0.11834030598402023,
-0.05829920247197151,
0.08858127146959305,
0.09171061217784882,
0.23693059384822845,
0.008643818087875843,
-0.006882016081362963,
-0.09522848576307297,
0.028971603140234947,
-0.08428466320037842,
-0.08535122126340866,
0.11598944664001465,
0.033419910818338394,
-0.018534671515226364,
0.06493586301803589,
-0.06486962735652924,
-0.0010855314321815968,
-0.07757522910833359,
-0.05301950126886368,
-0.016964558511972427,
-0.05178908258676529,
-0.04848145321011543,
0.019908487796783447,
0.1352124810218811,
-0.06145484745502472,
-0.009651418775320053,
-0.019084595143795013,
0.0830468237400055,
-0.04892495274543762,
0.0042234486900269985,
-0.1304956078529358,
0.06421131640672684,
0.03226858004927635,
0.009341197088360786,
-0.13033618032932281,
0.10943634808063507,
0.06784677505493164,
0.1618979126214981,
0.06823267787694931,
-0.00943419337272644,
0.0017659999430179596,
-0.03401266783475876,
-0.06061680242419243,
-0.013616347685456276,
0.06924054771661758,
-0.02316809631884098,
-0.026371266692876816,
-0.09469673037528992,
0.01312476210296154,
-0.025348296388983727,
-0.0036077103577554226,
-0.1505759209394455,
-0.006501023191958666,
0.03893854096531868,
0.11802251636981964,
0.005027249455451965,
0.04522015526890755,
0.025687726214528084,
0.04084407910704613,
-0.0707465335726738,
0.0011235642014071345,
0.004905961453914642,
0.018434857949614525,
-0.11280994862318039,
0.12003782391548157,
0.0719485878944397,
0.021460872143507004,
0.1881273090839386,
-0.020861603319644928,
-0.02844673953950405,
-0.038176894187927246,
-0.04021378606557846,
-0.02750297822058201,
0.04103073105216026,
0.04193331301212311,
0.23337297141551971,
-0.034316759556531906,
0.15808707475662231,
-0.12813203036785126,
0.04576437175273895,
-0.009685253724455833,
-0.06644845008850098,
0.02993285469710827,
0.145779088139534,
0.0593843013048172,
-0.17434543371200562,
0.12760551273822784,
-0.11466725170612335,
-0.060654956847429276,
0.1674676239490509,
-0.012558797374367714,
-0.007278522942215204,
0.012668310664594173,
0.02136179246008396,
-0.019359856843948364,
0.1405543088912964,
-0.19297675788402557,
-0.04681067541241646,
0.0510314404964447,
0.006671281531453133,
0.062232568860054016,
-0.13231058418750763,
-0.015765978023409843,
-0.038529228419065475,
-0.036475226283073425,
0.0742466077208519,
-0.005918820388615131,
-0.00665589002892375,
0.08581201732158661,
0.010882400907576084,
-0.0314902625977993,
-0.005135735962539911,
0.015562049113214016,
-0.09826686233282089,
0.1457013338804245,
-0.0609627291560173,
-0.2251439392566681,
-0.03337100148200989,
-0.15323707461357117,
-0.031541116535663605,
0.0163358673453331,
-0.0042702327482402325,
-0.1420481950044632,
-0.061219409108161926,
-0.033413294702768326,
0.01629512943327427,
-0.09832706302404404,
-0.01489805057644844,
0.009423498995602131,
0.09426885098218918,
-0.11258605867624283,
-0.07767139375209808,
-0.0017273350385949016,
-0.07471665740013123,
-0.08428771793842316,
0.07014837116003036,
-0.15502169728279114,
0.07781683653593063,
0.06024489924311638,
-0.006507582031190395,
0.026335975155234337,
-0.07719642668962479,
0.08471143990755081,
-0.12021437287330627,
0.032781559973955154,
0.10157656669616699,
0.03360815346240997,
-0.0007934318273328245,
0.09918700903654099,
-0.026329077780246735,
-0.022239839658141136,
0.026890363544225693,
0.004446776583790779,
-0.06532453745603561,
-0.24670393764972687,
-0.051003701984882355,
-0.10120651870965958,
0.04517592117190361,
-0.015249739401042461,
0.05092304199934006,
0.02713989093899727,
0.08511301875114441,
0.011099147610366344,
0.07027459144592285,
-0.024577300995588303,
0.061936233192682266,
-0.03073473647236824,
0.027821488678455353,
0.06720390915870667,
-0.057624828070402145,
-0.056891825050115585,
0.08804060518741608,
0.09071529656648636,
0.2614268958568573,
-0.02766158990561962,
0.13354088366031647,
0.01233785692602396,
0.18346020579338074,
0.13024066388607025,
0.05783507972955704,
-0.13730430603027344,
0.013393158093094826,
-0.050886280834674835,
-0.02207462675869465,
-0.017098303884267807,
0.03606153279542923,
-0.0017086919397115707,
0.01091237086802721,
-0.033545129001140594,
0.1048043742775917,
0.08144153654575348,
0.25093895196914673,
0.008760076947510242,
-0.13836540281772614,
-0.06198228523135185,
0.024973062798380852,
-0.05121982470154762,
-0.0440472736954689,
0.1110248789191246,
0.07480406761169434,
-0.17289678752422333,
0.05525626987218857,
0.017325975000858307,
0.1452205330133438,
-0.045948270708322525,
0.02861245535314083,
-0.12365955114364624,
0.037332165986299515,
-0.015505400486290455,
0.09829269349575043,
-0.28418466448783875,
0.23038926720619202,
0.0008819079957902431,
0.040791213512420654,
-0.07554373890161514,
-0.03434460237622261,
0.011483454145491123,
0.039392828941345215,
0.11618997156620026,
-0.016305187717080116,
0.04996934160590172,
-0.04839952290058136,
-0.1422429382801056,
0.07536839693784714,
0.02610746957361698,
0.054277289658784866,
0.05925789847970009,
0.005223499611020088,
-0.010002282448112965,
-0.02390061691403389,
-0.08402593433856964,
-0.07492317259311676,
-0.08498180657625198,
-0.05221765115857124,
-0.012621765024960041,
0.00380647461861372,
-0.0052387830801308155,
-0.0012327799340710044,
0.07343155890703201,
0.18472352623939514,
-0.011826981790363789,
-0.059656549245119095,
-0.05893459543585777,
0.04464300721883774,
0.12169881910085678,
-0.08701210469007492,
0.02382182702422142,
-0.0904390811920166,
0.008335860446095467,
0.014389134012162685,
-0.025883255526423454,
0.049780625849962234,
-0.020985370501875877,
-0.07036706060171127,
-0.017113318666815758,
0.13815651834011078,
-0.0066118184477090836,
0.06699347496032715,
0.04339595511555672,
-0.03652942180633545,
-0.04055115580558777,
-0.1270223706960678,
-0.08031913638114929,
-0.06292203813791275,
0.07127049565315247,
0.16386085748672485,
-0.12657128274440765,
-0.12347953021526337,
-0.11723078042268753,
-0.08074920624494553,
0.19203223288059235,
0.07658283412456512,
-0.04475022479891777,
0.056948039680719376,
0.14006949961185455,
-0.020528238266706467,
-0.2207975685596466,
-0.030711697414517403,
0.0015718330396339297,
0.06266065686941147,
-0.11801810562610626,
-0.20797431468963623,
0.11076948046684265,
0.02528829127550125,
0.002633908996358514,
-0.029248766601085663,
-0.10969369113445282,
-0.0843040943145752,
0.09044155478477478,
0.008795403875410557,
0.08920405805110931,
-0.14830921590328217,
-0.07529857009649277,
0.019935937598347664,
-0.07028255611658096,
0.07454458624124527,
-0.06748906522989273,
0.09224157780408859,
-0.030458377674221992,
-0.003550963243469596,
0.011990375816822052,
-0.06994633376598358,
0.08198653906583786,
0.03473737835884094,
0.011302854865789413,
-0.018754342570900917,
-0.15979047119617462,
0.13711251318454742,
0.03456312045454979,
0.12751106917858124,
0.01829805038869381,
0.08625365793704987,
-0.160562202334404,
-0.06828058511018753,
-0.024398522451519966,
-0.00426866440102458,
0.019620297476649284,
-0.05756238475441933,
-0.12418314814567566,
0.11373110860586166,
-0.042620547115802765,
0.027390537783503532,
0.19710777699947357,
-0.015140046365559101,
-0.13139115273952484,
0.04510308429598808,
0.12226305902004242,
-0.060077689588069916,
0.13993790745735168,
-0.025032956153154373,
-0.014554066583514214,
0.06119868904352188,
-0.12813971936702728,
0.036914970725774765,
0.10348958522081375,
0.013845790177583694,
0.1035148873925209,
0.04795212671160698,
-0.07568973302841187,
0.10124068707227707,
0.04692401736974716,
-0.12525056302547455,
-0.08956712484359741,
-0.08025839924812317,
-0.1272764950990677,
-0.0060661472380161285,
0.044944871217012405,
0.04468848183751106,
-0.058295898139476776,
-0.06302827596664429,
-0.00594765180721879,
-0.03942026197910309,
-0.05810162052512169,
0.09080412983894348,
0.04728405177593231,
-0.0002792332670651376,
-0.13230681419372559,
0.049097269773483276,
0.09727492928504944,
0.10416777431964874,
0.030960554257035255,
0.1509450376033783,
-0.12950804829597473,
-0.0048316121101379395,
-0.026670120656490326,
0.2528998553752899,
-0.016185874119400978,
-0.05073098838329315,
-0.1229715570807457,
-0.08515022695064545,
0.007357311435043812,
0.008442710153758526,
0.09236788749694824,
-0.0067517743445932865,
-0.014719894155859947,
-0.060379210859537125,
-0.10250043123960495,
0.035300616174936295,
0.09439636766910553,
0.009292731992900372,
-0.12932966649532318,
0.013898964039981365,
0.06683070212602615,
0.11129718273878098,
-0.05030220001935959,
-0.051974423229694366,
-0.18376147747039795,
0.05580068379640579,
-0.16751797497272491,
0.09400539100170135,
-0.08487172424793243,
-0.05023650825023651,
-0.0438433401286602,
-0.12264478951692581,
-0.06831313669681549,
0.005522494204342365,
-0.05755871906876564,
0.024459339678287506,
0.01510713156312704,
0.06676166504621506,
-0.04660604149103165,
-0.0033466112799942493,
0.09471746534109116,
-0.03131156787276268,
0.11665687710046768,
0.1355224996805191,
-0.03167205676436424,
0.08123092353343964,
-0.09406701475381851,
-0.0650273859500885,
0.0619003102183342,
0.052096229046583176,
0.08346955478191376,
0.04356762766838074,
0.01132773607969284,
0.0653684213757515,
0.08364231884479523,
-0.0022103963419795036,
0.09025222063064575,
-0.11452248692512512,
-0.07974392175674438,
-0.14940527081489563,
-0.11462627351284027,
-0.03876802325248718,
0.10676820576190948,
0.16686047613620758,
0.12249349057674408,
0.06197677180171013,
-0.035905882716178894,
0.057380907237529755,
-0.11220782995223999,
0.016518723219633102,
-0.052726514637470245,
-0.06921034306287766,
-0.07890307158231735,
-0.04986557736992836,
0.048248548060655594,
-0.009807813912630081,
0.22043974697589874,
-0.0031504377257078886,
-0.045453991740942,
0.002205418888479471,
-0.027866728603839874,
0.06123857572674751,
0.042807456105947495,
0.27834972739219666,
0.10350467264652252,
0.019866419956088066,
0.06866881251335144,
0.0530383326113224,
-0.008944683708250523,
0.06070614606142044,
0.04791941121220589,
0.18882954120635986,
0.05392187833786011,
0.0695091187953949,
0.024633824825286865,
-0.014911302365362644,
0.0005346898105926812,
0.020444491878151894,
-0.057511985301971436,
-0.04563264548778534,
-0.013927112333476543,
0.14287343621253967,
0.17783036828041077,
-0.11094897985458374,
0.09753868728876114,
0.024616770446300507,
-0.12596523761749268,
-0.06998731195926666,
-0.08265078067779541,
-0.12532205879688263,
-0.06180998682975769,
0.025965817272663116,
-0.14170825481414795,
-0.06766336411237717,
0.022115612402558327,
0.05246037617325783,
-0.0811573937535286,
0.057184018194675446,
0.04900980740785599,
-0.08057300746440887,
0.04800746962428093,
0.006353462114930153,
-0.008864209987223148,
-0.012875084765255451,
-0.039642710238695145,
-0.031404100358486176,
0.015862174332141876,
0.018264593556523323,
0.03433268144726753,
-0.07561008632183075,
0.03597331792116165,
-0.02071051485836506,
-0.045472364872694016,
-0.004154127556830645,
-0.026939529925584793,
0.06826615333557129,
0.07135932892560959,
0.022199371829628944,
-0.05545710772275925,
0.013328393921256065,
0.26200050115585327,
0.005713927559554577,
-0.0600200891494751,
-0.15099181234836578,
0.16799426078796387,
0.019943736493587494,
-0.04913850501179695,
0.03022490069270134,
-0.058125048875808716,
-0.02742951177060604,
0.34059420228004456,
0.2759169936180115,
-0.10918797552585602,
-0.03156391531229019,
-0.047638874500989914,
0.013840153813362122,
0.052716147154569626,
0.043141379952430725,
0.11170096695423126,
0.22695359587669373,
-0.058631207793951035,
-0.02362436056137085,
-0.08758950233459473,
-0.014095240272581577,
-0.1179867684841156,
0.06991856545209885,
0.11320223659276962,
-0.07031337171792984,
-0.08568266779184341,
0.09661490470170975,
-0.10911757498979568,
-0.12874585390090942,
-0.021483954042196274,
-0.18320699036121368,
-0.13154417276382446,
0.010455043986439705,
-0.10795116424560547,
0.07313036918640137,
0.02888076938688755,
-0.002748484257608652,
0.07063423097133636,
-0.014784866012632847,
0.06169829145073891,
-0.14937378466129303,
-0.018735114485025406,
0.1766887754201889,
0.02104562520980835,
0.13264426589012146,
-0.03888855502009392,
0.014490138739347458,
0.09526999294757843,
0.0607151985168457,
-0.04772350192070007,
0.035086315125226974,
-0.02513239160180092,
-0.014861991629004478,
0.008152355439960957,
0.007639291696250439,
0.00041858776239678264,
0.015493014827370644,
0.01960233971476555,
-0.007890342734754086,
0.028368324041366577,
0.00962438527494669,
-0.010904415510594845,
-0.13634945452213287,
0.0795767530798912,
-0.14170308411121368,
0.0929250568151474,
0.16752907633781433,
-0.06276092678308487,
0.0322035513818264,
-0.053958818316459656,
0.06937448680400848,
-0.01759839616715908,
-0.07713136821985245,
-0.0653105080127716,
-0.16275891661643982,
-0.027893776074051857,
0.02275623381137848,
-0.04151752591133118,
-0.24245575070381165,
0.022884860634803772,
-0.09502676874399185,
0.0006320847314782441,
-0.09726420044898987,
0.018350766971707344,
0.08329623192548752,
0.05330375209450722,
-0.021912915632128716,
-0.06930436193943024,
-0.03239026293158531,
0.05098383128643036,
-0.12067161500453949,
-0.13619887828826904
] |
null | null |
transformers
|
## roberta_chinese_large
### Overview
**Language model:** roberta-large
**Model size:** 1.2G
**Language:** Chinese
**Training data:** [CLUECorpusSmall](https://github.com/CLUEbenchmark/CLUECorpus2020)
**Eval data:** [CLUE dataset](https://github.com/CLUEbenchmark/CLUE)
### Results
For results on downstream tasks like text classification, please refer to [this repository](https://github.com/CLUEbenchmark/CLUE).
### Usage
**NOTE:** You have to call **BertTokenizer** instead of RobertaTokenizer !!!
```
import torch
from transformers import BertTokenizer, BertModel
tokenizer = BertTokenizer.from_pretrained("clue/roberta_chinese_large")
roberta = BertModel.from_pretrained("clue/roberta_chinese_large")
```
### About CLUE benchmark
Organization of Language Understanding Evaluation benchmark for Chinese: tasks & datasets, baselines, pre-trained Chinese models, corpus and leaderboard.
Github: https://github.com/CLUEbenchmark
Website: https://www.cluebenchmarks.com/
|
{"language": "zh"}
| null |
clue/roberta_chinese_large
|
[
"transformers",
"pytorch",
"jax",
"roberta",
"zh",
"endpoints_compatible",
"region:us"
] |
2022-03-02T23:29:05+00:00
|
[] |
[
"zh"
] |
TAGS
#transformers #pytorch #jax #roberta #zh #endpoints_compatible #region-us
|
## roberta_chinese_large
### Overview
Language model: roberta-large
Model size: 1.2G
Language: Chinese
Training data: CLUECorpusSmall
Eval data: CLUE dataset
### Results
For results on downstream tasks like text classification, please refer to this repository.
### Usage
NOTE: You have to call BertTokenizer instead of RobertaTokenizer !!!
### About CLUE benchmark
Organization of Language Understanding Evaluation benchmark for Chinese: tasks & datasets, baselines, pre-trained Chinese models, corpus and leaderboard.
Github: URL
Website: URL
|
[
"## roberta_chinese_large",
"### Overview\n\nLanguage model: roberta-large\nModel size: 1.2G\nLanguage: Chinese\nTraining data: CLUECorpusSmall\nEval data: CLUE dataset",
"### Results\n\nFor results on downstream tasks like text classification, please refer to this repository.",
"### Usage\n\nNOTE: You have to call BertTokenizer instead of RobertaTokenizer !!!",
"### About CLUE benchmark\n\nOrganization of Language Understanding Evaluation benchmark for Chinese: tasks & datasets, baselines, pre-trained Chinese models, corpus and leaderboard.\n\nGithub: URL\nWebsite: URL"
] |
[
"TAGS\n#transformers #pytorch #jax #roberta #zh #endpoints_compatible #region-us \n",
"## roberta_chinese_large",
"### Overview\n\nLanguage model: roberta-large\nModel size: 1.2G\nLanguage: Chinese\nTraining data: CLUECorpusSmall\nEval data: CLUE dataset",
"### Results\n\nFor results on downstream tasks like text classification, please refer to this repository.",
"### Usage\n\nNOTE: You have to call BertTokenizer instead of RobertaTokenizer !!!",
"### About CLUE benchmark\n\nOrganization of Language Understanding Evaluation benchmark for Chinese: tasks & datasets, baselines, pre-trained Chinese models, corpus and leaderboard.\n\nGithub: URL\nWebsite: URL"
] |
[
29,
9,
37,
23,
22,
47
] |
[
"passage: TAGS\n#transformers #pytorch #jax #roberta #zh #endpoints_compatible #region-us \n## roberta_chinese_large### Overview\n\nLanguage model: roberta-large\nModel size: 1.2G\nLanguage: Chinese\nTraining data: CLUECorpusSmall\nEval data: CLUE dataset### Results\n\nFor results on downstream tasks like text classification, please refer to this repository.### Usage\n\nNOTE: You have to call BertTokenizer instead of RobertaTokenizer !!!### About CLUE benchmark\n\nOrganization of Language Understanding Evaluation benchmark for Chinese: tasks & datasets, baselines, pre-trained Chinese models, corpus and leaderboard.\n\nGithub: URL\nWebsite: URL"
] |
[
-0.06501983851194382,
0.13326682150363922,
-0.002467398066073656,
0.05075031518936157,
0.15273751318454742,
-0.038491904735565186,
0.0929265096783638,
0.10444390773773193,
-0.00476410984992981,
0.02319161780178547,
0.0490858219563961,
0.006335768382996321,
0.08173070847988129,
0.06120888516306877,
-0.016252685338258743,
-0.3140690326690674,
0.02104857936501503,
0.13348595798015594,
-0.018504474312067032,
0.09201788902282715,
0.11965151131153107,
-0.13235999643802643,
0.16017727553844452,
0.05049896985292435,
-0.07956907898187637,
0.02141672745347023,
-0.057293470948934555,
-0.12780101597309113,
0.09322387725114822,
-0.003273207228630781,
0.07898591458797455,
-0.010835133492946625,
0.002227568067610264,
-0.09162729233503342,
0.018429826945066452,
-0.02977924607694149,
0.02499198541045189,
0.06666482239961624,
0.06723947077989578,
-0.0029040975496172905,
0.07428912818431854,
-0.03284791111946106,
-0.024828722700476646,
0.033824436366558075,
-0.019489416852593422,
-0.08693390339612961,
-0.06600171327590942,
0.15938915312290192,
0.05532420054078102,
0.08965901285409927,
-0.01905723288655281,
0.18298298120498657,
-0.18969325721263885,
0.0720498338341713,
0.19421721994876862,
-0.29849791526794434,
-0.03370397910475731,
0.12565810978412628,
0.034583866596221924,
0.022155219689011574,
-0.09916727989912033,
-0.01726604998111725,
0.03921239450573921,
-0.014465351589024067,
-0.05093296989798546,
-0.11400020867586136,
-0.05701042711734772,
0.048310376703739166,
-0.07014970481395721,
0.06930932402610779,
0.25566616654396057,
0.01254435908049345,
-0.03381069004535675,
-0.08023670315742493,
-0.005484512075781822,
0.016073143109679222,
-0.04253533482551575,
-0.0263883788138628,
0.05164439231157303,
0.008736073970794678,
-0.025255531072616577,
-0.12831243872642517,
-0.06091061979532242,
-0.051960572600364685,
-0.10721427947282791,
0.1139737218618393,
0.0457749180495739,
0.020530525594949722,
-0.09327968209981918,
0.04021156206727028,
-0.03349597752094269,
-0.11158743500709534,
-0.04665176942944527,
-0.07538267970085144,
-0.038361433893442154,
0.022755242884159088,
0.08280012011528015,
0.012368164025247097,
0.09249275922775269,
0.09603460133075714,
-0.03283411264419556,
0.07313328236341476,
-0.015455608256161213,
0.0235834289342165,
0.017273152247071266,
0.2530042827129364,
-0.17074234783649445,
-0.10919318348169327,
0.06526101380586624,
-0.06937126070261002,
-0.013323429971933365,
0.04673990234732628,
-0.09560008347034454,
-0.11534734070301056,
0.06648998707532883,
0.038172729313373566,
-0.07063058018684387,
0.06306121498346329,
-0.010187315754592419,
-0.050710953772068024,
0.052756406366825104,
-0.0817016139626503,
-0.004624958615750074,
0.014168145135045052,
-0.09402240067720413,
0.12137787789106369,
-0.06304429471492767,
0.031322181224823,
-0.06886005401611328,
0.02051481418311596,
-0.072005994617939,
-0.03425648435950279,
-0.04603664577007294,
-0.0451207272708416,
0.012802729383111,
-0.15197539329528809,
0.08124366402626038,
-0.06859912723302841,
-0.1539653241634369,
0.030296988785266876,
-0.0026259389705955982,
-0.05837922915816307,
-0.029905835166573524,
-0.027001021429896355,
-0.10356870293617249,
-0.07356305420398712,
-0.004338436760008335,
0.06335253268480301,
-0.038122955709695816,
0.04499315097928047,
0.07765872031450272,
0.03144139051437378,
-0.09745298326015472,
0.01802290789783001,
-0.15549030900001526,
0.0365326926112175,
-0.16627436876296997,
0.10830432921648026,
-0.016707442700862885,
0.11031907051801682,
-0.0652816891670227,
-0.06110639497637749,
-0.03931545093655586,
0.01263772789388895,
0.015431873500347137,
0.09760432690382004,
-0.11195793002843857,
-0.0684703066945076,
0.18945904076099396,
-0.10257858783006668,
-0.10993269085884094,
0.13824166357517242,
-0.04429703950881958,
0.08534987270832062,
0.09934134036302567,
0.23074710369110107,
0.020756550133228302,
-0.0048642223700881,
-0.10418921709060669,
0.03876994922757149,
-0.08819843828678131,
-0.07525703310966492,
0.12922151386737823,
0.029421154409646988,
-0.0037309639155864716,
0.06457389891147614,
-0.05485696718096733,
0.0025578311178833246,
-0.07648295909166336,
-0.05269419401884079,
-0.020814508199691772,
-0.058463480323553085,
-0.04643034189939499,
0.006029183976352215,
0.1376660019159317,
-0.05432691425085068,
-0.0009963931515812874,
-0.009487318806350231,
0.08320649713277817,
-0.03841407969594002,
0.005404279101639986,
-0.1368398815393448,
0.07281899452209473,
0.023282956331968307,
0.014996163547039032,
-0.11958768963813782,
0.11338824778795242,
0.07114719599485397,
0.1388273984193802,
0.06204545125365257,
0.012171465903520584,
0.006347321439534426,
-0.04560522362589836,
-0.05782574415206909,
-0.0009536236175335944,
0.07401372492313385,
-0.03511609137058258,
-0.02233380265533924,
-0.08052782714366913,
0.035914160311222076,
-0.02159988507628441,
0.01660056784749031,
-0.16517269611358643,
-0.013685032725334167,
0.06048404052853584,
0.0965307205915451,
0.013679681345820427,
0.04932791739702225,
0.029141919687390327,
0.030947241932153702,
-0.07287530601024628,
0.00432591000571847,
-0.005081038922071457,
0.011875072494149208,
-0.12825413048267365,
0.1387622058391571,
0.06321634352207184,
0.05828965827822685,
0.18183407187461853,
0.00423729931935668,
-0.011514278128743172,
-0.04674265906214714,
-0.04526404291391373,
-0.01743120700120926,
0.02027639001607895,
0.041815921664237976,
0.216121107339859,
-0.03527647629380226,
0.15948143601417542,
-0.1347448080778122,
0.04437919333577156,
0.0028326630126684904,
-0.06587362289428711,
0.033284202218055725,
0.15108466148376465,
0.04986445605754852,
-0.1598309427499771,
0.12534363567829132,
-0.09399747848510742,
-0.05822596698999405,
0.20156344771385193,
-0.0099084647372365,
-0.015480199828743935,
0.007505656685680151,
0.022035732865333557,
-0.016867542639374733,
0.1270817369222641,
-0.18184377253055573,
-0.036222152411937714,
0.06277262419462204,
0.015026777982711792,
0.0539298877120018,
-0.12833049893379211,
-0.016676057130098343,
-0.0350610725581646,
-0.04352538660168648,
0.06971130520105362,
0.006742031313478947,
0.008548455312848091,
0.09160438925027847,
0.010837451554834843,
-0.011336659081280231,
-0.0005078326212242246,
0.022884130477905273,
-0.09252984821796417,
0.14165140688419342,
-0.051821332424879074,
-0.24058429896831512,
-0.03405223786830902,
-0.12783347070217133,
-0.0396214984357357,
0.010268720798194408,
-0.007086256518959999,
-0.1450415551662445,
-0.05256927013397217,
-0.03170371800661087,
0.033372409641742706,
-0.09353401511907578,
-0.0008323954534716904,
0.016913771629333496,
0.0983273983001709,
-0.12165502458810806,
-0.0727434828877449,
-0.009630495682358742,
-0.07156001031398773,
-0.10020890086889267,
0.06626468151807785,
-0.14275160431861877,
0.06904081255197525,
0.06459461152553558,
-0.0025071927811950445,
0.03296516835689545,
-0.07954191416501999,
0.07529070973396301,
-0.13123764097690582,
0.024519268423318863,
0.11968427896499634,
0.039445675909519196,
-0.0016163098625838757,
0.09052453935146332,
-0.021054912358522415,
-0.02260681986808777,
0.019899360835552216,
-0.0030835934448987246,
-0.07088920474052429,
-0.2324364185333252,
-0.06004147231578827,
-0.10478851199150085,
0.06396470963954926,
-0.020041855052113533,
0.051591090857982635,
0.01069508958607912,
0.07989150285720825,
0.015853947028517723,
0.07130786031484604,
-0.023490792140364647,
0.05359860882163048,
-0.022230826318264008,
0.03264302387833595,
0.06104756146669388,
-0.059680961072444916,
-0.06322987377643585,
0.10690418630838394,
0.08027423173189163,
0.25241249799728394,
-0.035964708775281906,
0.1557195633649826,
0.015142121352255344,
0.14023776352405548,
0.13195888698101044,
0.053617414087057114,
-0.1444508284330368,
0.004607216455042362,
-0.050976432859897614,
-0.02519170753657818,
0.0004585647548083216,
0.034794069826602936,
0.028736257925629616,
0.015585361048579216,
-0.038057003170251846,
0.12625855207443237,
0.09914334118366241,
0.23598633706569672,
0.017539629712700844,
-0.13889434933662415,
-0.06338296085596085,
0.025553783401846886,
-0.05134153738617897,
-0.03558580204844475,
0.10989928245544434,
0.10846800357103348,
-0.17829348146915436,
0.06681651622056961,
0.0257098525762558,
0.12989437580108643,
-0.04585467651486397,
0.04005877301096916,
-0.13443881273269653,
0.04505038261413574,
-0.007123076356947422,
0.10105925798416138,
-0.29402971267700195,
0.20133136212825775,
0.0035393277648836374,
0.03302783519029617,
-0.10234417021274567,
-0.0392506904900074,
0.018062258139252663,
0.03622657433152199,
0.1252182275056839,
-0.012700729072093964,
0.09257207065820694,
-0.03377804532647133,
-0.15384377539157867,
0.07137235999107361,
0.02629850246012211,
0.04676877707242966,
0.051484115421772,
-0.004615616053342819,
-0.013844004832208157,
-0.03135615214705467,
-0.08074195683002472,
-0.049871090799570084,
-0.0928802415728569,
-0.044871218502521515,
0.002023580251261592,
-0.01810927875339985,
-0.0033001075498759747,
0.0006141741177998483,
0.05420420318841934,
0.1685914397239685,
-0.012110183015465736,
-0.0594584085047245,
-0.05759389325976372,
0.05181809514760971,
0.12287566065788269,
-0.09047424048185349,
0.01702014170587063,
-0.08866657316684723,
0.028492392972111702,
0.007374724373221397,
-0.013342605903744698,
0.04118708521127701,
-0.027480628341436386,
-0.09361310303211212,
-0.007612316403537989,
0.13782580196857452,
-0.02150462195277214,
0.07332876324653625,
0.046339001506567,
-0.04760856553912163,
-0.04643189534544945,
-0.13766227662563324,
-0.08999764919281006,
-0.028521033003926277,
0.052939049899578094,
0.16836653649806976,
-0.11069668084383011,
-0.10854866355657578,
-0.08999965339899063,
-0.08972843736410141,
0.20804642140865326,
0.09276308119297028,
-0.048367321491241455,
0.06979609280824661,
0.12079276889562607,
-0.0011963403085246682,
-0.23299428820610046,
-0.028134796768426895,
-0.0028511539567261934,
0.06173839792609215,
-0.10560288280248642,
-0.1903803050518036,
0.13059616088867188,
0.035601187497377396,
0.003592531895264983,
-0.004855551291257143,
-0.13001497089862823,
-0.08713781833648682,
0.07182618230581284,
-0.02493489719927311,
0.10075362771749496,
-0.14327473938465118,
-0.07056818157434464,
0.01837398111820221,
-0.0399949811398983,
0.09797190129756927,
-0.06620866060256958,
0.09049151092767715,
-0.033824145793914795,
0.0030683258082717657,
0.015147779136896133,
-0.07151790708303452,
0.09036436676979065,
0.02169862389564514,
-0.001511086244136095,
-0.016927232965826988,
-0.16871660947799683,
0.13859966397285461,
0.026866421103477478,
0.13983236253261566,
0.00533812353387475,
0.07891678065061569,
-0.1412990242242813,
-0.07753997296094894,
-0.03973722085356712,
0.00492278765887022,
0.0222540982067585,
-0.05439898744225502,
-0.1372009664773941,
0.1180950403213501,
-0.0387091338634491,
0.03133154287934303,
0.1864360123872757,
-0.009679226204752922,
-0.17591533064842224,
0.010965583845973015,
0.14563274383544922,
-0.08930893242359161,
0.12763290107250214,
-0.03286334127187729,
-0.011997421272099018,
0.06116412580013275,
-0.1274576187133789,
0.05301975831389427,
0.1011900082230568,
0.019727973267436028,
0.0961199402809143,
0.055327340960502625,
-0.06748909503221512,
0.10064292699098587,
0.05071127042174339,
-0.11060830950737,
-0.11935173720121384,
-0.08383595943450928,
-0.105861134827137,
-0.01074299681931734,
0.031326066702604294,
0.0498887300491333,
-0.05163055658340454,
-0.06376832723617554,
-0.004987681284546852,
-0.03132406249642372,
-0.05061507225036621,
0.0883047953248024,
0.03818659856915474,
-0.001323915203101933,
-0.1416621059179306,
0.03987501561641693,
0.09687578678131104,
0.09222088009119034,
0.0269777812063694,
0.14400112628936768,
-0.12693174183368683,
-0.0028834545519202948,
-0.03107917308807373,
0.2438780665397644,
-0.009742376394569874,
-0.058360785245895386,
-0.10879617184400558,
-0.09097115695476532,
0.012202258221805096,
-0.011966230347752571,
0.0958559438586235,
-0.007017672993242741,
-0.0125232869759202,
-0.05724937841296196,
-0.10497143119573593,
0.04289483278989792,
0.07929762452840805,
0.01124934758991003,
-0.14027467370033264,
0.02020416036248207,
0.05186549201607704,
0.1341334879398346,
-0.050177522003650665,
-0.04267911985516548,
-0.18679861724376678,
0.046912290155887604,
-0.1671200543642044,
0.10118144005537033,
-0.09361016750335693,
-0.050950855016708374,
-0.038603201508522034,
-0.11367587745189667,
-0.06878814101219177,
0.0007331602973863482,
-0.06173962354660034,
0.02494177594780922,
0.009170861914753914,
0.08385013788938522,
-0.04354521259665489,
-0.007701758295297623,
0.08876814693212509,
-0.029672980308532715,
0.13959628343582153,
0.1212715208530426,
-0.035853758454322815,
0.0685875192284584,
-0.08970601111650467,
-0.07699945569038391,
0.07184327393770218,
0.05037207901477814,
0.09579302370548248,
0.04140980914235115,
0.018697304651141167,
0.06712140887975693,
0.08104369044303894,
0.006283699534833431,
0.07075008749961853,
-0.10475269705057144,
-0.06291741877794266,
-0.15145015716552734,
-0.10553407669067383,
-0.03681888058781624,
0.09650077670812607,
0.13352200388908386,
0.11448028683662415,
0.06650806218385696,
-0.030282916501164436,
0.05378066003322601,
-0.10834577679634094,
0.015917029231786728,
-0.06246531382203102,
-0.06475880742073059,
-0.05621130019426346,
-0.03776242956519127,
0.05363069102168083,
-0.007575213443487883,
0.23890209197998047,
0.004315756261348724,
-0.051577817648649216,
-0.00028886954532936215,
-0.0076743257232010365,
0.04895063489675522,
0.04079794883728027,
0.27612608671188354,
0.1065029427409172,
0.017890015617012978,
0.07074237614870071,
0.04786871001124382,
0.013832757249474525,
0.09120501577854156,
0.0706680491566658,
0.1824767291545868,
0.030242634937167168,
0.07648271322250366,
0.02362901344895363,
-0.01834222674369812,
-0.029657084494829178,
0.016943005844950676,
-0.07636047899723053,
-0.0409899540245533,
-0.019246546551585197,
0.12359359860420227,
0.17166513204574585,
-0.11367923766374588,
0.09001144021749496,
0.024358075112104416,
-0.11477858573198318,
-0.07355766743421555,
-0.08612281829118729,
-0.13587866723537445,
-0.05206364020705223,
0.021890534088015556,
-0.13962490856647491,
-0.06274626404047012,
0.025468412786722183,
0.061024464666843414,
-0.07923898845911026,
0.06141018867492676,
0.023898962885141373,
-0.08026079088449478,
0.052164819091558456,
0.004776546731591225,
-0.005711892619729042,
-0.0012873393716290593,
-0.03887457028031349,
-0.04841170459985733,
0.015566651709377766,
0.028851866722106934,
0.03832002356648445,
-0.07583198696374893,
0.019136080518364906,
-0.03589553013443947,
-0.038571979850530624,
-0.01209553238004446,
-0.03302093967795372,
0.059248171746730804,
0.03952883183956146,
0.027870601043105125,
-0.06484998762607574,
0.011553410440683365,
0.2527118921279907,
0.004269022960215807,
-0.07762417197227478,
-0.1502932608127594,
0.14778752624988556,
0.01788804680109024,
-0.04603339731693268,
0.02538307197391987,
-0.05899067968130112,
-0.043701983988285065,
0.35408735275268555,
0.2794887125492096,
-0.12449834495782852,
-0.023360898718237877,
-0.03897249698638916,
0.015808172523975372,
0.04369153082370758,
0.0448894128203392,
0.10022880882024765,
0.2670823335647583,
-0.05402185395359993,
-0.016504202038049698,
-0.07015977799892426,
-0.010021083988249302,
-0.12933844327926636,
0.08527573943138123,
0.10847136378288269,
-0.05656970292329788,
-0.08032149076461792,
0.08405938744544983,
-0.11993128061294556,
-0.10527404397726059,
-0.028802691027522087,
-0.19529440999031067,
-0.13211292028427124,
0.014380261301994324,
-0.11233068257570267,
0.061056170612573624,
0.03287280350923538,
-0.0062844944186508656,
0.0584510862827301,
-0.0452650710940361,
0.05470938980579376,
-0.15628981590270996,
0.013277094811201096,
0.18130436539649963,
0.04580717161297798,
0.14602185785770416,
-0.03336363658308983,
0.014935176819562912,
0.09993967413902283,
0.04957887902855873,
-0.056603044271469116,
0.017255835235118866,
-0.02846328355371952,
-0.007121531758457422,
0.001418609987013042,
0.013843079097568989,
-0.003667345969006419,
-0.011342219077050686,
0.03505721315741539,
-0.01708446443080902,
0.01556938886642456,
0.04323369264602661,
0.000687902036588639,
-0.14160844683647156,
0.07337860018014908,
-0.13749010860919952,
0.08973927795886993,
0.16243183612823486,
-0.06265382468700409,
0.029241064563393593,
-0.052188463509082794,
0.09080564975738525,
-0.011269173584878445,
-0.058719079941511154,
-0.07794810086488724,
-0.15029722452163696,
-0.03330708295106888,
0.020501043647527695,
-0.03609501197934151,
-0.23466694355010986,
0.022458482533693314,
-0.08632922172546387,
0.007176788058131933,
-0.09760569781064987,
0.015920260921120644,
0.09088758379220963,
0.05690240114927292,
-0.016370050609111786,
-0.06449151784181595,
-0.03424958139657974,
0.036328863352537155,
-0.1268310695886612,
-0.13232244551181793
] |
null | null |
transformers
|
## xlnet_chinese_large
### Overview
**Language model:** xlnet-large
**Model size:** 1.3G
**Language:** Chinese
**Training data:** [CLUECorpusSmall](https://github.com/CLUEbenchmark/CLUECorpus2020)
**Eval data:** [CLUE dataset](https://github.com/CLUEbenchmark/CLUE)
### Results
For results on downstream tasks like text classification, please refer to [this repository](https://github.com/CLUEbenchmark/CLUE).
### Usage
```
import torch
from transformers import XLNetTokenizer,XLNetModel
tokenizer = XLNetTokenizer.from_pretrained("clue/xlnet_chinese_large")
xlnet = XLNetModel.from_pretrained("clue/xlnet_chinese_large")
```
### About CLUE benchmark
Organization of Language Understanding Evaluation benchmark for Chinese: tasks & datasets, baselines, pre-trained Chinese models, corpus and leaderboard.
Github: https://github.com/CLUEbenchmark
Website: https://www.cluebenchmarks.com/
|
{"language": "zh"}
| null |
clue/xlnet_chinese_large
|
[
"transformers",
"pytorch",
"xlnet",
"zh",
"endpoints_compatible",
"region:us"
] |
2022-03-02T23:29:05+00:00
|
[] |
[
"zh"
] |
TAGS
#transformers #pytorch #xlnet #zh #endpoints_compatible #region-us
|
## xlnet_chinese_large
### Overview
Language model: xlnet-large
Model size: 1.3G
Language: Chinese
Training data: CLUECorpusSmall
Eval data: CLUE dataset
### Results
For results on downstream tasks like text classification, please refer to this repository.
### Usage
### About CLUE benchmark
Organization of Language Understanding Evaluation benchmark for Chinese: tasks & datasets, baselines, pre-trained Chinese models, corpus and leaderboard.
Github: URL
Website: URL
|
[
"## xlnet_chinese_large",
"### Overview\n\nLanguage model: xlnet-large\nModel size: 1.3G\nLanguage: Chinese\nTraining data: CLUECorpusSmall\nEval data: CLUE dataset",
"### Results\n\nFor results on downstream tasks like text classification, please refer to this repository.",
"### Usage",
"### About CLUE benchmark\n\nOrganization of Language Understanding Evaluation benchmark for Chinese: tasks & datasets, baselines, pre-trained Chinese models, corpus and leaderboard.\n\nGithub: URL\nWebsite: URL"
] |
[
"TAGS\n#transformers #pytorch #xlnet #zh #endpoints_compatible #region-us \n",
"## xlnet_chinese_large",
"### Overview\n\nLanguage model: xlnet-large\nModel size: 1.3G\nLanguage: Chinese\nTraining data: CLUECorpusSmall\nEval data: CLUE dataset",
"### Results\n\nFor results on downstream tasks like text classification, please refer to this repository.",
"### Usage",
"### About CLUE benchmark\n\nOrganization of Language Understanding Evaluation benchmark for Chinese: tasks & datasets, baselines, pre-trained Chinese models, corpus and leaderboard.\n\nGithub: URL\nWebsite: URL"
] |
[
26,
10,
38,
23,
4,
47
] |
[
"passage: TAGS\n#transformers #pytorch #xlnet #zh #endpoints_compatible #region-us \n## xlnet_chinese_large### Overview\n\nLanguage model: xlnet-large\nModel size: 1.3G\nLanguage: Chinese\nTraining data: CLUECorpusSmall\nEval data: CLUE dataset### Results\n\nFor results on downstream tasks like text classification, please refer to this repository.### Usage### About CLUE benchmark\n\nOrganization of Language Understanding Evaluation benchmark for Chinese: tasks & datasets, baselines, pre-trained Chinese models, corpus and leaderboard.\n\nGithub: URL\nWebsite: URL"
] |
[
-0.10582228749990463,
0.06085000932216644,
-0.0019351677037775517,
0.01580735854804516,
0.11689212173223495,
-0.06470400840044022,
0.12516766786575317,
0.1267606019973755,
0.05891987308859825,
0.005357782356441021,
0.007793083321303129,
-0.003990343306213617,
0.08258631080389023,
0.10961606353521347,
-0.011609876528382301,
-0.24880293011665344,
0.014938048087060452,
0.10410837084054947,
-0.078105129301548,
0.08314961194992065,
0.12450447678565979,
-0.11545025557279587,
0.13213719427585602,
0.0325002558529377,
-0.04460404813289642,
0.02103566750884056,
-0.04624202102422714,
-0.09804533421993256,
0.0931895449757576,
0.021057695150375366,
0.05867648124694824,
-0.0002931558701675385,
-0.0010580267990007997,
-0.1807922124862671,
0.022486086934804916,
0.01459253765642643,
-0.012704859487712383,
0.029447609558701515,
0.056656159460544586,
-0.00583514804020524,
0.10802853107452393,
-0.09027515351772308,
-0.07049225270748138,
0.052421484142541885,
0.012679887004196644,
0.008819610811769962,
-0.038775719702243805,
0.18475323915481567,
0.09118018299341202,
0.1379331797361374,
-0.020811695605516434,
0.19169683754444122,
-0.19704438745975494,
0.09910650551319122,
0.15147916972637177,
-0.28047263622283936,
-0.035311926156282425,
0.20420190691947937,
0.096016526222229,
0.12815648317337036,
-0.08433854579925537,
0.03109271079301834,
0.07657477259635925,
-0.009463101625442505,
-0.08472247421741486,
-0.08823391050100327,
-0.0017777030589058995,
0.0756673514842987,
-0.09684722125530243,
0.05081333592534065,
0.20758232474327087,
0.03434482961893082,
-0.009674346074461937,
-0.15496820211410522,
-0.015551692806184292,
-0.05099503695964813,
-0.010481873527169228,
-0.02002684399485588,
0.0660378709435463,
0.025740887969732285,
0.023646432906389236,
-0.14991678297519684,
-0.06218123435974121,
-0.04784470796585083,
-0.10002750158309937,
0.10275328159332275,
0.04839194193482399,
0.03751344233751297,
-0.10468293726444244,
0.023182028904557228,
0.08190276473760605,
-0.0777888298034668,
-0.04303945228457451,
-0.055097438395023346,
-0.06435862183570862,
0.04860706627368927,
0.08426357060670853,
0.03794211894273758,
0.12263640761375427,
0.009249886497855186,
-0.11464393138885498,
0.04763282462954521,
-0.01264466717839241,
0.05876747518777847,
0.020420771092176437,
0.23460249602794647,
-0.17201018333435059,
-0.07939949631690979,
0.04400721564888954,
-0.02386198565363884,
-0.0258144773542881,
0.012672863900661469,
-0.10323593765497208,
-0.08278422802686691,
0.023490214720368385,
0.08341106027364731,
-0.028754670172929764,
0.05101652070879936,
-0.007306426763534546,
-0.06755401194095612,
0.03688754886388779,
-0.08705640584230423,
0.034696437418460846,
0.01671510748565197,
-0.12957869470119476,
0.09928753972053528,
-0.06784697622060776,
0.06023849546909332,
-0.12837238609790802,
-0.07138387858867645,
-0.06941334903240204,
-0.0025943387299776077,
-0.010992441326379776,
-0.05002167820930481,
0.008199778385460377,
-0.08773208409547806,
0.03479345887899399,
-0.06275489181280136,
-0.14947210252285004,
-0.03802523389458656,
0.0015678348718211055,
-0.020846320316195488,
-0.05386875197291374,
-0.054660309106111526,
-0.12130305916070938,
-0.09036701917648315,
-0.0016425527865067124,
0.03185107558965683,
-0.05401643365621567,
0.0008585654431954026,
0.013915960676968098,
0.031895413994789124,
-0.09172966331243515,
-0.006897540297359228,
-0.12185844033956528,
0.010512723587453365,
-0.08146766573190689,
0.13966315984725952,
-0.06777515262365341,
0.11307033151388168,
-0.04219851642847061,
-0.06563211232423782,
-0.022388702258467674,
0.030792471021413803,
-0.0252459067851305,
0.07740096747875214,
-0.10630687326192856,
-0.09295201301574707,
0.15123024582862854,
-0.08349346369504929,
-0.13003668189048767,
0.13515378534793854,
0.0016551398439332843,
0.05026637017726898,
0.08967022597789764,
0.20744973421096802,
0.04128802940249443,
-0.06550922244787216,
-0.11859747022390366,
0.0844288319349289,
-0.0942368134856224,
-0.06456892937421799,
0.06783397495746613,
0.08146988600492477,
0.0840720385313034,
0.025218147784471512,
-0.07855851948261261,
0.030102984979748726,
-0.06536862999200821,
-0.09291349351406097,
-0.04610838741064072,
-0.06415821611881256,
-0.07100648432970047,
0.024523617699742317,
0.13492727279663086,
-0.03690750151872635,
-0.018238646909594536,
-0.057253848761320114,
0.09237100183963776,
-0.04967648163437843,
0.04169391468167305,
-0.13403482735157013,
0.025510746985673904,
0.0608162060379982,
0.019211703911423683,
-0.08438844233751297,
0.03863273561000824,
0.05943278223276138,
0.1281416118144989,
0.04828759282827377,
0.07033616304397583,
-0.028531396761536598,
-0.0550847053527832,
-0.056568585336208344,
-0.030404187738895416,
0.040436580777168274,
-0.04336650297045708,
-0.05202781409025192,
-0.14704492688179016,
0.05117793753743172,
0.010200245305895805,
0.045069366693496704,
-0.2061719447374344,
0.013166641816496849,
0.03788350522518158,
0.07788972556591034,
0.004118441138416529,
0.058986224234104156,
0.023571263998746872,
0.04237200319766998,
-0.10081671178340912,
-0.03544013947248459,
-0.025070754811167717,
0.0002846955612767488,
-0.17158932983875275,
0.15183550119400024,
0.08898723125457764,
0.11778352409601212,
0.19235411286354065,
-0.023748967796564102,
0.041767966002225876,
0.005030207801610231,
-0.07365061342716217,
-0.044067107141017914,
-0.0084043238312006,
0.074992336332798,
0.22266316413879395,
-0.0634773001074791,
0.12121647596359253,
-0.12257454544305801,
0.04515112563967705,
-0.008797993883490562,
-0.044766586273908615,
0.061571333557367325,
0.14328770339488983,
0.0653807669878006,
-0.0917568951845169,
0.1278529167175293,
-0.11919254809617996,
-0.04431702196598053,
0.18074703216552734,
-0.02859141118824482,
0.0013560152146965265,
0.04269026592373848,
0.0553787462413311,
-0.034801069647073746,
0.1421525478363037,
-0.15331415832042694,
-0.05880344286561012,
0.0001207833774969913,
0.05070322006940842,
0.11966857314109802,
-0.1628253161907196,
-0.02491009421646595,
-0.041771356016397476,
-0.09537655860185623,
0.033536579459905624,
-0.04207601025700569,
-0.010247968137264252,
0.07881856709718704,
-0.020205873996019363,
-0.06042603403329849,
-0.001768485875800252,
-0.02360130473971367,
-0.12947797775268555,
0.12972544133663177,
-0.057189710438251495,
-0.3395206332206726,
-0.008381304331123829,
0.04924089461565018,
-0.11168891191482544,
-0.009762680158019066,
-0.039637401700019836,
-0.18103192746639252,
-0.03691152483224869,
-0.03759890794754028,
0.04640838876366615,
-0.07127266377210617,
0.013604012317955494,
0.00791102834045887,
0.13803191483020782,
-0.10648375749588013,
-0.10549990087747574,
-0.0040366449393332005,
-0.07345064729452133,
-0.14948639273643494,
0.03103819489479065,
-0.14416098594665527,
0.04716877266764641,
0.1387862265110016,
0.02546682581305504,
0.026884714141488075,
-0.06925206631422043,
0.06817633658647537,
-0.1826009303331375,
0.024913731962442398,
0.0734587088227272,
0.08695732057094574,
-0.02470300905406475,
0.070974200963974,
-0.0194912850856781,
-0.04409511014819145,
0.006429897155612707,
0.008833937346935272,
-0.03999298810958862,
-0.2718971371650696,
-0.12145649641752243,
-0.11353576183319092,
0.08025410771369934,
-0.05737881362438202,
0.09659165143966675,
0.08957802504301071,
0.02931821718811989,
0.0026070342864841223,
0.06192084401845932,
-0.02492637187242508,
0.01738804019987583,
-0.08656324446201324,
0.024560758844017982,
0.05935823544859886,
-0.0619148425757885,
-0.008156928233802319,
0.09035854786634445,
0.15210111439228058,
0.234833762049675,
-0.03157307580113411,
0.1961812674999237,
0.0381099209189415,
0.19147753715515137,
0.1142791137099266,
0.019048066809773445,
-0.12425677478313446,
-0.033575087785720825,
0.029647937044501305,
0.0003533240524120629,
0.036807481199502945,
0.05927471071481705,
0.07090175896883011,
0.01001015119254589,
-0.04441645368933678,
0.14496609568595886,
0.1317107230424881,
0.20824703574180603,
0.017111415043473244,
-0.08621792495250702,
-0.02564912661910057,
0.018514996394515038,
-0.10019169747829437,
-0.004569084849208593,
0.1139003112912178,
0.18811504542827606,
-0.17584002017974854,
0.05916731432080269,
0.03251966834068298,
0.13586068153381348,
-0.0532100573182106,
0.03041202947497368,
-0.10322143137454987,
-0.01554085873067379,
-0.0042238058522343636,
0.10001035779714584,
-0.28539609909057617,
0.17374849319458008,
-0.008060007356107235,
0.031255241483449936,
-0.12925219535827637,
-0.01828210987150669,
0.004794000647962093,
0.10761591047048569,
0.11761260777711868,
0.014207696542143822,
0.06597047299146652,
0.006194819696247578,
-0.14789633452892303,
0.08727352321147919,
0.028150806203484535,
0.044413670897483826,
0.03558333218097687,
0.029947429895401,
-0.012828424572944641,
-0.0033055078238248825,
-0.04096239432692528,
-0.07235873490571976,
-0.09764152020215988,
-0.0329609140753746,
0.05072890594601631,
-0.044112056493759155,
-0.04246726259589195,
-0.036348722875118256,
0.026944052428007126,
0.28628188371658325,
-0.0785258561372757,
-0.08311454951763153,
-0.04102745279669762,
0.026940055191516876,
0.08774221688508987,
-0.05871409922838211,
-0.004297342617064714,
-0.005477059632539749,
0.039765018969774246,
-0.008505871519446373,
-0.008474436588585377,
0.062432289123535156,
-0.05512344464659691,
-0.0967346653342247,
-0.01368154026567936,
0.15211184322834015,
-0.008440336212515831,
0.07858364284038544,
0.01761830784380436,
-0.09174630790948868,
-0.0334717333316803,
-0.1435042917728424,
-0.07392824441194534,
0.01594289392232895,
-0.04316145181655884,
0.1999787986278534,
-0.02727135829627514,
-0.09217100590467453,
-0.10725104808807373,
-0.09044897556304932,
0.17175592482089996,
0.028876468539237976,
-0.040109336376190186,
0.06846540421247482,
0.060650598257780075,
-0.031171754002571106,
-0.22358889877796173,
0.024039842188358307,
-0.00905371643602848,
0.07048958539962769,
-0.13423673808574677,
-0.1650824099779129,
0.12584073841571808,
0.00644548237323761,
0.0022798716090619564,
0.11702194809913635,
-0.25224030017852783,
-0.10155105590820312,
0.012403106316924095,
-0.06955573707818985,
0.04859566688537598,
-0.14723706245422363,
-0.04605557769536972,
0.029912497848272324,
0.04369743913412094,
0.11284194141626358,
-0.07494981586933136,
0.07981184124946594,
-0.024333206936717033,
-0.0018310535233467817,
-0.0015772661427035928,
-0.04686722531914711,
0.09865786880254745,
0.0427970290184021,
-0.0005953345098532736,
-0.005780552513897419,
-0.08021149039268494,
0.12038568407297134,
0.02251109853386879,
0.12979747354984283,
-0.0690167173743248,
0.05253633111715317,
-0.14883752167224884,
-0.07591073960065842,
-0.04373745247721672,
0.01575629785656929,
0.020149582996964455,
-0.05389280244708061,
-0.1603555977344513,
0.11148202419281006,
0.0031953647267073393,
0.05594676733016968,
0.21227431297302246,
0.030769387260079384,
-0.12020375579595566,
0.037662602961063385,
0.15626493096351624,
-0.16498884558677673,
0.04354085028171539,
-0.026202410459518433,
0.02227296680212021,
0.08836572617292404,
-0.1687753051519394,
0.05841483175754547,
0.12613484263420105,
0.007658347021788359,
0.08194576948881149,
0.06633277982473373,
-0.05296891927719116,
0.045364536345005035,
0.05228373408317566,
-0.06416990607976913,
-0.18103747069835663,
-0.09514334797859192,
-0.1667511761188507,
0.01963939145207405,
0.08483857661485672,
0.0681162104010582,
-0.07377597689628601,
-0.029529374092817307,
-0.0070884944871068,
0.009513753466308117,
-0.06389401108026505,
0.11021696776151657,
0.06643200665712357,
0.016525328159332275,
-0.1368836909532547,
0.05887085199356079,
0.09831521660089493,
0.06460205465555191,
0.019695064052939415,
0.1923547238111496,
-0.09358210861682892,
-0.01171953696757555,
-0.03782869875431061,
0.16004110872745514,
0.010139280930161476,
-0.09188029915094376,
-0.13886681199073792,
-0.11818032711744308,
0.013588346540927887,
-0.06348200887441635,
0.08805882185697556,
0.012244637124240398,
0.0010364417685195804,
-0.05646577477455139,
-0.0888056755065918,
0.04421118274331093,
0.04734951630234718,
0.016051894053816795,
-0.19743309915065765,
0.03402848541736603,
0.09471136331558228,
0.1785130798816681,
-0.05311787128448486,
-0.021116066724061966,
-0.16081225872039795,
0.08530477434396744,
-0.21184080839157104,
0.08585634082555771,
-0.06874623894691467,
-0.04714268073439598,
-0.036094389855861664,
-0.13097704946994781,
-0.09401531517505646,
0.0571579672396183,
-0.054218485951423645,
0.008768883533775806,
-0.002043676795437932,
0.06651477515697479,
-0.036645546555519104,
0.016955465078353882,
0.040348537266254425,
-0.027916617691516876,
0.128086656332016,
0.06715228408575058,
-0.03949014097452164,
0.07190535962581635,
-0.12564539909362793,
-0.027219755575060844,
0.09194400906562805,
0.06953530013561249,
0.09188535064458847,
0.046985648572444916,
0.01146351546049118,
0.09699921309947968,
0.08909787237644196,
0.01257980614900589,
-0.036590825766325,
-0.09343161433935165,
-0.06832969188690186,
-0.1827147901058197,
-0.04645482450723648,
-0.015528477728366852,
0.08593008667230606,
0.11929066479206085,
0.12195184081792831,
0.07695119827985764,
-0.040033552795648575,
0.07747995108366013,
-0.13058306276798248,
0.015128660947084427,
-0.03446424379944801,
-0.021045057103037834,
0.06695307791233063,
-0.010025872848927975,
0.08020741492509842,
-0.03333444520831108,
0.2935084402561188,
0.0325295627117157,
-0.0249008908867836,
-0.0007910372805781662,
-0.017732752487063408,
0.05382269620895386,
0.07239457964897156,
0.22987084090709686,
0.10559743642807007,
0.04905224218964577,
0.06227775663137436,
-0.004678000696003437,
0.0512530691921711,
0.12207287549972534,
0.09719128161668777,
0.12774497270584106,
0.0637686476111412,
0.11917078495025635,
0.05759497731924057,
-0.06427691131830215,
-0.08519857376813889,
0.005599573720246553,
-0.15717343986034393,
-0.02293943427503109,
-0.05548316612839699,
0.0010754993418231606,
0.162325918674469,
-0.10030701011419296,
0.06068933382630348,
0.04345203563570976,
-0.11092846095561981,
-0.07628142088651657,
-0.11139638721942902,
-0.09867050498723984,
-0.13718652725219727,
0.004501043353229761,
-0.13708682358264923,
-0.08051726967096329,
-0.01113342959433794,
0.0886259526014328,
-0.07705690711736679,
0.051665838807821274,
0.08610928058624268,
-0.0847131535410881,
0.05637377128005028,
-0.0013210035394877195,
0.028147131204605103,
-0.01590901054441929,
-0.002952001988887787,
-0.05570380017161369,
0.00285565503872931,
0.03619972988963127,
0.02239879034459591,
-0.09345287829637527,
0.08090444654226303,
-0.026868265122175217,
-0.0064704217948019505,
-0.03852584958076477,
-0.06573064625263214,
0.011099172756075859,
0.09089825302362442,
0.06642582267522812,
-0.06438057869672775,
0.016154754906892776,
0.24008528888225555,
-0.007778845261782408,
-0.16016854345798492,
-0.1460760235786438,
0.10371255874633789,
-0.018586423248052597,
-0.04429379850625992,
0.0011202218011021614,
-0.05939220264554024,
-0.08926641196012497,
0.3260119557380676,
0.31664034724235535,
-0.14391665160655975,
-0.01279442012310028,
-0.02571878954768181,
-0.0013969813007861376,
-0.011251851916313171,
0.03740720450878143,
0.11374030262231827,
0.38510024547576904,
-0.03576013073325157,
-0.0454823262989521,
-0.05809435993432999,
-0.031156891956925392,
-0.12495604157447815,
0.042879097163677216,
0.08870580047369003,
-0.015286935493350029,
-0.0957106426358223,
0.08527112007141113,
-0.1636098325252533,
-0.05594257265329361,
0.019055025652050972,
-0.19889047741889954,
-0.11535818874835968,
0.018226344138383865,
0.007322725374251604,
0.04600606486201286,
0.04493723064661026,
0.008285910822451115,
0.060229912400245667,
-0.0853068083524704,
0.02344050630927086,
-0.14473748207092285,
0.014044768176972866,
0.15390615165233612,
-0.05116155371069908,
0.13168276846408844,
-0.044282134622335434,
0.046135637909173965,
0.07925894856452942,
0.040745459496974945,
-0.0704767107963562,
0.018994588404893875,
-0.01902896724641323,
-0.015123043209314346,
0.0019013781566172838,
0.043439485132694244,
0.007787805050611496,
0.02026665024459362,
0.08682242035865784,
0.01303525734692812,
0.007562648504972458,
0.00019834976410493255,
0.028919845819473267,
-0.1600939929485321,
0.025690848007798195,
-0.11725487560033798,
0.07033725082874298,
0.14013484120368958,
-0.08465410023927689,
0.05984627828001976,
-0.04372037202119827,
0.04376845806837082,
-0.0385206937789917,
0.019616352394223213,
-0.04591792821884155,
-0.1994733065366745,
-0.017053373157978058,
0.01431807316839695,
-0.015067950822412968,
-0.12724363803863525,
0.010251668281853199,
-0.077933169901371,
-0.0311086717993021,
-0.08705940842628479,
0.03133368492126465,
0.1525154560804367,
0.0511336624622345,
-0.006740984972566366,
-0.09302274882793427,
-0.022550707682967186,
0.010308501310646534,
-0.06627850234508514,
-0.13434922695159912
] |
null | null |
transformers
|
DistilCamemBERT-NER
===================
We present DistilCamemBERT-NER, which is [DistilCamemBERT](https://huggingface.co/cmarkea/distilcamembert-base) fine-tuned for the NER (Named Entity Recognition) task for the French language. The work is inspired by [Jean-Baptiste/camembert-ner](https://huggingface.co/Jean-Baptiste/camembert-ner) based on the [CamemBERT](https://huggingface.co/camembert-base) model. The problem of the modelizations based on CamemBERT is at the scaling moment, for the production phase, for example. Indeed, inference cost can be a technological issue. To counteract this effect, we propose this modelization which **divides the inference time by two** with the same consumption power thanks to [DistilCamemBERT](https://huggingface.co/cmarkea/distilcamembert-base).
Dataset
-------
The dataset used is [wikiner_fr](https://huggingface.co/datasets/Jean-Baptiste/wikiner_fr), which represents ~170k sentences labeled in 5 categories :
* PER: personality ;
* LOC: location ;
* ORG: organization ;
* MISC: miscellaneous entities (movies title, books, etc.) ;
* O: background (Outside entity).
Evaluation results
------------------
| **class** | **precision (%)** | **recall (%)** | **f1 (%)** | **support (#sub-word)** |
| :------------: | :---------------: | :------------: | :--------: | :---------------------: |
| **global** | 98.17 | 98.19 | 98.18 | 378,776 |
| **PER** | 96.78 | 96.87 | 96.82 | 23,754 |
| **LOC** | 94.05 | 93.59 | 93.82 | 27,196 |
| **ORG** | 86.05 | 85.92 | 85.98 | 6,526 |
| **MISC** | 88.78 | 84.69 | 86.69 | 11,891 |
| **O** | 99.26 | 99.47 | 99.37 | 309,409 |
Benchmark
---------
This model performance is compared to 2 reference models (see below) with the metric f1 score. For the mean inference time measure, an AMD Ryzen 5 4500U @ 2.3GHz with 6 cores was used:
| **model** | **time (ms)** | **PER (%)** | **LOC (%)** | **ORG (%)** | **MISC (%)** | **O (%)** |
| :---------------------------------------------------------------------------------------------------------------: | :-----------: | :---------: | :---------: | :---------: | :-----------: | :-------: |
| [cmarkea/distilcamembert-base-ner](https://huggingface.co/cmarkea/distilcamembert-base-ner) | **43.44** | **96.82** | **93.82** | **85.98** | **86.69** | **99.37** |
| [Davlan/bert-base-multilingual-cased-ner-hrl](https://huggingface.co/Davlan/bert-base-multilingual-cased-ner-hrl) | 87.56 | 79.93 | 72.89 | 61.34 | n/a | 96.04 |
| [flair/ner-french](https://huggingface.co/flair/ner-french) | 314.96 | 82.91 | 76.17 | 70.96 | 76.29 | 97.65 |
How to use DistilCamemBERT-NER
------------------------------
```python
from transformers import pipeline
ner = pipeline(
task='ner',
model="cmarkea/distilcamembert-base-ner",
tokenizer="cmarkea/distilcamembert-base-ner",
aggregation_strategy="simple"
)
result = ner(
"Le Crédit Mutuel Arkéa est une banque Française, elle comprend le CMB "
"qui est une banque située en Bretagne et le CMSO qui est une banque "
"qui se situe principalement en Aquitaine. C'est sous la présidence de "
"Louis Lichou, dans les années 1980 que différentes filiales sont créées "
"au sein du CMB et forment les principales filiales du groupe qui "
"existent encore aujourd'hui (Federal Finance, Suravenir, Financo, etc.)."
)
result
[{'entity_group': 'ORG',
'score': 0.9974479,
'word': 'Crédit Mutuel Arkéa',
'start': 3,
'end': 22},
{'entity_group': 'LOC',
'score': 0.9000358,
'word': 'Française',
'start': 38,
'end': 47},
{'entity_group': 'ORG',
'score': 0.9788757,
'word': 'CMB',
'start': 66,
'end': 69},
{'entity_group': 'LOC',
'score': 0.99919766,
'word': 'Bretagne',
'start': 99,
'end': 107},
{'entity_group': 'ORG',
'score': 0.9594884,
'word': 'CMSO',
'start': 114,
'end': 118},
{'entity_group': 'LOC',
'score': 0.99935514,
'word': 'Aquitaine',
'start': 169,
'end': 178},
{'entity_group': 'PER',
'score': 0.99911094,
'word': 'Louis Lichou',
'start': 208,
'end': 220},
{'entity_group': 'ORG',
'score': 0.96226394,
'word': 'CMB',
'start': 291,
'end': 294},
{'entity_group': 'ORG',
'score': 0.9983959,
'word': 'Federal Finance',
'start': 374,
'end': 389},
{'entity_group': 'ORG',
'score': 0.9984454,
'word': 'Suravenir',
'start': 391,
'end': 400},
{'entity_group': 'ORG',
'score': 0.9985084,
'word': 'Financo',
'start': 402,
'end': 409}]
```
### Optimum + ONNX
```python
from optimum.onnxruntime import ORTModelForTokenClassification
from transformers import AutoTokenizer, pipeline
HUB_MODEL = "cmarkea/distilcamembert-base-nli"
tokenizer = AutoTokenizer.from_pretrained(HUB_MODEL)
model = ORTModelForTokenClassification.from_pretrained(HUB_MODEL)
onnx_qa = pipeline("token-classification", model=model, tokenizer=tokenizer)
# Quantized onnx model
quantized_model = ORTModelForTokenClassification.from_pretrained(
HUB_MODEL, file_name="model_quantized.onnx"
)
```
Citation
--------
```bibtex
@inproceedings{delestre:hal-03674695,
TITLE = {{DistilCamemBERT : une distillation du mod{\`e}le fran{\c c}ais CamemBERT}},
AUTHOR = {Delestre, Cyrile and Amar, Abibatou},
URL = {https://hal.archives-ouvertes.fr/hal-03674695},
BOOKTITLE = {{CAp (Conf{\'e}rence sur l'Apprentissage automatique)}},
ADDRESS = {Vannes, France},
YEAR = {2022},
MONTH = Jul,
KEYWORDS = {NLP ; Transformers ; CamemBERT ; Distillation},
PDF = {https://hal.archives-ouvertes.fr/hal-03674695/file/cap2022.pdf},
HAL_ID = {hal-03674695},
HAL_VERSION = {v1},
}
```
|
{"language": "fr", "license": "mit", "datasets": ["Jean-Baptiste/wikiner_fr"], "widget": [{"text": "Boulanger, habitant \u00e0 Boulanger et travaillant dans le magasin Boulanger situ\u00e9 dans la ville de Boulanger. Boulanger a \u00e9crit le livre \u00e9ponyme Boulanger \u00e9dit\u00e9 par la maison d'\u00e9dition Boulanger."}, {"text": "Quentin Jerome Tarantino na\u00eet le 27 mars 1963 \u00e0 Knoxville, dans le Tennessee. Il est le fils de Connie McHugh, une infirmi\u00e8re, n\u00e9e le 3 septembre 1946, et de Tony Tarantino, acteur et musicien amateur n\u00e9 \u00e0 New York. Ce dernier est d'origine italienne par son p\u00e8re ; sa m\u00e8re a des ascendances irlandaises et cherokees. Il est pr\u00e9nomm\u00e9 d'apr\u00e8s Quint Asper, le personnage jou\u00e9 par Burt Reynolds dans la s\u00e9rie Gunsmoke et Quentin Compson, personnage du roman Le Bruit et la Fureur. Son p\u00e8re quitte le domicile familial avant m\u00eame sa naissance. En 1965, sa m\u00e8re d\u00e9m\u00e9nage \u00e0 Torrance, dans la banlieue sud de Los Angeles, et se remarie avec Curtis Zastoupil, un pianiste de bar, qui lui fait d\u00e9couvrir le cin\u00e9ma. Le couple divorce alors que le jeune Quentin a une dizaine d'ann\u00e9es."}]}
|
token-classification
|
cmarkea/distilcamembert-base-ner
|
[
"transformers",
"pytorch",
"tf",
"onnx",
"safetensors",
"camembert",
"token-classification",
"fr",
"dataset:Jean-Baptiste/wikiner_fr",
"license:mit",
"autotrain_compatible",
"endpoints_compatible",
"has_space",
"region:us"
] |
2022-03-02T23:29:05+00:00
|
[] |
[
"fr"
] |
TAGS
#transformers #pytorch #tf #onnx #safetensors #camembert #token-classification #fr #dataset-Jean-Baptiste/wikiner_fr #license-mit #autotrain_compatible #endpoints_compatible #has_space #region-us
|
DistilCamemBERT-NER
===================
We present DistilCamemBERT-NER, which is DistilCamemBERT fine-tuned for the NER (Named Entity Recognition) task for the French language. The work is inspired by Jean-Baptiste/camembert-ner based on the CamemBERT model. The problem of the modelizations based on CamemBERT is at the scaling moment, for the production phase, for example. Indeed, inference cost can be a technological issue. To counteract this effect, we propose this modelization which divides the inference time by two with the same consumption power thanks to DistilCamemBERT.
Dataset
-------
The dataset used is wikiner\_fr, which represents ~170k sentences labeled in 5 categories :
* PER: personality ;
* LOC: location ;
* ORG: organization ;
* MISC: miscellaneous entities (movies title, books, etc.) ;
* O: background (Outside entity).
Evaluation results
------------------
Benchmark
---------
This model performance is compared to 2 reference models (see below) with the metric f1 score. For the mean inference time measure, an AMD Ryzen 5 4500U @ 2.3GHz with 6 cores was used:
How to use DistilCamemBERT-NER
------------------------------
### Optimum + ONNX
Citation
--------
|
[
"### Optimum + ONNX\n\n\nCitation\n--------"
] |
[
"TAGS\n#transformers #pytorch #tf #onnx #safetensors #camembert #token-classification #fr #dataset-Jean-Baptiste/wikiner_fr #license-mit #autotrain_compatible #endpoints_compatible #has_space #region-us \n",
"### Optimum + ONNX\n\n\nCitation\n--------"
] |
[
77,
11
] |
[
"passage: TAGS\n#transformers #pytorch #tf #onnx #safetensors #camembert #token-classification #fr #dataset-Jean-Baptiste/wikiner_fr #license-mit #autotrain_compatible #endpoints_compatible #has_space #region-us \n### Optimum + ONNX\n\n\nCitation\n--------"
] |
[
-0.057505954056978226,
0.08037474751472473,
-0.004884159658104181,
0.13112638890743256,
0.06791812926530838,
-0.0005573841044679284,
0.10796903818845749,
0.10399109125137329,
-0.00039661885239183903,
0.011668579652905464,
0.1995229721069336,
0.20192719995975494,
-0.0058076526038348675,
0.09780029952526093,
-0.13795915246009827,
-0.1808742880821228,
0.037571851164102554,
0.023993585258722305,
-0.010987675748765469,
0.08601901680231094,
0.10010377317667007,
-0.06825143098831177,
0.08748917281627655,
-0.016971824690699577,
-0.10879155993461609,
-0.005206959322094917,
0.07009267061948776,
-0.11749526858329773,
0.11282169073820114,
0.12263721227645874,
0.10539369285106659,
0.060641154646873474,
0.0109339514747262,
-0.16201815009117126,
0.040518540889024734,
0.02139192447066307,
-0.09910827875137329,
0.06277374923229218,
0.029782267287373543,
-0.048339150846004486,
0.03509073331952095,
0.0027810814790427685,
0.0027860882692039013,
0.03823016583919525,
-0.09236276894807816,
-0.12372351437807083,
-0.07886673510074615,
0.07463983446359634,
-0.07457059621810913,
-0.01632849872112274,
0.04887128993868828,
0.23407641053199768,
-0.0700821653008461,
0.11725563555955887,
0.09127416461706161,
-0.3154865503311157,
-0.030955934897065163,
0.04959576576948166,
0.07073578983545303,
0.012962914071977139,
-0.06253921240568161,
0.03814128786325455,
0.006652170326560736,
-0.0018126335926353931,
0.15628786385059357,
-0.09467034786939621,
-0.15726973116397858,
0.019090263172984123,
-0.08842768520116806,
-0.02457324229180813,
0.20771773159503937,
0.07388585805892944,
0.02809029631316662,
-0.056239642202854156,
-0.11249124258756638,
0.0019250334007665515,
0.011524491012096405,
-0.0390581376850605,
-0.02782328426837921,
-0.022419597953557968,
0.02233325131237507,
-0.034397516399621964,
-0.12540645897388458,
0.013700543902814388,
-0.14109471440315247,
0.2555689513683319,
-0.0008108385954983532,
0.07051550596952438,
-0.05153670907020569,
0.07461702078580856,
-0.0670982077717781,
-0.12242651730775833,
0.04393358901143074,
-0.11252591758966446,
-0.029746845364570618,
-0.03860260918736458,
0.059869926422834396,
0.05934715270996094,
0.06815090775489807,
0.18451593816280365,
-0.04045284166932106,
-0.024116555228829384,
-0.02017013356089592,
0.040410954505205154,
0.026071609929203987,
0.09676899760961533,
-0.09538128972053528,
-0.03493189066648483,
0.0904725193977356,
-0.055020757019519806,
-0.01863320730626583,
-0.008372154086828232,
-0.14043620228767395,
-0.028226912021636963,
0.028015488758683205,
0.016557728871703148,
-0.020474422723054886,
0.05618054047226906,
-0.04091595113277435,
-0.01682557724416256,
0.23026584088802338,
-0.03464067727327347,
0.05847487598657608,
0.03246628865599632,
0.03192608430981636,
-0.015260014683008194,
0.06669206917285919,
-0.02886725775897503,
0.00400162860751152,
0.061335813254117966,
-0.06397899240255356,
-0.021498268470168114,
0.023016981780529022,
-0.1172960102558136,
0.058792732656002045,
0.0295086782425642,
0.05995587632060051,
-0.19985231757164001,
-0.017098981887102127,
0.03004012070596218,
0.06006613001227379,
-0.019475068897008896,
-0.07134992629289627,
0.059372931718826294,
-0.07579822838306427,
0.023373592644929886,
-0.015749521553516388,
-0.029765535145998,
-0.09170756489038467,
0.09569162130355835,
-0.0540655292570591,
0.03892975673079491,
-0.11501187831163406,
0.045077644288539886,
-0.08515951037406921,
-0.018225878477096558,
-0.0954679623246193,
-0.00021129587548784912,
-0.07771135121583939,
0.07853103429079056,
-0.012514565140008926,
-0.09688263386487961,
-0.08230336010456085,
-0.022956062108278275,
0.013566208072006702,
0.18475960195064545,
-0.14059309661388397,
-0.04394996166229248,
0.16164158284664154,
-0.07578291743993759,
-0.16441169381141663,
0.12315590679645538,
-0.04681568965315819,
0.08551952987909317,
0.00949698407202959,
0.08505086600780487,
0.12247712910175323,
-0.14701531827449799,
-0.0055372389033436775,
0.10767709463834763,
-0.151092067360878,
-0.10304292291402817,
0.061315201222896576,
0.07690182328224182,
-0.062222886830568314,
0.010727991349995136,
0.06501609086990356,
0.06041042134165764,
-0.0625656470656395,
-0.05823183059692383,
-0.09231378883123398,
0.002558702602982521,
-0.008248070254921913,
0.045158080756664276,
0.03174756094813347,
-0.06765339523553848,
-0.05272219330072403,
0.031224410980939865,
-0.014824990183115005,
0.022765204310417175,
0.005194352474063635,
-0.05484012886881828,
0.10416703671216965,
-0.039874669164419174,
0.016756772994995117,
-0.0759580060839653,
-0.10222793370485306,
-0.0054574571549892426,
-0.018554771319031715,
0.025916459038853645,
0.04864577576518059,
0.04790244996547699,
0.050226274877786636,
-0.021592652425169945,
0.005107151344418526,
0.10160470753908157,
0.07647103071212769,
-0.058891378343105316,
-0.1328997164964676,
0.0358368456363678,
-0.07048134505748749,
-0.021829096600413322,
-0.1921655237674713,
0.03467811271548271,
0.12060244381427765,
0.0963621735572815,
0.010858389548957348,
0.07858742773532867,
-0.008854287676513195,
-0.003445117035880685,
-0.07946991920471191,
-0.02464083768427372,
0.03718122839927673,
0.041123293340206146,
-0.07070419192314148,
0.20487339794635773,
-0.13035991787910461,
0.36598122119903564,
0.1575281023979187,
-0.1931048035621643,
-0.04479776695370674,
-0.03664226084947586,
-0.04276082664728165,
0.012279328890144825,
-0.04801001399755478,
0.036528438329696655,
-0.06839349120855331,
-0.014089100062847137,
0.1559785157442093,
-0.09242518991231918,
-0.052637193351984024,
0.10057269781827927,
-0.03860073164105415,
-0.07318462431430817,
0.12090791761875153,
0.12040453404188156,
-0.22274573147296906,
0.15506534278392792,
0.24279415607452393,
0.020087115466594696,
0.08273055404424667,
0.013828298076987267,
0.02783733606338501,
-0.04757564514875412,
-0.0038062005769461393,
-0.0032377734314650297,
0.0948156788945198,
-0.041060563176870346,
0.03786042332649231,
0.09757328033447266,
0.0023002566304057837,
-0.020182490348815918,
-0.13528354465961456,
-0.052462443709373474,
0.02882496640086174,
0.004934446420520544,
0.009160459972918034,
0.08360784500837326,
0.02791430614888668,
0.12684789299964905,
-0.03724808245897293,
-0.13859304785728455,
0.06247398629784584,
0.04349600896239281,
-0.07273172587156296,
0.1421527862548828,
-0.09219541400671005,
-0.18129953742027283,
-0.11421523243188858,
-0.15197278559207916,
-0.10065464675426483,
0.0010645220754668117,
0.10337705165147781,
-0.00572119140997529,
-0.021495932713150978,
-0.04364141821861267,
-0.10575174540281296,
-0.019804928451776505,
0.05602685734629631,
-0.17912864685058594,
0.021732164546847343,
-0.02689497359097004,
-0.10570812970399857,
-0.08074422925710678,
0.021372389048337936,
-0.03687671944499016,
0.12678968906402588,
0.017964553087949753,
0.06564829498529434,
0.11339650303125381,
-0.07287059724330902,
0.017928244546055794,
-0.038992367684841156,
0.18318143486976624,
-0.051501236855983734,
0.09923834353685379,
0.08441215753555298,
-0.01671677641570568,
0.07662564516067505,
0.18518035113811493,
0.09861349314451218,
-0.05995612218976021,
0.008026004768908024,
-0.00778960483148694,
-0.09337448328733444,
-0.16669486463069916,
-0.1037224605679512,
-0.08756402134895325,
0.04507751390337944,
0.0682796984910965,
0.08862803131341934,
0.1712224930524826,
0.08592284470796585,
0.014873405918478966,
-0.01537911407649517,
0.06514621526002884,
0.05991624668240547,
0.17596356570720673,
0.04227819666266441,
0.14075639843940735,
-0.06174175813794136,
-0.10691364854574203,
0.1303263008594513,
0.08785872161388397,
0.050619937479496,
0.05611349269747734,
0.00350460154004395,
0.09185586869716644,
0.10861806571483612,
0.07643862068653107,
0.09992067515850067,
0.05510817840695381,
-0.029280157759785652,
-0.01492629386484623,
-0.07335425168275833,
0.08180531114339828,
0.050229985266923904,
0.023481978103518486,
-0.05161970481276512,
-0.017922859638929367,
-0.13058340549468994,
0.10475178062915802,
0.09612682461738586,
0.054197974503040314,
-0.19863906502723694,
-0.03041340410709381,
0.049824319779872894,
-0.047881267964839935,
-0.04870380461215973,
0.05296752601861954,
0.08172126114368439,
-0.10069102048873901,
0.071150042116642,
-0.0510987751185894,
0.10953372716903687,
-0.01412876695394516,
0.024399293586611748,
0.04585626348853111,
-0.08202805370092392,
-0.03803293779492378,
0.04370254650712013,
-0.23338837921619415,
0.27227920293807983,
0.037553757429122925,
-0.03103860840201378,
-0.07049566507339478,
-0.004991843830794096,
0.05444483086466789,
0.23137366771697998,
0.13493558764457703,
0.004833193030208349,
-0.036597441881895065,
-0.052233561873435974,
0.010201053693890572,
0.0011239990126341581,
-0.024776896461844444,
0.038073357194662094,
-0.010845338925719261,
-0.02710883505642414,
-0.040599435567855835,
0.012187203392386436,
0.10082438588142395,
-0.06988999247550964,
-0.10837351530790329,
0.008622790686786175,
0.10941478610038757,
-0.09624505043029785,
0.024748336523771286,
-0.054235074669122696,
-0.2705247402191162,
0.1757536381483078,
-0.08474385738372803,
0.019457494840025902,
-0.11559247970581055,
-0.05576670542359352,
0.047797828912734985,
-0.050583213567733765,
0.033675070852041245,
-0.12332890182733536,
-0.0006150700501166284,
-0.05879705399274826,
-0.09469316154718399,
0.07416621595621109,
-0.11734943836927414,
-0.04189019650220871,
-0.04588828235864639,
0.10482662916183472,
-0.05081469938158989,
-0.007145588751882315,
-0.016678307205438614,
0.025543875992298126,
-0.09604930877685547,
-0.14258618652820587,
0.035669926553964615,
-0.10492417216300964,
0.07499465346336365,
-0.05391603335738182,
-0.1197122111916542,
-0.11528359353542328,
0.020829947665333748,
0.0579293854534626,
0.10484848916530609,
0.2979075312614441,
-0.11450965702533722,
0.03577747941017151,
0.14840957522392273,
0.0066729276441037655,
-0.25192490220069885,
-0.08870863169431686,
-0.14245589077472687,
-0.032224636524915695,
0.05785251036286354,
-0.025253303349018097,
0.09689371287822723,
0.0861944928765297,
-0.0451669842004776,
0.1260775625705719,
-0.10845136642456055,
-0.10915430635213852,
0.13203245401382446,
-0.0012487085768952966,
0.333489328622818,
-0.08282742649316788,
-0.045364998281002045,
0.002325712935999036,
-0.13685265183448792,
0.18163660168647766,
-0.08757764101028442,
0.04055846855044365,
0.02250785380601883,
-0.04980233311653137,
0.0071111442521214485,
-0.042506732046604156,
0.11810188740491867,
-0.019533436745405197,
0.06534475088119507,
-0.06556116044521332,
-0.08228360116481781,
0.07017431408166885,
-0.04441404342651367,
0.025949105620384216,
-0.039935991168022156,
0.01815819926559925,
-0.12376737594604492,
-0.010800591669976711,
-0.03668375313282013,
0.17700061202049255,
0.004868894815444946,
-0.041562363505363464,
-0.04417279362678528,
0.004218051675707102,
0.031741075217723846,
-0.032988041639328,
0.1832745224237442,
-0.017951590940356255,
0.05035153776407242,
0.20771610736846924,
0.019290849566459656,
-0.09172217547893524,
0.04022340476512909,
-0.012336140498518944,
-0.07330326735973358,
0.06941758096218109,
-0.07383127510547638,
0.08199422061443329,
0.08526168018579483,
-0.02338930405676365,
0.05463274195790291,
0.07108384370803833,
0.03722474351525307,
-0.0642019659280777,
0.09472044557332993,
-0.2056453973054886,
-0.013669093139469624,
-0.025392843410372734,
-0.10622609406709671,
0.09310891479253769,
0.056370627135038376,
0.12213608622550964,
-0.032418739050626755,
-0.008184670470654964,
0.0032735078129917383,
0.0033089101780205965,
-0.08597010374069214,
0.04270761460065842,
0.08207611739635468,
0.0064725191332399845,
-0.10451166331768036,
0.017115680500864983,
0.10003705322742462,
-0.07427386939525604,
-0.07637794315814972,
0.041317664086818695,
-0.1004064604640007,
-0.13901880383491516,
0.009432808496057987,
0.009097738191485405,
-0.07367555797100067,
-0.06186295673251152,
-0.019457243382930756,
-0.03258495405316353,
0.04613864794373512,
0.25864678621292114,
0.08734767138957977,
0.03569968417286873,
0.005963063798844814,
-0.048429738730192184,
-0.08833356201648712,
0.11407806724309921,
-0.04665398597717285,
0.027372127398848534,
-0.14065083861351013,
-0.043765462934970856,
-0.011159395799040794,
0.13073788583278656,
-0.07984063029289246,
0.02237394079566002,
-0.1506635695695877,
-0.05006195232272148,
0.02846895158290863,
-0.0419921949505806,
-0.08639711886644363,
0.0194056648761034,
0.0022749220952391624,
-0.10552471876144409,
-0.06807908415794373,
-0.028972558677196503,
-0.062263354659080505,
0.060012124478816986,
0.052247919142246246,
0.12645620107650757,
-0.0911155566573143,
-0.08807304501533508,
0.05905213579535484,
-0.04584532603621483,
0.11081495136022568,
0.06815271079540253,
-0.0964856892824173,
-0.024683713912963867,
-0.12557651102542877,
-0.028461024165153503,
0.0604795478284359,
0.04532201960682869,
0.06850820779800415,
-0.055924881249666214,
0.08357127010822296,
0.061663318425416946,
0.012760469689965248,
0.019531849771738052,
0.0207616426050663,
-0.09587462246417999,
0.01668645069003105,
-0.017239311710000038,
-0.13141170144081116,
-0.002419555326923728,
-0.02908661589026451,
0.10211745649576187,
-0.03293842077255249,
0.14197948575019836,
-0.01772623136639595,
0.020588267594575882,
-0.1096634790301323,
-0.012389516457915306,
-0.019058970734477043,
-0.19851680099964142,
-0.1095365360379219,
-0.035493701696395874,
0.01415491383522749,
0.030009116977453232,
0.29735738039016724,
0.06405600160360336,
-0.06815427541732788,
0.06864991039037704,
0.0024013512302190065,
-0.08132760226726532,
0.028272243216633797,
0.1586427539587021,
0.01515874546021223,
-0.018647804856300354,
-0.11377528309822083,
0.04175648093223572,
0.013667312450706959,
-0.056547828018665314,
0.08173079788684845,
0.17202478647232056,
-0.050704363733530045,
0.007981549017131329,
0.039282768964767456,
-0.04954630881547928,
-0.04512006789445877,
-0.10154278576374054,
-0.06667441874742508,
0.06831488758325577,
-0.07744815200567245,
-0.025765901431441307,
0.1336010843515396,
-0.018729519098997116,
0.06320799142122269,
0.022355426102876663,
-0.015895603224635124,
-0.17447681725025177,
-0.12479420006275177,
-0.11824961006641388,
-0.07472645491361618,
-0.01302905473858118,
-0.026179049164056778,
0.010444902814924717,
0.0388588085770607,
0.05181237310171127,
-0.03969883918762207,
0.07035157829523087,
-0.017826830968260765,
0.02398458682000637,
0.042526975274086,
0.02883835695683956,
0.009448816999793053,
-0.10664413124322891,
-0.0023126567248255014,
-0.09052425622940063,
-0.0440169982612133,
-0.04140954092144966,
0.006499065086245537,
0.0294962078332901,
-0.0028783760499209166,
-0.11481594294309616,
-0.056292418390512466,
-0.05508572980761528,
0.022629592567682266,
-0.041516393423080444,
0.12377290427684784,
0.016919488087296486,
0.0032498338259756565,
0.0506671667098999,
0.1481582373380661,
-0.029359538108110428,
-0.09195180237293243,
-0.12236570566892624,
0.17397843301296234,
0.06681554019451141,
0.09547871351242065,
0.005570943467319012,
0.004309755750000477,
-0.025162432342767715,
0.14637860655784607,
0.2237863540649414,
-0.02847672626376152,
0.0641627237200737,
0.09506580978631973,
0.009698199108242989,
0.09204564243555069,
0.02432943694293499,
0.021505163982510567,
0.13618527352809906,
-0.03710927069187164,
-0.07812708616256714,
-0.06543269753456116,
0.006261773873120546,
-0.03363857418298721,
0.07178930938243866,
0.03225728124380112,
-0.05797840654850006,
-0.019306836649775505,
0.07629714906215668,
-0.022005630657076836,
-0.03177962824702263,
0.12618456780910492,
-0.1312827467918396,
-0.05751581862568855,
0.01942288689315319,
-0.0117615582421422,
-0.0314629040658474,
0.01840606890618801,
-0.06092939153313637,
-0.07482907921075821,
0.053588613867759705,
-0.005253734067082405,
-0.10334766656160355,
-0.007686561439186335,
0.03341171145439148,
-0.01790662109851837,
0.21254003047943115,
-0.04094376787543297,
0.10496269166469574,
0.11334531009197235,
-0.0014274509157985449,
-0.07826822996139526,
0.0990278422832489,
0.026787374168634415,
-0.08094342797994614,
-0.054038867354393005,
-0.08196710050106049,
0.004740897100418806,
-0.06443911790847778,
0.021018877625465393,
-0.17493195831775665,
0.04337949678301811,
-0.07809814810752869,
-0.0855398029088974,
-0.03722639009356499,
0.05711710825562477,
-0.020182199776172638,
0.0698903352022171,
0.044836509972810745,
-0.0007558751967735589,
0.01674184389412403,
-0.08776701241731644,
0.027905981987714767,
0.09742265939712524,
-0.003184150205925107,
-0.03686151280999184,
-0.13711531460285187,
0.04301179572939873,
-0.03597516193985939,
0.09010493010282516,
-0.12462262809276581,
-0.0560758113861084,
-0.01277913711965084,
0.004052487201988697,
-0.09332657605409622,
0.04723595082759857,
0.07462642341852188,
0.03229167312383652,
-0.02642863430082798,
-0.05587037280201912,
-0.03940011188387871,
0.04578636959195137,
-0.08913501352071762,
-0.03679826110601425
] |
null | null |
transformers
|
DistilCamemBERT-NLI
===================
We present DistilCamemBERT-NLI, which is [DistilCamemBERT](https://huggingface.co/cmarkea/distilcamembert-base) fine-tuned for the Natural Language Inference (NLI) task for the french language, also known as recognizing textual entailment (RTE). This model is constructed on the XNLI dataset, which determines whether a premise entails, contradicts or neither entails or contradicts a hypothesis.
This modelization is close to [BaptisteDoyen/camembert-base-xnli](https://huggingface.co/BaptisteDoyen/camembert-base-xnli) based on [CamemBERT](https://huggingface.co/camembert-base) model. The problem of the modelizations based on CamemBERT is at the scaling moment, for the production phase, for example. Indeed, inference cost can be a technological issue especially in the context of cross-encoding like this task. To counteract this effect, we propose this modelization which divides the inference time by 2 with the same consumption power, thanks to DistilCamemBERT.
Dataset
-------
The dataset XNLI from [FLUE](https://huggingface.co/datasets/flue) comprises 392,702 premises with their hypothesis for the train and 5,010 couples for the test. The goal is to predict textual entailment (does sentence A imply/contradict/neither sentence B?) and is a classification task (given two sentences, predict one of three labels). Sentence A is called *premise*, and sentence B is called *hypothesis*, then the goal of modelization is determined as follows:
$$P(premise=c\in\{contradiction, entailment, neutral\}\vert hypothesis)$$
Evaluation results
------------------
| **class** | **precision (%)** | **f1-score (%)** | **support** |
| :----------------: | :---------------: | :--------------: | :---------: |
| **global** | 77.70 | 77.45 | 5,010 |
| **contradiction** | 78.00 | 79.54 | 1,670 |
| **entailment** | 82.90 | 78.87 | 1,670 |
| **neutral** | 72.18 | 74.04 | 1,670 |
Benchmark
---------
We compare the [DistilCamemBERT](https://huggingface.co/cmarkea/distilcamembert-base) model to 2 other modelizations working on the french language. The first one [BaptisteDoyen/camembert-base-xnli](https://huggingface.co/BaptisteDoyen/camembert-base-xnli) is based on well named [CamemBERT](https://huggingface.co/camembert-base), the french RoBERTa model and the second one [MoritzLaurer/mDeBERTa-v3-base-mnli-xnli](https://huggingface.co/MoritzLaurer/mDeBERTa-v3-base-mnli-xnli) based on [mDeBERTav3](https://huggingface.co/microsoft/mdeberta-v3-base) a multilingual model. To compare the performances, the metrics of accuracy and [MCC (Matthews Correlation Coefficient)](https://en.wikipedia.org/wiki/Phi_coefficient) were used. We used an **AMD Ryzen 5 4500U @ 2.3GHz with 6 cores** for mean inference time measure.
| **model** | **time (ms)** | **accuracy (%)** | **MCC (x100)** |
| :--------------: | :-----------: | :--------------: | :------------: |
| [cmarkea/distilcamembert-base-nli](https://huggingface.co/cmarkea/distilcamembert-base-nli) | **51.35** | 77.45 | 66.24 |
| [BaptisteDoyen/camembert-base-xnli](https://huggingface.co/BaptisteDoyen/camembert-base-xnli) | 105.0 | 81.72 | 72.67 |
| [MoritzLaurer/mDeBERTa-v3-base-mnli-xnli](https://huggingface.co/MoritzLaurer/mDeBERTa-v3-base-mnli-xnli) | 299.18 | **83.43** | **75.15** |
Zero-shot classification
------------------------
The main advantage of such modelization is to create a zero-shot classifier allowing text classification without training. This task can be summarized by:
$$P(hypothesis=i\in\mathcal{C}|premise)=\frac{e^{P(premise=entailment\vert hypothesis=i)}}{\sum_{j\in\mathcal{C}}e^{P(premise=entailment\vert hypothesis=j)}}$$
For this part, we use two datasets, the first one: [allocine](https://huggingface.co/datasets/allocine) used to train the sentiment analysis models. The dataset comprises two classes: "positif" and "négatif" appreciation of movie reviews. Here we use "Ce commentaire est {}." as the hypothesis template and "positif" and "négatif" as candidate labels.
| **model** | **time (ms)** | **accuracy (%)** | **MCC (x100)** |
| :--------------: | :-----------: | :--------------: | :------------: |
| [cmarkea/distilcamembert-base-nli](https://huggingface.co/cmarkea/distilcamembert-base-nli) | **195.54** | 80.59 | 63.71 |
| [BaptisteDoyen/camembert-base-xnli](https://huggingface.co/BaptisteDoyen/camembert-base-xnli) | 378.39 | **86.37** | **73.74** |
| [MoritzLaurer/mDeBERTa-v3-base-mnli-xnli](https://huggingface.co/MoritzLaurer/mDeBERTa-v3-base-mnli-xnli) | 520.58 | 84.97 | 70.05 |
The second one: [mlsum](https://huggingface.co/datasets/mlsum) used to train the summarization models. In this aim, we aggregate sub-topics and select a few of them. We use the articles summary part to predict their topics. In this case, the hypothesis template used is "C'est un article traitant de {}." and the candidate labels are: "économie", "politique", "sport" and "science".
| **model** | **time (ms)** | **accuracy (%)** | **MCC (x100)** |
| :--------------: | :-----------: | :--------------: | :------------: |
| [cmarkea/distilcamembert-base-nli](https://huggingface.co/cmarkea/distilcamembert-base-nli) | **217.77** | **79.30** | **70.55** |
| [BaptisteDoyen/camembert-base-xnli](https://huggingface.co/BaptisteDoyen/camembert-base-xnli) | 448.27 | 70.7 | 64.10 |
| [MoritzLaurer/mDeBERTa-v3-base-mnli-xnli](https://huggingface.co/MoritzLaurer/mDeBERTa-v3-base-mnli-xnli) | 591.34 | 64.45 | 58.67 |
How to use DistilCamemBERT-NLI
------------------------------
```python
from transformers import pipeline
classifier = pipeline(
task='zero-shot-classification',
model="cmarkea/distilcamembert-base-nli",
tokenizer="cmarkea/distilcamembert-base-nli"
)
result = classifier (
sequences="Le style très cinéphile de Quentin Tarantino "
"se reconnaît entre autres par sa narration postmoderne "
"et non linéaire, ses dialogues travaillés souvent "
"émaillés de références à la culture populaire, et ses "
"scènes hautement esthétiques mais d'une violence "
"extrême, inspirées de films d'exploitation, d'arts "
"martiaux ou de western spaghetti.",
candidate_labels="cinéma, technologie, littérature, politique",
hypothesis_template="Ce texte parle de {}."
)
result
{"labels": ["cinéma",
"littérature",
"technologie",
"politique"],
"scores": [0.7164115309715271,
0.12878799438476562,
0.1092301607131958,
0.0455702543258667]}
```
### Optimum + ONNX
```python
from optimum.onnxruntime import ORTModelForSequenceClassification
from transformers import AutoTokenizer, pipeline
HUB_MODEL = "cmarkea/distilcamembert-base-nli"
tokenizer = AutoTokenizer.from_pretrained(HUB_MODEL)
model = ORTModelForSequenceClassification.from_pretrained(HUB_MODEL)
onnx_qa = pipeline("zero-shot-classification", model=model, tokenizer=tokenizer)
# Quantized onnx model
quantized_model = ORTModelForSequenceClassification.from_pretrained(
HUB_MODEL, file_name="model_quantized.onnx"
)
```
Citation
--------
```bibtex
@inproceedings{delestre:hal-03674695,
TITLE = {{DistilCamemBERT : une distillation du mod{\`e}le fran{\c c}ais CamemBERT}},
AUTHOR = {Delestre, Cyrile and Amar, Abibatou},
URL = {https://hal.archives-ouvertes.fr/hal-03674695},
BOOKTITLE = {{CAp (Conf{\'e}rence sur l'Apprentissage automatique)}},
ADDRESS = {Vannes, France},
YEAR = {2022},
MONTH = Jul,
KEYWORDS = {NLP ; Transformers ; CamemBERT ; Distillation},
PDF = {https://hal.archives-ouvertes.fr/hal-03674695/file/cap2022.pdf},
HAL_ID = {hal-03674695},
HAL_VERSION = {v1},
}
```
|
{"language": "fr", "license": "mit", "tags": ["zero-shot-classification", "sentence-similarity", "nli"], "datasets": ["flue"], "pipeline_tag": "zero-shot-classification", "widget": [{"text": "Selon certains physiciens, un univers parall\u00e8le, miroir du n\u00f4tre ou relevant de ce que l'on appelle la th\u00e9orie des branes, autoriserait des neutrons \u00e0 sortir de notre Univers pour y entrer \u00e0 nouveau. L'id\u00e9e a \u00e9t\u00e9 test\u00e9e une nouvelle fois avec le r\u00e9acteur nucl\u00e9aire de l'Institut Laue-Langevin \u00e0 Grenoble, plus pr\u00e9cis\u00e9ment en utilisant le d\u00e9tecteur de l'exp\u00e9rience Stereo initialement con\u00e7u pour chasser des particules de mati\u00e8re noire potentielles, les neutrinos st\u00e9riles.", "candidate_labels": "politique, science, sport, sant\u00e9", "hypothesis_template": "Ce texte parle de {}."}]}
|
zero-shot-classification
|
cmarkea/distilcamembert-base-nli
|
[
"transformers",
"pytorch",
"tf",
"onnx",
"safetensors",
"camembert",
"text-classification",
"zero-shot-classification",
"sentence-similarity",
"nli",
"fr",
"dataset:flue",
"license:mit",
"autotrain_compatible",
"endpoints_compatible",
"region:us"
] |
2022-03-02T23:29:05+00:00
|
[] |
[
"fr"
] |
TAGS
#transformers #pytorch #tf #onnx #safetensors #camembert #text-classification #zero-shot-classification #sentence-similarity #nli #fr #dataset-flue #license-mit #autotrain_compatible #endpoints_compatible #region-us
|
DistilCamemBERT-NLI
===================
We present DistilCamemBERT-NLI, which is DistilCamemBERT fine-tuned for the Natural Language Inference (NLI) task for the french language, also known as recognizing textual entailment (RTE). This model is constructed on the XNLI dataset, which determines whether a premise entails, contradicts or neither entails or contradicts a hypothesis.
This modelization is close to BaptisteDoyen/camembert-base-xnli based on CamemBERT model. The problem of the modelizations based on CamemBERT is at the scaling moment, for the production phase, for example. Indeed, inference cost can be a technological issue especially in the context of cross-encoding like this task. To counteract this effect, we propose this modelization which divides the inference time by 2 with the same consumption power, thanks to DistilCamemBERT.
Dataset
-------
The dataset XNLI from FLUE comprises 392,702 premises with their hypothesis for the train and 5,010 couples for the test. The goal is to predict textual entailment (does sentence A imply/contradict/neither sentence B?) and is a classification task (given two sentences, predict one of three labels). Sentence A is called *premise*, and sentence B is called *hypothesis*, then the goal of modelization is determined as follows:
$$P(premise=c\in{contradiction, entailment, neutral}\vert hypothesis)$$
Evaluation results
------------------
Benchmark
---------
We compare the DistilCamemBERT model to 2 other modelizations working on the french language. The first one BaptisteDoyen/camembert-base-xnli is based on well named CamemBERT, the french RoBERTa model and the second one MoritzLaurer/mDeBERTa-v3-base-mnli-xnli based on mDeBERTav3 a multilingual model. To compare the performances, the metrics of accuracy and MCC (Matthews Correlation Coefficient) were used. We used an AMD Ryzen 5 4500U @ 2.3GHz with 6 cores for mean inference time measure.
Zero-shot classification
------------------------
The main advantage of such modelization is to create a zero-shot classifier allowing text classification without training. This task can be summarized by:
$$P(hypothesis=i\in\mathcal{C}|premise)=\frac{e^{P(premise=entailment\vert hypothesis=i)}}{\sum\_{j\in\mathcal{C}}e^{P(premise=entailment\vert hypothesis=j)}}$$
For this part, we use two datasets, the first one: allocine used to train the sentiment analysis models. The dataset comprises two classes: "positif" and "négatif" appreciation of movie reviews. Here we use "Ce commentaire est {}." as the hypothesis template and "positif" and "négatif" as candidate labels.
The second one: mlsum used to train the summarization models. In this aim, we aggregate sub-topics and select a few of them. We use the articles summary part to predict their topics. In this case, the hypothesis template used is "C'est un article traitant de {}." and the candidate labels are: "économie", "politique", "sport" and "science".
How to use DistilCamemBERT-NLI
------------------------------
### Optimum + ONNX
Citation
--------
|
[
"### Optimum + ONNX\n\n\nCitation\n--------"
] |
[
"TAGS\n#transformers #pytorch #tf #onnx #safetensors #camembert #text-classification #zero-shot-classification #sentence-similarity #nli #fr #dataset-flue #license-mit #autotrain_compatible #endpoints_compatible #region-us \n",
"### Optimum + ONNX\n\n\nCitation\n--------"
] |
[
80,
11
] |
[
"passage: TAGS\n#transformers #pytorch #tf #onnx #safetensors #camembert #text-classification #zero-shot-classification #sentence-similarity #nli #fr #dataset-flue #license-mit #autotrain_compatible #endpoints_compatible #region-us \n### Optimum + ONNX\n\n\nCitation\n--------"
] |
[
-0.03872346505522728,
0.07356394827365875,
-0.006555099971592426,
0.1102277934551239,
0.09257209300994873,
0.01548799593001604,
0.14747104048728943,
0.15573462843894958,
-0.01649046130478382,
-0.009968424215912819,
0.16453386843204498,
0.21624715626239777,
0.01843985915184021,
0.09001798182725906,
-0.17140860855579376,
-0.19585725665092468,
0.04109472408890724,
0.02050957828760147,
0.05221320688724518,
0.10408483445644379,
0.10585501790046692,
-0.03034108877182007,
0.04921368509531021,
-0.04360486939549446,
-0.08508820086717606,
-0.016200287267565727,
0.09331671893596649,
-0.11348019540309906,
0.10243424028158188,
0.12602798640727997,
0.04631955549120903,
0.05505954846739769,
-0.042660824954509735,
-0.2416446954011917,
0.05549684911966324,
0.011794700287282467,
-0.11034726351499557,
0.03136758506298065,
0.04678088799118996,
-0.10908886790275574,
0.0930810421705246,
-0.03249477967619896,
-0.014887230470776558,
0.059014998376369476,
-0.09269373118877411,
-0.06093514710664749,
-0.03799363598227501,
0.06465009599924088,
-0.022360431030392647,
0.009951310232281685,
-0.00011008005094481632,
0.17910951375961304,
-0.05162650719285011,
0.1520293951034546,
0.06834185868501663,
-0.2909468710422516,
-0.017831485718488693,
0.04105161502957344,
0.01596171222627163,
0.03152095153927803,
-0.0605776347219944,
0.03844017535448074,
-0.010496539995074272,
-0.01378568820655346,
0.04167339578270912,
-0.0716015174984932,
-0.139820858836174,
0.021933088079094887,
-0.0783519521355629,
-0.01726999320089817,
0.12246105819940567,
0.06065664812922478,
0.02801402285695076,
-0.13174955546855927,
-0.10976435244083405,
-0.008605930022895336,
-0.031487755477428436,
0.005656378343701363,
-0.06530085951089859,
0.020258411765098572,
0.017954021692276,
-0.03591390326619148,
-0.10085394978523254,
0.0031479590106755495,
-0.1036233976483345,
0.21173274517059326,
0.034046471118927,
0.03848922625184059,
-0.0898122787475586,
0.04305537790060043,
-0.03288713097572327,
-0.12302564084529877,
0.054937634617090225,
-0.08321503549814224,
-0.047079406678676605,
-0.0030198709573596716,
0.0062828934751451015,
-0.015724068507552147,
0.1480589658021927,
0.1644326001405716,
-0.027890503406524658,
0.016013342887163162,
-0.07208094000816345,
0.04252424091100693,
-0.008000538684427738,
0.07605947554111481,
-0.035497620701789856,
-0.023207269608974457,
0.09905772656202316,
-0.05551097169518471,
0.0022855293937027454,
-0.024011235684156418,
-0.15165890753269196,
0.0297265462577343,
0.0655255988240242,
0.061217524111270905,
0.008126171305775642,
0.09090051800012589,
-0.05786186084151268,
-0.02055056020617485,
0.11071649938821793,
-0.05679240822792053,
0.029555337503552437,
0.04641278088092804,
0.04499737545847893,
-0.0036933503579348326,
0.029592817649245262,
-0.027218617498874664,
-0.06766235828399658,
0.0050478181801736355,
-0.05234656110405922,
-0.00948341004550457,
0.021048709750175476,
-0.0947389081120491,
0.07128193229436874,
0.006361999083310366,
0.02902805432677269,
-0.18154729902744293,
-0.08988267928361893,
0.029238268733024597,
0.01607820950448513,
-0.03321154788136482,
-0.05321047455072403,
-0.029689261689782143,
-0.06880444288253784,
0.021178774535655975,
-0.014088994823396206,
-0.05355885624885559,
-0.09570102393627167,
0.12024428695440292,
-0.024097202345728874,
0.03546374291181564,
-0.0799519345164299,
0.037045661360025406,
-0.11632408201694489,
-0.04889138787984848,
-0.028009958565235138,
0.06144409254193306,
-0.0748668760061264,
0.0861128568649292,
-0.007453851401805878,
-0.07357310503721237,
-0.01877860724925995,
-0.014166900888085365,
-0.03476661816239357,
0.2360331118106842,
-0.17428134381771088,
-0.06727823615074158,
0.2023894488811493,
-0.09009454399347305,
-0.1393878161907196,
0.1418069303035736,
-0.047908708453178406,
0.031477950513362885,
0.08190172910690308,
0.18292970955371857,
0.09816201776266098,
-0.08150121569633484,
0.03564450144767761,
0.11787457019090652,
-0.16340748965740204,
-0.040792375802993774,
0.045760948210954666,
0.08943906426429749,
-0.0860142856836319,
0.037993621081113815,
0.07184167206287384,
0.05159187316894531,
-0.06331821531057358,
-0.0680219978094101,
-0.07536040246486664,
0.029966533184051514,
-0.02118607610464096,
0.04014286771416664,
-0.017830543220043182,
-0.09837696701288223,
-0.0625355988740921,
-0.017650321125984192,
-0.006049688905477524,
-0.012492942623794079,
0.025847306475043297,
-0.09189717471599579,
0.10631714016199112,
0.04121930152177811,
0.05835595354437828,
-0.08942294865846634,
-0.12587951123714447,
-0.020400164648890495,
0.03372384235262871,
0.061700645834207535,
-0.02194715104997158,
0.009230490773916245,
0.04912738874554634,
-0.039564523845911026,
-0.0024453913792967796,
0.13777127861976624,
0.059614792466163635,
-0.038168225437402725,
-0.17613856494426727,
0.0645153671503067,
-0.04900163784623146,
0.08247082680463791,
-0.200424924492836,
0.03797001391649246,
0.09205597639083862,
0.06913621723651886,
-0.00775788351893425,
0.06538742780685425,
0.012877562083303928,
0.00015584277571178973,
-0.06242385506629944,
-0.015658698976039886,
0.08365214616060257,
0.038502078503370285,
-0.1539033055305481,
0.18953128159046173,
-0.15176497399806976,
0.2289217710494995,
0.15361237525939941,
-0.18846118450164795,
-0.01989588513970375,
-0.08389975130558014,
-0.028732582926750183,
0.023111602291464806,
-0.033587418496608734,
0.06647586077451706,
0.006476001348346472,
0.003034008201211691,
0.1809205561876297,
-0.1292472779750824,
-0.048327963799238205,
0.06493975222110748,
-0.05008924379944801,
-0.0618775300681591,
0.1690872460603714,
0.06279061734676361,
-0.24920699000358582,
0.16501793265342712,
0.13646143674850464,
0.04319864511489868,
0.12267408519983292,
-0.0010784079786390066,
0.02675839513540268,
-0.030276766046881676,
0.027372123673558235,
0.012535098008811474,
0.01652444340288639,
-0.048196546733379364,
0.05665871500968933,
0.10290663689374924,
0.010586109943687916,
0.005134346429258585,
-0.13721071183681488,
-0.07235515862703323,
0.0027763526886701584,
-0.058900441974401474,
-0.0017598591512069106,
0.06414011865854263,
0.045255862176418304,
0.15413834154605865,
-0.05565708130598068,
-0.13507194817066193,
0.08153733611106873,
0.010899572633206844,
-0.10312511771917343,
0.17931537330150604,
-0.13890200853347778,
-0.2811668813228607,
-0.12390108406543732,
-0.16092319786548615,
-0.1350201517343521,
0.0006851453799754381,
0.10893598943948746,
-0.06659632921218872,
0.005794959142804146,
-0.05731799453496933,
-0.1073131188750267,
-0.0013952882727608085,
0.03550815209746361,
-0.18544921278953552,
0.06618412584066391,
-0.01662561483681202,
-0.10761524736881256,
-0.08855044841766357,
0.004767679609358311,
-0.051139384508132935,
0.15902960300445557,
-0.03319338336586952,
0.06460332870483398,
0.16240088641643524,
-0.035545434802770615,
0.03949137404561043,
-0.08717040717601776,
0.1443156749010086,
-0.06445356458425522,
0.042645107954740524,
0.12343067675828934,
-0.041575782001018524,
0.07278070598840714,
0.14025509357452393,
0.05977831780910492,
-0.0757780596613884,
0.03573402017354965,
0.010653317905962467,
-0.06943275779485703,
-0.2097439020872116,
-0.11989156156778336,
-0.07238917797803879,
0.10398411750793457,
0.025427043437957764,
0.09923738241195679,
0.21170686185359955,
0.024163786321878433,
-0.01432152558118105,
-0.07696577161550522,
0.15436017513275146,
0.09032425284385681,
0.2229391187429428,
0.03896354138851166,
0.15311911702156067,
-0.04222378134727478,
-0.09989515691995621,
0.11972808837890625,
0.04239268973469734,
0.07488862425088882,
0.06292694807052612,
0.055080264806747437,
0.10147203505039215,
0.033335231244564056,
0.08407511562108994,
0.045961782336235046,
0.039815522730350494,
-0.019468624144792557,
-0.027227863669395447,
-0.08270128816366196,
0.05064321309328079,
0.027087267488241196,
-0.017376897856593132,
-0.04981926456093788,
-0.035075243562459946,
-0.06753458827733994,
0.14787085354328156,
0.0642419382929802,
0.0655224621295929,
-0.18640559911727905,
-0.017638500779867172,
0.061857011169195175,
-0.06699203699827194,
-0.05473025515675545,
0.08401062339544296,
0.009502023458480835,
-0.08978399634361267,
0.11925279349088669,
-0.05450475588440895,
0.13367298245429993,
-0.04080602154135704,
0.03496772050857544,
-0.0028492531273514032,
-0.08990995585918427,
-0.03265029191970825,
0.09100832045078278,
-0.2952141761779785,
0.24068328738212585,
0.040351446717977524,
-0.004277812782675028,
-0.07532430440187454,
-0.03711378201842308,
0.043076395988464355,
0.17185187339782715,
0.1639234572649002,
-0.02662339247763157,
0.0029739581514149904,
-0.07675820589065552,
-0.009257690981030464,
0.011988270096480846,
0.043314121663570404,
0.07323437184095383,
0.01262037642300129,
-0.06238291785120964,
-0.02938455529510975,
0.019455865025520325,
0.07691124081611633,
-0.048456620424985886,
-0.12221457064151764,
0.0013699757400900126,
0.11669956147670746,
-0.054859887808561325,
0.008802128955721855,
-0.03716157749295235,
-0.1976632922887802,
0.18979690968990326,
-0.13371136784553528,
-0.02287551946938038,
-0.12670956552028656,
0.020104805007576942,
-0.013880325481295586,
-0.0301402285695076,
-0.02122938260436058,
-0.11830621212720871,
0.03045707568526268,
-0.07042650878429413,
-0.15712283551692963,
0.041028112173080444,
-0.09470286965370178,
-0.09587880223989487,
-0.04005131497979164,
0.1653042733669281,
-0.03144962713122368,
0.015164418146014214,
0.007516980171203613,
0.022016393020749092,
-0.0704122856259346,
-0.11823708564043045,
0.01458958350121975,
-0.04877827316522598,
0.07853175699710846,
0.012371648102998734,
-0.1463240683078766,
-0.10726068168878555,
-0.057727862149477005,
0.028900418430566788,
0.1687309890985489,
0.34762054681777954,
-0.06731684505939484,
0.09375353157520294,
0.13377949595451355,
-0.06088198721408844,
-0.23929399251937866,
-0.11774299293756485,
-0.13928835093975067,
-0.05232187733054161,
0.01694330759346485,
-0.03137696534395218,
0.07875699549913406,
0.06790974736213684,
-0.00013089367712382227,
0.09772665053606033,
-0.18803319334983826,
-0.10895182937383652,
0.12327717989683151,
0.0007092701853252947,
0.32560741901397705,
-0.12192904949188232,
-0.07616383582353592,
-0.04382766783237457,
-0.04198141023516655,
0.21584556996822357,
-0.07488859444856644,
0.07754220068454742,
0.015690268948674202,
-0.05429895967245102,
0.0273112915456295,
-0.018457552418112755,
0.1023356169462204,
0.003347666235640645,
0.09301149100065231,
-0.06354422122240067,
-0.06482801586389542,
0.05237216129899025,
-0.01741459220647812,
0.022015659138560295,
-0.0944424495100975,
0.02869223617017269,
-0.10516028106212616,
-0.03808441385626793,
-0.032802700996398926,
0.12263990938663483,
0.013074818067252636,
-0.019952259957790375,
-0.050560738891363144,
0.0234876349568367,
0.0581006184220314,
-0.03190957009792328,
0.2258349508047104,
-0.09058233350515366,
0.09797859191894531,
0.15804335474967957,
0.0572340302169323,
-0.11322488635778427,
0.04659298434853554,
-0.049385834485292435,
-0.08243434131145477,
0.031938336789608,
-0.04338362440466881,
0.07062002271413803,
0.0901591032743454,
-0.022781595587730408,
0.10171577334403992,
0.09215565770864487,
0.05705422908067703,
-0.06350477784872055,
0.10744412243366241,
-0.2083950638771057,
-0.03195788338780403,
-0.057500895112752914,
-0.10139445960521698,
0.11500977724790573,
0.03408915176987648,
0.1499256193637848,
-0.024306515231728554,
0.004432183690369129,
0.015481292270123959,
0.03956132382154465,
-0.047383666038513184,
0.04075660556554794,
0.0855913832783699,
0.010027731768786907,
-0.13609719276428223,
0.06330006569623947,
0.09770441800355911,
-0.08258692920207977,
-0.026440707966685295,
0.08904401957988739,
-0.12477045506238937,
-0.12317442893981934,
0.016261937096714973,
0.0840827152132988,
-0.039897169917821884,
-0.09228244423866272,
-0.07969530671834946,
-0.06502044945955276,
0.06852424144744873,
0.26989561319351196,
0.08572282642126083,
0.04875853285193443,
-0.017211515456438065,
-0.04991266503930092,
-0.08832316845655441,
0.14889389276504517,
-0.052399881184101105,
-0.015414350666105747,
-0.10545658320188522,
0.023280499503016472,
0.005015005357563496,
0.11367093026638031,
-0.08170133084058762,
-0.017408814281225204,
-0.152882918715477,
-0.00939862709492445,
0.012751009315252304,
0.001470279647037387,
-0.08639329671859741,
0.023881733417510986,
0.008676445111632347,
-0.05169208347797394,
-0.04977649450302124,
-0.053141333162784576,
-0.030213795602321625,
0.027539152652025223,
0.010548410937190056,
0.10778190940618515,
-0.1278025358915329,
-0.09627041965723038,
0.030338769778609276,
-0.04168500751256943,
0.11727443337440491,
0.07649845629930496,
-0.12978434562683105,
0.025520585477352142,
-0.17304004728794098,
-0.015707679092884064,
0.08395680785179138,
0.04718615487217903,
0.019674798473715782,
-0.07152639329433441,
0.10929357260465622,
0.08592010289430618,
-0.03864579275250435,
0.06354434043169022,
0.0245507825165987,
-0.11165916174650192,
-0.014643784612417221,
-0.039912059903144836,
-0.11878576129674911,
-0.02808268368244171,
-0.02976887859404087,
0.07444087415933609,
-0.014759995974600315,
0.18393684923648834,
-0.08291196078062057,
0.03963705524802208,
-0.12079258263111115,
-0.0120690343901515,
-0.011677442118525505,
-0.20119446516036987,
-0.14196878671646118,
-0.045205894857645035,
0.032148558646440506,
0.015377785079181194,
0.2604655623435974,
0.05113336816430092,
-0.053311750292778015,
0.08666606992483139,
0.0420161709189415,
-0.027495773509144783,
0.0254321601241827,
0.203606516122818,
0.053015001118183136,
-0.027621520683169365,
-0.08117140084505081,
0.02102748118340969,
0.023469699546694756,
-0.050840217620134354,
0.1057649776339531,
0.1580747663974762,
-0.040708161890506744,
0.03170746937394142,
0.030440205708146095,
-0.0174641665071249,
-0.002041627885773778,
-0.02320246398448944,
-0.08836376667022705,
0.07976921647787094,
-0.03550383448600769,
0.06153493747115135,
0.1704053431749344,
-0.04551968351006508,
0.08431686460971832,
0.014223134145140648,
-0.05502175912261009,
-0.1754196584224701,
-0.18943844735622406,
-0.13714481890201569,
-0.09417374432086945,
-0.003087677527219057,
-0.09433342516422272,
0.004260097164660692,
0.030430590733885765,
0.06118663027882576,
-0.072789765894413,
0.03921810910105705,
0.002886074362322688,
-0.012045684270560741,
0.09169615805149078,
-0.01038587000221014,
0.024863293394446373,
-0.051326777786016464,
-0.029815783724188805,
-0.03162205219268799,
-0.05854877829551697,
-0.029777847230434418,
0.048619531095027924,
0.07780297100543976,
0.00840025208890438,
-0.1711915284395218,
-0.08225026726722717,
-0.007086540572345257,
0.009646277874708176,
-0.019839873537421227,
0.16784460842609406,
0.040279634296894073,
-0.01965710148215294,
0.08758831769227982,
0.19202904403209686,
-0.0009184633381664753,
-0.14842858910560608,
-0.09284134954214096,
0.26649534702301025,
0.08959117531776428,
0.09311450272798538,
0.008832981809973717,
-0.015924997627735138,
-0.027862636372447014,
0.1743362694978714,
0.2238600105047226,
-0.05051228031516075,
0.028966955840587616,
0.06792961806058884,
0.019096488133072853,
0.1216898262500763,
0.054243091493844986,
0.014913024380803108,
0.1735488474369049,
-0.01846643164753914,
-0.05664248391985893,
-0.06893738359212875,
-0.004506340250372887,
-0.07367748767137527,
0.10355307161808014,
0.06734861433506012,
-0.05154170095920563,
-0.007190368603914976,
0.13026635348796844,
-0.09875573962926865,
0.02126501500606537,
0.04866473004221916,
-0.13319645822048187,
-0.07264242321252823,
-0.00202677259221673,
0.011125611141324043,
-0.031647250056266785,
0.014135110192000866,
-0.0309734046459198,
-0.042269837111234665,
0.0033828190062195063,
0.001749762217514217,
-0.11264445632696152,
0.000046727844164706767,
0.020230261608958244,
-0.016013754531741142,
0.13025157153606415,
-0.029202817007899284,
0.12890005111694336,
0.11550119519233704,
-0.0018181954510509968,
-0.0348401740193367,
0.17336058616638184,
0.006654477212578058,
-0.05774219334125519,
0.011489970609545708,
-0.05203273147344589,
0.018126171082258224,
-0.060896825045347214,
0.0820627510547638,
-0.12724517285823822,
0.04612944647669792,
-0.0879795178771019,
-0.13084664940834045,
-0.0432969331741333,
0.08439901471138,
-0.04108007252216339,
0.040610019117593765,
0.06664221733808517,
-0.02176860347390175,
0.021968133747577667,
-0.10153786838054657,
0.026482868939638138,
0.05608486384153366,
-0.009969222359359264,
0.005967149510979652,
-0.1537027209997177,
0.009856176562607288,
0.00920806173235178,
0.09763772785663605,
-0.20311301946640015,
-0.0491974763572216,
-0.03290479630231857,
-0.0005080740666016936,
-0.1370421200990677,
0.10321515798568726,
0.06627725064754486,
0.0072199697606265545,
-0.0333472341299057,
-0.11131549626588821,
0.015770725905895233,
0.0655626580119133,
-0.09097936749458313,
-0.04652005061507225
] |
null | null |
transformers
|
DistilCamemBERT-QA
==================
We present DistilCamemBERT-QA, which is [DistilCamemBERT](https://huggingface.co/cmarkea/distilcamembert-base) fine-tuned for the Question-Answering task for the french language. This model is built using two datasets, FQuAD v1.0 and Piaf, composed of contexts and questions with their answers inside the context.
This modelization is close to [etalab-ia/camembert-base-squadFR-fquad-piaf](https://huggingface.co/etalab-ia/camembert-base-squadFR-fquad-piaf) based on [CamemBERT](https://huggingface.co/camembert-base) model. The problem of the modelizations based on CamemBERT is at the scaling moment, for the production phase, for example. Indeed, inference cost can be a technological issue, especially in cross-encoding like this task. To counteract this effect, we propose this modelization which divides the inference time by 2 with the same consumption power, thanks to DistilCamemBERT.
Dataset
-------
The dataset comprises FQuAD v1.0 and Piaf with 24'566 questions and answers for the training set and 3'188 for the evaluation set.
Evaluation results and benchmark
--------------------------------
We compare [DistilCamemBERT-QA](https://huggingface.co/cmarkea/distilcamembert-base-qa) to two other modelizations working on the french language. The first one [etalab-ia/camembert-base-squadFR-fquad-piaf](https://huggingface.co/etalab-ia/camembert-base-squadFR-fquad-piaf) is based on well named [CamemBERT](https://huggingface.co/camembert-base), the french RoBERTa model and the second one [fmikaelian/flaubert-base-uncased-squad](https://huggingface.co/fmikaelian/flaubert-base-uncased-squad) is based on [FlauBERT](https://huggingface.co/flaubert/flaubert_base_uncased) another french model based on BERT architecture this time.
For our benchmarks, we do a word-to-word comparison between words that are matching between the predicted answer and the ground truth. We also use f1-score, which measures the intersection quality between predicted responses and ground truth. Finally, we use inclusion score, which measures if the ground truth answer is included in the predicted answer. An **AMD Ryzen 5 4500U @ 2.3GHz with 6 cores** was used for the mean inference time measure.
| **model** | **time (ms)** | **exact match (%)** | **f1-score (%)** | **inclusion-score (%)** |
| :--------------: | :-----------: | :--------------: | :------------: | :------------: |
| [cmarkea/distilcamembert-base-qa](https://huggingface.co/cmarkea/distilcamembert-base-qa) | **216.96** | 25.66 | 62.65 | 59.82 |
| [etalab-ia/camembert-base-squadFR-fquad-piaf](https://huggingface.co/etalab-ia/camembert-base-squadFR-fquad-piaf) | 432.17 | **59.76** | **79.57** | **69.23** |
| [fmikaelian/flaubert-base-uncased-squad](https://huggingface.co/fmikaelian/flaubert-base-uncased-squad) | 875.84 | 0.22 | 5.21 | 3.68 |
Do not take into account the results of the FlauBERT model. The modeling seems to be a problem, as the results seem very low.
How to use DistilCamemBERT-QA
------------------------------
```python
from transformers import pipeline
qa_engine = pipeline(
"question-answering",
model="cmarkea/distilcamembert-base-qa",
tokenizer="cmarkea/distilcamembert-base-qa"
)
result = qa_engine(
context="David Fincher, né le 28 août 1962 à Denver (Colorado), "
"est un réalisateur et producteur américain. Il est principalement "
"connu pour avoir réalisé les films Seven, Fight Club, L'Étrange "
"Histoire de Benjamin Button, The Social Network et Gone Girl qui "
"lui ont valu diverses récompenses et nominations aux Oscars du "
"cinéma ou aux Golden Globes. Réputé pour son perfectionnisme, il "
"peut tourner un très grand nombre de prises de ses plans et "
"séquences afin d'obtenir le rendu visuel qu'il désire. Il a "
"également développé et produit les séries télévisées House of "
"Cards (pour laquelle il remporte l'Emmy Award de la meilleure "
"réalisation pour une série dramatique en 2013) et Mindhunter, "
"diffusées sur Netflix.",
question="Quel est le métier de David Fincher ?"
)
result
{'score': 0.7981914281845093,
'start': 61,
'end': 98,
'answer': ' réalisateur et producteur américain.'}
```
### Optimum + ONNX
```python
from optimum.onnxruntime import ORTModelForQuestionAnswering
from transformers import AutoTokenizer, pipeline
HUB_MODEL = "cmarkea/distilcamembert-base-qa"
tokenizer = AutoTokenizer.from_pretrained(HUB_MODEL)
model = ORTModelForQuestionAnswering.from_pretrained(HUB_MODEL)
onnx_qa = pipeline("question-answering", model=model, tokenizer=tokenizer)
# Quantized onnx model
quantized_model = ORTModelForQuestionAnswering.from_pretrained(
HUB_MODEL, file_name="model_quantized.onnx"
)
```
Citation
--------
```bibtex
@inproceedings{delestre:hal-03674695,
TITLE = {{DistilCamemBERT : une distillation du mod{\`e}le fran{\c c}ais CamemBERT}},
AUTHOR = {Delestre, Cyrile and Amar, Abibatou},
URL = {https://hal.archives-ouvertes.fr/hal-03674695},
BOOKTITLE = {{CAp (Conf{\'e}rence sur l'Apprentissage automatique)}},
ADDRESS = {Vannes, France},
YEAR = {2022},
MONTH = Jul,
KEYWORDS = {NLP ; Transformers ; CamemBERT ; Distillation},
PDF = {https://hal.archives-ouvertes.fr/hal-03674695/file/cap2022.pdf},
HAL_ID = {hal-03674695},
HAL_VERSION = {v1},
}
```
|
{"language": "fr", "license": "cc-by-nc-sa-3.0", "datasets": ["fquad", "piaf"], "widget": [{"text": "Quand et o\u00f9 est sorti Toy Story ?", "context": "Pixar Animation Studios, ou simplement Pixar dans le langage courant, est une soci\u00e9t\u00e9 am\u00e9ricaine de production de films en images tridimensionnelles de synth\u00e8se. Elle a acquis sa notori\u00e9t\u00e9 gr\u00e2ce \u00e0 Toy Story, premier long m\u00e9trage de ce type, sorti aux \u00c9tats-Unis en 1995. \u00c0 ce jour, le studio d'animation a remport\u00e9 dix-neuf Oscars, quatre Golden Globes et trois Grammy Awards ainsi que de nombreuses autres r\u00e9compenses. Le studio travaille avec PhotoRealistic RenderMan, sa propre version de l'interface de programmation de rendu RenderMan utilis\u00e9e pour cr\u00e9er des images de haute qualit\u00e9. Ses studios de production et son si\u00e8ge social se trouvent au Pixar Campus situ\u00e9 \u00e0 Emeryville pr\u00e8s de San Francisco en Californie."}, {"text": "Quel est le premier long m\u00e9trage du studio ?", "context": "Pixar Animation Studios, ou simplement Pixar dans le langage courant, est une soci\u00e9t\u00e9 am\u00e9ricaine de production de films en images tridimensionnelles de synth\u00e8se. Elle a acquis sa notori\u00e9t\u00e9 gr\u00e2ce \u00e0 Toy Story, premier long m\u00e9trage de ce type, sorti aux \u00c9tats-Unis en 1995. \u00c0 ce jour, le studio d'animation a remport\u00e9 dix-neuf Oscars, quatre Golden Globes et trois Grammy Awards ainsi que de nombreuses autres r\u00e9compenses. Le studio travaille avec PhotoRealistic RenderMan, sa propre version de l'interface de programmation de rendu RenderMan utilis\u00e9e pour cr\u00e9er des images de haute qualit\u00e9. Ses studios de production et son si\u00e8ge social se trouvent au Pixar Campus situ\u00e9 \u00e0 Emeryville pr\u00e8s de San Francisco en Californie."}]}
|
question-answering
|
cmarkea/distilcamembert-base-qa
|
[
"transformers",
"pytorch",
"tf",
"onnx",
"safetensors",
"camembert",
"question-answering",
"fr",
"dataset:fquad",
"dataset:piaf",
"license:cc-by-nc-sa-3.0",
"endpoints_compatible",
"region:us"
] |
2022-03-02T23:29:05+00:00
|
[] |
[
"fr"
] |
TAGS
#transformers #pytorch #tf #onnx #safetensors #camembert #question-answering #fr #dataset-fquad #dataset-piaf #license-cc-by-nc-sa-3.0 #endpoints_compatible #region-us
|
DistilCamemBERT-QA
==================
We present DistilCamemBERT-QA, which is DistilCamemBERT fine-tuned for the Question-Answering task for the french language. This model is built using two datasets, FQuAD v1.0 and Piaf, composed of contexts and questions with their answers inside the context.
This modelization is close to etalab-ia/camembert-base-squadFR-fquad-piaf based on CamemBERT model. The problem of the modelizations based on CamemBERT is at the scaling moment, for the production phase, for example. Indeed, inference cost can be a technological issue, especially in cross-encoding like this task. To counteract this effect, we propose this modelization which divides the inference time by 2 with the same consumption power, thanks to DistilCamemBERT.
Dataset
-------
The dataset comprises FQuAD v1.0 and Piaf with 24'566 questions and answers for the training set and 3'188 for the evaluation set.
Evaluation results and benchmark
--------------------------------
We compare DistilCamemBERT-QA to two other modelizations working on the french language. The first one etalab-ia/camembert-base-squadFR-fquad-piaf is based on well named CamemBERT, the french RoBERTa model and the second one fmikaelian/flaubert-base-uncased-squad is based on FlauBERT another french model based on BERT architecture this time.
For our benchmarks, we do a word-to-word comparison between words that are matching between the predicted answer and the ground truth. We also use f1-score, which measures the intersection quality between predicted responses and ground truth. Finally, we use inclusion score, which measures if the ground truth answer is included in the predicted answer. An AMD Ryzen 5 4500U @ 2.3GHz with 6 cores was used for the mean inference time measure.
Do not take into account the results of the FlauBERT model. The modeling seems to be a problem, as the results seem very low.
How to use DistilCamemBERT-QA
-----------------------------
### Optimum + ONNX
Citation
--------
|
[
"### Optimum + ONNX\n\n\nCitation\n--------"
] |
[
"TAGS\n#transformers #pytorch #tf #onnx #safetensors #camembert #question-answering #fr #dataset-fquad #dataset-piaf #license-cc-by-nc-sa-3.0 #endpoints_compatible #region-us \n",
"### Optimum + ONNX\n\n\nCitation\n--------"
] |
[
70,
11
] |
[
"passage: TAGS\n#transformers #pytorch #tf #onnx #safetensors #camembert #question-answering #fr #dataset-fquad #dataset-piaf #license-cc-by-nc-sa-3.0 #endpoints_compatible #region-us \n### Optimum + ONNX\n\n\nCitation\n--------"
] |
[
-0.10113947093486786,
0.05047209560871124,
-0.005571247544139624,
0.09772150218486786,
0.05418441817164421,
0.021212302148342133,
0.09200923144817352,
0.11401664465665817,
0.008891558274626732,
0.01063886471092701,
0.19360436499118805,
0.212452694773674,
0.028522828593850136,
0.058832887560129166,
-0.1737382560968399,
-0.09897631406784058,
0.027228882536292076,
0.0339825302362442,
-0.012411811389029026,
0.09911445528268814,
0.09208192676305771,
-0.058384571224451065,
0.055681873112916946,
-0.049785103648900986,
-0.08759869635105133,
-0.02781621180474758,
0.07741260528564453,
-0.08303093165159225,
0.10622583329677582,
0.1324479728937149,
0.06731711328029633,
0.07865983992815018,
-0.027860281988978386,
-0.19392861425876617,
0.05442095920443535,
-0.015093320980668068,
-0.1303856521844864,
0.05900515988469124,
0.030205348506569862,
-0.007688295096158981,
0.07440482825040817,
0.013437265530228615,
-0.04409829527139664,
0.058684635907411575,
-0.11899483948945999,
-0.12979428470134735,
-0.10461092740297318,
0.07840001583099365,
-0.029325272887945175,
0.022598113864660263,
0.03576918691396713,
0.2386292666196823,
-0.07815168797969818,
0.10711457580327988,
0.0342995785176754,
-0.29572948813438416,
-0.01455957442522049,
0.07605136930942535,
0.05221789330244064,
0.042441852390766144,
-0.029311062768101692,
0.02332836017012596,
-0.003589514410123229,
0.004026712384074926,
0.06389128416776657,
-0.10676627606153488,
-0.1639130413532257,
0.04766978695988655,
-0.08714985847473145,
-0.057259462773799896,
0.22600962221622467,
0.1059974879026413,
0.022262126207351685,
-0.06139026954770088,
-0.10604332387447357,
0.0603041872382164,
0.007766304071992636,
-0.006783730816096067,
-0.04589197412133217,
0.0060423556715250015,
0.031175753101706505,
-0.06596530973911285,
-0.1191982850432396,
-0.04395551607012749,
-0.11076710373163223,
0.18058650195598602,
-0.004167886916548014,
0.10008716583251953,
-0.06812021881341934,
0.05269060656428337,
-0.05928949639201164,
-0.11279979348182678,
0.02224283292889595,
-0.11077732592821121,
-0.06062648817896843,
-0.02380869723856449,
0.04950375109910965,
0.05797795578837395,
0.09864219278097153,
0.1747538298368454,
-0.0996914952993393,
-0.0490683875977993,
-0.03307004272937775,
0.03364825248718262,
0.006821485236287117,
0.029443278908729553,
-0.1274205893278122,
0.05144175514578819,
0.10830768942832947,
-0.0463881678879261,
-0.006134709808975458,
0.002811316167935729,
-0.09039006382226944,
0.0025172505993396044,
-0.04197920113801956,
0.06202409416437149,
0.020187536254525185,
0.01896025240421295,
-0.06315010786056519,
-0.0299435593187809,
0.23323319852352142,
-0.0070128412917256355,
0.0025737567339092493,
0.05653751641511917,
0.03399188444018364,
-0.012971928343176842,
0.054578524082899094,
-0.007318544201552868,
-0.009784013964235783,
0.0038166914600878954,
-0.06725925952196121,
-0.031554464250802994,
0.04967401176691055,
-0.051028408110141754,
0.10082677006721497,
0.04058777168393135,
0.0739123672246933,
-0.1774989366531372,
-0.10428772121667862,
0.04128614068031311,
0.016228320077061653,
-0.020749833434820175,
-0.06374402344226837,
0.07431317120790482,
-0.08917795866727829,
-0.03692995384335518,
-0.018119480460882187,
0.019840234890580177,
-0.0924173966050148,
0.11795680969953537,
0.014176000840961933,
-0.008289355784654617,
-0.12021954357624054,
0.025263817980885506,
-0.09022221714258194,
-0.028658922761678696,
-0.05852605774998665,
0.02299918793141842,
-0.07460286468267441,
0.07769978791475296,
-0.04378596320748329,
-0.0849333330988884,
-0.09383154660463333,
-0.05468851700425148,
0.014756445772945881,
0.23331792652606964,
-0.13851968944072723,
-0.017097849398851395,
0.17931686341762543,
-0.08232605457305908,
-0.24070627987384796,
0.10892526060342789,
-0.032080911099910736,
0.0382150337100029,
0.04075072705745697,
0.06475211679935455,
0.08155722916126251,
-0.1772492378950119,
-0.0330551378428936,
0.12009334564208984,
-0.16092157363891602,
-0.1463415026664734,
0.10155147314071655,
0.04312363266944885,
-0.072575643658638,
0.009462432004511356,
-0.013384843245148659,
0.06780398637056351,
-0.07769700884819031,
-0.07484880834817886,
-0.10367759317159653,
-0.0064324126578867435,
-0.10698733478784561,
0.05844917893409729,
-0.02352691814303398,
-0.04145950824022293,
-0.017620032653212547,
-0.06908191740512848,
-0.013443630188703537,
0.010451802052557468,
0.013513986021280289,
-0.08650694787502289,
0.13887901604175568,
-0.07982300221920013,
0.0443309061229229,
-0.0903313159942627,
-0.12279032170772552,
-0.012436295859515667,
0.0036344837862998247,
0.010721128433942795,
-0.013719983398914337,
0.02107873186469078,
0.011602913960814476,
-0.007127067074179649,
0.02079669013619423,
0.0676337331533432,
0.0468609556555748,
-0.0218591820448637,
-0.1358300894498825,
0.03373943641781807,
-0.05229618400335312,
0.03792307898402214,
-0.20882770419120789,
0.01759807951748371,
0.12483760714530945,
0.06515134871006012,
-0.017015239223837852,
0.05463624745607376,
0.032942868769168854,
-0.017116129398345947,
-0.013983058743178844,
-0.0014638707507401705,
0.057253651320934296,
0.06412855535745621,
-0.1496337503194809,
0.18938198685646057,
-0.05942574143409729,
0.27602818608283997,
0.12626449763774872,
-0.1808740645647049,
0.0022811959497630596,
-0.08291243016719818,
-0.049102071672677994,
0.012667114846408367,
-0.05076446384191513,
0.03884214907884598,
-0.0025739057455211878,
0.0199955552816391,
0.12005390971899033,
-0.12728488445281982,
-0.033437591046094894,
0.09965767711400986,
-0.0331459604203701,
-0.04300069808959961,
0.13171443343162537,
0.16997168958187103,
-0.22295185923576355,
0.1325230598449707,
0.17489321529865265,
0.07380182296037674,
0.044363126158714294,
-0.05667725205421448,
-0.03809785097837448,
-0.08021571487188339,
0.052881959825754166,
0.002254260703921318,
0.1245642602443695,
-0.0344407856464386,
0.102549709379673,
0.11690419167280197,
-0.029389338567852974,
0.007639768533408642,
-0.1487840861082077,
-0.09444451332092285,
0.000666651118081063,
-0.06777571141719818,
-0.09616217017173767,
0.07140304893255234,
0.028864257037639618,
0.122896209359169,
-0.0678335428237915,
-0.07962227612733841,
0.0923905223608017,
0.0150739261880517,
-0.11298428475856781,
0.1855105608701706,
-0.09612905979156494,
-0.17295733094215393,
-0.10172615945339203,
-0.07915102690458298,
-0.07204177230596542,
-0.027057934552431107,
0.0798116996884346,
0.02483121119439602,
-0.014717361889779568,
-0.024603161960840225,
-0.1138853058218956,
-0.007838021963834763,
0.008176425471901894,
-0.1264815330505371,
0.04232148826122284,
-0.010227859020233154,
-0.09534807503223419,
-0.056355901062488556,
0.002034357748925686,
-0.05538422614336014,
0.13414998352527618,
-0.007272722665220499,
0.10227008163928986,
0.099698007106781,
0.005646273493766785,
0.02020067162811756,
-0.05587160587310791,
0.19704096019268036,
-0.06280171126127243,
0.037810150533914566,
0.12598975002765656,
-0.022879060357809067,
0.06032635644078255,
0.15560878813266754,
0.10093748569488525,
-0.0912448838353157,
-0.00012259124196134508,
-0.03996368870139122,
-0.08813341706991196,
-0.24084024131298065,
-0.08022598922252655,
-0.10816584527492523,
0.051726751029491425,
-0.005069108214229345,
0.07299526035785675,
0.1373082995414734,
0.07488007098436356,
-0.005234723445028067,
-0.09722878783941269,
0.09528381377458572,
0.01980103924870491,
0.2005542516708374,
0.03941499814391136,
0.10331796854734421,
-0.07322435081005096,
-0.03728849068284035,
0.1314282864332199,
0.11564988642930984,
0.10374747216701508,
0.05752125382423401,
0.08778532594442368,
0.12243124842643738,
0.10707245022058487,
0.06706447899341583,
0.08383183181285858,
0.05550583824515343,
-0.043573230504989624,
0.007627659477293491,
-0.06895552575588226,
0.041718821972608566,
0.020069370046257973,
0.042590051889419556,
-0.0369780994951725,
0.0035794549621641636,
-0.11035941541194916,
0.1127220168709755,
0.11027514189481735,
0.029908955097198486,
-0.18053346872329712,
-0.023043276742100716,
0.026325596496462822,
-0.019007831811904907,
-0.025430258363485336,
0.044708553701639175,
0.060183968394994736,
-0.09407850354909897,
0.06259007006883621,
-0.07747413218021393,
0.11358889192342758,
0.014180499128997326,
-0.0005584631580859423,
0.04582377150654793,
-0.11319933831691742,
-0.023780934512615204,
0.060410965234041214,
-0.26982229948043823,
0.279401570558548,
0.05397328734397888,
0.015663176774978638,
-0.0730629488825798,
-0.015751251950860023,
-0.009717650711536407,
0.16521863639354706,
0.20543870329856873,
-0.011974475346505642,
0.021260449662804604,
-0.034850455820560455,
-0.02271227352321148,
0.054129455238580704,
-0.033911943435668945,
0.053600143641233444,
-0.0079897940158844,
-0.002623056061565876,
-0.005923199001699686,
0.017546478658914566,
0.10508789867162704,
-0.04753937944769859,
-0.08639883995056152,
0.005005954299122095,
0.08722840994596481,
-0.1029692143201828,
-0.005214041098952293,
-0.004668214358389378,
-0.19078710675239563,
0.09913986176252365,
-0.15918461978435516,
-0.029072634875774384,
-0.12125323712825775,
-0.007200631778687239,
0.0870710164308548,
-0.04461031034588814,
-0.0022254199720919132,
-0.10681527107954025,
-0.05103553459048271,
-0.04638822376728058,
-0.10921552032232285,
0.03422577679157257,
-0.1309853494167328,
-0.06813057512044907,
-0.01538808923214674,
0.17202788591384888,
-0.03415315970778465,
0.006727381143718958,
-0.008799679577350616,
0.01932557113468647,
-0.08125200122594833,
-0.14704187214374542,
0.028329892084002495,
-0.09316324442625046,
0.14052505791187286,
0.015391106717288494,
-0.09940420836210251,
-0.04724780097603798,
0.007340656127780676,
0.028918882831931114,
0.10238488018512726,
0.3548707365989685,
-0.08068432658910751,
0.036164674907922745,
0.18325121700763702,
0.009429465048015118,
-0.19402633607387543,
-0.09248249977827072,
-0.12908758223056793,
-0.04415910318493843,
0.045693669468164444,
-0.044974058866500854,
0.09643898159265518,
0.12583079934120178,
-0.02763391099870205,
0.13163721561431885,
-0.18478572368621826,
-0.06629594415426254,
0.08482857793569565,
0.0029600830748677254,
0.28490445017814636,
-0.12782667577266693,
-0.08092684298753738,
0.0326920710504055,
-0.1756991446018219,
0.20258574187755585,
-0.06276143342256546,
0.03334100916981697,
0.016604069620370865,
-0.0633254125714302,
-0.004197004251182079,
-0.05759580805897713,
0.14132502675056458,
0.000623823085334152,
0.05362867936491966,
-0.018872404471039772,
-0.016912616789340973,
0.11282335221767426,
0.010091368108987808,
0.03719637170433998,
-0.0209442600607872,
0.05408971384167671,
-0.15554411709308624,
-0.022292468696832657,
-0.06128622591495514,
0.14262773096561432,
-0.0005684621864929795,
-0.012918712571263313,
-0.020261086523532867,
-0.009787578135728836,
0.029724163934588432,
-0.037681981921195984,
0.16607391834259033,
-0.05549206957221031,
0.037642281502485275,
0.150274395942688,
0.06870304048061371,
-0.09159635752439499,
-0.02840152010321617,
-0.04130146652460098,
-0.0791325494647026,
0.04731452092528343,
-0.04169103503227234,
0.058204133063554764,
0.12058690935373306,
0.011933470144867897,
0.04801083356142044,
0.058323681354522705,
0.026925697922706604,
-0.04804025590419769,
0.07930706441402435,
-0.2094411551952362,
-0.041569627821445465,
-0.03304540365934372,
-0.12259206175804138,
0.05725465714931488,
0.04158089682459831,
0.11506998538970947,
-0.00378136383369565,
-0.003860046621412039,
-0.002016091253608465,
0.031652748584747314,
-0.08407721668481827,
0.061785999685525894,
0.11156009137630463,
-0.0011793415760621428,
-0.13247060775756836,
0.058095335960388184,
0.05974771827459335,
-0.0938938558101654,
-0.09049492329359055,
0.018591009080410004,
-0.10975376516580582,
-0.11834148317575455,
-0.03636928275227547,
-0.017780819907784462,
-0.0929008349776268,
-0.08645249158143997,
-0.04272231087088585,
-0.031503286212682724,
0.0528031587600708,
0.276223361492157,
0.06679895520210266,
0.038561951369047165,
0.025967054069042206,
-0.0653790831565857,
-0.10324445366859436,
0.11796995252370834,
-0.09639884531497955,
-0.02882983349263668,
-0.09101276099681854,
-0.07193561643362045,
-0.01434206124395132,
0.13018430769443512,
-0.0659089908003807,
0.048067737370729446,
-0.1308203935623169,
-0.006745031103491783,
0.016825292259454727,
-0.005139726679772139,
-0.09728524833917618,
0.00029549087048508227,
-0.004430584609508514,
-0.08627182990312576,
-0.0735785961151123,
-0.0074910386465489864,
-0.03684382885694504,
0.0611550509929657,
0.050282541662454605,
0.09928829222917557,
-0.13773071765899658,
-0.10723672807216644,
0.042262911796569824,
-0.04280729964375496,
0.12386825680732727,
0.12553970515727997,
-0.10004567354917526,
0.007265530526638031,
-0.15733614563941956,
-0.0073967245407402515,
0.07590021193027496,
0.05937108397483826,
0.0286597590893507,
-0.08975089341402054,
0.10677880793809891,
0.10950995981693268,
-0.05674739181995392,
0.03749482333660126,
-0.026579564437270164,
-0.10111254453659058,
-0.04595836624503136,
-0.023099688813090324,
-0.06895289570093155,
-0.010031645186245441,
-0.06257794052362442,
0.11264924705028534,
0.04334799945354462,
0.14368867874145508,
-0.009201920591294765,
0.04630988463759422,
-0.1230449452996254,
-0.031013553962111473,
-0.03310469910502434,
-0.15745410323143005,
-0.12240472435951233,
-0.0011538052931427956,
0.04071614891290665,
0.01756315864622593,
0.32781532406806946,
-0.03949292004108429,
-0.03244837373495102,
0.07666990906000137,
0.035963211208581924,
0.005842659622430801,
0.010309271514415741,
0.24923387169837952,
0.02683718129992485,
-0.008803315460681915,
-0.056469228118658066,
0.056486062705516815,
-0.030696621164679527,
-0.09641657769680023,
0.10320951044559479,
0.19176696240901947,
-0.00533010670915246,
-0.006428477820008993,
0.08974072337150574,
-0.061461448669433594,
0.0889260396361351,
-0.07453103363513947,
-0.08292994648218155,
0.029101522639393806,
-0.03870091587305069,
0.03633467108011246,
0.12878458201885223,
-0.04725389555096626,
0.04620843753218651,
0.023873571306467056,
-0.04420793429017067,
-0.15439830720424652,
-0.11622737348079681,
-0.09948918968439102,
-0.07836488634347916,
0.014595730230212212,
-0.09530295431613922,
-0.027569450438022614,
0.09356926381587982,
0.02206151932477951,
-0.06257141381502151,
0.05894962698221207,
0.04273610562086105,
0.01709120348095894,
0.05358564108610153,
0.03354156017303467,
0.02435058355331421,
-0.05827325955033302,
0.003787481691688299,
-0.005037958733737469,
-0.08448765426874161,
-0.022539962083101273,
0.012873074971139431,
0.027742253616452217,
0.020052913576364517,
-0.1268063485622406,
-0.05517485737800598,
-0.06408248096704483,
0.04004054516553879,
-0.03717546537518501,
0.19976308941841125,
0.03391828387975693,
0.023926248773932457,
0.07363291084766388,
0.15728072822093964,
-0.0077399639412760735,
-0.08067217469215393,
-0.15686634182929993,
0.1567685306072235,
0.03606678918004036,
0.06545101851224899,
0.04690780118107796,
-0.019901463761925697,
0.03104526363313198,
0.15036725997924805,
0.1613093912601471,
-0.0815301463007927,
0.04389391839504242,
0.08450090140104294,
0.021493224427103996,
0.08528221398591995,
0.016790064051747322,
0.029361220076680183,
0.18523001670837402,
-0.037435151636600494,
-0.10674842447042465,
-0.07530619204044342,
0.023990076035261154,
-0.013723179697990417,
0.04476212337613106,
0.036900073289871216,
-0.07547634094953537,
0.01879984699189663,
0.14978386461734772,
-0.03644226863980293,
-0.05754080414772034,
0.10468956083059311,
-0.09425520151853561,
-0.02916570007801056,
-0.023540176451206207,
-0.08550786972045898,
-0.02713463082909584,
0.0032321333419531584,
-0.08937875926494598,
-0.056287940591573715,
0.06923636049032211,
0.010841142386198044,
-0.13239748775959015,
-0.009599760174751282,
0.0468277744948864,
0.00208676909096539,
0.1683725267648697,
-0.019182778894901276,
0.17881156504154205,
0.09905388951301575,
-0.010611475445330143,
-0.09263180941343307,
0.15242111682891846,
0.04499892145395279,
-0.11113808304071426,
-0.05113348737359047,
-0.09262987226247787,
0.009042805060744286,
-0.053298771381378174,
0.03772057592868805,
-0.1426401287317276,
0.046229686588048935,
-0.03473598137497902,
-0.06745284795761108,
-0.061750445514917374,
0.06536849588155746,
-0.0539955198764801,
0.06280827522277832,
0.03022449091076851,
-0.030806168913841248,
0.028212668374180794,
-0.08202597498893738,
0.06689649075269699,
0.1182338297367096,
0.06267975270748138,
0.0035038425121456385,
-0.13420039415359497,
0.04421147704124451,
-0.023977968841791153,
0.0798354521393776,
-0.09579434245824814,
-0.045778997242450714,
0.004106743726879358,
-0.02100774645805359,
-0.08575686067342758,
0.04313449189066887,
0.04820585995912552,
0.028900539502501488,
-0.009689192287623882,
-0.014222669415175915,
-0.03433915972709656,
0.04231158643960953,
-0.10279562324285507,
-0.038244087249040604
] |
null | null |
transformers
|
DistilCamemBERT-Sentiment
=========================
We present DistilCamemBERT-Sentiment, which is [DistilCamemBERT](https://huggingface.co/cmarkea/distilcamembert-base) fine-tuned for the sentiment analysis task for the French language. This model is built using two datasets: [Amazon Reviews](https://huggingface.co/datasets/amazon_reviews_multi) and [Allociné.fr](https://huggingface.co/datasets/allocine) to minimize the bias. Indeed, Amazon reviews are similar in messages and relatively shorts, contrary to Allociné critics, who are long and rich texts.
This modelization is close to [tblard/tf-allocine](https://huggingface.co/tblard/tf-allocine) based on [CamemBERT](https://huggingface.co/camembert-base) model. The problem of the modelizations based on CamemBERT is at the scaling moment, for the production phase, for example. Indeed, inference cost can be a technological issue. To counteract this effect, we propose this modelization which **divides the inference time by two** with the same consumption power thanks to [DistilCamemBERT](https://huggingface.co/cmarkea/distilcamembert-base).
Dataset
-------
The dataset comprises 204,993 reviews for training and 4,999 reviews for the test from Amazon, and 235,516 and 4,729 critics from [Allocine website](https://www.allocine.fr/). The dataset is labeled into five categories:
* 1 star: represents a terrible appreciation,
* 2 stars: bad appreciation,
* 3 stars: neutral appreciation,
* 4 stars: good appreciation,
* 5 stars: excellent appreciation.
Evaluation results
------------------
In addition of accuracy (called here *exact accuracy*) in order to be robust to +/-1 star estimation errors, we will take the following definition as a performance measure:
$$\mathrm{top\!-\!2\; acc}=\frac{1}{|\mathcal{O}|}\sum_{i\in\mathcal{O}}\sum_{0\leq l < 2}\mathbb{1}(\hat{f}_{i,l}=y_i)$$
where \\(\hat{f}_l\\) is the l-th largest predicted label, \\(y\\) the true label, \\(\mathcal{O}\\) is the test set of the observations and \\(\mathbb{1}\\) is the indicator function.
| **class** | **exact accuracy (%)** | **top-2 acc (%)** | **support** |
| :---------: | :--------------------: | :---------------: | :---------: |
| **global** | 61.01 | 88.80 | 9,698 |
| **1 star** | 87.21 | 77.17 | 1,905 |
| **2 stars** | 79.19 | 84.75 | 1,935 |
| **3 stars** | 77.85 | 78.98 | 1,974 |
| **4 stars** | 78.61 | 90.22 | 1,952 |
| **5 stars** | 85.96 | 82.92 | 1,932 |
Benchmark
---------
This model is compared to 3 reference models (see below). As each model doesn't have the exact definition of targets, we detail the performance measure used for each. An **AMD Ryzen 5 4500U @ 2.3GHz with 6 cores** was used for the mean inference time measure.
#### bert-base-multilingual-uncased-sentiment
[nlptown/bert-base-multilingual-uncased-sentiment](https://huggingface.co/nlptown/bert-base-multilingual-uncased-sentiment) is based on BERT model in the multilingual and uncased version. This sentiment analyzer is trained on Amazon reviews, similar to our model. Hence the targets and their definitions are the same.
| **model** | **time (ms)** | **exact accuracy (%)** | **top-2 acc (%)** |
| :-------: | :-----------: | :--------------------: | :---------------: |
| [cmarkea/distilcamembert-base-sentiment](https://huggingface.co/cmarkea/distilcamembert-base-sentiment) | **95.56** | **61.01** | **88.80** |
| [nlptown/bert-base-multilingual-uncased-sentiment](https://huggingface.co/nlptown/bert-base-multilingual-uncased-sentiment) | 187.70 | 54.41 | 82.82 |
#### tf-allociné and barthez-sentiment-classification
[tblard/tf-allocine](https://huggingface.co/tblard/tf-allocine) based on [CamemBERT](https://huggingface.co/camembert-base) model and [moussaKam/barthez-sentiment-classification](https://huggingface.co/moussaKam/barthez-sentiment-classification) based on [BARThez](https://huggingface.co/moussaKam/barthez) use the same bi-class definition between them. To bring this back to a two-class problem, we will only consider the *"1 star"* and *"2 stars"* labels for the *negative* sentiments and *"4 stars"* and *"5 stars"* for *positive* sentiments. We exclude the *"3 stars"* which can be interpreted as a *neutral* class. In this context, the problem of +/-1 star estimation errors disappears. Then we use only the classical accuracy definition.
| **model** | **time (ms)** | **exact accuracy (%)** |
| :-------: | :-----------: | :--------------------: |
| [cmarkea/distilcamembert-base-sentiment](https://huggingface.co/cmarkea/distilcamembert-base-sentiment) | **95.56** | **97.52** |
| [tblard/tf-allocine](https://huggingface.co/tblard/tf-allocine) | 329.74 | 95.69 |
| [moussaKam/barthez-sentiment-classification](https://huggingface.co/moussaKam/barthez-sentiment-classification) | 197.95 | 94.29 |
How to use DistilCamemBERT-Sentiment
------------------------------------
```python
from transformers import pipeline
analyzer = pipeline(
task='text-classification',
model="cmarkea/distilcamembert-base-sentiment",
tokenizer="cmarkea/distilcamembert-base-sentiment"
)
result = analyzer(
"J'aime me promener en forêt même si ça me donne mal aux pieds.",
return_all_scores=True
)
result
[{'label': '1 star',
'score': 0.047529436647892},
{'label': '2 stars',
'score': 0.14150355756282806},
{'label': '3 stars',
'score': 0.3586442470550537},
{'label': '4 stars',
'score': 0.3181498646736145},
{'label': '5 stars',
'score': 0.13417290151119232}]
```
### Optimum + ONNX
```python
from optimum.onnxruntime import ORTModelForSequenceClassification
from transformers import AutoTokenizer, pipeline
HUB_MODEL = "cmarkea/distilcamembert-base-sentiment"
tokenizer = AutoTokenizer.from_pretrained(HUB_MODEL)
model = ORTModelForSequenceClassification.from_pretrained(HUB_MODEL)
onnx_qa = pipeline("text-classification", model=model, tokenizer=tokenizer)
# Quantized onnx model
quantized_model = ORTModelForSequenceClassification.from_pretrained(
HUB_MODEL, file_name="model_quantized.onnx"
)
```
Citation
--------
```bibtex
@inproceedings{delestre:hal-03674695,
TITLE = {{DistilCamemBERT : une distillation du mod{\`e}le fran{\c c}ais CamemBERT}},
AUTHOR = {Delestre, Cyrile and Amar, Abibatou},
URL = {https://hal.archives-ouvertes.fr/hal-03674695},
BOOKTITLE = {{CAp (Conf{\'e}rence sur l'Apprentissage automatique)}},
ADDRESS = {Vannes, France},
YEAR = {2022},
MONTH = Jul,
KEYWORDS = {NLP ; Transformers ; CamemBERT ; Distillation},
PDF = {https://hal.archives-ouvertes.fr/hal-03674695/file/cap2022.pdf},
HAL_ID = {hal-03674695},
HAL_VERSION = {v1},
}
```
|
{"language": "fr", "license": "mit", "datasets": ["amazon_reviews_multi", "allocine"], "widget": [{"text": "Je pensais lire un livre nul, mais finalement je l'ai trouv\u00e9 super !"}, {"text": "Cette banque est tr\u00e8s bien, mais elle n'offre pas les services de paiements sans contact."}, {"text": "Cette banque est tr\u00e8s bien et elle offre en plus les services de paiements sans contact."}]}
|
text-classification
|
cmarkea/distilcamembert-base-sentiment
|
[
"transformers",
"pytorch",
"tf",
"onnx",
"safetensors",
"camembert",
"text-classification",
"fr",
"dataset:amazon_reviews_multi",
"dataset:allocine",
"license:mit",
"autotrain_compatible",
"endpoints_compatible",
"has_space",
"region:us"
] |
2022-03-02T23:29:05+00:00
|
[] |
[
"fr"
] |
TAGS
#transformers #pytorch #tf #onnx #safetensors #camembert #text-classification #fr #dataset-amazon_reviews_multi #dataset-allocine #license-mit #autotrain_compatible #endpoints_compatible #has_space #region-us
|
DistilCamemBERT-Sentiment
=========================
We present DistilCamemBERT-Sentiment, which is DistilCamemBERT fine-tuned for the sentiment analysis task for the French language. This model is built using two datasets: Amazon Reviews and Allociné.fr to minimize the bias. Indeed, Amazon reviews are similar in messages and relatively shorts, contrary to Allociné critics, who are long and rich texts.
This modelization is close to tblard/tf-allocine based on CamemBERT model. The problem of the modelizations based on CamemBERT is at the scaling moment, for the production phase, for example. Indeed, inference cost can be a technological issue. To counteract this effect, we propose this modelization which divides the inference time by two with the same consumption power thanks to DistilCamemBERT.
Dataset
-------
The dataset comprises 204,993 reviews for training and 4,999 reviews for the test from Amazon, and 235,516 and 4,729 critics from Allocine website. The dataset is labeled into five categories:
* 1 star: represents a terrible appreciation,
* 2 stars: bad appreciation,
* 3 stars: neutral appreciation,
* 4 stars: good appreciation,
* 5 stars: excellent appreciation.
Evaluation results
------------------
In addition of accuracy (called here *exact accuracy*) in order to be robust to +/-1 star estimation errors, we will take the following definition as a performance measure:
$$\mathrm{top!-!2; acc}=\frac{1}{|\mathcal{O}|}\sum\_{i\in\mathcal{O}}\sum\_{0\leq l < 2}\mathbb{1}(\hat{f}\_{i,l}=y\_i)$$
where \(\hat{f}\_l\) is the l-th largest predicted label, \(y\) the true label, \(\mathcal{O}\) is the test set of the observations and \(\mathbb{1}\) is the indicator function.
Benchmark
---------
This model is compared to 3 reference models (see below). As each model doesn't have the exact definition of targets, we detail the performance measure used for each. An AMD Ryzen 5 4500U @ 2.3GHz with 6 cores was used for the mean inference time measure.
#### bert-base-multilingual-uncased-sentiment
nlptown/bert-base-multilingual-uncased-sentiment is based on BERT model in the multilingual and uncased version. This sentiment analyzer is trained on Amazon reviews, similar to our model. Hence the targets and their definitions are the same.
#### tf-allociné and barthez-sentiment-classification
tblard/tf-allocine based on CamemBERT model and moussaKam/barthez-sentiment-classification based on BARThez use the same bi-class definition between them. To bring this back to a two-class problem, we will only consider the *"1 star"* and *"2 stars"* labels for the *negative* sentiments and *"4 stars"* and *"5 stars"* for *positive* sentiments. We exclude the *"3 stars"* which can be interpreted as a *neutral* class. In this context, the problem of +/-1 star estimation errors disappears. Then we use only the classical accuracy definition.
How to use DistilCamemBERT-Sentiment
------------------------------------
### Optimum + ONNX
Citation
--------
|
[
"#### bert-base-multilingual-uncased-sentiment\n\n\nnlptown/bert-base-multilingual-uncased-sentiment is based on BERT model in the multilingual and uncased version. This sentiment analyzer is trained on Amazon reviews, similar to our model. Hence the targets and their definitions are the same.",
"#### tf-allociné and barthez-sentiment-classification\n\n\ntblard/tf-allocine based on CamemBERT model and moussaKam/barthez-sentiment-classification based on BARThez use the same bi-class definition between them. To bring this back to a two-class problem, we will only consider the *\"1 star\"* and *\"2 stars\"* labels for the *negative* sentiments and *\"4 stars\"* and *\"5 stars\"* for *positive* sentiments. We exclude the *\"3 stars\"* which can be interpreted as a *neutral* class. In this context, the problem of +/-1 star estimation errors disappears. Then we use only the classical accuracy definition.\n\n\n\nHow to use DistilCamemBERT-Sentiment\n------------------------------------",
"### Optimum + ONNX\n\n\nCitation\n--------"
] |
[
"TAGS\n#transformers #pytorch #tf #onnx #safetensors #camembert #text-classification #fr #dataset-amazon_reviews_multi #dataset-allocine #license-mit #autotrain_compatible #endpoints_compatible #has_space #region-us \n",
"#### bert-base-multilingual-uncased-sentiment\n\n\nnlptown/bert-base-multilingual-uncased-sentiment is based on BERT model in the multilingual and uncased version. This sentiment analyzer is trained on Amazon reviews, similar to our model. Hence the targets and their definitions are the same.",
"#### tf-allociné and barthez-sentiment-classification\n\n\ntblard/tf-allocine based on CamemBERT model and moussaKam/barthez-sentiment-classification based on BARThez use the same bi-class definition between them. To bring this back to a two-class problem, we will only consider the *\"1 star\"* and *\"2 stars\"* labels for the *negative* sentiments and *\"4 stars\"* and *\"5 stars\"* for *positive* sentiments. We exclude the *\"3 stars\"* which can be interpreted as a *neutral* class. In this context, the problem of +/-1 star estimation errors disappears. Then we use only the classical accuracy definition.\n\n\n\nHow to use DistilCamemBERT-Sentiment\n------------------------------------",
"### Optimum + ONNX\n\n\nCitation\n--------"
] |
[
78,
82,
194,
11
] |
[
"passage: TAGS\n#transformers #pytorch #tf #onnx #safetensors #camembert #text-classification #fr #dataset-amazon_reviews_multi #dataset-allocine #license-mit #autotrain_compatible #endpoints_compatible #has_space #region-us \n#### bert-base-multilingual-uncased-sentiment\n\n\nnlptown/bert-base-multilingual-uncased-sentiment is based on BERT model in the multilingual and uncased version. This sentiment analyzer is trained on Amazon reviews, similar to our model. Hence the targets and their definitions are the same.#### tf-allociné and barthez-sentiment-classification\n\n\ntblard/tf-allocine based on CamemBERT model and moussaKam/barthez-sentiment-classification based on BARThez use the same bi-class definition between them. To bring this back to a two-class problem, we will only consider the *\"1 star\"* and *\"2 stars\"* labels for the *negative* sentiments and *\"4 stars\"* and *\"5 stars\"* for *positive* sentiments. We exclude the *\"3 stars\"* which can be interpreted as a *neutral* class. In this context, the problem of +/-1 star estimation errors disappears. Then we use only the classical accuracy definition.\n\n\n\nHow to use DistilCamemBERT-Sentiment\n------------------------------------### Optimum + ONNX\n\n\nCitation\n--------"
] |
[
0.015719983726739883,
0.09442351013422012,
-0.007179650943726301,
0.1048339456319809,
0.07559169083833694,
0.00972436461597681,
0.09267110377550125,
0.10439907759428024,
0.01700788177549839,
0.04945075884461403,
-0.00885990634560585,
0.07128806412220001,
0.05901840329170227,
0.04663839191198349,
-0.09507022798061371,
-0.21404805779457092,
0.022159518674016,
-0.013342081569135189,
0.08062998950481415,
0.0992041677236557,
0.09248198568820953,
-0.07335992157459259,
0.09073387831449509,
-0.035967931151390076,
-0.0222813431173563,
-0.04819328337907791,
0.048362404108047485,
-0.028918324038386345,
0.07291624695062637,
0.04359738901257515,
0.12183518707752228,
0.02578858472406864,
-0.010048938915133476,
-0.22817060351371765,
0.021213917061686516,
0.02217906527221203,
-0.024347813799977303,
0.041339848190546036,
0.10176470875740051,
-0.164414644241333,
0.1265753209590912,
-0.10420875251293182,
0.08899054676294327,
0.04851478710770607,
-0.1334855705499649,
-0.13747677206993103,
-0.1720435917377472,
0.10220246016979218,
0.09853318333625793,
-0.015989791601896286,
-0.03432319313287735,
0.08642443269491196,
-0.049061257392168045,
0.05130963400006294,
0.20974582433700562,
-0.2533067762851715,
-0.03668821230530739,
-0.03509649634361267,
-0.03876461088657379,
0.030394261702895164,
-0.0959939956665039,
0.023162847384810448,
-0.030816208571195602,
0.038491807878017426,
0.0943274199962616,
-0.08798069506883621,
0.0827297568321228,
0.027455026283860207,
-0.15346722304821014,
-0.08185500651597977,
0.15626567602157593,
0.03202041983604431,
-0.10296189039945602,
-0.05838659405708313,
-0.045032478868961334,
-0.020484358072280884,
-0.0416698157787323,
-0.026095939800143242,
0.021844785660505295,
-0.04314899072051048,
0.054734040051698685,
-0.10170986503362656,
-0.10710839927196503,
0.0430164709687233,
-0.03713356703519821,
0.1980813443660736,
0.030337519943714142,
0.029952671378850937,
0.014331579208374023,
0.08647798001766205,
-0.05805424973368645,
-0.05407467111945152,
0.011033769696950912,
-0.09489306062459946,
-0.14424653351306915,
0.016650734469294548,
-0.05320289358496666,
-0.03545193374156952,
-0.026561684906482697,
0.16931603848934174,
0.015187554992735386,
0.004823404364287853,
-0.07518380135297775,
0.021015331149101257,
0.08581463992595673,
0.10941001772880554,
0.0039083147421479225,
-0.024626167491078377,
0.030245570465922356,
0.021282372996211052,
0.0009335000650025904,
-0.01792721077799797,
-0.03465097397565842,
0.008083594031631947,
0.07438179105520248,
0.0371304452419281,
0.02818896993994713,
0.044701457023620605,
-0.16549864411354065,
-0.07853271067142487,
0.02754429541528225,
-0.1404644250869751,
0.04065633937716484,
0.04404626786708832,
-0.0019259387627243996,
0.08054507523775101,
0.047773536294698715,
0.02003062330186367,
-0.04377395287156105,
0.0714356079697609,
-0.024344464763998985,
-0.0008334852755069733,
-0.07205241918563843,
-0.08855409920215607,
0.0658474713563919,
-0.011297319084405899,
-0.044920507818460464,
-0.12393882125616074,
-0.06437243521213531,
-0.0033875976223498583,
0.057974983006715775,
-0.061068613082170486,
-0.01112737599760294,
-0.03224581107497215,
-0.03201203793287277,
0.02121151052415371,
0.02809309959411621,
-0.04043279588222504,
-0.01232554204761982,
0.0540447011590004,
-0.028037171810865402,
0.06474649161100388,
-0.01294643897563219,
0.03233496472239494,
-0.08900946378707886,
0.045318055897951126,
-0.19197294116020203,
0.07199970632791519,
-0.06208750605583191,
-0.05213652923703194,
-0.08022699505090714,
-0.08055818825960159,
0.04217648133635521,
0.007541385479271412,
-0.012610085308551788,
0.09862711280584335,
-0.21938812732696533,
-0.03205977752804756,
0.08313784003257751,
-0.09592651575803757,
-0.02350064553320408,
0.14436547458171844,
-0.0780118927359581,
0.004672083538025618,
0.05418127402663231,
0.0710601732134819,
0.0282650925219059,
-0.020220967009663582,
0.02040061727166176,
-0.08221719413995743,
-0.08366388082504272,
0.15630346536636353,
0.1088784858584404,
0.010950319468975067,
-0.07796745002269745,
-0.014365890994668007,
-0.05566210672259331,
-0.05944075435400009,
-0.015190253965556622,
-0.0669594332575798,
-0.008055232465267181,
0.0010910610435530543,
0.11617765575647354,
-0.05716245248913765,
-0.05312306061387062,
-0.057099632918834686,
-0.09154058247804642,
0.05469326302409172,
0.04419182240962982,
-0.02480488456785679,
0.066442109644413,
-0.0405072458088398,
0.09255975484848022,
-0.0014443866675719619,
0.0318870022892952,
-0.13274675607681274,
-0.06851080060005188,
0.040382254868745804,
-0.12296303361654282,
0.08841357380151749,
0.10981349647045135,
-0.016246270388364792,
-0.0013253387296572328,
-0.07923877984285355,
-0.010791151784360409,
-0.0018642962677404284,
-0.00314611685462296,
-0.024751883000135422,
-0.17335963249206543,
-0.05524340271949768,
-0.04656895250082016,
0.12395276129245758,
-0.07051901519298553,
0.034008704125881195,
0.08647511154413223,
0.09260254353284836,
0.03210511431097984,
-0.003452947363257408,
0.02673909440636635,
0.04316764324903488,
-0.013694379478693008,
0.011561209335923195,
0.02862546406686306,
-0.028509601950645447,
-0.10273120552301407,
0.13786818087100983,
-0.1383831799030304,
-0.0550677552819252,
0.07953143864870071,
-0.07746201008558273,
-0.08107487857341766,
0.01976844109594822,
-0.020457614213228226,
-0.017378251999616623,
-0.008161556906998158,
0.005790045950561762,
0.115524061024189,
0.0871252790093422,
0.06894027441740036,
-0.09667535126209259,
-0.044982872903347015,
-0.009675800800323486,
-0.10006541758775711,
-0.07062618434429169,
0.07923997193574905,
-0.0904545709490776,
-0.2158913016319275,
0.09558577835559845,
0.15806162357330322,
0.03453890606760979,
0.08267050981521606,
0.06699831783771515,
-0.031436432152986526,
-0.14682625234127045,
0.02779383771121502,
0.0071962387301027775,
0.028148803859949112,
0.0013437879970297217,
0.011338131502270699,
0.07557307928800583,
0.0000490048187202774,
-0.024819785729050636,
-0.11223746091127396,
-0.005586735438555479,
0.05411824956536293,
-0.001435818849131465,
0.051834844052791595,
-0.014384199865162373,
0.05091138556599617,
0.10509193688631058,
0.05230499431490898,
-0.034999918192625046,
0.04065456613898277,
-0.03280814737081528,
-0.13352903723716736,
0.0993315726518631,
-0.13130877912044525,
-0.2622339129447937,
-0.11948954313993454,
-0.05606257542967796,
-0.13314427435398102,
0.040752314031124115,
0.052611492574214935,
0.0032749788369983435,
-0.02516484260559082,
-0.07422202825546265,
0.010760379023849964,
0.01698887348175049,
-0.028006428852677345,
-0.10626793652772903,
0.02841891720890999,
-0.00679305475205183,
-0.054175227880477905,
-0.05323556810617447,
-0.03210282698273659,
-0.10592866688966751,
0.07319287955760956,
0.025910470634698868,
0.05217580869793892,
0.1394892930984497,
-0.0273026954382658,
-0.03784140944480896,
-0.02117874100804329,
0.09008166193962097,
-0.04187155142426491,
0.05678996816277504,
0.10279947519302368,
-0.06677816063165665,
0.0748741403222084,
0.14772722125053406,
0.06091511249542236,
-0.023791544139385223,
0.04048215597867966,
0.08161348849534988,
-0.023223618045449257,
-0.24103710055351257,
-0.06281696259975433,
-0.039182163774967194,
-0.029436904937028885,
-0.012344718910753727,
0.008147642016410828,
0.02077118493616581,
0.027494093403220177,
-0.04974794760346413,
-0.060952093452215195,
0.08572901040315628,
0.14662931859493256,
0.11920454353094101,
-0.012183067388832569,
0.0944446474313736,
-0.022973179817199707,
0.003759465180337429,
0.11063768714666367,
0.0614640936255455,
0.08252198994159698,
0.016723692417144775,
0.02521428093314171,
0.12528137862682343,
0.07316511869430542,
0.03891703486442566,
0.004754424095153809,
-0.00296543980948627,
0.04725529998540878,
-0.07925128936767578,
-0.07097955793142319,
-0.07438839972019196,
0.08514931052923203,
0.042352475225925446,
0.043262410908937454,
-0.08214548230171204,
-0.09486595541238785,
0.11837936192750931,
0.2243082970380783,
0.0747850313782692,
-0.09983783215284348,
-0.06066135689616203,
0.09554643929004669,
-0.04299139603972435,
-0.024580417200922966,
-0.000641568738501519,
0.03827010467648506,
-0.16859859228134155,
0.07304980605840683,
-0.0582185760140419,
0.061695512384176254,
-0.1431620568037033,
0.04730726405978203,
0.007495350204408169,
-0.03401736170053482,
-0.028780760243535042,
0.06399569660425186,
-0.2403041422367096,
0.1449413299560547,
0.04331281781196594,
-0.03607183322310448,
-0.022283243015408516,
-0.013056214898824692,
-0.006116604898124933,
-0.00891006737947464,
0.09992503374814987,
0.031419988721609116,
-0.034234415739774704,
-0.14358927309513092,
0.008778607472777367,
-0.001340894610621035,
0.12573452293872833,
-0.05879363417625427,
0.11192412674427032,
-0.026903415098786354,
-0.024160105735063553,
-0.035916052758693695,
0.15620890259742737,
-0.03207540139555931,
-0.08647660911083221,
0.08961623907089233,
-0.06619944423437119,
-0.11166450381278992,
-0.06655339151620865,
-0.021878713741898537,
-0.016648966819047928,
0.1349879652261734,
-0.0931648463010788,
-0.06782921403646469,
-0.0924006849527359,
-0.057991545647382736,
0.07530787587165833,
-0.05867035314440727,
0.06567483395338058,
-0.030111053958535194,
0.0771094411611557,
-0.04094422236084938,
-0.07479576766490936,
0.056990914046764374,
-0.009421863593161106,
-0.22140391170978546,
-0.0201236791908741,
0.18571360409259796,
0.03629631921648979,
0.059802766889333725,
-0.019443223252892494,
0.04509904980659485,
0.001252708025276661,
-0.10009556263685226,
0.009947216138243675,
0.1142783984541893,
0.03368251398205757,
0.16115783154964447,
-0.07409283518791199,
-0.16739799082279205,
-0.11145347356796265,
0.026370292529463768,
0.11355147510766983,
0.2919940650463104,
-0.051326751708984375,
0.14762069284915924,
0.1016785129904747,
-0.06892857700586319,
-0.13994133472442627,
-0.05789346620440483,
0.005153597332537174,
-0.044470496475696564,
0.08423811197280884,
-0.10274014621973038,
-0.008494047448039055,
0.07567629963159561,
0.00004520591028267518,
-0.1384536474943161,
-0.13967235386371613,
-0.08594359457492828,
0.038703568279743195,
0.04794146120548248,
0.03458787873387337,
-0.07616741955280304,
-0.04753001779317856,
-0.05346854403614998,
-0.12841366231441498,
0.18704833090305328,
-0.000008383522981603164,
0.0790598914027214,
-0.012509468011558056,
0.11628144979476929,
0.056508325040340424,
0.0006618346087634563,
0.16227924823760986,
0.04253922775387764,
0.11868338286876678,
-0.07554828375577927,
-0.09815430641174316,
0.07217826694250107,
-0.05349213629961014,
0.07817404717206955,
-0.005735037848353386,
-0.005881849676370621,
-0.0843835175037384,
-0.04836893081665039,
-0.09940768033266068,
0.009412998333573341,
-0.06912146508693695,
-0.03870030865073204,
-0.051884252578020096,
0.05699632316827774,
0.0868828147649765,
-0.0028970406856387854,
0.05534783750772476,
-0.05550894886255264,
-0.02628372795879841,
0.18340973556041718,
0.12434663623571396,
0.10526612401008606,
-0.04300129413604736,
-0.03632374852895737,
-0.032558489590883255,
0.031554680317640305,
-0.14850039780139923,
0.059538889676332474,
0.07594389468431473,
-0.02264075167477131,
0.16590845584869385,
0.045470912009477615,
-0.11234049499034882,
-0.015703873708844185,
0.02265140600502491,
-0.14303597807884216,
-0.1704133152961731,
-0.013370472006499767,
-0.0329379066824913,
-0.07617079466581345,
0.006707466673105955,
0.1509418487548828,
-0.01760057918727398,
-0.06371815502643585,
0.013718114234507084,
0.0925605297088623,
-0.07461632043123245,
0.0157035980373621,
0.031793054193258286,
0.027472471818327904,
-0.04437902197241783,
0.12068483233451843,
0.1268569529056549,
-0.12676465511322021,
0.03359939903020859,
0.057711467146873474,
-0.04118847846984863,
-0.10411983728408813,
-0.030735652893781662,
0.11987476795911789,
-0.0973547026515007,
0.004993720445781946,
0.016114022582769394,
-0.08837003260850906,
0.03962990641593933,
0.15771318972110748,
0.04447944834828377,
0.07305287569761276,
-0.044016268104314804,
-0.017220988869667053,
-0.010742546059191227,
0.11644504219293594,
0.06043943017721176,
0.033811528235673904,
-0.025785399600863457,
-0.003643046598881483,
-0.029826628044247627,
0.03733306750655174,
-0.03628247231245041,
-0.04233654588460922,
-0.09579356759786606,
-0.01674490049481392,
-0.12461227178573608,
-0.0022698931861668825,
-0.09241031855344772,
0.012035416439175606,
0.004819938447326422,
-0.03181864321231842,
0.011412912979722023,
-0.036904919892549515,
-0.07583620399236679,
-0.0001094337203539908,
-0.017817717045545578,
0.1177135482430458,
-0.14626583456993103,
-0.07058530300855637,
0.091408871114254,
-0.07945894449949265,
0.11273931711912155,
0.061066243797540665,
-0.0008206088677980006,
0.03376927599310875,
-0.20808742940425873,
0.010547581128776073,
0.0009250862058252096,
-0.015293163247406483,
0.03337376192212105,
-0.17353658378124237,
0.009569752030074596,
-0.02001417800784111,
-0.054640110582113266,
0.02442973107099533,
0.12776391208171844,
-0.14010602235794067,
0.02298201620578766,
0.12491005659103394,
-0.09398632496595383,
-0.10824569314718246,
0.026646539568901062,
0.02103266678750515,
0.05352898687124252,
0.1307310163974762,
-0.028170408681035042,
0.06838296353816986,
-0.09330809861421585,
-0.01425088755786419,
-0.034965742379426956,
-0.0649559497833252,
-0.0578005351126194,
-0.0696045532822609,
0.01061527244746685,
-0.02210068516433239,
0.09933169186115265,
0.04047622159123421,
-0.00913778692483902,
0.013076561503112316,
0.08498013764619827,
0.015529807657003403,
0.0588151253759861,
0.013216383755207062,
-0.027303213253617287,
-0.09850567579269409,
-0.03468796983361244,
-0.0175431240350008,
-0.02789776772260666,
0.014013088308274746,
0.067221499979496,
0.24284756183624268,
0.12833912670612335,
0.011375504545867443,
0.05182666331529617,
0.0288894921541214,
-0.00406641373410821,
0.0219003576785326,
-0.028261030092835426,
0.05786862224340439,
-0.07548980414867401,
0.1567375510931015,
0.04052826017141342,
-0.16880817711353302,
0.15430139005184174,
-0.019138306379318237,
-0.04667084291577339,
-0.04442885145545006,
-0.2905718982219696,
-0.0694529190659523,
-0.0006742462865076959,
-0.038345031440258026,
-0.12126711010932922,
0.03630582615733147,
0.014181339181959629,
0.005653958767652512,
-0.058633990585803986,
0.04652751609683037,
-0.09022589027881622,
-0.043683115392923355,
0.09926727414131165,
0.05462001636624336,
-0.004911860916763544,
0.07310259342193604,
-0.013000787235796452,
-0.015647517517209053,
0.0539209358394146,
0.032429296523332596,
0.051187288016080856,
0.08933478593826294,
-0.026018274948000908,
-0.07191385328769684,
-0.135029599070549,
0.04162229597568512,
-0.06656020879745483,
0.024797391146421432,
0.11055894196033478,
0.037162765860557556,
-0.0346541665494442,
0.02418181486427784,
0.2667728662490845,
-0.05316058546304703,
-0.029684698209166527,
-0.11617633700370789,
0.2635330259799957,
0.016728771850466728,
0.0443231426179409,
0.024066878482699394,
-0.10620586574077606,
-0.0034708173479884863,
0.008939260616898537,
0.2019565850496292,
-0.028707463294267654,
0.03380538523197174,
0.00412908336147666,
0.029560275375843048,
0.058425065129995346,
0.023223696276545525,
-0.007413393817842007,
0.09991174936294556,
-0.03358961641788483,
0.1531481295824051,
0.0015858582919463515,
0.00854137260466814,
0.01616101898252964,
0.10890164226293564,
-0.0072918604128062725,
-0.014018761925399303,
-0.037836942821741104,
0.07872158288955688,
-0.013778895139694214,
-0.1539916694164276,
0.0761621966958046,
-0.10146450251340866,
-0.11176970601081848,
0.003521192353218794,
0.04652663320302963,
0.027512019500136375,
0.09546751528978348,
0.018439844250679016,
-0.05455819517374039,
0.1866494119167328,
0.017821718007326126,
-0.05949525162577629,
-0.042165543884038925,
0.1371181309223175,
-0.0911785289645195,
0.13534413278102875,
0.019609985873103142,
0.07036593556404114,
0.11245620995759964,
0.03553014621138573,
-0.0796380490064621,
0.07247564196586609,
0.039471615105867386,
-0.0560685433447361,
0.004010260105133057,
0.200567826628685,
-0.0007006840314716101,
0.1073412075638771,
0.0905751883983612,
-0.13565503060817719,
0.026955321431159973,
-0.04069516807794571,
-0.018606264144182205,
-0.0676916092634201,
0.05318086966872215,
-0.12039519101381302,
0.07653629034757614,
0.17142660915851593,
-0.0344388373196125,
0.01803451217710972,
-0.06216057017445564,
-0.01756541058421135,
0.033473871648311615,
0.14877218008041382,
0.00656289653852582,
-0.095234714448452,
0.07109051942825317,
0.026308104395866394,
0.09087624400854111,
-0.20686779916286469,
-0.07431549578905106,
0.04321015998721123,
0.04524657875299454,
-0.03212235867977142,
0.08865342289209366,
-0.0009968549711629748,
0.021822620183229446,
-0.06030918285250664,
-0.21619996428489685,
-0.010455186478793621,
0.13461805880069733,
-0.06795525550842285,
-0.01664186455309391
] |
null | null |
transformers
|
DistilCamemBERT
===============
We present a distillation version of the well named [CamemBERT](https://huggingface.co/camembert-base), a RoBERTa French model version, alias DistilCamemBERT. The aim of distillation is to drastically reduce the complexity of the model while preserving the performances. The proof of concept is shown in the [DistilBERT paper](https://arxiv.org/abs/1910.01108) and the code used for the training is inspired by the code of [DistilBERT](https://github.com/huggingface/transformers/tree/master/examples/research_projects/distillation).
Loss function
-------------
The training for the distilled model (student model) is designed to be the closest as possible to the original model (teacher model). To perform this the loss function is composed of 3 parts:
* DistilLoss: a distillation loss which measures the silimarity between the probabilities at the outputs of the student and teacher models with a cross-entropy loss on the MLM task ;
* CosineLoss: a cosine embedding loss. This loss function is applied on the last hidden layers of student and teacher models to guarantee a collinearity between them ;
* MLMLoss: and finaly a Masked Language Modeling (MLM) task loss to perform the student model with the original task of the teacher model.
The final loss function is a combination of these three losses functions. We use the following ponderation:
$$Loss = 0.5 \times DistilLoss + 0.3 \times CosineLoss + 0.2 \times MLMLoss$$
Dataset
-------
To limit the bias between the student and teacher models, the dataset used for the DstilCamemBERT training is the same as the camembert-base training one: OSCAR. The French part of this dataset approximately represents 140 GB on a hard drive disk.
Training
--------
We pre-trained the model on a nVidia Titan RTX during 18 days.
Evaluation results
------------------
| Dataset name | f1-score |
| :----------: | :------: |
| [FLUE](https://huggingface.co/datasets/flue) CLS | 83% |
| [FLUE](https://huggingface.co/datasets/flue) PAWS-X | 77% |
| [FLUE](https://huggingface.co/datasets/flue) XNLI | 77% |
| [wikiner_fr](https://huggingface.co/datasets/Jean-Baptiste/wikiner_fr) NER | 98% |
How to use DistilCamemBERT
--------------------------
Load DistilCamemBERT and its sub-word tokenizer :
```python
from transformers import AutoTokenizer, AutoModel
tokenizer = AutoTokenizer.from_pretrained("cmarkea/distilcamembert-base")
model = AutoModel.from_pretrained("cmarkea/distilcamembert-base")
model.eval()
...
```
Filling masks using pipeline :
```python
from transformers import pipeline
model_fill_mask = pipeline("fill-mask", model="cmarkea/distilcamembert-base", tokenizer="cmarkea/distilcamembert-base")
results = model_fill_mask("Le camembert est <mask> :)")
results
[{'sequence': '<s> Le camembert est délicieux :)</s>', 'score': 0.3878222405910492, 'token': 7200},
{'sequence': '<s> Le camembert est excellent :)</s>', 'score': 0.06469205021858215, 'token': 2183},
{'sequence': '<s> Le camembert est parfait :)</s>', 'score': 0.04534877464175224, 'token': 1654},
{'sequence': '<s> Le camembert est succulent :)</s>', 'score': 0.04128391295671463, 'token': 26202},
{'sequence': '<s> Le camembert est magnifique :)</s>', 'score': 0.02425697259604931, 'token': 1509}]
```
Citation
--------
```bibtex
@inproceedings{delestre:hal-03674695,
TITLE = {{DistilCamemBERT : une distillation du mod{\`e}le fran{\c c}ais CamemBERT}},
AUTHOR = {Delestre, Cyrile and Amar, Abibatou},
URL = {https://hal.archives-ouvertes.fr/hal-03674695},
BOOKTITLE = {{CAp (Conf{\'e}rence sur l'Apprentissage automatique)}},
ADDRESS = {Vannes, France},
YEAR = {2022},
MONTH = Jul,
KEYWORDS = {NLP ; Transformers ; CamemBERT ; Distillation},
PDF = {https://hal.archives-ouvertes.fr/hal-03674695/file/cap2022.pdf},
HAL_ID = {hal-03674695},
HAL_VERSION = {v1},
}
```
|
{"language": "fr", "license": "mit", "datasets": ["oscar"], "widget": [{"text": "J'aime lire les <mask> de SF."}]}
|
fill-mask
|
cmarkea/distilcamembert-base
|
[
"transformers",
"pytorch",
"tf",
"safetensors",
"camembert",
"fill-mask",
"fr",
"dataset:oscar",
"arxiv:1910.01108",
"license:mit",
"autotrain_compatible",
"endpoints_compatible",
"region:us"
] |
2022-03-02T23:29:05+00:00
|
[
"1910.01108"
] |
[
"fr"
] |
TAGS
#transformers #pytorch #tf #safetensors #camembert #fill-mask #fr #dataset-oscar #arxiv-1910.01108 #license-mit #autotrain_compatible #endpoints_compatible #region-us
|
DistilCamemBERT
===============
We present a distillation version of the well named CamemBERT, a RoBERTa French model version, alias DistilCamemBERT. The aim of distillation is to drastically reduce the complexity of the model while preserving the performances. The proof of concept is shown in the DistilBERT paper and the code used for the training is inspired by the code of DistilBERT.
Loss function
-------------
The training for the distilled model (student model) is designed to be the closest as possible to the original model (teacher model). To perform this the loss function is composed of 3 parts:
* DistilLoss: a distillation loss which measures the silimarity between the probabilities at the outputs of the student and teacher models with a cross-entropy loss on the MLM task ;
* CosineLoss: a cosine embedding loss. This loss function is applied on the last hidden layers of student and teacher models to guarantee a collinearity between them ;
* MLMLoss: and finaly a Masked Language Modeling (MLM) task loss to perform the student model with the original task of the teacher model.
The final loss function is a combination of these three losses functions. We use the following ponderation:
$$Loss = 0.5 \times DistilLoss + 0.3 \times CosineLoss + 0.2 \times MLMLoss$$
Dataset
-------
To limit the bias between the student and teacher models, the dataset used for the DstilCamemBERT training is the same as the camembert-base training one: OSCAR. The French part of this dataset approximately represents 140 GB on a hard drive disk.
Training
--------
We pre-trained the model on a nVidia Titan RTX during 18 days.
Evaluation results
------------------
How to use DistilCamemBERT
--------------------------
Load DistilCamemBERT and its sub-word tokenizer :
Filling masks using pipeline :
Citation
--------
|
[] |
[
"TAGS\n#transformers #pytorch #tf #safetensors #camembert #fill-mask #fr #dataset-oscar #arxiv-1910.01108 #license-mit #autotrain_compatible #endpoints_compatible #region-us \n"
] |
[
67
] |
[
"passage: TAGS\n#transformers #pytorch #tf #safetensors #camembert #fill-mask #fr #dataset-oscar #arxiv-1910.01108 #license-mit #autotrain_compatible #endpoints_compatible #region-us \n"
] |
[
-0.11521817743778229,
0.10311315953731537,
-0.0055798375979065895,
0.08824193477630615,
0.1030752882361412,
0.007044708356261253,
0.11298293620347977,
0.08870073407888412,
0.0474453829228878,
-0.04174932837486267,
0.18732404708862305,
0.22073869407176971,
-0.007790481671690941,
0.21020130813121796,
-0.07872647792100906,
-0.2015695720911026,
0.04893352836370468,
0.0267658494412899,
-0.012461679056286812,
0.09007053822278976,
0.10474373400211334,
-0.09670956432819366,
0.08657106012105942,
-0.026753922924399376,
-0.12441596388816833,
0.03631873428821564,
0.11373456567525864,
-0.12984347343444824,
0.13613854348659515,
0.07091750204563141,
0.09958432614803314,
0.08925546705722809,
0.02487422339618206,
-0.052502259612083435,
0.036625154316425323,
-0.011828524060547352,
-0.08960698544979095,
0.05560837313532829,
0.04430597648024559,
-0.058122485876083374,
0.06716370582580566,
0.04533439874649048,
0.018560638651251793,
0.06767739355564117,
-0.1265421062707901,
-0.19619224965572357,
-0.06066315621137619,
0.07662727683782578,
-0.013350695371627808,
0.08072888106107712,
0.026851261034607887,
0.20500268042087555,
-0.06489509344100952,
0.10128975659608841,
0.08057200908660889,
-0.35583147406578064,
-0.01768341287970543,
0.04496779665350914,
0.0520600788295269,
-0.09987476468086243,
-0.025229094550013542,
0.0673815980553627,
0.08028947561979294,
0.0019209954189136624,
0.12551628053188324,
-0.055354561656713486,
-0.12024777382612228,
-0.005801198538392782,
-0.06103295832872391,
-0.03994528576731682,
0.1881341189146042,
0.029317433014512062,
-0.01741531863808632,
-0.005957921501249075,
-0.059334393590688705,
-0.07307280600070953,
-0.012662463821470737,
0.011793781071901321,
0.006156617309898138,
0.016834907233715057,
-0.024317331612110138,
0.030577175319194794,
-0.14432969689369202,
0.025758713483810425,
-0.21204383671283722,
0.1436781883239746,
0.02023274078965187,
0.08625606447458267,
-0.15562203526496887,
0.059769682586193085,
-0.013269474729895592,
-0.12571707367897034,
0.020475028082728386,
-0.07357416301965714,
0.038661569356918335,
0.003355535911396146,
-0.002206738106906414,
0.01272574532777071,
0.05535811930894852,
0.20081067085266113,
0.0111496327444911,
-0.016830958425998688,
-0.0018499413272365928,
0.10356543213129044,
-0.008770395070314407,
0.037755463272333145,
-0.03759728744626045,
-0.009498370811343193,
0.07889169454574585,
-0.09360411763191223,
0.06404341757297516,
-0.017949828878045082,
-0.10342959314584732,
-0.038012150675058365,
0.013902968727052212,
0.06818114221096039,
0.043878257274627686,
0.06747487932443619,
-0.11854720860719681,
0.04669744893908501,
0.16454413533210754,
-0.05944720283150673,
-0.019188711419701576,
-0.02687416784465313,
0.01087934523820877,
0.0017117332899942994,
0.03379308432340622,
-0.002806191798299551,
0.02614639885723591,
0.1388121098279953,
-0.09951458871364594,
-0.03222966939210892,
-0.004895831923931837,
-0.06487638503313065,
0.08398868888616562,
-0.11671795696020126,
0.06948576122522354,
-0.2061454951763153,
-0.11907429993152618,
0.061935316771268845,
0.05379077419638634,
-0.013887700624763966,
-0.025520553812384605,
0.03955666348338127,
-0.020709065720438957,
0.013385945931077003,
-0.051675014197826385,
-0.027212202548980713,
-0.0851018950343132,
0.09072728455066681,
-0.0022173309698700905,
0.10541407763957977,
-0.15691272914409637,
0.005339764524251223,
-0.10260037332773209,
-0.009306387975811958,
-0.1009073555469513,
-0.04609368368983269,
-0.062225207686424255,
0.14572827517986298,
0.01615750603377819,
-0.0703926831483841,
-0.05358949676156044,
0.02983522042632103,
-0.01767578348517418,
0.19826465845108032,
-0.14424531161785126,
-0.0565173402428627,
0.22337326407432556,
-0.13056980073451996,
-0.18057779967784882,
0.09652551263570786,
-0.006941311061382294,
0.007228945381939411,
0.05538273975253105,
0.10342629253864288,
-0.011478230357170105,
-0.2046925574541092,
0.020395221188664436,
0.08182273805141449,
-0.1377517133951187,
-0.1697368323802948,
0.08146046847105026,
0.05127798765897751,
-0.12220343947410583,
0.02230140194296837,
0.04220857098698616,
0.1099432036280632,
-0.08422044664621353,
-0.06337691098451614,
-0.012983757071197033,
-0.05529021471738815,
0.05840760096907616,
0.0432971715927124,
0.0728975459933281,
-0.1084900051355362,
-0.029090018942952156,
-0.09926007688045502,
0.014691825024783611,
0.08668718487024307,
-0.0011526027228683233,
-0.13561508059501648,
0.10895782709121704,
0.019846919924020767,
-0.03536094352602959,
-0.10635913908481598,
-0.05927708372473717,
-0.03341015800833702,
0.10668937861919403,
-0.02627318911254406,
0.09573458880186081,
0.07582263648509979,
0.012818614952266216,
-0.040160439908504486,
-0.025990653783082962,
0.1305844783782959,
0.05871927738189697,
0.006849569268524647,
-0.1571774035692215,
0.04126044735312462,
-0.0748920887708664,
0.0947132483124733,
-0.05494755879044533,
-0.004910769872367382,
0.048874631524086,
0.14091451466083527,
0.02142227627336979,
0.020392948761582375,
-0.0319516584277153,
0.0024758174549788237,
-0.037978481501340866,
-0.012634669430553913,
0.08436007052659988,
0.039371080696582794,
-0.06136009842157364,
0.19282685220241547,
-0.07391120493412018,
0.37505245208740234,
0.1855819672346115,
-0.1606278419494629,
-0.0800652951002121,
0.05068730562925339,
-0.03254395350813866,
0.03497988358139992,
0.026312917470932007,
0.02834750898182392,
-0.057744283229112625,
-0.045870598405599594,
0.16469833254814148,
-0.03464405983686447,
-0.024054143577814102,
0.054037727415561676,
-0.05744662135839462,
-0.07275518029928207,
0.045607566833496094,
0.11160465329885483,
-0.20158439874649048,
0.17587420344352722,
0.18914714455604553,
0.05225398391485214,
0.15150989592075348,
-0.013526665046811104,
0.022101163864135742,
0.0052510700188577175,
-0.034271664917469025,
0.010587167926132679,
0.14115679264068604,
-0.061708852648735046,
0.029185160994529724,
0.06166667118668556,
-0.07794594019651413,
-0.00024300898076035082,
-0.15922389924526215,
-0.10821941494941711,
0.017332682386040688,
0.008517997339367867,
-0.07270049303770065,
0.11929575353860855,
-0.015351943671703339,
0.12567615509033203,
-0.011698114685714245,
-0.13796338438987732,
0.10419683158397675,
0.008269323036074638,
-0.09323671460151672,
0.15252244472503662,
-0.11201290041208267,
-0.28276291489601135,
-0.09504371881484985,
-0.08257453888654709,
0.039957158267498016,
0.04334619641304016,
0.08823628723621368,
-0.02817145548760891,
-0.06346388161182404,
0.014316540211439133,
-0.1422128528356552,
-0.006297403015196323,
0.046413812786340714,
-0.00012033506209263578,
0.011526450514793396,
-0.0021656567696481943,
-0.05797531083226204,
-0.07856611907482147,
-0.013451913371682167,
-0.004507701378315687,
0.16651651263237,
-0.0322960764169693,
0.0919390395283699,
0.04726777225732803,
-0.03275918588042259,
0.022760512307286263,
-0.055883944034576416,
0.16753768920898438,
-0.0692812129855156,
0.004492428153753281,
0.19069460034370422,
0.014595014974474907,
0.06831252574920654,
0.17957548797130585,
0.046603184193372726,
-0.0610467754304409,
0.011204405687749386,
-0.07924233376979828,
-0.08918078243732452,
-0.18945194780826569,
-0.10626816749572754,
-0.07533068209886551,
0.07435204088687897,
0.057211875915527344,
0.061045244336128235,
0.11329598724842072,
0.11850915849208832,
-0.0009162944625131786,
-0.06237754598259926,
-0.04040520638227463,
0.04129846394062042,
0.17352665960788727,
-0.0018301773816347122,
0.12073750793933868,
-0.0850173756480217,
-0.09488707780838013,
0.11394158005714417,
-0.037673190236091614,
0.04494612663984299,
0.08128282427787781,
-0.104543536901474,
0.059342022985219955,
0.16988182067871094,
0.0963684692978859,
0.13143523037433624,
0.07748766243457794,
-0.07751836627721786,
-0.014810115098953247,
-0.03594142943620682,
-0.005773001350462437,
0.0560796856880188,
-0.0056038424372673035,
-0.09209245443344116,
-0.06017628684639931,
-0.044630296528339386,
0.023491162806749344,
0.09958978742361069,
0.06967104971408844,
-0.2882225811481476,
-0.01687309332191944,
0.03532380238175392,
0.04367421194911003,
-0.03526994213461876,
0.037742044776678085,
0.05581183359026909,
-0.10332846641540527,
0.16373786330223083,
-0.03714260086417198,
0.03357841446995735,
0.08799456059932709,
0.04598401114344597,
0.009243412874639034,
-0.08008305728435516,
0.01711219921708107,
0.06495261192321777,
-0.3092486262321472,
0.2607508599758148,
-0.0013591621536761522,
-0.012944112531840801,
-0.07589036971330643,
-0.020710140466690063,
0.027566857635974884,
0.16010957956314087,
0.22677341103553772,
0.02455856278538704,
0.00322258030064404,
-0.09515313804149628,
-0.020258424803614616,
0.024573838338255882,
-0.00429490115493536,
0.026212552562355995,
-0.032899871468544006,
-0.018005408346652985,
-0.05969592183828354,
0.01464001089334488,
0.0660485103726387,
-0.06887367367744446,
-0.09474364668130875,
0.028844453394412994,
0.08862995356321335,
0.048679377883672714,
-0.05411922559142113,
-0.10581495612859726,
-0.1515120416879654,
0.12490122020244598,
-0.03931549936532974,
-0.027272334322333336,
-0.1206355020403862,
-0.0674031674861908,
0.008481433615088463,
-0.08163383603096008,
0.1223466768860817,
-0.0695308968424797,
-0.011807840317487717,
-0.08931411802768707,
-0.1586640179157257,
0.17780454456806183,
-0.15173062682151794,
-0.05056718736886978,
-0.09194598346948624,
0.0903739258646965,
-0.0820755884051323,
0.056922636926174164,
0.023004302754998207,
0.027648355811834335,
-0.04332001134753227,
-0.05819336697459221,
0.014152664691209793,
-0.07781540602445602,
0.10831843316555023,
-0.03088526614010334,
-0.0797252207994461,
-0.18145890533924103,
0.013915766961872578,
-0.06485915184020996,
0.18831580877304077,
0.305921733379364,
-0.12211272865533829,
0.10204420983791351,
0.11185763031244278,
0.01709858514368534,
-0.3462862968444824,
-0.07659712433815002,
-0.11881301552057266,
-0.026841478422284126,
0.0767781212925911,
-0.08280311524868011,
0.03569579869508743,
0.03854527324438095,
-0.08763496577739716,
0.14580458402633667,
-0.13936986029148102,
-0.10310009866952896,
0.17591488361358643,
0.07983206957578659,
0.39430004358291626,
-0.09918869286775589,
-0.03754030913114548,
-0.017022714018821716,
-0.16550813615322113,
0.1236945167183876,
0.033185768872499466,
0.05323786288499832,
-0.011112823151051998,
-0.08105821162462234,
-0.0016815513372421265,
-0.08148375898599625,
0.07259544730186462,
-0.05020233616232872,
0.05501871928572655,
-0.09601086378097534,
-0.041898638010025024,
0.042931560426950455,
0.014582454226911068,
0.05080609768629074,
-0.041508749127388,
0.030341027304530144,
-0.0425395593047142,
-0.008300364948809147,
-0.08878820389509201,
0.11658524721860886,
0.02646300196647644,
-0.0816614180803299,
-0.021990099921822548,
0.0311669260263443,
-0.009417916648089886,
-0.06150711700320244,
0.13594679534435272,
-0.007977737113833427,
0.14226090908050537,
0.09936784207820892,
0.06836757063865662,
-0.15345391631126404,
0.027471844106912613,
-0.07131737470626831,
-0.09741120785474777,
0.06966301053762436,
-0.052144791930913925,
0.02162727527320385,
0.10800589621067047,
-5.406392915574543e-7,
0.0843520238995552,
0.06925874203443527,
0.0021168917883187532,
-0.027241501957178116,
0.2122732698917389,
-0.23108379542827606,
0.01752815581858158,
-0.03715910017490387,
-0.0047111473977565765,
0.12698841094970703,
0.03542963042855263,
0.046920046210289,
-0.05267779901623726,
-0.012872214429080486,
-0.017195258289575577,
0.009357621893286705,
-0.0381401851773262,
0.06426691263914108,
0.07390928268432617,
0.03546314686536789,
-0.11694205552339554,
0.04989350587129593,
-0.02848786674439907,
-0.17959889769554138,
-0.015757108107209206,
0.06956608593463898,
-0.11734870821237564,
-0.10197865962982178,
-0.028101425617933273,
0.06641382724046707,
-0.1756971925497055,
-0.07365522533655167,
-0.06950967758893967,
-0.12694399058818817,
0.0529976412653923,
0.23315668106079102,
0.06393072754144669,
0.08435717225074768,
0.033861029893159866,
-0.060593344271183014,
-0.002189499558880925,
0.022063251584768295,
0.007615965791046619,
0.033424973487854004,
-0.1525854915380478,
0.04311716556549072,
-0.01425957027822733,
0.12605918943881989,
-0.0990244522690773,
0.0207448098808527,
-0.09601365029811859,
0.014225689694285393,
-0.036670833826065063,
-0.025610409677028656,
-0.08658923208713531,
-0.04613731428980827,
-0.005366647616028786,
-0.08977565914392471,
-0.03281834349036217,
-0.027333440259099007,
-0.09954050928354263,
0.04417026787996292,
0.04485738277435303,
0.008608412928879261,
-0.09701113402843475,
-0.05680694803595543,
0.05910363793373108,
-0.01782917231321335,
0.09526873379945755,
0.07420004904270172,
-0.05805446580052376,
0.0521920807659626,
-0.15801885724067688,
-0.10996869951486588,
0.12274797260761261,
0.0025996409822255373,
0.06797991693019867,
0.07659738510847092,
0.04073527827858925,
0.0910523384809494,
-0.0066049289889633656,
0.03449787572026253,
0.0266826581209898,
-0.13148759305477142,
-0.010974842123687267,
0.05068344622850418,
-0.09499505162239075,
-0.02946752868592739,
-0.0698172077536583,
0.1081097424030304,
-0.06238097697496414,
0.14132186770439148,
-0.0793507993221283,
0.026043977588415146,
-0.07911450415849686,
0.00018087407806888223,
-0.04798659309744835,
-0.14288195967674255,
-0.1095467358827591,
-0.005505903623998165,
0.01589692197740078,
-0.015851199626922607,
0.18863371014595032,
0.027824455872178078,
-0.1225937157869339,
0.07259579747915268,
0.040460508316755295,
0.013162778690457344,
-0.022098852321505547,
0.18858574330806732,
0.050195302814245224,
-0.02612248994410038,
-0.11162663996219635,
0.07809319347143173,
0.04098493605852127,
-0.038065582513809204,
0.11795652657747269,
0.09149489551782608,
-0.02370286174118519,
0.05011952668428421,
0.05096746236085892,
0.010569494217634201,
-0.03457269445061684,
-0.1667974293231964,
-0.09607158601284027,
0.051859501749277115,
0.012235801666975021,
0.017221221700310707,
0.16117478907108307,
-0.025826014578342438,
0.013431379571557045,
-0.044922780245542526,
0.009350733831524849,
-0.1577274203300476,
-0.1354748010635376,
-0.08948209881782532,
-0.0550677664577961,
0.04857112467288971,
-0.017825158312916756,
0.023770978674292564,
0.08954593539237976,
0.08384590595960617,
-0.07041163742542267,
0.1052309051156044,
-0.055926285684108734,
-0.005570157431066036,
0.07354984432458878,
0.05263537913560867,
-0.004560915287584066,
-0.014682491309940815,
-0.027927936986088753,
-0.08924628049135208,
-0.0034076671581715345,
-0.04464758560061455,
-0.0022606682032346725,
-0.004767310339957476,
0.06865936517715454,
-0.03347914665937424,
-0.09494047611951828,
-0.05670442059636116,
0.039128661155700684,
0.025386948138475418,
0.0965254157781601,
-0.011370603926479816,
0.0997789055109024,
0.07046389579772949,
0.13565656542778015,
-0.04884791746735573,
-0.10782605409622192,
-0.06505822390317917,
0.2155720591545105,
0.002611996605992317,
0.07963896542787552,
0.013530024327337742,
0.004100397229194641,
-0.03543835133314133,
0.25388282537460327,
0.3074478507041931,
-0.04014694690704346,
0.06327058374881744,
-0.025330066680908203,
0.01711777038872242,
0.025633297860622406,
0.10231015086174011,
0.060044851154088974,
0.23874741792678833,
-0.09009071439504623,
-0.012422860600054264,
-0.08439788967370987,
0.02507377602159977,
-0.06062060967087746,
0.018137190490961075,
0.01421741396188736,
-0.03157096356153488,
-0.04490093141794205,
0.07566608488559723,
-0.07856310904026031,
0.049255549907684326,
0.09321369230747223,
-0.14987902343273163,
-0.04338357225060463,
-0.021183738484978676,
0.08536017686128616,
0.07563859224319458,
0.05608716234564781,
-0.04217715933918953,
-0.021212082356214523,
0.0008703324128873646,
0.030877375975251198,
-0.20073603093624115,
-0.047183260321617126,
0.04335629194974899,
-0.011333636939525604,
0.16559962928295135,
-0.036350224167108536,
0.09215502440929413,
0.07767188549041748,
0.05257948115468025,
-0.07483533769845963,
0.10351468622684479,
0.015812154859304428,
-0.06511659920215607,
-0.021375099197030067,
-0.07225518673658371,
0.00999789871275425,
-0.06856509298086166,
0.013462319038808346,
-0.0704684779047966,
0.030730698257684708,
-0.09663401544094086,
-0.05604635924100876,
-0.045455288141965866,
0.10464444756507874,
-0.039985816925764084,
0.07355457544326782,
0.03884027153253555,
-0.0106875691562891,
-0.0259043350815773,
-0.07002104073762894,
0.0014153465162962675,
0.10779902338981628,
-0.1695496290922165,
-0.049143679440021515,
-0.07673215866088867,
0.0034305411390960217,
-0.007457238622009754,
0.024319114163517952,
-0.17145663499832153,
-0.01208004355430603,
-0.172933891415596,
-0.007326924242079258,
-0.12713013589382172,
0.011337659321725368,
0.07824783772230148,
0.04719042405486107,
-0.009952892549335957,
-0.029403021559119225,
0.02639836259186268,
0.03467780724167824,
-0.10883571952581406,
-0.08696383237838745
] |
null | null |
transformers
|
<!-- 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-cola
This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on the glue dataset.
It achieves the following results on the evaluation set:
- Loss: 0.8651
- Matthews Correlation: 0.5475
## 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 | Matthews Correlation |
|:-------------:|:-----:|:----:|:---------------:|:--------------------:|
| 0.5233 | 1.0 | 535 | 0.5353 | 0.4004 |
| 0.3497 | 2.0 | 1070 | 0.5165 | 0.5076 |
| 0.2386 | 3.0 | 1605 | 0.6661 | 0.5161 |
| 0.1745 | 4.0 | 2140 | 0.7730 | 0.5406 |
| 0.1268 | 5.0 | 2675 | 0.8651 | 0.5475 |
### Framework versions
- Transformers 4.16.2
- Pytorch 1.10.2
- Datasets 1.18.3
- Tokenizers 0.11.6
|
{"license": "apache-2.0", "tags": ["generated_from_trainer"], "datasets": ["glue"], "metrics": ["matthews_correlation"], "model-index": [{"name": "distilbert-base-uncased-finetuned-cola", "results": [{"task": {"type": "text-classification", "name": "Text Classification"}, "dataset": {"name": "glue", "type": "glue", "args": "cola"}, "metrics": [{"type": "matthews_correlation", "value": 0.5474713423103301, "name": "Matthews Correlation"}]}]}]}
|
text-classification
|
cnu/distilbert-base-uncased-finetuned-cola
|
[
"transformers",
"pytorch",
"distilbert",
"text-classification",
"generated_from_trainer",
"dataset:glue",
"license:apache-2.0",
"model-index",
"autotrain_compatible",
"endpoints_compatible",
"region:us"
] |
2022-03-02T23:29:05+00:00
|
[] |
[] |
TAGS
#transformers #pytorch #distilbert #text-classification #generated_from_trainer #dataset-glue #license-apache-2.0 #model-index #autotrain_compatible #endpoints_compatible #region-us
|
distilbert-base-uncased-finetuned-cola
======================================
This model is a fine-tuned version of distilbert-base-uncased on the glue dataset.
It achieves the following results on the evaluation set:
* Loss: 0.8651
* Matthews Correlation: 0.5475
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
### Framework versions
* Transformers 4.16.2
* Pytorch 1.10.2
* Datasets 1.18.3
* Tokenizers 0.11.6
|
[
"### Training hyperparameters\n\n\nThe following hyperparameters were used during training:\n\n\n* learning\\_rate: 2e-05\n* train\\_batch\\_size: 16\n* eval\\_batch\\_size: 16\n* seed: 42\n* optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08\n* lr\\_scheduler\\_type: linear\n* num\\_epochs: 5",
"### Training results",
"### Framework versions\n\n\n* Transformers 4.16.2\n* Pytorch 1.10.2\n* Datasets 1.18.3\n* Tokenizers 0.11.6"
] |
[
"TAGS\n#transformers #pytorch #distilbert #text-classification #generated_from_trainer #dataset-glue #license-apache-2.0 #model-index #autotrain_compatible #endpoints_compatible #region-us \n",
"### Training hyperparameters\n\n\nThe following hyperparameters were used during training:\n\n\n* learning\\_rate: 2e-05\n* train\\_batch\\_size: 16\n* eval\\_batch\\_size: 16\n* seed: 42\n* optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08\n* lr\\_scheduler\\_type: linear\n* num\\_epochs: 5",
"### Training results",
"### Framework versions\n\n\n* Transformers 4.16.2\n* Pytorch 1.10.2\n* Datasets 1.18.3\n* Tokenizers 0.11.6"
] |
[
63,
98,
4,
32
] |
[
"passage: TAGS\n#transformers #pytorch #distilbert #text-classification #generated_from_trainer #dataset-glue #license-apache-2.0 #model-index #autotrain_compatible #endpoints_compatible #region-us \n### Training hyperparameters\n\n\nThe following hyperparameters were used during training:\n\n\n* learning\\_rate: 2e-05\n* train\\_batch\\_size: 16\n* eval\\_batch\\_size: 16\n* seed: 42\n* optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08\n* lr\\_scheduler\\_type: linear\n* num\\_epochs: 5### Training results### Framework versions\n\n\n* Transformers 4.16.2\n* Pytorch 1.10.2\n* Datasets 1.18.3\n* Tokenizers 0.11.6"
] |
[
-0.10321449488401413,
0.0865296721458435,
-0.0018011626088991761,
0.12940719723701477,
0.18226076662540436,
0.03274182602763176,
0.11424897611141205,
0.1224496066570282,
-0.09659866988658905,
0.003170378739014268,
0.1203124076128006,
0.1707867532968521,
0.011343221180140972,
0.13248926401138306,
-0.050211984664201736,
-0.262416809797287,
-0.004507886245846748,
0.03480665758252144,
-0.06713804602622986,
0.1379694640636444,
0.10492812097072601,
-0.11603180319070816,
0.09685758501291275,
0.004054395016282797,
-0.2118227630853653,
0.01399493683129549,
0.011133302003145218,
-0.05037126690149307,
0.14719057083129883,
0.029312830418348312,
0.11051546037197113,
-0.004074981901794672,
0.08884426951408386,
-0.19460690021514893,
0.007462236098945141,
0.04867701232433319,
0.006770396139472723,
0.08758504688739777,
0.05524999648332596,
-0.007890238426625729,
0.12891389429569244,
-0.09169165790081024,
0.046077605336904526,
0.03307484835386276,
-0.12780867516994476,
-0.23057904839515686,
-0.07300256937742233,
0.021979564800858498,
0.0853363573551178,
0.1075158417224884,
-0.005830048117786646,
0.1281927525997162,
-0.09802296757698059,
0.09413451701402664,
0.2153908610343933,
-0.27587997913360596,
-0.06097349897027016,
0.04158615320920944,
-0.005254498682916164,
0.04886670410633087,
-0.09978936612606049,
-0.031178893521428108,
0.0549640953540802,
0.05276356637477875,
0.12391959875822067,
-0.035532258450984955,
-0.1368388831615448,
0.012841126881539822,
-0.139475017786026,
-0.013603154569864273,
0.182713583111763,
0.04625566676259041,
-0.030530450865626335,
-0.0319615863263607,
-0.057718053460121155,
-0.10477209836244583,
-0.0314226858317852,
-0.007138045039027929,
0.054648276418447495,
-0.020460715517401695,
-0.05508819594979286,
0.0037567615509033203,
-0.09663748741149902,
-0.06600262224674225,
-0.0723491683602333,
0.13337171077728271,
0.03146340325474739,
0.01790231093764305,
-0.023491382598876953,
0.10209294408559799,
-0.012300020083785057,
-0.12611176073551178,
0.013666760176420212,
0.0179364662617445,
0.007668526377528906,
-0.05075616389513016,
-0.07057372480630875,
-0.03286314383149147,
0.016311023384332657,
0.1363624930381775,
-0.04867680370807648,
0.04323534667491913,
0.06283675134181976,
0.03436515852808952,
-0.08740897476673126,
0.19413849711418152,
-0.033486127853393555,
-0.028186548501253128,
0.009037104435265064,
0.037842147052288055,
0.015421651303768158,
-0.006238918751478195,
-0.11867314577102661,
0.0010725896572694182,
0.09261409193277359,
0.012454448267817497,
-0.07041289657354355,
0.07121901214122772,
-0.06399361044168472,
-0.02944938652217388,
0.000224443239858374,
-0.09821342676877975,
0.02602285146713257,
-0.012767025269567966,
-0.0864681676030159,
-0.0219684150069952,
0.02602745220065117,
0.01661640591919422,
-0.01498737744987011,
0.10159014910459518,
-0.09134814888238907,
0.042676642537117004,
-0.08888812363147736,
-0.10622049123048782,
0.006444942206144333,
-0.06686162948608398,
0.031180303543806076,
-0.09542474895715714,
-0.19750593602657318,
-0.0141493184491992,
0.06132855266332626,
-0.025851568207144737,
-0.06676718592643738,
-0.053705547004938126,
-0.06385310739278793,
0.006542579736560583,
-0.013162009418010712,
0.11757860332727432,
-0.07067478448152542,
0.08460316807031631,
0.04460260644555092,
0.06385369598865509,
-0.05752728506922722,
0.05940786376595497,
-0.11581786721944809,
0.009231696836650372,
-0.17367815971374512,
0.051347821950912476,
-0.04931537061929703,
0.08449428528547287,
-0.08735831826925278,
-0.10675905644893646,
0.03404180333018303,
-0.0024101517628878355,
0.05992931127548218,
0.1009589284658432,
-0.17893560230731964,
-0.08243788033723831,
0.14955084025859833,
-0.06877769529819489,
-0.1271551251411438,
0.11282114684581757,
-0.06098354607820511,
0.05908861756324768,
0.0784023255109787,
0.17577500641345978,
0.06878465414047241,
-0.05690119042992592,
0.014484605751931667,
0.031788669526576996,
0.04899923503398895,
-0.06723566353321075,
0.07551051676273346,
0.005606682971119881,
-0.014825577847659588,
0.040196482092142105,
-0.029180075973272324,
0.07512051612138748,
-0.09601449966430664,
-0.09738273918628693,
-0.04583406820893288,
-0.09243426471948624,
0.04284942150115967,
0.06861628592014313,
0.06669517606496811,
-0.10589978098869324,
-0.07224705815315247,
0.07100322842597961,
0.09050251543521881,
-0.04366524890065193,
0.019976625218987465,
-0.04531937837600708,
0.05253763869404793,
-0.021268976852297783,
-0.022515472024679184,
-0.1827346384525299,
-0.03195904567837715,
0.006097249686717987,
0.00888180360198021,
0.025972025468945503,
0.02179880253970623,
0.061894405633211136,
0.06225494295358658,
-0.0564037449657917,
-0.01726916991174221,
-0.025636114180088043,
0.004530842881649733,
-0.12498075515031815,
-0.19693991541862488,
-0.026494963094592094,
-0.01780216582119465,
0.1663733869791031,
-0.20566390454769135,
0.04139795899391174,
-0.03794370964169502,
0.07216081768274307,
0.0002580276923254132,
-0.00039344560354948044,
-0.045346472412347794,
0.07102043926715851,
-0.038069598376750946,
-0.056552618741989136,
0.07762596756219864,
0.010390378534793854,
-0.09071817994117737,
-0.06036738306283951,
-0.08324913680553436,
0.16599708795547485,
0.12781786918640137,
-0.12566304206848145,
-0.08056409657001495,
-0.007117971777915955,
-0.05999070033431053,
-0.028043754398822784,
-0.05093606188893318,
0.03578951582312584,
0.1749792993068695,
-0.011899685487151146,
0.1516995131969452,
-0.06208455190062523,
-0.036415960639715195,
0.00738617405295372,
-0.04383678361773491,
0.035729676485061646,
0.1252160221338272,
0.1191125139594078,
-0.08047094941139221,
0.14823617041110992,
0.1708182841539383,
-0.09162537008523941,
0.11834388226270676,
-0.043458085507154465,
-0.06095819175243378,
-0.016085585579276085,
-0.04275825247168541,
-0.019913233816623688,
0.08501246571540833,
-0.12393184006214142,
0.0031008468940854073,
0.028276462107896805,
0.028955217450857162,
0.02071058563888073,
-0.22028236091136932,
-0.0432012677192688,
0.03729930892586708,
-0.04107809439301491,
-0.02100737951695919,
-0.018352683633565903,
0.004277631174772978,
0.09945064038038254,
0.007195431273430586,
-0.09800370037555695,
0.04189368709921837,
0.008868391625583172,
-0.08220318704843521,
0.22280941903591156,
-0.09810887277126312,
-0.1581559032201767,
-0.1265595704317093,
-0.08304960280656815,
-0.0645042136311531,
0.007772789336740971,
0.06699863821268082,
-0.10714457184076309,
-0.03955754637718201,
-0.0631638914346695,
0.04368084669113159,
-0.0030368452426046133,
0.023762909695506096,
0.009507482871413231,
0.0029179570265114307,
0.08090322464704514,
-0.11370490491390228,
-0.017178168520331383,
-0.04728289321064949,
-0.05828019604086876,
0.04413885250687599,
0.024862831458449364,
0.10420025140047073,
0.14606468379497528,
-0.011139600537717342,
0.010745658539235592,
-0.025239255279302597,
0.2708338797092438,
-0.04681863635778427,
-0.026631657034158707,
0.1495165079832077,
0.007786455098539591,
0.048505999147892,
0.11931020021438599,
0.072303906083107,
-0.0937487930059433,
0.011357778683304787,
0.03730115294456482,
-0.02951100282371044,
-0.22115051746368408,
-0.062211208045482635,
-0.05190029367804527,
-0.012164470739662647,
0.08842345327138901,
0.02422284334897995,
0.02637355960905552,
0.06588482856750488,
0.0407254695892334,
0.07546748220920563,
-0.039469409734010696,
0.05348660424351692,
0.13015815615653992,
0.041267238557338715,
0.1321643590927124,
-0.04381517320871353,
-0.06314607709646225,
0.04956601560115814,
-0.031957585364580154,
0.2194056510925293,
0.01385564636439085,
0.10683813691139221,
0.052654873579740524,
0.15380539000034332,
-0.014413169585168362,
0.07886966317892075,
0.0053831059485673904,
-0.04003431648015976,
-0.019223954528570175,
-0.038080062717199326,
-0.0393252819776535,
0.028187382966279984,
-0.07607240974903107,
0.06528340280056,
-0.12766622006893158,
0.012137474492192268,
0.07116691768169403,
0.23378179967403412,
0.047946684062480927,
-0.33093690872192383,
-0.09741996973752975,
0.005522374529391527,
-0.030055604875087738,
-0.02122216485440731,
0.023520711809396744,
0.0605018213391304,
-0.09894750267267227,
0.043200455605983734,
-0.05655839666724205,
0.10929130017757416,
-0.034142669290304184,
0.05583189055323601,
0.07743499428033829,
0.11427542567253113,
0.013691212981939316,
0.09639140218496323,
-0.29675784707069397,
0.27067136764526367,
0.006952010095119476,
0.060911983251571655,
-0.06756609678268433,
0.0077187721617519855,
0.0477990061044693,
0.09293028712272644,
0.058649253100156784,
-0.0003854669921565801,
-0.03694549575448036,
-0.2049027383327484,
-0.05082398280501366,
0.03948512673377991,
0.07215370237827301,
-0.02998569793999195,
0.07663433253765106,
-0.03989062458276749,
0.013632766902446747,
0.07998776435852051,
0.002663549967110157,
-0.07746302336454391,
-0.09424537420272827,
-0.015348601154983044,
0.03146564960479736,
-0.03646760806441307,
-0.06045375391840935,
-0.11234032362699509,
-0.11984635144472122,
0.1684981882572174,
0.005464497953653336,
-0.03860844299197197,
-0.11476801335811615,
0.09065189212560654,
0.06905995309352875,
-0.09174903482198715,
0.03659967705607414,
-0.0011238708393648267,
0.06489665061235428,
0.03960583731532097,
-0.08283965289592743,
0.11339670419692993,
-0.07184991985559464,
-0.14023716747760773,
-0.05461551621556282,
0.09408865869045258,
0.030999021604657173,
0.06608592718839645,
-0.010149495676159859,
0.014409102499485016,
-0.05542489513754845,
-0.09443359822034836,
0.010475985705852509,
-0.005540065001696348,
0.05944110080599785,
0.044367533177137375,
-0.06667532026767731,
0.024745728820562363,
-0.06559067964553833,
-0.034158430993556976,
0.19477219879627228,
0.24058018624782562,
-0.09789291769266129,
0.011082804761826992,
0.02725745365023613,
-0.06517868489027023,
-0.1942937821149826,
0.04149194061756134,
0.04967877268791199,
0.0008041822002269328,
0.04384976252913475,
-0.18731221556663513,
0.1592053771018982,
0.11746640503406525,
-0.009562471881508827,
0.08895865082740784,
-0.3036618232727051,
-0.1233745738863945,
0.13743475079536438,
0.12083377689123154,
0.13902509212493896,
-0.1281069964170456,
-0.014389599673449993,
-0.04773302003741264,
-0.1375678926706314,
0.10460712015628815,
-0.10749094188213348,
0.11785504221916199,
-0.035955965518951416,
0.07972697913646698,
-0.002658629324287176,
-0.04309999197721481,
0.13918186724185944,
0.04560888558626175,
0.10653439164161682,
-0.058168623596429825,
-0.008581256493926048,
0.030833637341856956,
-0.04264676570892334,
0.03454478830099106,
-0.10784302651882172,
0.04275678098201752,
-0.103033646941185,
-0.018169699236750603,
-0.07124533504247665,
0.04944242537021637,
-0.033559400588274,
-0.06941677629947662,
-0.03380758687853813,
0.02316885069012642,
0.047223448753356934,
-0.014999118633568287,
0.1198594719171524,
0.02906179428100586,
0.14208416640758514,
0.0915207788348198,
0.058105114847421646,
-0.09658041596412659,
-0.06915352493524551,
-0.021873148158192635,
-0.010190515778958797,
0.05292443931102753,
-0.1477857232093811,
0.032667212188243866,
0.1447705179452896,
0.013703501783311367,
0.15366247296333313,
0.085780568420887,
-0.004195998888462782,
-0.009246287867426872,
0.06282170116901398,
-0.16158346831798553,
-0.08320300281047821,
-0.01610448770225048,
-0.06674022972583771,
-0.11878649890422821,
0.04677840694785118,
0.09020154923200607,
-0.06516478955745697,
-0.01144927367568016,
-0.010271353647112846,
0.011760004796087742,
-0.07107460498809814,
0.19654269516468048,
0.06770952045917511,
0.046407997608184814,
-0.11084534227848053,
0.07548826187849045,
0.04716073349118233,
-0.04352717101573944,
-0.006281414069235325,
0.07782093435525894,
-0.08778080344200134,
-0.04999588057398796,
0.09973793476819992,
0.19829212129116058,
-0.07659117877483368,
-0.04602626711130142,
-0.14038565754890442,
-0.12765184044837952,
0.07325071841478348,
0.12461178004741669,
0.13305240869522095,
0.008777282200753689,
-0.05580313131213188,
-0.005723749753087759,
-0.10321586579084396,
0.08155354857444763,
0.05392162874341011,
0.06681842356920242,
-0.14617542922496796,
0.14941085875034332,
0.010309569537639618,
0.054651495069265366,
-0.02366291917860508,
0.020005932077765465,
-0.10242137312889099,
0.007946045137941837,
-0.1248779296875,
-0.02683076448738575,
-0.03430961072444916,
0.019724484533071518,
0.0012455186806619167,
-0.054683867841959,
-0.05336391180753708,
0.016949232667684555,
-0.11440779268741608,
-0.03323003277182579,
0.027775630354881287,
0.0715693011879921,
-0.11446356028318405,
-0.046608902513980865,
0.028162788599729538,
-0.05960360914468765,
0.06808672845363617,
0.0487012155354023,
0.013592756353318691,
0.06572213768959045,
-0.15262959897518158,
-0.006395687349140644,
0.07485561072826385,
0.02245931513607502,
0.07370374351739883,
-0.09585753083229065,
-0.009678937494754791,
0.00025356130208820105,
0.05985793471336365,
0.019290782511234283,
0.07487480342388153,
-0.1349109709262848,
-0.012472858652472496,
-0.0332837849855423,
-0.09392594546079636,
-0.05946728214621544,
0.020745299756526947,
0.09636015444993973,
0.02350751683115959,
0.21145321428775787,
-0.07864388078451157,
0.03934748098254204,
-0.216311514377594,
0.0036657846067100763,
-0.023017562925815582,
-0.11802709847688675,
-0.12781329452991486,
-0.07768703997135162,
0.059466343373060226,
-0.054533861577510834,
0.1572996824979782,
0.04776361212134361,
0.04729437828063965,
0.02917994186282158,
0.007232623640447855,
0.018774358555674553,
0.011743004433810711,
0.20666180551052094,
0.04340968281030655,
-0.028618454933166504,
0.07145050913095474,
0.054445479065179825,
0.11286193877458572,
0.10933644324541092,
0.19888390600681305,
0.14822877943515778,
-0.017353883013129234,
0.0929185077548027,
0.03321613743901253,
-0.06405602395534515,
-0.1458684206008911,
0.026412643492221832,
-0.02404145896434784,
0.10167494416236877,
-0.019347822293639183,
0.19656386971473694,
0.04839914292097092,
-0.16761915385723114,
0.050113145262002945,
-0.06493636965751648,
-0.08985043317079544,
-0.12358089536428452,
-0.013840992003679276,
-0.08368367701768875,
-0.15571826696395874,
-0.009165038354694843,
-0.11298738420009613,
0.0047798799350857735,
0.13045962154865265,
-0.0023248428478837013,
-0.0260796956717968,
0.1434667706489563,
0.0059886351227760315,
0.01644860953092575,
0.04507502540946007,
-0.012071988545358181,
-0.03756564483046532,
-0.1107858419418335,
-0.06359461694955826,
-0.014117023907601833,
-0.008012795820832253,
0.031333766877651215,
-0.06455422192811966,
-0.060616523027420044,
0.034344591200351715,
-0.04292959347367287,
-0.10089442133903503,
0.012610514648258686,
0.020088987424969673,
0.04211726784706116,
0.040998443961143494,
0.011722595430910587,
0.015114650130271912,
-0.00041308518848381937,
0.2216859757900238,
-0.0791095495223999,
-0.08508030325174332,
-0.10562147200107574,
0.28770262002944946,
0.0384010411798954,
-0.011548498645424843,
0.02899620309472084,
-0.06934250146150589,
-0.00886267889291048,
0.23061785101890564,
0.21328461170196533,
-0.10011302679777145,
-0.009781332686543465,
-0.011116527020931244,
-0.01058961171656847,
-0.017499232664704323,
0.10780362039804459,
0.1347387135028839,
0.013189272955060005,
-0.09352804720401764,
-0.029238242655992508,
-0.058049526065588,
-0.02357175201177597,
-0.048056814819574356,
0.053144071251153946,
0.04818449914455414,
0.005364852957427502,
-0.03243699297308922,
0.06199243292212486,
-0.06233279034495354,
-0.06240464746952057,
0.047853823751211166,
-0.19487382471561432,
-0.16801872849464417,
-0.022539999336004257,
0.09418466687202454,
0.02110990695655346,
0.07000701874494553,
-0.033575430512428284,
0.00013795569248031825,
0.08176957815885544,
-0.02296336740255356,
-0.10160258412361145,
-0.10063498467206955,
0.10553315281867981,
-0.11461743712425232,
0.19855935871601105,
-0.040211021900177,
0.06392379850149155,
0.1257525384426117,
0.06664371490478516,
-0.07764072716236115,
0.07399627566337585,
0.03279954567551613,
-0.04250846058130264,
0.03256924822926521,
0.06690923124551773,
-0.04330752417445183,
0.057063911110162735,
0.03906261920928955,
-0.14382264018058777,
0.010295157320797443,
-0.03541606664657593,
-0.06992360949516296,
-0.04347655922174454,
-0.043690599501132965,
-0.05972219631075859,
0.12390995770692825,
0.22435960173606873,
-0.033633265644311905,
-0.0021174370776861906,
-0.07961592078208923,
0.010932762175798416,
0.06066342443227768,
0.005724610295146704,
-0.07723663747310638,
-0.21170391142368317,
0.011419752612709999,
0.06686484068632126,
-0.01698385365307331,
-0.22669565677642822,
-0.09125613421201706,
-0.011764614842832088,
-0.07201357930898666,
-0.08364289253950119,
0.0952967181801796,
0.07661175727844238,
0.04884399101138115,
-0.054529786109924316,
-0.07585370540618896,
-0.07788360118865967,
0.1521749049425125,
-0.1416233330965042,
-0.10080956667661667
] |
null | null |
transformers
|
# FairLex: A multilingual benchmark for evaluating fairness in legal text processing
We present a benchmark suite of four datasets for evaluating the fairness of pre-trained legal language models and the techniques used to fine-tune them for downstream tasks. Our benchmarks cover four jurisdictions (European Council, USA, Swiss, and Chinese), five languages (English, German, French, Italian and Chinese) and fairness across five attributes (gender, age, nationality/region, language, and legal area). In our experiments, we evaluate pre-trained language models using several group-robust fine-tuning techniques and show that performance group disparities are vibrant in many cases, while none of these techniques guarantee fairness, nor consistently mitigate group disparities. Furthermore, we provide a quantitative and qualitative analysis of our results, highlighting open challenges in the development of robustness methods in legal NLP.
---
Ilias Chalkidis, Tommaso Passini, Sheng Zhang, Letizia Tomada, Sebastian Felix Schwemer, and Anders Søgaard. 2022. FairLex: A multilingual bench-mark for evaluating fairness in legal text processing. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics, Dublin, Ireland.
---
## Pre-training details
For the purpose of this work, we release four domain-specific BERT models with continued pre-training on the corpora of the examined datasets (ECtHR, SCOTUS, FSCS, SPC).
We train mini-sized BERT models with 6 Transformer blocks, 384 hidden units, and 12 attention heads.
We warm-start all models from the public MiniLMv2 (Wang et al., 2021) using the distilled version of RoBERTa (Liu et al., 2019).
For the English datasets (ECtHR, SCOTUS) and the one distilled from XLM-R (Conneau et al., 2021) for the rest (trilingual FSCS, and Chinese SPC).
## Models list
| Model name | Training corpora | Language |
|-----------------------------------|------------------|--------------------|
| `coastalcph/fairlex-ecthr-minlm` | ECtHR | `en` |
| `coastalcph/fairlex-scotus-minlm` | SCOTUS | `en` |
| `coastalcph/fairlex-fscs-minlm` | FSCS | [`de`, `fr`, `it`] |
| `coastalcph/fairlex-cail-minlm` | CAIL | `zh` |
## Load Pretrained Model
```python
from transformers import AutoTokenizer, AutoModel
tokenizer = AutoTokenizer.from_pretrained("coastalcph/fairlex-cail-minlm")
model = AutoModel.from_pretrained("coastalcph/fairlex-cail-minlm")
```
## Evaluation on downstream tasks
Consider the experiments in the article:
_Ilias Chalkidis, Tommaso Passini, Sheng Zhang, Letizia Tomada, Sebastian Felix Schwemer, and Anders Søgaard. 2022. Fairlex: A multilingual bench-mark for evaluating fairness in legal text processing. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics, Dublin, Ireland._
## Author - Publication
```
@inproceedings{chalkidis-2022-fairlex,
author={Chalkidis, Ilias and Passini, Tommaso and Zhang, Sheng and
Tomada, Letizia and Schwemer, Sebastian Felix and Søgaard, Anders},
title={FairLex: A Multilingual Benchmark for Evaluating Fairness in Legal Text Processing},
booktitle={Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics},
year={2022},
address={Dublin, Ireland}
}
```
Ilias Chalkidis on behalf of [CoAStaL NLP Group](https://coastalcph.github.io)
| Github: [@ilias.chalkidis](https://github.com/iliaschalkidis) | Twitter: [@KiddoThe2B](https://twitter.com/KiddoThe2B) |
|
{"language": "zh", "license": "cc-by-nc-sa-4.0", "tags": ["legal", "fairlex"], "pipeline_tag": "fill-mask", "widget": [{"text": "\u4e0a\u8ff0\u4e8b\u5b9e\uff0c\u88ab\u544a\u4eba\u5728\u5ead\u5ba1\u8fc7\u7a0b\u4e2d\u4ea6\u65e0\u5f02\u8bae\uff0c\u4e14\u6709<mask>\u7684\u9648\u8ff0\uff0c\u73b0\u573a\u8fa8\u8ba4\u7b14\u5f55\u53ca\u7167\u7247\uff0c\u88ab\u544a\u4eba\u7684\u524d\u79d1\u5211\u4e8b\u5224\u51b3\u4e66\uff0c\u91ca\u653e\u8bc1\u660e\u6750\u6599\uff0c\u6293\u83b7\u7ecf\u8fc7\uff0c\u88ab\u544a\u4eba\u7684\u4f9b\u8ff0\u53ca\u8eab\u4efd\u8bc1\u660e\u7b49\u8bc1\u636e\u8bc1\u5b9e\uff0c\u8db3\u4ee5\u8ba4\u5b9a\u3002"}]}
|
fill-mask
|
coastalcph/fairlex-cail-minilm
|
[
"transformers",
"pytorch",
"xlm-roberta",
"fill-mask",
"legal",
"fairlex",
"zh",
"license:cc-by-nc-sa-4.0",
"autotrain_compatible",
"endpoints_compatible",
"region:us"
] |
2022-03-02T23:29:05+00:00
|
[] |
[
"zh"
] |
TAGS
#transformers #pytorch #xlm-roberta #fill-mask #legal #fairlex #zh #license-cc-by-nc-sa-4.0 #autotrain_compatible #endpoints_compatible #region-us
|
FairLex: A multilingual benchmark for evaluating fairness in legal text processing
==================================================================================
We present a benchmark suite of four datasets for evaluating the fairness of pre-trained legal language models and the techniques used to fine-tune them for downstream tasks. Our benchmarks cover four jurisdictions (European Council, USA, Swiss, and Chinese), five languages (English, German, French, Italian and Chinese) and fairness across five attributes (gender, age, nationality/region, language, and legal area). In our experiments, we evaluate pre-trained language models using several group-robust fine-tuning techniques and show that performance group disparities are vibrant in many cases, while none of these techniques guarantee fairness, nor consistently mitigate group disparities. Furthermore, we provide a quantitative and qualitative analysis of our results, highlighting open challenges in the development of robustness methods in legal NLP.
---
Ilias Chalkidis, Tommaso Passini, Sheng Zhang, Letizia Tomada, Sebastian Felix Schwemer, and Anders Søgaard. 2022. FairLex: A multilingual bench-mark for evaluating fairness in legal text processing. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics, Dublin, Ireland.
---
Pre-training details
--------------------
For the purpose of this work, we release four domain-specific BERT models with continued pre-training on the corpora of the examined datasets (ECtHR, SCOTUS, FSCS, SPC).
We train mini-sized BERT models with 6 Transformer blocks, 384 hidden units, and 12 attention heads.
We warm-start all models from the public MiniLMv2 (Wang et al., 2021) using the distilled version of RoBERTa (Liu et al., 2019).
For the English datasets (ECtHR, SCOTUS) and the one distilled from XLM-R (Conneau et al., 2021) for the rest (trilingual FSCS, and Chinese SPC).
Models list
-----------
Model name: 'coastalcph/fairlex-ecthr-minlm', Training corpora: ECtHR, Language: 'en'
Model name: 'coastalcph/fairlex-scotus-minlm', Training corpora: SCOTUS, Language: 'en'
Model name: 'coastalcph/fairlex-fscs-minlm', Training corpora: FSCS, Language: ['de', 'fr', 'it']
Model name: 'coastalcph/fairlex-cail-minlm', Training corpora: CAIL, Language: 'zh'
Load Pretrained Model
---------------------
Evaluation on downstream tasks
------------------------------
Consider the experiments in the article:
*Ilias Chalkidis, Tommaso Passini, Sheng Zhang, Letizia Tomada, Sebastian Felix Schwemer, and Anders Søgaard. 2022. Fairlex: A multilingual bench-mark for evaluating fairness in legal text processing. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics, Dublin, Ireland.*
Author - Publication
--------------------
Ilias Chalkidis on behalf of CoAStaL NLP Group
| Github: @ilias.chalkidis | Twitter: @KiddoThe2B |
|
[] |
[
"TAGS\n#transformers #pytorch #xlm-roberta #fill-mask #legal #fairlex #zh #license-cc-by-nc-sa-4.0 #autotrain_compatible #endpoints_compatible #region-us \n"
] |
[
60
] |
[
"passage: TAGS\n#transformers #pytorch #xlm-roberta #fill-mask #legal #fairlex #zh #license-cc-by-nc-sa-4.0 #autotrain_compatible #endpoints_compatible #region-us \n"
] |
[
-0.08693291246891022,
0.01194390282034874,
-0.006004967261105776,
0.0017113536596298218,
0.06275159120559692,
0.007636614143848419,
0.13771280646324158,
0.0789370983839035,
0.09244316816329956,
-0.03033212199807167,
0.13939924538135529,
0.2625039517879486,
0.012655586004257202,
0.1267675757408142,
-0.08287124335765839,
-0.16787326335906982,
0.026803981512784958,
0.06645114719867706,
-0.07312102615833282,
0.0778072401881218,
0.1054099053144455,
-0.07610329985618591,
0.055414505302906036,
0.01915089413523674,
-0.09345339238643646,
0.007363641634583473,
0.06736161559820175,
-0.10389690101146698,
0.08771981298923492,
0.07493594288825989,
0.0947643369436264,
0.13190966844558716,
-0.01852465234696865,
-0.11727777868509293,
0.037986330687999725,
-0.055104658007621765,
-0.12617063522338867,
0.04164380580186844,
0.0005966424942016602,
-0.012105915695428848,
0.07629066705703735,
-0.007529964204877615,
-0.05905924364924431,
0.07295536249876022,
-0.10597406327724457,
-0.2304050326347351,
-0.07066671550273895,
0.07514703273773193,
0.03929124400019646,
0.03511630743741989,
0.037265222519636154,
0.20290543138980865,
-0.09456117451190948,
0.052902497351169586,
0.1518012285232544,
-0.3957461714744568,
0.011568240821361542,
0.1108447015285492,
0.09142409265041351,
-0.05311949923634529,
-0.01806725189089775,
0.09523998200893402,
0.04206883907318115,
-0.015750935301184654,
0.020507866516709328,
-0.10448138415813446,
0.0875798687338829,
0.05470191687345505,
-0.07836724817752838,
-0.023815499618649483,
0.1992829442024231,
-0.01799524761736393,
-0.009160131216049194,
-0.039254073053598404,
-0.04194902628660202,
0.030881628394126892,
-0.03922601789236069,
0.08053254336118698,
-0.0079987533390522,
0.05256199836730957,
-0.007155085913836956,
-0.00562680559232831,
-0.1242024153470993,
0.02910744585096836,
-0.19666168093681335,
0.24506862461566925,
0.023731235414743423,
0.06670220196247101,
-0.13387542963027954,
0.025401270017027855,
0.0011202343739569187,
-0.11708705127239227,
-0.022816238924860954,
-0.07286863774061203,
0.05568835511803627,
0.019282180815935135,
-0.017922112718224525,
0.0433419868350029,
0.13483689725399017,
0.1813897043466568,
0.00583789125084877,
0.022066231817007065,
0.001517806202173233,
0.13524527847766876,
-0.03896985203027725,
0.033054910600185394,
0.012306381948292255,
0.011660285294055939,
0.09931351989507675,
-0.12005786597728729,
0.0883592963218689,
-0.029270198196172714,
-0.17503735423088074,
-0.0482872799038887,
-0.11017215251922607,
0.15753903985023499,
0.021624058485031128,
0.044438622891902924,
-0.06514289230108261,
0.03175250068306923,
0.18271778523921967,
-0.00916434358805418,
0.001778105739504099,
-0.011064795777201653,
0.04391702264547348,
0.0022149300202727318,
0.009202884510159492,
0.009132420644164085,
0.003081693546846509,
0.11907563358545303,
-0.060190703719854355,
-0.0033104922622442245,
0.0072472067549824715,
-0.027197018265724182,
0.088049978017807,
-0.08122774213552475,
0.07462774962186813,
-0.19050057232379913,
-0.13939008116722107,
0.054836712777614594,
0.02474614977836609,
0.02560490556061268,
-0.050672151148319244,
0.07118440419435501,
-0.01555058266967535,
-0.016849935054779053,
-0.06681572645902634,
-0.03680543601512909,
-0.08366965502500534,
0.1121729165315628,
-0.039629120379686356,
0.04471881687641144,
-0.15582013130187988,
0.012594263069331646,
-0.07682053744792938,
0.010168132372200489,
-0.019584327936172485,
-0.07184314727783203,
-0.07544731348752975,
0.11038871109485626,
0.011937852948904037,
-0.0804876834154129,
-0.03312302380800247,
0.012658348307013512,
-0.036691416054964066,
0.11206499487161636,
-0.06817147135734558,
-0.10125085711479187,
0.20911777019500732,
-0.10845987498760223,
-0.18527555465698242,
0.05283830314874649,
0.012186244130134583,
-0.02256689965724945,
0.03066691756248474,
0.08685111254453659,
0.052811965346336365,
-0.21181181073188782,
0.0389372855424881,
0.11167403310537338,
-0.13616371154785156,
-0.1839771866798401,
0.07075391709804535,
-0.03245054930448532,
-0.11674417555332184,
0.030861642211675644,
-0.02403627149760723,
0.11818872392177582,
-0.045357897877693176,
-0.08805810660123825,
-0.03625621646642685,
-0.043293677270412445,
0.08487715572118759,
0.026560094207525253,
0.052042022347450256,
-0.06893448531627655,
-0.01700538396835327,
-0.11954671144485474,
0.026173636317253113,
0.06041957810521126,
0.024374503642320633,
-0.1397770196199417,
0.14834310114383698,
-0.024116694927215576,
-0.005949545186012983,
-0.10153597593307495,
-0.05574836581945419,
-0.005860605277121067,
0.0016479399055242538,
0.043928056955337524,
0.12833309173583984,
0.03768742084503174,
-0.0030424927826970816,
-0.025311892852187157,
-0.027255525812506676,
0.10242380201816559,
0.037317484617233276,
0.004643121734261513,
-0.14629477262496948,
0.021885666996240616,
-0.03419541195034981,
0.06425090879201889,
-0.042684320360422134,
-0.010186169296503067,
0.08846898376941681,
0.07916688919067383,
-0.033861950039863586,
0.09559331089258194,
-0.0342102088034153,
0.020536066964268684,
-0.008705036714673042,
0.03985227644443512,
0.11763796955347061,
0.05827035382390022,
-0.10889463126659393,
0.21434399485588074,
-0.08394664525985718,
0.31844812631607056,
0.1848861426115036,
-0.1882878541946411,
0.01579606905579567,
-0.008935431018471718,
-0.027698609977960587,
0.003944785334169865,
0.00393281877040863,
0.042267095297575,
0.011095096357166767,
-0.04589748755097389,
0.1427604705095291,
-0.06359840929508209,
0.0009811876807361841,
0.05654023587703705,
-0.07716759294271469,
-0.017268216237425804,
0.04411860182881355,
0.17743271589279175,
-0.19660231471061707,
0.14527158439159393,
0.3175181746482849,
0.020868340507149696,
0.11643288284540176,
-0.06254403293132782,
0.05790005624294281,
-0.04139985889196396,
0.0004153014160692692,
0.009973094798624516,
0.12328150868415833,
-0.057449936866760254,
0.01369121577590704,
0.07408246397972107,
-0.0641620010137558,
0.03937283903360367,
-0.1545395702123642,
-0.0826161652803421,
-0.0171097069978714,
-0.010905015282332897,
-0.08630582690238953,
0.17031198740005493,
-0.011848446913063526,
0.08947999775409698,
-0.03866708278656006,
-0.13218411803245544,
0.13482597470283508,
-0.010564747266471386,
-0.08553777635097504,
0.12157505005598068,
-0.1335013508796692,
-0.21932369470596313,
-0.14122284948825836,
-0.12607386708259583,
-0.028629370033740997,
0.006690464913845062,
0.08540770411491394,
0.007272048853337765,
-0.0714629516005516,
0.07305939495563507,
-0.093072310090065,
-0.01650990918278694,
0.030609989538788795,
-0.07125147432088852,
0.03650524094700813,
-0.032594334334135056,
-0.08556362986564636,
-0.08711458742618561,
-0.01717030629515648,
-0.019308725371956825,
0.12661564350128174,
-0.05349010229110718,
0.10190708935260773,
0.11262887716293335,
0.010117629542946815,
0.0523860938847065,
-0.06056080758571625,
0.13185100257396698,
-0.06158001720905304,
0.007230708375573158,
0.22561796009540558,
0.02271098457276821,
0.09071647375822067,
0.12933962047100067,
0.06552354246377945,
-0.049723006784915924,
-0.015684107318520546,
-0.09981657564640045,
-0.11590276658535004,
-0.16459888219833374,
-0.12371364235877991,
-0.1453719139099121,
-0.01773073337972164,
0.01935518905520439,
0.067975714802742,
0.12727059423923492,
0.0822177305817604,
-0.009614852257072926,
-0.03568176180124283,
-0.008708027191460133,
0.06453099101781845,
0.2171105444431305,
-0.012439333833754063,
0.09525574743747711,
-0.10012619942426682,
-0.08835419267416,
0.07917855679988861,
0.02703714184463024,
0.13113442063331604,
0.13485966622829437,
0.02344866655766964,
0.12882857024669647,
0.20040997862815857,
0.1628711074590683,
0.07848070561885834,
0.06203816458582878,
-0.05830306559801102,
-0.006163840182125568,
-0.06355453282594681,
0.02162928320467472,
0.018343035131692886,
0.0782439112663269,
-0.1268433779478073,
-0.012466264888644218,
-0.1697397530078888,
0.04340704530477524,
0.06217234581708908,
0.03847503289580345,
-0.10007175803184509,
0.06185418367385864,
0.05184962600469589,
0.06696425378322601,
-0.023531652987003326,
0.04446743056178093,
-0.08165593445301056,
-0.12280114740133286,
0.1542777717113495,
-0.058757662773132324,
0.0676518902182579,
0.08954483270645142,
0.048936545848846436,
-0.03443422168493271,
-0.06432363390922546,
0.054373666644096375,
0.0899382084608078,
-0.2708780765533447,
0.22550301253795624,
0.029942017048597336,
-0.007428062614053488,
-0.10921277105808258,
-0.02282102406024933,
0.06141751632094383,
0.17892277240753174,
0.15224730968475342,
0.029329705983400345,
-0.09906192868947983,
-0.10132948309183121,
0.03900055214762688,
0.030981237068772316,
0.06756117939949036,
0.01772124692797661,
-0.042951732873916626,
-0.019181912764906883,
-0.04549863561987877,
-0.005159564781934023,
0.09719329327344894,
-0.010225075297057629,
-0.11604225635528564,
0.08005933463573456,
0.09195186197757721,
-0.00793082918971777,
-0.0673726499080658,
-0.02205236628651619,
-0.19924768805503845,
0.1459350883960724,
-0.14500102400779724,
-0.07714516669511795,
-0.10285432636737823,
-0.1445084810256958,
0.04458394646644592,
-0.08602156490087509,
0.06993848085403442,
-0.05122164636850357,
0.0026375912129878998,
-0.13382385671138763,
-0.17171582579612732,
0.1001458391547203,
-0.12154329568147659,
-0.07337311655282974,
-0.04029378667473793,
0.15064884722232819,
-0.10272587090730667,
0.05971693620085716,
0.029578465968370438,
0.010640999302268028,
-0.08549344539642334,
-0.12328140437602997,
0.022438881918787956,
-0.08812759816646576,
0.06875434517860413,
0.01959419995546341,
-0.04601328447461128,
-0.01897631213068962,
0.025468936190009117,
-0.06020335108041763,
0.15504495799541473,
0.3294777274131775,
-0.08538591861724854,
0.14483831822872162,
0.1568644642829895,
-0.04379201680421829,
-0.327877402305603,
-0.13459521532058716,
-0.17652060091495514,
-0.012902246788144112,
0.003101613372564316,
-0.08900517970323563,
0.04764149338006973,
0.015843354165554047,
-0.08423199504613876,
0.1734263300895691,
-0.1845542937517166,
-0.10009397566318512,
0.16293346881866455,
0.0012042764574289322,
0.38488492369651794,
-0.10528191179037094,
-0.06628179550170898,
-0.043143000453710556,
-0.12152426689863205,
0.11595679074525833,
-0.05847056582570076,
0.08848025649785995,
-0.01906432956457138,
-0.025672638788819313,
-0.01409393921494484,
-0.08411917090415955,
0.14653046429157257,
-0.045614875853061676,
0.06420720368623734,
-0.07376489788293839,
-0.05605623126029968,
0.1277526319026947,
0.01937585324048996,
-0.005262622609734535,
-0.11635613441467285,
0.0029708463698625565,
-0.036776356399059296,
-0.01685231551527977,
-0.09595077484846115,
0.1472819447517395,
-0.010058486834168434,
-0.0646059513092041,
-0.06544359028339386,
-0.0015510168159380555,
-0.008641061373054981,
-0.04098927602171898,
0.25952255725860596,
-0.023412514477968216,
0.089851014316082,
0.10992425680160522,
0.06597327440977097,
-0.2028924524784088,
-0.04966408759355545,
-0.07392041385173798,
-0.09037737548351288,
0.061118870973587036,
-0.03919626399874687,
0.0364665687084198,
0.1177053153514862,
0.004062189720571041,
0.07061542570590973,
0.0785585269331932,
-0.012047280557453632,
0.0015459153801202774,
0.15574514865875244,
-0.15710899233818054,
-0.025134645402431488,
-0.05370253324508667,
0.07090727984905243,
0.10057704150676727,
0.06675846129655838,
0.07242965698242188,
0.0129923727363348,
-0.010849980637431145,
0.017761260271072388,
-0.006982087157666683,
-0.08741595596075058,
0.044402480125427246,
0.11372845619916916,
0.037245750427246094,
-0.1334497034549713,
0.009384673088788986,
-0.04437120631337166,
-0.0657392293214798,
-0.064101442694664,
0.06418449431657791,
-0.1453976333141327,
-0.11622507870197296,
-0.042819954454898834,
0.07161206007003784,
-0.2195834219455719,
-0.11439485847949982,
-0.10107246041297913,
-0.17415744066238403,
0.03196283429861069,
0.21449148654937744,
0.09411190450191498,
0.051185354590415955,
0.041723232716321945,
-0.08361820876598358,
-0.004315518774092197,
-0.013806652277708054,
-0.07617218792438507,
0.030877457931637764,
-0.07593026757240295,
0.05571698397397995,
0.009475072845816612,
0.17748859524726868,
-0.08603150397539139,
0.008708410896360874,
-0.12644289433956146,
0.05178092047572136,
-0.08710701763629913,
0.0025803137104958296,
-0.13409891724586487,
-0.048462845385074615,
0.005787278059870005,
-0.05406828969717026,
-0.02933923713862896,
0.020335141569375992,
-0.11171647906303406,
0.030086122453212738,
0.04159626364707947,
0.027772076427936554,
-0.048584483563899994,
-0.06946724653244019,
0.05950743705034256,
-0.018799031153321266,
0.07006403803825378,
0.046879224479198456,
-0.04606439545750618,
0.11686857044696808,
-0.11092448234558105,
-0.08562414348125458,
0.090796560049057,
0.05396870896220207,
0.03529730439186096,
-0.0176487248390913,
0.0459662489593029,
0.08767867088317871,
-0.041918281465768814,
0.06057992950081825,
-0.050747618079185486,
-0.12867261469364166,
0.029783744364976883,
-0.03345882147550583,
-0.07500220090150833,
-0.012660469859838486,
-0.06810697168111801,
0.08355607837438583,
0.0334305465221405,
0.14893193542957306,
-0.04537365585565567,
0.04340019077062607,
-0.026922401040792465,
-0.000693432055413723,
-0.05630994588136673,
-0.16783511638641357,
-0.02153681218624115,
-0.06268955767154694,
-0.01755240373313427,
-0.007060549687594175,
0.2504251003265381,
-0.0004744594916701317,
-0.09908340126276016,
0.062468454241752625,
0.1136881411075592,
0.024488043040037155,
-0.007780334912240505,
0.19216150045394897,
0.02167956903576851,
0.01243556383997202,
-0.08816446363925934,
0.08294478058815002,
-0.023844042792916298,
-0.08068091422319412,
0.11365027725696564,
0.04575793072581291,
0.09166638553142548,
0.0321449339389801,
0.08536342531442642,
-0.035910554230213165,
-0.036788418889045715,
-0.10328367352485657,
-0.005768425762653351,
0.036865781992673874,
0.002337242942303419,
-0.010996217839419842,
0.17035087943077087,
-0.054934144020080566,
0.011834502220153809,
0.011704463511705399,
-0.003867744468152523,
-0.1856752634048462,
-0.15909509360790253,
-0.07330299913883209,
-0.028346162289381027,
0.037906501442193985,
0.016461744904518127,
-0.009128878824412823,
0.056392405182123184,
0.02121998928487301,
-0.04373396933078766,
-0.0018927115015685558,
-0.06480160355567932,
-0.032264694571495056,
0.026894904673099518,
-0.012469835579395294,
-0.006367916241288185,
-0.022101199254393578,
-0.018117761239409447,
-0.09829726070165634,
-0.1331695318222046,
-0.03604615107178688,
0.010651808232069016,
-0.03373633325099945,
0.02397284284234047,
-0.08765053004026413,
-0.07330641150474548,
-0.053712643682956696,
0.04536053165793419,
0.054688770323991776,
0.138988196849823,
-0.006240635644644499,
0.04656334966421127,
0.03496244549751282,
0.04604896157979965,
-0.020503701642155647,
-0.17377351224422455,
-0.0334978811442852,
0.12058219313621521,
0.04921920597553253,
0.04704012721776962,
0.026688599959015846,
0.03855512663722038,
0.022405661642551422,
0.2919476628303528,
0.29369646310806274,
-0.046149447560310364,
0.11129958927631378,
0.025501521304249763,
0.01897004246711731,
0.050364941358566284,
0.07613429427146912,
0.03810562565922737,
0.30607426166534424,
-0.0993262305855751,
-0.04026172310113907,
-0.0920790433883667,
0.024492643773555756,
-0.12384746968746185,
0.02033698558807373,
-0.004022430628538132,
-0.08684014528989792,
0.004900613334029913,
0.08093871921300888,
-0.1335822343826294,
0.10228889435529709,
0.1383991539478302,
-0.11679614335298538,
0.007134459912776947,
-0.00811830721795559,
0.0657791942358017,
0.04410802945494652,
0.047242991626262665,
-0.09083389490842819,
-0.03968832269310951,
0.0133408447727561,
0.007783668115735054,
-0.19417265057563782,
-0.009721196256577969,
0.08437927812337875,
0.026074383407831192,
0.05163548141717911,
-0.014038871973752975,
0.12358548492193222,
0.11265069246292114,
0.06636060029268265,
-0.051349494606256485,
0.13629469275474548,
0.03458372503519058,
-0.12590795755386353,
-0.019674384966492653,
-0.1252109259366989,
0.006263097748160362,
-0.03556198626756668,
0.001651792787015438,
-0.022059228271245956,
0.08864784240722656,
-0.023120367899537086,
-0.05864749103784561,
-0.022465679794549942,
0.08582018315792084,
-0.06743913888931274,
0.0667867660522461,
-0.013716122135519981,
-0.004895014222711325,
-0.073647640645504,
-0.03876952826976776,
-0.00416824035346508,
0.08106353133916855,
-0.13260658085346222,
-0.07230045646429062,
-0.02062351256608963,
-0.010084446519613266,
0.04032504931092262,
0.018017787486314774,
-0.09503254294395447,
-0.027418529614806175,
-0.11030575633049011,
0.0039657955057919025,
-0.1379314363002777,
0.028312597423791885,
0.09115593135356903,
0.00303569994866848,
0.008035631850361824,
-0.09483000636100769,
0.004439478740096092,
-0.009752628393471241,
-0.12423821538686752,
-0.07756862044334412
] |
null | null |
transformers
|
# FairLex: A multilingual benchmark for evaluating fairness in legal text processing
We present a benchmark suite of four datasets for evaluating the fairness of pre-trained legal language models and the techniques used to fine-tune them for downstream tasks. Our benchmarks cover four jurisdictions (European Council, USA, Swiss, and Chinese), five languages (English, German, French, Italian and Chinese) and fairness across five attributes (gender, age, nationality/region, language, and legal area). In our experiments, we evaluate pre-trained language models using several group-robust fine-tuning techniques and show that performance group disparities are vibrant in many cases, while none of these techniques guarantee fairness, nor consistently mitigate group disparities. Furthermore, we provide a quantitative and qualitative analysis of our results, highlighting open challenges in the development of robustness methods in legal NLP.
---
Ilias Chalkidis, Tommaso Passini, Sheng Zhang, Letizia Tomada, Sebastian Felix Schwemer, and Anders Søgaard. 2022. FairLex: A multilingual bench-mark for evaluating fairness in legal text processing. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics, Dublin, Ireland.
---
## Pre-training details
For the purpose of this work, we release four domain-specific BERT models with continued pre-training on the corpora of the examined datasets (ECtHR, SCOTUS, FSCS, SPC).
We train mini-sized BERT models with 6 Transformer blocks, 384 hidden units, and 12 attention heads.
We warm-start all models from the public MiniLMv2 (Wang et al., 2021) using the distilled version of RoBERTa (Liu et al., 2019).
For the English datasets (ECtHR, SCOTUS) and the one distilled from XLM-R (Conneau et al., 2021) for the rest (trilingual FSCS, and Chinese SPC).
## Models list
| Model name | Training corpora | Language |
|-----------------------------------|------------------|--------------------|
| `coastalcph/fairlex-ecthr-minlm` | ECtHR | `en` |
| `coastalcph/fairlex-scotus-minlm` | SCOTUS | `en` |
| `coastalcph/fairlex-fscs-minlm` | FSCS | [`de`, `fr`, `it`] |
| `coastalcph/fairlex-cail-minlm` | CAIL | `zh` |
## Load Pretrained Model
```python
from transformers import AutoTokenizer, AutoModel
tokenizer = AutoTokenizer.from_pretrained("coastalcph/fairlex-ecthr-minilm")
model = AutoModel.from_pretrained("coastalcph/fairlex-ecthr-minilm")
```
## Evaluation on downstream tasks
Consider the experiments in the article:
_Ilias Chalkidis, Tommaso Passini, Sheng Zhang, Letizia Tomada, Sebastian Felix Schwemer, and Anders Søgaard. 2022. Fairlex: A multilingual bench-mark for evaluating fairness in legal text processing. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics, Dublin, Ireland._
## Author - Publication
```
@inproceedings{chalkidis-2022-fairlex,
author={Chalkidis, Ilias and Passini, Tommaso and Zhang, Sheng and
Tomada, Letizia and Schwemer, Sebastian Felix and Søgaard, Anders},
title={FairLex: A Multilingual Benchmark for Evaluating Fairness in Legal Text Processing},
booktitle={Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics},
year={2022},
address={Dublin, Ireland}
}
```
Ilias Chalkidis on behalf of [CoAStaL NLP Group](https://coastalcph.github.io)
| Github: [@ilias.chalkidis](https://github.com/iliaschalkidis) | Twitter: [@KiddoThe2B](https://twitter.com/KiddoThe2B) |
|
{"language": "en", "license": "cc-by-nc-sa-4.0", "tags": ["legal", "fairlex"], "pipeline_tag": "fill-mask", "widget": [{"text": "The applicant submitted that her husband was subjected to treatment amounting to <mask> whilst in the custody of Adana Security Directorate"}]}
|
fill-mask
|
coastalcph/fairlex-ecthr-minilm
|
[
"transformers",
"pytorch",
"roberta",
"fill-mask",
"legal",
"fairlex",
"en",
"license:cc-by-nc-sa-4.0",
"autotrain_compatible",
"endpoints_compatible",
"region:us"
] |
2022-03-02T23:29:05+00:00
|
[] |
[
"en"
] |
TAGS
#transformers #pytorch #roberta #fill-mask #legal #fairlex #en #license-cc-by-nc-sa-4.0 #autotrain_compatible #endpoints_compatible #region-us
|
FairLex: A multilingual benchmark for evaluating fairness in legal text processing
==================================================================================
We present a benchmark suite of four datasets for evaluating the fairness of pre-trained legal language models and the techniques used to fine-tune them for downstream tasks. Our benchmarks cover four jurisdictions (European Council, USA, Swiss, and Chinese), five languages (English, German, French, Italian and Chinese) and fairness across five attributes (gender, age, nationality/region, language, and legal area). In our experiments, we evaluate pre-trained language models using several group-robust fine-tuning techniques and show that performance group disparities are vibrant in many cases, while none of these techniques guarantee fairness, nor consistently mitigate group disparities. Furthermore, we provide a quantitative and qualitative analysis of our results, highlighting open challenges in the development of robustness methods in legal NLP.
---
Ilias Chalkidis, Tommaso Passini, Sheng Zhang, Letizia Tomada, Sebastian Felix Schwemer, and Anders Søgaard. 2022. FairLex: A multilingual bench-mark for evaluating fairness in legal text processing. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics, Dublin, Ireland.
---
Pre-training details
--------------------
For the purpose of this work, we release four domain-specific BERT models with continued pre-training on the corpora of the examined datasets (ECtHR, SCOTUS, FSCS, SPC).
We train mini-sized BERT models with 6 Transformer blocks, 384 hidden units, and 12 attention heads.
We warm-start all models from the public MiniLMv2 (Wang et al., 2021) using the distilled version of RoBERTa (Liu et al., 2019).
For the English datasets (ECtHR, SCOTUS) and the one distilled from XLM-R (Conneau et al., 2021) for the rest (trilingual FSCS, and Chinese SPC).
Models list
-----------
Model name: 'coastalcph/fairlex-ecthr-minlm', Training corpora: ECtHR, Language: 'en'
Model name: 'coastalcph/fairlex-scotus-minlm', Training corpora: SCOTUS, Language: 'en'
Model name: 'coastalcph/fairlex-fscs-minlm', Training corpora: FSCS, Language: ['de', 'fr', 'it']
Model name: 'coastalcph/fairlex-cail-minlm', Training corpora: CAIL, Language: 'zh'
Load Pretrained Model
---------------------
Evaluation on downstream tasks
------------------------------
Consider the experiments in the article:
*Ilias Chalkidis, Tommaso Passini, Sheng Zhang, Letizia Tomada, Sebastian Felix Schwemer, and Anders Søgaard. 2022. Fairlex: A multilingual bench-mark for evaluating fairness in legal text processing. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics, Dublin, Ireland.*
Author - Publication
--------------------
Ilias Chalkidis on behalf of CoAStaL NLP Group
| Github: @ilias.chalkidis | Twitter: @KiddoThe2B |
|
[] |
[
"TAGS\n#transformers #pytorch #roberta #fill-mask #legal #fairlex #en #license-cc-by-nc-sa-4.0 #autotrain_compatible #endpoints_compatible #region-us \n"
] |
[
57
] |
[
"passage: TAGS\n#transformers #pytorch #roberta #fill-mask #legal #fairlex #en #license-cc-by-nc-sa-4.0 #autotrain_compatible #endpoints_compatible #region-us \n"
] |
[
-0.0584137924015522,
0.06267021596431732,
-0.007477899082005024,
0.02096620760858059,
0.0695098266005516,
0.004596199374645948,
0.1441883146762848,
0.0715203583240509,
0.04389961436390877,
-0.03166312351822853,
0.17371752858161926,
0.28511837124824524,
-0.0007769492221996188,
0.11560855805873871,
-0.08385352045297623,
-0.1930324137210846,
0.030868053436279297,
0.05554623529314995,
-0.03809309005737305,
0.09755955636501312,
0.10732477158308029,
-0.06794022023677826,
0.048387739807367325,
0.01818649284541607,
-0.10004361718893051,
0.016178742051124573,
0.07866742461919785,
-0.11867348849773407,
0.09422715753316879,
0.06037421151995659,
0.12939248979091644,
0.1015436127781868,
-0.03592687472701073,
-0.10424601286649704,
0.036426834762096405,
-0.0446801483631134,
-0.10557515919208527,
0.054565608501434326,
0.004040208179503679,
-0.02045334130525589,
0.06757641583681107,
0.03152455389499664,
-0.01612827554345131,
0.06379338353872299,
-0.1518288552761078,
-0.2060040384531021,
-0.04492904245853424,
0.03783732280135155,
0.06057833880186081,
0.04428837075829506,
0.02834104374051094,
0.1794799566268921,
-0.10976134240627289,
0.057638511061668396,
0.0902295857667923,
-0.37235701084136963,
0.00022305475431494415,
0.09701259434223175,
0.05644982308149338,
-0.07687551528215408,
-0.015959104523062706,
0.07142610847949982,
0.0390833355486393,
0.007993829436600208,
0.018358277156949043,
-0.11225193738937378,
-0.03318491205573082,
0.03720356151461601,
-0.06316545605659485,
-0.03456945717334747,
0.19744081795215607,
-0.02690025418996811,
-0.013738521374762058,
-0.028234846889972687,
-0.043963219970464706,
0.05654575303196907,
-0.03975485637784004,
0.05090909078717232,
0.013445933349430561,
0.0734621062874794,
-0.01993486098945141,
0.0043662358075380325,
-0.13563022017478943,
0.041487064212560654,
-0.22425706684589386,
0.18500083684921265,
0.0069669452495872974,
0.06273327767848969,
-0.14232394099235535,
0.019381800666451454,
-0.03394686058163643,
-0.09216822683811188,
-0.0012574010761454701,
-0.0645177960395813,
0.08982794731855392,
-0.0033995138946920633,
-0.04651191458106041,
0.045801736414432526,
0.0974031388759613,
0.20759014785289764,
0.005748162977397442,
0.003325078869238496,
-0.02137589454650879,
0.15087425708770752,
-0.0384695827960968,
0.008379267528653145,
0.01416095346212387,
0.04446147009730339,
0.08254566043615341,
-0.137284055352211,
0.09259038418531418,
-0.012229964137077332,
-0.16441798210144043,
-0.03794725611805916,
-0.14665678143501282,
0.14157302677631378,
0.03976140916347504,
0.029960429295897484,
-0.10212916135787964,
0.05207426846027374,
0.18965815007686615,
-0.010757223702967167,
0.0016268233302980661,
-0.023551002144813538,
0.06440073996782303,
0.010461393743753433,
0.010947676375508308,
0.021183617413043976,
0.013033078983426094,
0.13947509229183197,
-0.06929343938827515,
-0.017710326239466667,
0.00511894328519702,
-0.026217080652713776,
0.10370839387178421,
-0.08901236951351166,
0.08743896335363388,
-0.20359744131565094,
-0.14208702743053436,
0.04964261129498482,
0.040522538125514984,
0.00003898778959410265,
-0.06699714809656143,
0.0466763935983181,
-0.024382228031754494,
-0.0264801736921072,
-0.07184301316738129,
-0.06376228481531143,
-0.07787439227104187,
0.10796240717172623,
-0.04634065926074982,
0.06148877739906311,
-0.14180126786231995,
0.005143551155924797,
-0.11285797506570816,
-0.0038894626777619123,
-0.09078509360551834,
-0.06765639781951904,
-0.03670528158545494,
0.12992815673351288,
-0.0052052573300898075,
-0.06927375495433807,
-0.07375974953174591,
0.013533467426896095,
-0.024065136909484863,
0.1574651300907135,
-0.05851403623819351,
-0.10073444247245789,
0.20806020498275757,
-0.107649065554142,
-0.17704704403877258,
0.06641434133052826,
0.014007652178406715,
0.03141304850578308,
0.045892003923654556,
0.08301758021116257,
0.02677266299724579,
-0.17992515861988068,
0.0593574121594429,
0.11485595256090164,
-0.14172668755054474,
-0.1916458010673523,
0.0787975862622261,
-0.08247706294059753,
-0.11529769748449326,
0.01936519145965576,
0.01575806923210621,
0.11829891800880432,
-0.04634226858615875,
-0.08379637449979782,
-0.01483236812055111,
-0.03107982687652111,
0.07761326432228088,
0.027648476883769035,
0.04453428462147713,
-0.08051039278507233,
-0.02085891179740429,
-0.1213860958814621,
-0.009508407674729824,
0.07907082885503769,
0.03455859795212746,
-0.1255461424589157,
0.13124535977840424,
-0.0507926419377327,
-0.016273019835352898,
-0.11973405629396439,
-0.06332873553037643,
-0.015998631715774536,
0.020631840452551842,
0.0341702476143837,
0.11390528082847595,
0.05561741068959236,
-0.03407923877239227,
-0.037575025111436844,
0.004557175096124411,
0.12129084020853043,
0.02422592230141163,
0.0005813175230287015,
-0.152588352560997,
0.053003326058387756,
-0.043057747185230255,
0.04009781405329704,
-0.026171931996941566,
-0.01467604748904705,
0.09114300459623337,
0.09013212472200394,
-0.02853451482951641,
0.0806582048535347,
-0.0339210107922554,
0.030656035989522934,
-0.011952315457165241,
0.03614545986056328,
0.13348223268985748,
0.056634318083524704,
-0.08423293381929398,
0.2421787828207016,
-0.07125923037528992,
0.30330291390419006,
0.18835899233818054,
-0.23316015303134918,
-0.037153586745262146,
0.005450626369565725,
-0.029714351519942284,
0.008935308083891869,
-0.006834091152995825,
0.049400776624679565,
0.04385549947619438,
-0.03166363760828972,
0.13783538341522217,
-0.04694368317723274,
0.003946105483919382,
0.05260607972741127,
-0.0718548595905304,
-0.04173766449093819,
0.0336131677031517,
0.17043286561965942,
-0.15677417814731598,
0.1558198183774948,
0.36281898617744446,
0.008786768652498722,
0.08044520020484924,
-0.03994516283273697,
0.0348992645740509,
-0.03955264016985893,
0.005433694459497929,
0.014432510361075401,
0.08206628262996674,
-0.07947241514921188,
0.02226617932319641,
0.07325819134712219,
-0.0663883313536644,
0.02462775632739067,
-0.1420290470123291,
-0.09283943474292755,
-0.010853567160665989,
0.01880144141614437,
-0.08627959340810776,
0.14682810008525848,
-0.0073654064908623695,
0.08895312994718552,
-0.017672080546617508,
-0.14734216034412384,
0.15562210977077484,
-0.002480684779584408,
-0.07022327929735184,
0.1367948353290558,
-0.1220850721001625,
-0.22683678567409515,
-0.1524485945701599,
-0.12001830339431763,
0.032295092940330505,
0.040160004049539566,
0.09197230637073517,
-0.0046518417075276375,
-0.07672403752803802,
0.071698859333992,
-0.09614136815071106,
-0.022558625787496567,
0.021791383624076843,
-0.06710755079984665,
0.039381083101034164,
-0.011501267552375793,
-0.06567327678203583,
-0.07528328150510788,
0.0019667393062263727,
-0.022540556266903877,
0.12621036171913147,
-0.04412815719842911,
0.09698492288589478,
0.10942324995994568,
0.015508160926401615,
0.028253750875592232,
-0.06261279433965683,
0.15423430502414703,
-0.06670711189508438,
-0.007672099396586418,
0.19720828533172607,
0.003359175054356456,
0.08349259197711945,
0.15932758152484894,
0.0713459923863411,
-0.06288071721792221,
-0.0004666007880587131,
-0.09515632688999176,
-0.10504987090826035,
-0.17654438316822052,
-0.08921492844820023,
-0.13370788097381592,
0.01551898755133152,
0.044265419244766235,
0.051065411418676376,
0.0703163743019104,
0.1079476997256279,
0.02410549484193325,
-0.03035888820886612,
0.006142192054539919,
0.07872937619686127,
0.28521084785461426,
-0.041218627244234085,
0.11099109053611755,
-0.08898308128118515,
-0.11512365192174911,
0.08464854210615158,
0.027611324563622475,
0.0821143314242363,
0.15217091143131256,
-0.0037962314672768116,
0.1162140890955925,
0.17086820304393768,
0.1396564543247223,
0.08104652911424637,
0.06666184961795807,
-0.04463214427232742,
-0.018757686018943787,
-0.05330399423837662,
-0.0006160574848763645,
0.02349184826016426,
0.07953003793954849,
-0.14242064952850342,
-0.003407158423215151,
-0.19147531688213348,
0.028880754485726357,
0.08384284377098083,
0.09293380379676819,
-0.14631006121635437,
0.04672667756676674,
0.06035774201154709,
0.07003884017467499,
-0.02975539304316044,
0.07928057014942169,
-0.07772842049598694,
-0.11512037366628647,
0.131761834025383,
-0.06104808673262596,
0.07066578418016434,
0.06049514561891556,
0.05337498337030411,
-0.024831827729940414,
-0.08843056857585907,
0.05260496586561203,
0.08208522200584412,
-0.2722807824611664,
0.23782983422279358,
0.02489616349339485,
-0.02100256457924843,
-0.07581210881471634,
-0.01197112537920475,
0.04746534302830696,
0.17573238909244537,
0.1784100979566574,
0.015835558995604515,
-0.0890166312456131,
-0.11168498545885086,
0.018103040754795074,
0.02124837040901184,
0.06922753155231476,
0.01682828739285469,
-0.055766865611076355,
-0.01974393054842949,
-0.03199067339301109,
0.0065124970860779285,
0.07581804692745209,
0.0032057780772447586,
-0.1199895516037941,
0.06446962803602219,
0.12222422659397125,
0.0293869785964489,
-0.04466773942112923,
-0.024470550939440727,
-0.1576405167579651,
0.16006380319595337,
-0.13120323419570923,
-0.06058584153652191,
-0.09945759922266006,
-0.15783266723155975,
0.05914862081408501,
-0.07642652094364166,
0.08164526522159576,
-0.0763368159532547,
-0.017225001007318497,
-0.12161340564489365,
-0.1423114538192749,
0.13354046642780304,
-0.13198760151863098,
-0.05999711900949478,
-0.056360580027103424,
0.12875057756900787,
-0.10665923357009888,
0.04309432953596115,
0.021664423868060112,
0.055251769721508026,
-0.09991598129272461,
-0.10199583321809769,
0.03239935636520386,
-0.11666852980852127,
0.09664826840162277,
0.026346299797296524,
-0.06149676442146301,
0.003269558073952794,
0.03287482261657715,
-0.04445863887667656,
0.15993236005306244,
0.3344018757343292,
-0.07718832045793533,
0.1409696340560913,
0.20726928114891052,
-0.05646579712629318,
-0.32575124502182007,
-0.10729873925447464,
-0.19001349806785583,
-0.035667650401592255,
0.045368120074272156,
-0.11859311908483505,
0.05096523091197014,
0.024923305958509445,
-0.09009790420532227,
0.13608330488204956,
-0.16160009801387787,
-0.09487710148096085,
0.19885370135307312,
-0.015580110251903534,
0.39922964572906494,
-0.10494741052389145,
-0.06566163152456284,
-0.03862922266125679,
-0.14693492650985718,
0.09259703010320663,
-0.04377979040145874,
0.0723157450556755,
-0.006639454979449511,
0.0008844753028824925,
-0.005779459606856108,
-0.08745452761650085,
0.1342417597770691,
-0.05254866182804108,
0.056757714599370956,
-0.0875428169965744,
-0.03540172800421715,
0.1391548216342926,
0.030922526493668556,
-0.002492922358214855,
-0.058177851140499115,
0.00838683545589447,
-0.028254356235265732,
-0.02031618170440197,
-0.09636101871728897,
0.1450377106666565,
-0.00921129621565342,
-0.07291343063116074,
-0.044480860233306885,
0.0017263335175812244,
-0.01424029003828764,
-0.04727549850940704,
0.2682605981826782,
-0.02254413813352585,
0.1410835236310959,
0.10747332870960236,
0.0802672877907753,
-0.16589072346687317,
-0.042908426374197006,
-0.05048828572034836,
-0.11604667454957962,
0.046484097838401794,
-0.03486977517604828,
0.021148866042494774,
0.1120719462633133,
-0.020650750026106834,
0.0681036189198494,
0.08660973608493805,
0.008850093930959702,
0.005119860637933016,
0.17017264664173126,
-0.16439130902290344,
-0.004875815939158201,
-0.016562970355153084,
0.04176315665245056,
0.06577562540769577,
0.036644503474235535,
0.08319179713726044,
0.0037454250268638134,
-0.00425028707832098,
0.026658089831471443,
0.0032066390849649906,
-0.08097346872091293,
0.008828035555779934,
0.09481096267700195,
0.0046232473105192184,
-0.11074003577232361,
0.032356902956962585,
-0.021033693104982376,
-0.16188640892505646,
-0.05453890562057495,
0.038358960300683975,
-0.13466259837150574,
-0.10903115570545197,
-0.0578860305249691,
0.028094051405787468,
-0.2343708574771881,
-0.09176838397979736,
-0.08438996225595474,
-0.1600010097026825,
0.04815061017870903,
0.17813004553318024,
0.08915438503026962,
0.0771564468741417,
0.03564132750034332,
-0.06809422373771667,
-0.00786175299435854,
-0.004817923530936241,
-0.09220677614212036,
0.014531916938722134,
-0.05267161875963211,
0.04986698552966118,
-0.00015738459478598088,
0.13510003685951233,
-0.07857941836118698,
0.005270295776426792,
-0.1284428983926773,
0.060291532427072525,
-0.047522157430648804,
-0.021320411935448647,
-0.13858965039253235,
-0.04595592990517616,
0.013356881216168404,
-0.044884953647851944,
-0.03832640498876572,
-0.012768818996846676,
-0.10889911651611328,
0.039396367967128754,
0.05116555839776993,
0.028194261714816093,
-0.07911708205938339,
-0.06945766508579254,
0.0874594897031784,
-0.010061443783342838,
0.0818948969244957,
0.02956731617450714,
-0.05333098769187927,
0.0904105007648468,
-0.10940168052911758,
-0.07856374233961105,
0.11089799553155899,
0.017765594646334648,
0.02374030090868473,
-0.02550053410232067,
0.03460679203271866,
0.09888619184494019,
-0.017916547134518623,
0.07333051413297653,
-0.019312363117933273,
-0.1352861374616623,
0.03748800605535507,
0.038170017302036285,
-0.12984396517276764,
-0.012429283000528812,
-0.08804977685213089,
0.0848192647099495,
0.0005567396292462945,
0.1746508777141571,
-0.055047690868377686,
0.042969610542058945,
-0.004910059738904238,
-0.0008515495574101806,
-0.05681741610169411,
-0.15248021483421326,
-0.040016137063503265,
-0.061184659600257874,
-0.018793130293488503,
-0.01955612190067768,
0.260404497385025,
0.004304065834730864,
-0.09177805483341217,
0.09094126522541046,
0.08291071653366089,
-0.002114853821694851,
-0.0015737296780571342,
0.13901712000370026,
0.04357951506972313,
-0.029397057369351387,
-0.1220395639538765,
0.09434295445680618,
-0.016570884734392166,
-0.10666676610708237,
0.10512473434209824,
0.055261217057704926,
0.07779348641633987,
0.0451948381960392,
0.06167018041014671,
-0.012640655972063541,
-0.025435928255319595,
-0.1121717095375061,
0.00994307454675436,
0.05256974324584007,
0.005421223118901253,
0.002905886620283127,
0.15873382985591888,
-0.0339713953435421,
0.013224242255091667,
-0.029385972768068314,
-0.0009098105365410447,
-0.2143794149160385,
-0.11696304380893707,
-0.0644325464963913,
-0.02153872326016426,
0.04304870590567589,
0.002294205827638507,
0.017830252647399902,
0.07897449284791946,
0.02702753059566021,
-0.04671356827020645,
0.013841411098837852,
-0.07266326248645782,
-0.02419409528374672,
0.041158974170684814,
-0.004927429836243391,
0.03398999571800232,
-0.053850069642066956,
-0.038972146809101105,
-0.11488109827041626,
-0.10170524567365646,
-0.03921319916844368,
0.00859762355685234,
-0.03182142600417137,
0.0038888133130967617,
-0.10322084277868271,
-0.08545997738838196,
-0.0565902404487133,
0.0766754150390625,
0.033718910068273544,
0.1062457412481308,
-0.012579051777720451,
0.060746267437934875,
0.04539908468723297,
0.08465756475925446,
-0.044168923050165176,
-0.1430896818637848,
-0.05446639657020569,
0.1402088850736618,
0.04111243039369583,
0.06381846964359283,
0.0033534946851432323,
0.019859744235873222,
0.004631803371012211,
0.29541727900505066,
0.2898685038089752,
-0.0619526244699955,
0.08900509774684906,
0.04191971942782402,
0.01787184178829193,
0.09287402778863907,
0.07062992453575134,
0.046645328402519226,
0.2865118086338043,
-0.11702936142683029,
-0.04524076730012894,
-0.06268265843391418,
0.033677972853183746,
-0.10637574642896652,
0.02146630920469761,
-0.021432755514979362,
-0.06898889690637589,
-0.012111005373299122,
0.10278039425611496,
-0.12878212332725525,
0.09992159903049469,
0.1277146339416504,
-0.1421407163143158,
0.007308067753911018,
-0.021972808986902237,
0.07403332740068436,
0.046343397349119186,
0.07250601053237915,
-0.07877681404352188,
-0.06327234953641891,
0.04331217333674431,
0.0044614593498408794,
-0.19309982657432556,
-0.04255589842796326,
0.06666769832372665,
0.035922322422266006,
0.057575058192014694,
0.00011335142335155979,
0.10269219428300858,
0.11102582514286041,
0.060854628682136536,
-0.0661114975810051,
0.09872130304574966,
0.04259279742836952,
-0.08709322661161423,
-0.020653873682022095,
-0.14302584528923035,
0.002755675232037902,
-0.032444603741168976,
0.018375620245933533,
-0.029963120818138123,
0.0996798574924469,
-0.04688744992017746,
-0.05709073320031166,
-0.03733126074075699,
0.07362567633390427,
-0.07377342134714127,
0.03799346089363098,
0.011476338841021061,
0.005904389079660177,
-0.07129233330488205,
-0.031109564006328583,
-0.025878865271806717,
0.08817876875400543,
-0.16245925426483154,
-0.07995839416980743,
0.0028314669616520405,
-0.016527865082025528,
0.0692969411611557,
0.02696949988603592,
-0.14927366375923157,
-0.0226750448346138,
-0.08410945534706116,
0.01417380478233099,
-0.14505110681056976,
0.030784592032432556,
0.052625373005867004,
0.009038377553224564,
0.003684727940708399,
-0.052308108657598495,
0.024256631731987,
-0.005014144349843264,
-0.11357884109020233,
-0.07763031125068665
] |
null | null |
transformers
|
# FairLex: A multilingual benchmark for evaluating fairness in legal text processing
We present a benchmark suite of four datasets for evaluating the fairness of pre-trained legal language models and the techniques used to fine-tune them for downstream tasks. Our benchmarks cover four jurisdictions (European Council, USA, Swiss, and Chinese), five languages (English, German, French, Italian and Chinese) and fairness across five attributes (gender, age, nationality/region, language, and legal area). In our experiments, we evaluate pre-trained language models using several group-robust fine-tuning techniques and show that performance group disparities are vibrant in many cases, while none of these techniques guarantee fairness, nor consistently mitigate group disparities. Furthermore, we provide a quantitative and qualitative analysis of our results, highlighting open challenges in the development of robustness methods in legal NLP.
---
Ilias Chalkidis, Tommaso Passini, Sheng Zhang, Letizia Tomada, Sebastian Felix Schwemer, and Anders Søgaard. 2022. FairLex: A multilingual bench-mark for evaluating fairness in legal text processing. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics, Dublin, Ireland.
---
## Pre-training details
For the purpose of this work, we release four domain-specific BERT models with continued pre-training on the corpora of the examined datasets (ECtHR, SCOTUS, FSCS, SPC).
We train mini-sized BERT models with 6 Transformer blocks, 384 hidden units, and 12 attention heads.
We warm-start all models from the public MiniLMv2 (Wang et al., 2021) using the distilled version of RoBERTa (Liu et al., 2019).
For the English datasets (ECtHR, SCOTUS) and the one distilled from XLM-R (Conneau et al., 2021) for the rest (trilingual FSCS, and Chinese SPC).
## Models list
| Model name | Training corpora | Language |
|-----------------------------------|------------------|--------------------|
| `coastalcph/fairlex-ecthr-minlm` | ECtHR | `en` |
| `coastalcph/fairlex-scotus-minlm` | SCOTUS | `en` |
| `coastalcph/fairlex-fscs-minlm` | FSCS | [`de`, `fr`, `it`] |
| `coastalcph/fairlex-cail-minlm` | CAIL | `zh` |
## Load Pretrained Model
```python
from transformers import AutoTokenizer, AutoModel
tokenizer = AutoTokenizer.from_pretrained("coastalcph/fairlex-fscs-minlm")
model = AutoModel.from_pretrained("coastalcph/fairlex-fscs-minlm")
```
## Evaluation on downstream tasks
Consider the experiments in the article:
_Ilias Chalkidis, Tommaso Passini, Sheng Zhang, Letizia Tomada, Sebastian Felix Schwemer, and Anders Søgaard. 2022. Fairlex: A multilingual bench-mark for evaluating fairness in legal text processing. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics, Dublin, Ireland._
## Author - Publication
```
@inproceedings{chalkidis-2022-fairlex,
author={Chalkidis, Ilias and Passini, Tommaso and Zhang, Sheng and
Tomada, Letizia and Schwemer, Sebastian Felix and Søgaard, Anders},
title={FairLex: A Multilingual Benchmark for Evaluating Fairness in Legal Text Processing},
booktitle={Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics},
year={2022},
address={Dublin, Ireland}
}
```
Ilias Chalkidis on behalf of [CoAStaL NLP Group](https://coastalcph.github.io)
| Github: [@ilias.chalkidis](https://github.com/iliaschalkidis) | Twitter: [@KiddoThe2B](https://twitter.com/KiddoThe2B) |
|
{"language": ["de", "fr", "it"], "license": "cc-by-nc-sa-4.0", "tags": ["legal", "fairlex"], "pipeline_tag": "fill-mask", "widget": [{"text": "Aus seinem damaligen strafbaren Verhalten resultierte eine Forderung der Nachlassverwaltung eines <mask>, wor\u00fcber eine aussergerichtliche Vereinbarung \u00fcber Fr. 500'000."}, {"text": " Elle avait pour but social les <mask> dans le domaine des changes, en particulier l'exploitation d'une plateforme internet."}, {"text": "Il Pretore ha accolto la petizione con sentenza 16 luglio 2015, accordando all'attore l'importo <mask>, con interessi di mora a partire dalla notifica del precetto esecutivo, e ha rigettato in tale misura l'opposizione interposta a quest'ultimo."}]}
|
fill-mask
|
coastalcph/fairlex-fscs-minilm
|
[
"transformers",
"pytorch",
"xlm-roberta",
"fill-mask",
"legal",
"fairlex",
"de",
"fr",
"it",
"license:cc-by-nc-sa-4.0",
"autotrain_compatible",
"endpoints_compatible",
"region:us"
] |
2022-03-02T23:29:05+00:00
|
[] |
[
"de",
"fr",
"it"
] |
TAGS
#transformers #pytorch #xlm-roberta #fill-mask #legal #fairlex #de #fr #it #license-cc-by-nc-sa-4.0 #autotrain_compatible #endpoints_compatible #region-us
|
FairLex: A multilingual benchmark for evaluating fairness in legal text processing
==================================================================================
We present a benchmark suite of four datasets for evaluating the fairness of pre-trained legal language models and the techniques used to fine-tune them for downstream tasks. Our benchmarks cover four jurisdictions (European Council, USA, Swiss, and Chinese), five languages (English, German, French, Italian and Chinese) and fairness across five attributes (gender, age, nationality/region, language, and legal area). In our experiments, we evaluate pre-trained language models using several group-robust fine-tuning techniques and show that performance group disparities are vibrant in many cases, while none of these techniques guarantee fairness, nor consistently mitigate group disparities. Furthermore, we provide a quantitative and qualitative analysis of our results, highlighting open challenges in the development of robustness methods in legal NLP.
---
Ilias Chalkidis, Tommaso Passini, Sheng Zhang, Letizia Tomada, Sebastian Felix Schwemer, and Anders Søgaard. 2022. FairLex: A multilingual bench-mark for evaluating fairness in legal text processing. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics, Dublin, Ireland.
---
Pre-training details
--------------------
For the purpose of this work, we release four domain-specific BERT models with continued pre-training on the corpora of the examined datasets (ECtHR, SCOTUS, FSCS, SPC).
We train mini-sized BERT models with 6 Transformer blocks, 384 hidden units, and 12 attention heads.
We warm-start all models from the public MiniLMv2 (Wang et al., 2021) using the distilled version of RoBERTa (Liu et al., 2019).
For the English datasets (ECtHR, SCOTUS) and the one distilled from XLM-R (Conneau et al., 2021) for the rest (trilingual FSCS, and Chinese SPC).
Models list
-----------
Model name: 'coastalcph/fairlex-ecthr-minlm', Training corpora: ECtHR, Language: 'en'
Model name: 'coastalcph/fairlex-scotus-minlm', Training corpora: SCOTUS, Language: 'en'
Model name: 'coastalcph/fairlex-fscs-minlm', Training corpora: FSCS, Language: ['de', 'fr', 'it']
Model name: 'coastalcph/fairlex-cail-minlm', Training corpora: CAIL, Language: 'zh'
Load Pretrained Model
---------------------
Evaluation on downstream tasks
------------------------------
Consider the experiments in the article:
*Ilias Chalkidis, Tommaso Passini, Sheng Zhang, Letizia Tomada, Sebastian Felix Schwemer, and Anders Søgaard. 2022. Fairlex: A multilingual bench-mark for evaluating fairness in legal text processing. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics, Dublin, Ireland.*
Author - Publication
--------------------
Ilias Chalkidis on behalf of CoAStaL NLP Group
| Github: @ilias.chalkidis | Twitter: @KiddoThe2B |
|
[] |
[
"TAGS\n#transformers #pytorch #xlm-roberta #fill-mask #legal #fairlex #de #fr #it #license-cc-by-nc-sa-4.0 #autotrain_compatible #endpoints_compatible #region-us \n"
] |
[
64
] |
[
"passage: TAGS\n#transformers #pytorch #xlm-roberta #fill-mask #legal #fairlex #de #fr #it #license-cc-by-nc-sa-4.0 #autotrain_compatible #endpoints_compatible #region-us \n"
] |
[
-0.07156001776456833,
0.03034755401313305,
-0.006684239953756332,
0.03709683567285538,
0.06860405206680298,
0.004396417178213596,
0.14171752333641052,
0.06857217103242874,
0.05977567657828331,
-0.036018211394548416,
0.16840335726737976,
0.2871621549129486,
0.0035435715690255165,
0.13857369124889374,
-0.08515781164169312,
-0.17914776504039764,
0.025601645931601524,
0.057919953018426895,
-0.06793134659528732,
0.08748313784599304,
0.11038857698440552,
-0.05776295065879822,
0.06365959346294403,
-0.0024346322752535343,
-0.10428155213594437,
0.01631687581539154,
0.09084460139274597,
-0.10459659993648529,
0.0882616713643074,
0.07058513909578323,
0.12332025915384293,
0.10643437504768372,
-0.014265136793255806,
-0.09296194463968277,
0.03586085885763168,
-0.04102179408073425,
-0.12467025220394135,
0.05290890485048294,
0.001004575751721859,
-0.006560926791280508,
0.0793800875544548,
0.04036915674805641,
-0.0340413898229599,
0.0517527312040329,
-0.13574586808681488,
-0.20375826954841614,
-0.04451708123087883,
0.06177130714058876,
0.04056057333946228,
0.056904733180999756,
0.03951896354556084,
0.18564198911190033,
-0.10983144491910934,
0.07173673808574677,
0.09344582259654999,
-0.35683032870292664,
-0.00588182732462883,
0.11378021538257599,
0.07525375485420227,
-0.05142237991094589,
-0.014867095276713371,
0.07252520322799683,
0.05890598148107529,
0.007852068170905113,
0.02830173633992672,
-0.11238418519496918,
0.026397783309221268,
0.037931885570287704,
-0.071080781519413,
-0.025760166347026825,
0.19483019411563873,
-0.0301327146589756,
-0.010025067254900932,
-0.0023723964113742113,
-0.04672643542289734,
0.009697175584733486,
-0.031151358038187027,
0.03173790127038956,
0.020037246868014336,
0.06319330632686615,
0.010097679682075977,
-0.0036182457115501165,
-0.1256486177444458,
0.025292472913861275,
-0.22293464839458466,
0.21887509524822235,
0.0010598148219287395,
0.0632810965180397,
-0.1227630004286766,
0.022992732003331184,
-0.02934369258582592,
-0.09325656294822693,
-0.013304270803928375,
-0.06382010877132416,
0.09370666742324829,
0.0013441991759464145,
-0.027121150866150856,
0.04800279811024666,
0.09921889752149582,
0.16241483390331268,
-0.021980779245495796,
-0.005370969418436289,
-0.01668095961213112,
0.13643522560596466,
-0.03459710255265236,
0.014099804684519768,
0.007314187940210104,
0.023684078827500343,
0.07863795757293701,
-0.11389797180891037,
0.08219479024410248,
-0.019975142553448677,
-0.1891392469406128,
-0.028595436364412308,
-0.14821936190128326,
0.14007465541362762,
0.03308461233973503,
0.0380331315100193,
-0.08179695159196854,
0.045108530670404434,
0.19901986420154572,
-0.013493952341377735,
0.02608449012041092,
-0.015405364334583282,
0.055320385843515396,
0.023213965818285942,
0.004984863102436066,
-0.0021870664786547422,
0.013509802520275116,
0.13177372515201569,
-0.07088171690702438,
0.00037638272624462843,
-0.01735488884150982,
-0.061448898166418076,
0.08820230513811111,
-0.08310107886791229,
0.07029810547828674,
-0.19899418950080872,
-0.14063742756843567,
0.04813776910305023,
0.03516780585050583,
-0.0034726173616945744,
-0.0527905635535717,
0.04708129167556763,
-0.04084305092692375,
0.0005466571892611682,
-0.06150166317820549,
-0.0666830837726593,
-0.0887712687253952,
0.1021600216627121,
-0.04397255927324295,
0.0677567571401596,
-0.1655021607875824,
0.008985752239823341,
-0.08890249580144882,
0.0017274648416787386,
-0.07442085444927216,
-0.06567754596471786,
-0.06558908522129059,
0.09349209815263748,
0.02775535173714161,
-0.07752270251512527,
-0.06422334164381027,
0.02508348412811756,
-0.025852477177977562,
0.13204070925712585,
-0.09215251356363297,
-0.10428788512945175,
0.19181297719478607,
-0.118684321641922,
-0.1656455099582672,
0.06575005501508713,
0.020075134932994843,
0.006331304553896189,
0.018818557262420654,
0.06218452379107475,
0.03767125681042671,
-0.21129213273525238,
0.04847826808691025,
0.1469569206237793,
-0.14448511600494385,
-0.17305324971675873,
0.06911108642816544,
-0.05320325121283531,
-0.14246506989002228,
0.02229747362434864,
-0.02990943193435669,
0.11247819662094116,
-0.03854485973715782,
-0.08536013960838318,
-0.02428903616964817,
-0.021008815616369247,
0.06656330823898315,
0.016133204102516174,
0.03577683866024017,
-0.06661622226238251,
-0.012422671541571617,
-0.09986794739961624,
0.014986916445195675,
0.0774277076125145,
0.017703786492347717,
-0.1176038384437561,
0.13906317949295044,
-0.057802796363830566,
-0.01607896015048027,
-0.10508847236633301,
-0.03869311884045601,
-0.0019865131471306086,
0.0006298668449744582,
0.035011060535907745,
0.14797595143318176,
0.051864899694919586,
-0.008397453464567661,
-0.01898181065917015,
-0.009347937069833279,
0.09695760160684586,
0.03035815618932247,
-0.006143533159047365,
-0.16472308337688446,
0.06014842912554741,
-0.04842222481966019,
0.037622857838869095,
-0.05860605835914612,
-0.017892545089125633,
0.06881880760192871,
0.06862204521894455,
-0.028764843940734863,
0.09786049276590347,
-0.060740161687135696,
0.037299927324056625,
-0.029394863173365593,
0.0345287024974823,
0.1149274930357933,
0.06121716648340225,
-0.06630107760429382,
0.23387755453586578,
-0.08285456895828247,
0.3448522388935089,
0.19977369904518127,
-0.2180255502462387,
-0.03660839796066284,
0.017297009006142616,
-0.019420206546783447,
0.006613331846892834,
0.005623386707156897,
0.0367722362279892,
0.017679600045084953,
-0.04381425678730011,
0.15784913301467896,
-0.05766135826706886,
0.01642894558608532,
0.057237107306718826,
-0.06842362135648727,
-0.04664936661720276,
0.026324857026338577,
0.20029687881469727,
-0.141112819314003,
0.1614251434803009,
0.3527472913265228,
-0.001042302930727601,
0.09421496838331223,
-0.025659963488578796,
0.037189144641160965,
-0.06621861457824707,
-0.010243542492389679,
0.01293172501027584,
0.11165889352560043,
-0.0625220239162445,
0.025540105998516083,
0.06286320090293884,
-0.0550362765789032,
0.034506361931562424,
-0.14957980811595917,
-0.07903246581554413,
-0.0024280459620058537,
-0.004459674935787916,
-0.09216802567243576,
0.13934390246868134,
-0.019719472154974937,
0.09447503089904785,
-0.030795486643910408,
-0.1771172136068344,
0.1419055461883545,
-0.0001305555342696607,
-0.07033373415470123,
0.13220049440860748,
-0.14008718729019165,
-0.25181153416633606,
-0.1497766226530075,
-0.11337012052536011,
-0.00233378610573709,
0.035369209945201874,
0.07909846305847168,
0.0036316048353910446,
-0.08886570483446121,
0.05895768851041794,
-0.0904432162642479,
-0.03920878469944,
0.017633840441703796,
-0.0883217304944992,
0.034087032079696655,
-0.012509209103882313,
-0.0766485184431076,
-0.0764487013220787,
0.012736853212118149,
-0.0182707067579031,
0.11272425949573517,
-0.0406675785779953,
0.10672825574874878,
0.11576896160840988,
0.002904855879023671,
0.039701998233795166,
-0.054304756224155426,
0.14665058255195618,
-0.06036795675754547,
0.00412680022418499,
0.16995859146118164,
0.031441159546375275,
0.07604309916496277,
0.14997726678848267,
0.07610015571117401,
-0.05766012892127037,
-0.013714891858398914,
-0.09601353853940964,
-0.09648321568965912,
-0.1643303781747818,
-0.09480739384889603,
-0.12944519519805908,
0.024631984531879425,
0.040839120745658875,
0.07194230705499649,
0.10687745362520218,
0.09259160608053207,
0.031020203605294228,
-0.006059485953301191,
-0.018834661692380905,
0.059068650007247925,
0.24209760129451752,
-0.03870372474193573,
0.10002266615629196,
-0.09746221452951431,
-0.09673134982585907,
0.10321216285228729,
0.03845825046300888,
0.06793493032455444,
0.14737211167812347,
-0.000839590560644865,
0.11505518108606339,
0.1636543571949005,
0.1384345293045044,
0.08569765836000443,
0.0680849552154541,
-0.0589890256524086,
-0.010602357797324657,
-0.05279135704040527,
0.020312635228037834,
0.019109899178147316,
0.08105383813381195,
-0.11143400520086288,
-0.010397205129265785,
-0.1479942351579666,
0.035565335303545,
0.059263356029987335,
0.06084972992539406,
-0.14791102707386017,
0.05581421032547951,
0.04100556671619415,
0.07961373776197433,
-0.021688882261514664,
0.06143400818109512,
-0.04496750980615616,
-0.10373080521821976,
0.11237993836402893,
-0.055198319256305695,
0.06434964388608932,
0.07354736328125,
0.04555550217628479,
0.006743887905031443,
-0.05277426540851593,
0.05130355432629585,
0.07141166925430298,
-0.29076439142227173,
0.2332986444234848,
0.02911279909312725,
-0.005920346826314926,
-0.05788750946521759,
-0.008270632475614548,
0.05389703810214996,
0.21579211950302124,
0.16111312806606293,
0.02583310939371586,
-0.1087460070848465,
-0.12492115050554276,
0.021191036328673363,
0.01628091372549534,
0.0635918453335762,
0.03512471541762352,
-0.04335179552435875,
-0.029721498489379883,
-0.03610413148999214,
0.008934993296861649,
0.08007074892520905,
-0.02239590883255005,
-0.11850188672542572,
0.06821656972169876,
0.10857316106557846,
0.015891769900918007,
-0.047573816031217575,
-0.030351432040333748,
-0.19731201231479645,
0.17659451067447662,
-0.1627591848373413,
-0.04313359409570694,
-0.09646616876125336,
-0.14973126351833344,
0.020740553736686707,
-0.07287384569644928,
0.06974741816520691,
-0.07292887568473816,
-0.0023360648192465305,
-0.11278297752141953,
-0.1340961903333664,
0.13232965767383575,
-0.14432623982429504,
-0.04887223616242409,
-0.053882911801338196,
0.11066074669361115,
-0.10628049820661545,
0.054029084742069244,
0.026206234470009804,
0.023481622338294983,
-0.09059839695692062,
-0.11864632368087769,
0.03075612708926201,
-0.0875881239771843,
0.0647260844707489,
0.023646999150514603,
-0.06248936057090759,
0.00008675215212861076,
0.038688305765390396,
-0.03258303925395012,
0.14651735126972198,
0.3040589690208435,
-0.09538919478654861,
0.12363607436418533,
0.17619097232818604,
-0.06948941200971603,
-0.3407730162143707,
-0.10042957961559296,
-0.17527003586292267,
-0.029471060261130333,
0.008026840165257454,
-0.09797850996255875,
0.0312948077917099,
0.03158123418688774,
-0.07355494052171707,
0.16800463199615479,
-0.1726323664188385,
-0.08559491485357285,
0.17107194662094116,
-0.014425723813474178,
0.36135557293891907,
-0.09484019875526428,
-0.06145458295941353,
-0.03945348784327507,
-0.12722499668598175,
0.10767665505409241,
-0.053063731640577316,
0.07470386475324631,
-0.013530018739402294,
-0.012732265517115593,
-0.015310068614780903,
-0.08674417436122894,
0.14463309943675995,
-0.0588860847055912,
0.08505016565322876,
-0.08389132469892502,
-0.04102645814418793,
0.12300971150398254,
0.02878928743302822,
0.01169055886566639,
-0.0849900022149086,
0.0031409512739628553,
-0.018249012529850006,
-0.02086220495402813,
-0.08346971869468689,
0.14899878203868866,
-0.017863862216472626,
-0.07197167724370956,
-0.04698627442121506,
-0.008476823568344116,
-0.018879232928156853,
-0.04771336540579796,
0.22683085501194,
-0.015019102953374386,
0.1146574392914772,
0.13699978590011597,
0.06816104799509048,
-0.16834938526153564,
-0.05470714345574379,
-0.045186810195446014,
-0.10178414732217789,
0.060504477471113205,
-0.023512765765190125,
0.022296423092484474,
0.1117750033736229,
-0.017547225579619408,
0.08940692991018295,
0.08944889903068542,
0.020716704428195953,
-0.00030723237432539463,
0.16184788942337036,
-0.15582424402236938,
-0.020292416214942932,
-0.022118836641311646,
0.02016301080584526,
0.08096952736377716,
0.03786627575755119,
0.07962264865636826,
-0.011863956227898598,
0.0068822926841676235,
0.02230876497924328,
0.0041160727851092815,
-0.08090189099311829,
0.03197157010436058,
0.09454558789730072,
0.008298574946820736,
-0.11788275837898254,
0.029626211151480675,
-0.03540728986263275,
-0.1575336456298828,
-0.06304121017456055,
0.04396292567253113,
-0.1264680176973343,
-0.12627540528774261,
-0.04967908933758736,
0.06646472215652466,
-0.2348787635564804,
-0.11326416581869125,
-0.09346079081296921,
-0.16467389464378357,
0.05348825827240944,
0.16691935062408447,
0.0897337794303894,
0.07683123648166656,
0.029496269300580025,
-0.06243700161576271,
-0.016187600791454315,
0.010360133834183216,
-0.09397204220294952,
0.03300420939922333,
-0.07704812288284302,
0.07585912942886353,
0.011753450147807598,
0.1426619291305542,
-0.07724080234766006,
0.016711873933672905,
-0.11780853569507599,
0.03448287770152092,
-0.05997404083609581,
-0.002455922542139888,
-0.11989715695381165,
-0.04822918027639389,
0.028710631653666496,
-0.038367923349142075,
-0.04197041317820549,
0.0022266602609306574,
-0.10868912190198898,
0.023235848173499107,
0.06611936539411545,
0.019017603248357773,
-0.06578720360994339,
-0.06436913460493088,
0.05761652812361717,
-0.002881655003875494,
0.06018483638763428,
0.05186737701296806,
-0.04057459905743599,
0.08167454600334167,
-0.1285613626241684,
-0.059649959206581116,
0.10032739490270615,
0.04379800707101822,
0.04102012515068054,
-0.02584812231361866,
0.05336034670472145,
0.1021680235862732,
-0.03913655877113342,
0.06311601400375366,
-0.020519739016890526,
-0.12763574719429016,
0.06279536336660385,
0.013027729466557503,
-0.10794243216514587,
-0.01392375584691763,
-0.06529048085212708,
0.08111493289470673,
0.00869991909712553,
0.1840851753950119,
-0.06764326989650726,
0.04239538684487343,
-0.014267153106629848,
-0.0024546042550355196,
-0.05555920675396919,
-0.14634530246257782,
-0.06351000815629959,
-0.05342468246817589,
-0.015628905966877937,
-0.01451918575912714,
0.2625932991504669,
0.040685586631298065,
-0.08308200538158417,
0.0739714652299881,
0.04905375838279724,
0.014107550494372845,
-0.005481920205056667,
0.13310672342777252,
0.03297467902302742,
-0.015069554559886456,
-0.1268879622220993,
0.09629148244857788,
-0.0030412287451326847,
-0.10102865844964981,
0.1044299378991127,
0.04717142879962921,
0.07849441468715668,
0.04522796720266342,
0.07789820432662964,
-0.0372641459107399,
-0.04967367276549339,
-0.1165054440498352,
-0.009687342680990696,
0.055439542979002,
0.001334532629698515,
-0.009557072073221207,
0.15011397004127502,
-0.03509185463190079,
0.013729563914239407,
-0.02335064858198166,
-0.002993758535012603,
-0.21404080092906952,
-0.11121699959039688,
-0.07384442538022995,
-0.04771823063492775,
0.02468770556151867,
0.004251448437571526,
0.019234081730246544,
0.026837408542633057,
0.021905021741986275,
-0.05008302256464958,
0.00876457616686821,
-0.08540699630975723,
-0.018627213314175606,
0.029888398945331573,
-0.007952418178319931,
0.015921803191304207,
-0.07486370205879211,
-0.015585921704769135,
-0.12714891135692596,
-0.12674503028392792,
-0.03737984597682953,
0.011060740798711777,
-0.010989650152623653,
0.01123049482703209,
-0.09088610857725143,
-0.06783733516931534,
-0.04912623018026352,
0.06387536972761154,
0.020583465695381165,
0.14074695110321045,
-0.003883329452946782,
0.043827079236507416,
0.04696172848343849,
0.05344892665743828,
-0.04485523700714111,
-0.1432887613773346,
-0.05256262421607971,
0.14705616235733032,
0.034899432212114334,
0.0838366374373436,
-0.002040912164375186,
0.036368995904922485,
-0.007681622169911861,
0.2756178379058838,
0.3096568286418915,
-0.0664045587182045,
0.09702734649181366,
0.03725822642445564,
0.018969086930155754,
0.0580831915140152,
0.06865648925304413,
0.058338627219200134,
0.3059937059879303,
-0.09277340769767761,
-0.048997603356838226,
-0.09518402814865112,
0.037792205810546875,
-0.09180253744125366,
0.004400167614221573,
-0.014848299324512482,
-0.06213541701436043,
-0.008263200521469116,
0.07346828281879425,
-0.11429736763238907,
0.09159291535615921,
0.1301209032535553,
-0.1089327335357666,
0.020363787189126015,
-0.010995322838425636,
0.059032488614320755,
0.04864298552274704,
0.059973835945129395,
-0.08321792632341385,
-0.06117681786417961,
0.06340712308883667,
-0.007762591820210218,
-0.20145468413829803,
-0.026376331225037575,
0.06045368313789368,
0.027791650965809822,
0.07526913285255432,
-0.0018298533977940679,
0.10948539525270462,
0.1087987944483757,
0.06541518867015839,
-0.06187376379966736,
0.12087970972061157,
0.03687456250190735,
-0.10304921120405197,
-0.011214514262974262,
-0.1530517339706421,
0.008091245777904987,
-0.03061031550168991,
0.013268251903355122,
-0.021535702049732208,
0.10132231563329697,
-0.057778798043727875,
-0.08454935252666473,
-0.03974083811044693,
0.0704382061958313,
-0.05898372456431389,
0.04957514628767967,
0.027059923857450485,
0.01411604043096304,
-0.06922374665737152,
-0.03812436759471893,
-0.015943286940455437,
0.08237066119909286,
-0.128422811627388,
-0.05822387710213661,
-0.00488881953060627,
-0.0001677417167229578,
0.0639757439494133,
0.03475801646709442,
-0.1376170516014099,
-0.03201191499829292,
-0.08571691811084747,
0.006540724076330662,
-0.12579230964183807,
0.01524324994534254,
0.05737192556262016,
0.027938270941376686,
-0.0027303583920001984,
-0.039543408900499344,
0.01213977113366127,
0.008824137970805168,
-0.09457667917013168,
-0.08165086060762405
] |
null | null |
transformers
|
# FairLex: A multilingual benchmark for evaluating fairness in legal text processing
We present a benchmark suite of four datasets for evaluating the fairness of pre-trained legal language models and the techniques used to fine-tune them for downstream tasks. Our benchmarks cover four jurisdictions (European Council, USA, Swiss, and Chinese), five languages (English, German, French, Italian and Chinese) and fairness across five attributes (gender, age, nationality/region, language, and legal area). In our experiments, we evaluate pre-trained language models using several group-robust fine-tuning techniques and show that performance group disparities are vibrant in many cases, while none of these techniques guarantee fairness, nor consistently mitigate group disparities. Furthermore, we provide a quantitative and qualitative analysis of our results, highlighting open challenges in the development of robustness methods in legal NLP.
---
Ilias Chalkidis, Tommaso Passini, Sheng Zhang, Letizia Tomada, Sebastian Felix Schwemer, and Anders Søgaard. 2022. FairLex: A multilingual bench-mark for evaluating fairness in legal text processing. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics, Dublin, Ireland.
---
## Pre-training details
For the purpose of this work, we release four domain-specific BERT models with continued pre-training on the corpora of the examined datasets (ECtHR, SCOTUS, FSCS, SPC).
We train mini-sized BERT models with 6 Transformer blocks, 384 hidden units, and 12 attention heads.
We warm-start all models from the public MiniLMv2 (Wang et al., 2021) using the distilled version of RoBERTa (Liu et al., 2019).
For the English datasets (ECtHR, SCOTUS) and the one distilled from XLM-R (Conneau et al., 2021) for the rest (trilingual FSCS, and Chinese SPC).
## Models list
| Model name | Training corpora | Language |
|-----------------------------------|------------------|--------------------|
| `coastalcph/fairlex-ecthr-minlm` | ECtHR | `en` |
| `coastalcph/fairlex-scotus-minlm` | SCOTUS | `en` |
| `coastalcph/fairlex-fscs-minlm` | FSCS | [`de`, `fr`, `it`] |
| `coastalcph/fairlex-cail-minlm` | CAIL | `zh` |
## Load Pretrained Model
```python
from transformers import AutoTokenizer, AutoModel
tokenizer = AutoTokenizer.from_pretrained("coastalcph/fairlex-scotus-minlm")
model = AutoModel.from_pretrained("coastalcph/fairlex-scotus-minlm")
```
## Evaluation on downstream tasks
Consider the experiments in the article:
_Ilias Chalkidis, Tommaso Passini, Sheng Zhang, Letizia Tomada, Sebastian Felix Schwemer, and Anders Søgaard. 2022. Fairlex: A multilingual bench-mark for evaluating fairness in legal text processing. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics, Dublin, Ireland._
## Author - Publication
```
@inproceedings{chalkidis-2022-fairlex,
author={Chalkidis, Ilias and Passini, Tommaso and Zhang, Sheng and
Tomada, Letizia and Schwemer, Sebastian Felix and Søgaard, Anders},
title={FairLex: A Multilingual Benchmark for Evaluating Fairness in Legal Text Processing},
booktitle={Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics},
year={2022},
address={Dublin, Ireland}
}
```
Ilias Chalkidis on behalf of [CoAStaL NLP Group](https://coastalcph.github.io)
| Github: [@ilias.chalkidis](https://github.com/iliaschalkidis) | Twitter: [@KiddoThe2B](https://twitter.com/KiddoThe2B) |
|
{"language": "en", "license": "cc-by-nc-sa-4.0", "tags": ["legal", "fairlex"], "pipeline_tag": "fill-mask", "widget": [{"text": "Because the Court granted <mask> before judgment, the Court effectively stands in the shoes of the Court of Appeals and reviews the defendants\u2019 appeals."}]}
|
fill-mask
|
coastalcph/fairlex-scotus-minilm
|
[
"transformers",
"pytorch",
"roberta",
"fill-mask",
"legal",
"fairlex",
"en",
"license:cc-by-nc-sa-4.0",
"autotrain_compatible",
"endpoints_compatible",
"region:us"
] |
2022-03-02T23:29:05+00:00
|
[] |
[
"en"
] |
TAGS
#transformers #pytorch #roberta #fill-mask #legal #fairlex #en #license-cc-by-nc-sa-4.0 #autotrain_compatible #endpoints_compatible #region-us
|
FairLex: A multilingual benchmark for evaluating fairness in legal text processing
==================================================================================
We present a benchmark suite of four datasets for evaluating the fairness of pre-trained legal language models and the techniques used to fine-tune them for downstream tasks. Our benchmarks cover four jurisdictions (European Council, USA, Swiss, and Chinese), five languages (English, German, French, Italian and Chinese) and fairness across five attributes (gender, age, nationality/region, language, and legal area). In our experiments, we evaluate pre-trained language models using several group-robust fine-tuning techniques and show that performance group disparities are vibrant in many cases, while none of these techniques guarantee fairness, nor consistently mitigate group disparities. Furthermore, we provide a quantitative and qualitative analysis of our results, highlighting open challenges in the development of robustness methods in legal NLP.
---
Ilias Chalkidis, Tommaso Passini, Sheng Zhang, Letizia Tomada, Sebastian Felix Schwemer, and Anders Søgaard. 2022. FairLex: A multilingual bench-mark for evaluating fairness in legal text processing. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics, Dublin, Ireland.
---
Pre-training details
--------------------
For the purpose of this work, we release four domain-specific BERT models with continued pre-training on the corpora of the examined datasets (ECtHR, SCOTUS, FSCS, SPC).
We train mini-sized BERT models with 6 Transformer blocks, 384 hidden units, and 12 attention heads.
We warm-start all models from the public MiniLMv2 (Wang et al., 2021) using the distilled version of RoBERTa (Liu et al., 2019).
For the English datasets (ECtHR, SCOTUS) and the one distilled from XLM-R (Conneau et al., 2021) for the rest (trilingual FSCS, and Chinese SPC).
Models list
-----------
Model name: 'coastalcph/fairlex-ecthr-minlm', Training corpora: ECtHR, Language: 'en'
Model name: 'coastalcph/fairlex-scotus-minlm', Training corpora: SCOTUS, Language: 'en'
Model name: 'coastalcph/fairlex-fscs-minlm', Training corpora: FSCS, Language: ['de', 'fr', 'it']
Model name: 'coastalcph/fairlex-cail-minlm', Training corpora: CAIL, Language: 'zh'
Load Pretrained Model
---------------------
Evaluation on downstream tasks
------------------------------
Consider the experiments in the article:
*Ilias Chalkidis, Tommaso Passini, Sheng Zhang, Letizia Tomada, Sebastian Felix Schwemer, and Anders Søgaard. 2022. Fairlex: A multilingual bench-mark for evaluating fairness in legal text processing. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics, Dublin, Ireland.*
Author - Publication
--------------------
Ilias Chalkidis on behalf of CoAStaL NLP Group
| Github: @ilias.chalkidis | Twitter: @KiddoThe2B |
|
[] |
[
"TAGS\n#transformers #pytorch #roberta #fill-mask #legal #fairlex #en #license-cc-by-nc-sa-4.0 #autotrain_compatible #endpoints_compatible #region-us \n"
] |
[
57
] |
[
"passage: TAGS\n#transformers #pytorch #roberta #fill-mask #legal #fairlex #en #license-cc-by-nc-sa-4.0 #autotrain_compatible #endpoints_compatible #region-us \n"
] |
[
-0.0584137924015522,
0.06267021596431732,
-0.007477899082005024,
0.02096620760858059,
0.0695098266005516,
0.004596199374645948,
0.1441883146762848,
0.0715203583240509,
0.04389961436390877,
-0.03166312351822853,
0.17371752858161926,
0.28511837124824524,
-0.0007769492221996188,
0.11560855805873871,
-0.08385352045297623,
-0.1930324137210846,
0.030868053436279297,
0.05554623529314995,
-0.03809309005737305,
0.09755955636501312,
0.10732477158308029,
-0.06794022023677826,
0.048387739807367325,
0.01818649284541607,
-0.10004361718893051,
0.016178742051124573,
0.07866742461919785,
-0.11867348849773407,
0.09422715753316879,
0.06037421151995659,
0.12939248979091644,
0.1015436127781868,
-0.03592687472701073,
-0.10424601286649704,
0.036426834762096405,
-0.0446801483631134,
-0.10557515919208527,
0.054565608501434326,
0.004040208179503679,
-0.02045334130525589,
0.06757641583681107,
0.03152455389499664,
-0.01612827554345131,
0.06379338353872299,
-0.1518288552761078,
-0.2060040384531021,
-0.04492904245853424,
0.03783732280135155,
0.06057833880186081,
0.04428837075829506,
0.02834104374051094,
0.1794799566268921,
-0.10976134240627289,
0.057638511061668396,
0.0902295857667923,
-0.37235701084136963,
0.00022305475431494415,
0.09701259434223175,
0.05644982308149338,
-0.07687551528215408,
-0.015959104523062706,
0.07142610847949982,
0.0390833355486393,
0.007993829436600208,
0.018358277156949043,
-0.11225193738937378,
-0.03318491205573082,
0.03720356151461601,
-0.06316545605659485,
-0.03456945717334747,
0.19744081795215607,
-0.02690025418996811,
-0.013738521374762058,
-0.028234846889972687,
-0.043963219970464706,
0.05654575303196907,
-0.03975485637784004,
0.05090909078717232,
0.013445933349430561,
0.0734621062874794,
-0.01993486098945141,
0.0043662358075380325,
-0.13563022017478943,
0.041487064212560654,
-0.22425706684589386,
0.18500083684921265,
0.0069669452495872974,
0.06273327767848969,
-0.14232394099235535,
0.019381800666451454,
-0.03394686058163643,
-0.09216822683811188,
-0.0012574010761454701,
-0.0645177960395813,
0.08982794731855392,
-0.0033995138946920633,
-0.04651191458106041,
0.045801736414432526,
0.0974031388759613,
0.20759014785289764,
0.005748162977397442,
0.003325078869238496,
-0.02137589454650879,
0.15087425708770752,
-0.0384695827960968,
0.008379267528653145,
0.01416095346212387,
0.04446147009730339,
0.08254566043615341,
-0.137284055352211,
0.09259038418531418,
-0.012229964137077332,
-0.16441798210144043,
-0.03794725611805916,
-0.14665678143501282,
0.14157302677631378,
0.03976140916347504,
0.029960429295897484,
-0.10212916135787964,
0.05207426846027374,
0.18965815007686615,
-0.010757223702967167,
0.0016268233302980661,
-0.023551002144813538,
0.06440073996782303,
0.010461393743753433,
0.010947676375508308,
0.021183617413043976,
0.013033078983426094,
0.13947509229183197,
-0.06929343938827515,
-0.017710326239466667,
0.00511894328519702,
-0.026217080652713776,
0.10370839387178421,
-0.08901236951351166,
0.08743896335363388,
-0.20359744131565094,
-0.14208702743053436,
0.04964261129498482,
0.040522538125514984,
0.00003898778959410265,
-0.06699714809656143,
0.0466763935983181,
-0.024382228031754494,
-0.0264801736921072,
-0.07184301316738129,
-0.06376228481531143,
-0.07787439227104187,
0.10796240717172623,
-0.04634065926074982,
0.06148877739906311,
-0.14180126786231995,
0.005143551155924797,
-0.11285797506570816,
-0.0038894626777619123,
-0.09078509360551834,
-0.06765639781951904,
-0.03670528158545494,
0.12992815673351288,
-0.0052052573300898075,
-0.06927375495433807,
-0.07375974953174591,
0.013533467426896095,
-0.024065136909484863,
0.1574651300907135,
-0.05851403623819351,
-0.10073444247245789,
0.20806020498275757,
-0.107649065554142,
-0.17704704403877258,
0.06641434133052826,
0.014007652178406715,
0.03141304850578308,
0.045892003923654556,
0.08301758021116257,
0.02677266299724579,
-0.17992515861988068,
0.0593574121594429,
0.11485595256090164,
-0.14172668755054474,
-0.1916458010673523,
0.0787975862622261,
-0.08247706294059753,
-0.11529769748449326,
0.01936519145965576,
0.01575806923210621,
0.11829891800880432,
-0.04634226858615875,
-0.08379637449979782,
-0.01483236812055111,
-0.03107982687652111,
0.07761326432228088,
0.027648476883769035,
0.04453428462147713,
-0.08051039278507233,
-0.02085891179740429,
-0.1213860958814621,
-0.009508407674729824,
0.07907082885503769,
0.03455859795212746,
-0.1255461424589157,
0.13124535977840424,
-0.0507926419377327,
-0.016273019835352898,
-0.11973405629396439,
-0.06332873553037643,
-0.015998631715774536,
0.020631840452551842,
0.0341702476143837,
0.11390528082847595,
0.05561741068959236,
-0.03407923877239227,
-0.037575025111436844,
0.004557175096124411,
0.12129084020853043,
0.02422592230141163,
0.0005813175230287015,
-0.152588352560997,
0.053003326058387756,
-0.043057747185230255,
0.04009781405329704,
-0.026171931996941566,
-0.01467604748904705,
0.09114300459623337,
0.09013212472200394,
-0.02853451482951641,
0.0806582048535347,
-0.0339210107922554,
0.030656035989522934,
-0.011952315457165241,
0.03614545986056328,
0.13348223268985748,
0.056634318083524704,
-0.08423293381929398,
0.2421787828207016,
-0.07125923037528992,
0.30330291390419006,
0.18835899233818054,
-0.23316015303134918,
-0.037153586745262146,
0.005450626369565725,
-0.029714351519942284,
0.008935308083891869,
-0.006834091152995825,
0.049400776624679565,
0.04385549947619438,
-0.03166363760828972,
0.13783538341522217,
-0.04694368317723274,
0.003946105483919382,
0.05260607972741127,
-0.0718548595905304,
-0.04173766449093819,
0.0336131677031517,
0.17043286561965942,
-0.15677417814731598,
0.1558198183774948,
0.36281898617744446,
0.008786768652498722,
0.08044520020484924,
-0.03994516283273697,
0.0348992645740509,
-0.03955264016985893,
0.005433694459497929,
0.014432510361075401,
0.08206628262996674,
-0.07947241514921188,
0.02226617932319641,
0.07325819134712219,
-0.0663883313536644,
0.02462775632739067,
-0.1420290470123291,
-0.09283943474292755,
-0.010853567160665989,
0.01880144141614437,
-0.08627959340810776,
0.14682810008525848,
-0.0073654064908623695,
0.08895312994718552,
-0.017672080546617508,
-0.14734216034412384,
0.15562210977077484,
-0.002480684779584408,
-0.07022327929735184,
0.1367948353290558,
-0.1220850721001625,
-0.22683678567409515,
-0.1524485945701599,
-0.12001830339431763,
0.032295092940330505,
0.040160004049539566,
0.09197230637073517,
-0.0046518417075276375,
-0.07672403752803802,
0.071698859333992,
-0.09614136815071106,
-0.022558625787496567,
0.021791383624076843,
-0.06710755079984665,
0.039381083101034164,
-0.011501267552375793,
-0.06567327678203583,
-0.07528328150510788,
0.0019667393062263727,
-0.022540556266903877,
0.12621036171913147,
-0.04412815719842911,
0.09698492288589478,
0.10942324995994568,
0.015508160926401615,
0.028253750875592232,
-0.06261279433965683,
0.15423430502414703,
-0.06670711189508438,
-0.007672099396586418,
0.19720828533172607,
0.003359175054356456,
0.08349259197711945,
0.15932758152484894,
0.0713459923863411,
-0.06288071721792221,
-0.0004666007880587131,
-0.09515632688999176,
-0.10504987090826035,
-0.17654438316822052,
-0.08921492844820023,
-0.13370788097381592,
0.01551898755133152,
0.044265419244766235,
0.051065411418676376,
0.0703163743019104,
0.1079476997256279,
0.02410549484193325,
-0.03035888820886612,
0.006142192054539919,
0.07872937619686127,
0.28521084785461426,
-0.041218627244234085,
0.11099109053611755,
-0.08898308128118515,
-0.11512365192174911,
0.08464854210615158,
0.027611324563622475,
0.0821143314242363,
0.15217091143131256,
-0.0037962314672768116,
0.1162140890955925,
0.17086820304393768,
0.1396564543247223,
0.08104652911424637,
0.06666184961795807,
-0.04463214427232742,
-0.018757686018943787,
-0.05330399423837662,
-0.0006160574848763645,
0.02349184826016426,
0.07953003793954849,
-0.14242064952850342,
-0.003407158423215151,
-0.19147531688213348,
0.028880754485726357,
0.08384284377098083,
0.09293380379676819,
-0.14631006121635437,
0.04672667756676674,
0.06035774201154709,
0.07003884017467499,
-0.02975539304316044,
0.07928057014942169,
-0.07772842049598694,
-0.11512037366628647,
0.131761834025383,
-0.06104808673262596,
0.07066578418016434,
0.06049514561891556,
0.05337498337030411,
-0.024831827729940414,
-0.08843056857585907,
0.05260496586561203,
0.08208522200584412,
-0.2722807824611664,
0.23782983422279358,
0.02489616349339485,
-0.02100256457924843,
-0.07581210881471634,
-0.01197112537920475,
0.04746534302830696,
0.17573238909244537,
0.1784100979566574,
0.015835558995604515,
-0.0890166312456131,
-0.11168498545885086,
0.018103040754795074,
0.02124837040901184,
0.06922753155231476,
0.01682828739285469,
-0.055766865611076355,
-0.01974393054842949,
-0.03199067339301109,
0.0065124970860779285,
0.07581804692745209,
0.0032057780772447586,
-0.1199895516037941,
0.06446962803602219,
0.12222422659397125,
0.0293869785964489,
-0.04466773942112923,
-0.024470550939440727,
-0.1576405167579651,
0.16006380319595337,
-0.13120323419570923,
-0.06058584153652191,
-0.09945759922266006,
-0.15783266723155975,
0.05914862081408501,
-0.07642652094364166,
0.08164526522159576,
-0.0763368159532547,
-0.017225001007318497,
-0.12161340564489365,
-0.1423114538192749,
0.13354046642780304,
-0.13198760151863098,
-0.05999711900949478,
-0.056360580027103424,
0.12875057756900787,
-0.10665923357009888,
0.04309432953596115,
0.021664423868060112,
0.055251769721508026,
-0.09991598129272461,
-0.10199583321809769,
0.03239935636520386,
-0.11666852980852127,
0.09664826840162277,
0.026346299797296524,
-0.06149676442146301,
0.003269558073952794,
0.03287482261657715,
-0.04445863887667656,
0.15993236005306244,
0.3344018757343292,
-0.07718832045793533,
0.1409696340560913,
0.20726928114891052,
-0.05646579712629318,
-0.32575124502182007,
-0.10729873925447464,
-0.19001349806785583,
-0.035667650401592255,
0.045368120074272156,
-0.11859311908483505,
0.05096523091197014,
0.024923305958509445,
-0.09009790420532227,
0.13608330488204956,
-0.16160009801387787,
-0.09487710148096085,
0.19885370135307312,
-0.015580110251903534,
0.39922964572906494,
-0.10494741052389145,
-0.06566163152456284,
-0.03862922266125679,
-0.14693492650985718,
0.09259703010320663,
-0.04377979040145874,
0.0723157450556755,
-0.006639454979449511,
0.0008844753028824925,
-0.005779459606856108,
-0.08745452761650085,
0.1342417597770691,
-0.05254866182804108,
0.056757714599370956,
-0.0875428169965744,
-0.03540172800421715,
0.1391548216342926,
0.030922526493668556,
-0.002492922358214855,
-0.058177851140499115,
0.00838683545589447,
-0.028254356235265732,
-0.02031618170440197,
-0.09636101871728897,
0.1450377106666565,
-0.00921129621565342,
-0.07291343063116074,
-0.044480860233306885,
0.0017263335175812244,
-0.01424029003828764,
-0.04727549850940704,
0.2682605981826782,
-0.02254413813352585,
0.1410835236310959,
0.10747332870960236,
0.0802672877907753,
-0.16589072346687317,
-0.042908426374197006,
-0.05048828572034836,
-0.11604667454957962,
0.046484097838401794,
-0.03486977517604828,
0.021148866042494774,
0.1120719462633133,
-0.020650750026106834,
0.0681036189198494,
0.08660973608493805,
0.008850093930959702,
0.005119860637933016,
0.17017264664173126,
-0.16439130902290344,
-0.004875815939158201,
-0.016562970355153084,
0.04176315665245056,
0.06577562540769577,
0.036644503474235535,
0.08319179713726044,
0.0037454250268638134,
-0.00425028707832098,
0.026658089831471443,
0.0032066390849649906,
-0.08097346872091293,
0.008828035555779934,
0.09481096267700195,
0.0046232473105192184,
-0.11074003577232361,
0.032356902956962585,
-0.021033693104982376,
-0.16188640892505646,
-0.05453890562057495,
0.038358960300683975,
-0.13466259837150574,
-0.10903115570545197,
-0.0578860305249691,
0.028094051405787468,
-0.2343708574771881,
-0.09176838397979736,
-0.08438996225595474,
-0.1600010097026825,
0.04815061017870903,
0.17813004553318024,
0.08915438503026962,
0.0771564468741417,
0.03564132750034332,
-0.06809422373771667,
-0.00786175299435854,
-0.004817923530936241,
-0.09220677614212036,
0.014531916938722134,
-0.05267161875963211,
0.04986698552966118,
-0.00015738459478598088,
0.13510003685951233,
-0.07857941836118698,
0.005270295776426792,
-0.1284428983926773,
0.060291532427072525,
-0.047522157430648804,
-0.021320411935448647,
-0.13858965039253235,
-0.04595592990517616,
0.013356881216168404,
-0.044884953647851944,
-0.03832640498876572,
-0.012768818996846676,
-0.10889911651611328,
0.039396367967128754,
0.05116555839776993,
0.028194261714816093,
-0.07911708205938339,
-0.06945766508579254,
0.0874594897031784,
-0.010061443783342838,
0.0818948969244957,
0.02956731617450714,
-0.05333098769187927,
0.0904105007648468,
-0.10940168052911758,
-0.07856374233961105,
0.11089799553155899,
0.017765594646334648,
0.02374030090868473,
-0.02550053410232067,
0.03460679203271866,
0.09888619184494019,
-0.017916547134518623,
0.07333051413297653,
-0.019312363117933273,
-0.1352861374616623,
0.03748800605535507,
0.038170017302036285,
-0.12984396517276764,
-0.012429283000528812,
-0.08804977685213089,
0.0848192647099495,
0.0005567396292462945,
0.1746508777141571,
-0.055047690868377686,
0.042969610542058945,
-0.004910059738904238,
-0.0008515495574101806,
-0.05681741610169411,
-0.15248021483421326,
-0.040016137063503265,
-0.061184659600257874,
-0.018793130293488503,
-0.01955612190067768,
0.260404497385025,
0.004304065834730864,
-0.09177805483341217,
0.09094126522541046,
0.08291071653366089,
-0.002114853821694851,
-0.0015737296780571342,
0.13901712000370026,
0.04357951506972313,
-0.029397057369351387,
-0.1220395639538765,
0.09434295445680618,
-0.016570884734392166,
-0.10666676610708237,
0.10512473434209824,
0.055261217057704926,
0.07779348641633987,
0.0451948381960392,
0.06167018041014671,
-0.012640655972063541,
-0.025435928255319595,
-0.1121717095375061,
0.00994307454675436,
0.05256974324584007,
0.005421223118901253,
0.002905886620283127,
0.15873382985591888,
-0.0339713953435421,
0.013224242255091667,
-0.029385972768068314,
-0.0009098105365410447,
-0.2143794149160385,
-0.11696304380893707,
-0.0644325464963913,
-0.02153872326016426,
0.04304870590567589,
0.002294205827638507,
0.017830252647399902,
0.07897449284791946,
0.02702753059566021,
-0.04671356827020645,
0.013841411098837852,
-0.07266326248645782,
-0.02419409528374672,
0.041158974170684814,
-0.004927429836243391,
0.03398999571800232,
-0.053850069642066956,
-0.038972146809101105,
-0.11488109827041626,
-0.10170524567365646,
-0.03921319916844368,
0.00859762355685234,
-0.03182142600417137,
0.0038888133130967617,
-0.10322084277868271,
-0.08545997738838196,
-0.0565902404487133,
0.0766754150390625,
0.033718910068273544,
0.1062457412481308,
-0.012579051777720451,
0.060746267437934875,
0.04539908468723297,
0.08465756475925446,
-0.044168923050165176,
-0.1430896818637848,
-0.05446639657020569,
0.1402088850736618,
0.04111243039369583,
0.06381846964359283,
0.0033534946851432323,
0.019859744235873222,
0.004631803371012211,
0.29541727900505066,
0.2898685038089752,
-0.0619526244699955,
0.08900509774684906,
0.04191971942782402,
0.01787184178829193,
0.09287402778863907,
0.07062992453575134,
0.046645328402519226,
0.2865118086338043,
-0.11702936142683029,
-0.04524076730012894,
-0.06268265843391418,
0.033677972853183746,
-0.10637574642896652,
0.02146630920469761,
-0.021432755514979362,
-0.06898889690637589,
-0.012111005373299122,
0.10278039425611496,
-0.12878212332725525,
0.09992159903049469,
0.1277146339416504,
-0.1421407163143158,
0.007308067753911018,
-0.021972808986902237,
0.07403332740068436,
0.046343397349119186,
0.07250601053237915,
-0.07877681404352188,
-0.06327234953641891,
0.04331217333674431,
0.0044614593498408794,
-0.19309982657432556,
-0.04255589842796326,
0.06666769832372665,
0.035922322422266006,
0.057575058192014694,
0.00011335142335155979,
0.10269219428300858,
0.11102582514286041,
0.060854628682136536,
-0.0661114975810051,
0.09872130304574966,
0.04259279742836952,
-0.08709322661161423,
-0.020653873682022095,
-0.14302584528923035,
0.002755675232037902,
-0.032444603741168976,
0.018375620245933533,
-0.029963120818138123,
0.0996798574924469,
-0.04688744992017746,
-0.05709073320031166,
-0.03733126074075699,
0.07362567633390427,
-0.07377342134714127,
0.03799346089363098,
0.011476338841021061,
0.005904389079660177,
-0.07129233330488205,
-0.031109564006328583,
-0.025878865271806717,
0.08817876875400543,
-0.16245925426483154,
-0.07995839416980743,
0.0028314669616520405,
-0.016527865082025528,
0.0692969411611557,
0.02696949988603592,
-0.14927366375923157,
-0.0226750448346138,
-0.08410945534706116,
0.01417380478233099,
-0.14505110681056976,
0.030784592032432556,
0.052625373005867004,
0.009038377553224564,
0.003684727940708399,
-0.052308108657598495,
0.024256631731987,
-0.005014144349843264,
-0.11357884109020233,
-0.07763031125068665
] |
null | null |
transformers
|
# Kohaku DialoGPT Model
|
{"tags": ["conversational"]}
|
text-generation
|
cocoaclef/DialoGPT-small-kohaku
|
[
"transformers",
"pytorch",
"gpt2",
"text-generation",
"conversational",
"autotrain_compatible",
"endpoints_compatible",
"text-generation-inference",
"region:us"
] |
2022-03-02T23:29:05+00:00
|
[] |
[] |
TAGS
#transformers #pytorch #gpt2 #text-generation #conversational #autotrain_compatible #endpoints_compatible #text-generation-inference #region-us
|
# Kohaku DialoGPT Model
|
[
"# Kohaku DialoGPT Model"
] |
[
"TAGS\n#transformers #pytorch #gpt2 #text-generation #conversational #autotrain_compatible #endpoints_compatible #text-generation-inference #region-us \n",
"# Kohaku DialoGPT Model"
] |
[
51,
8
] |
[
"passage: TAGS\n#transformers #pytorch #gpt2 #text-generation #conversational #autotrain_compatible #endpoints_compatible #text-generation-inference #region-us \n# Kohaku DialoGPT Model"
] |
[
0.012656791135668755,
-0.0059423502534627914,
-0.00453183613717556,
-0.01705808751285076,
0.16851194202899933,
-0.003212032141163945,
0.18032969534397125,
0.12404947727918625,
-0.01716088503599167,
-0.031456463038921356,
0.0936606153845787,
0.14548072218894958,
0.049808040261268616,
0.12411196529865265,
-0.06820593029260635,
-0.3607911765575409,
0.07287195324897766,
0.055663101375103,
0.06520089507102966,
0.11616002768278122,
0.09323399513959885,
-0.04337005689740181,
0.07545061409473419,
0.024189908057451248,
-0.12082138657569885,
-0.014038014225661755,
0.013748387806117535,
-0.17389759421348572,
0.08017949014902115,
0.0663793534040451,
0.02743135578930378,
-0.009085902944207191,
-0.06688611209392548,
-0.15169623494148254,
0.03839664161205292,
-0.023993704468011856,
-0.029386119917035103,
0.0018349469173699617,
-0.0073584457859396935,
-0.05941244959831238,
0.11847468465566635,
0.06924968957901001,
-0.03412879630923271,
0.025576317682862282,
-0.1424712985754013,
0.06456086039543152,
-0.006112141069024801,
0.08891016244888306,
0.1500440239906311,
0.10716012865304947,
-0.04956702142953873,
0.0754397064447403,
-0.09132926911115646,
0.10239236056804657,
0.06864917278289795,
-0.2945900559425354,
-0.03308596834540367,
0.09255140274763107,
0.02648957259953022,
0.06804491579532623,
-0.047452136874198914,
0.08304774761199951,
0.03191808611154556,
-0.02060523070394993,
-0.09223741292953491,
-0.09463034570217133,
-0.09210620820522308,
-0.0015716004418209195,
-0.08063556998968124,
-0.007956458255648613,
0.24205873906612396,
-0.03839821368455887,
0.06332583725452423,
-0.08158157020807266,
-0.07713353633880615,
-0.019016863778233528,
-0.04636932164430618,
-0.012825810350477695,
-0.11193506419658661,
0.0401274710893631,
-0.006660111248493195,
-0.0840185210108757,
-0.11826221644878387,
-0.02763468585908413,
-0.16669560968875885,
0.244134783744812,
0.0587620735168457,
0.021101580932736397,
-0.23190636932849884,
0.09167826920747757,
-0.02689468488097191,
-0.10931616276502609,
-0.008679886348545551,
-0.08839815855026245,
0.031730201095342636,
0.027309615164995193,
0.001735161175020039,
-0.07678061723709106,
0.0807643011212349,
0.11343754082918167,
0.01928757317364216,
0.01849997043609619,
0.0016760749276727438,
0.040158968418836594,
0.057009946554899216,
0.11422762274742126,
-0.0008900894899852574,
-0.07857605814933777,
0.03994717821478844,
-0.06035945191979408,
0.004302783869206905,
-0.07814741134643555,
-0.1590588390827179,
-0.06222032755613327,
0.03916369006037712,
0.05632467567920685,
0.007979595102369785,
0.14713384211063385,
0.0424550324678421,
-0.048582643270492554,
0.0309856329113245,
-0.04578753560781479,
-0.04966004565358162,
-0.029164185747504234,
-0.007102678529918194,
0.16988997161388397,
-0.02198086492717266,
0.04774882271885872,
-0.12142196297645569,
0.026354575529694557,
-0.024205662310123444,
0.017274273559451103,
-0.00727542070671916,
-0.0026555010117590427,
-0.013003002852201462,
-0.07135060429573059,
0.0263417549431324,
-0.17890217900276184,
-0.13431581854820251,
-0.009610445238649845,
-0.023936089128255844,
-0.016838744282722473,
-0.1215512603521347,
-0.08142299205064774,
-0.0233815535902977,
0.04452013596892357,
-0.07317093014717102,
-0.046906646341085434,
-0.06861486285924911,
0.06812366843223572,
-0.016814136877655983,
0.08222264796495438,
-0.05390462279319763,
0.07818663865327835,
-0.07512025535106659,
-0.015481090173125267,
-0.11791939288377762,
0.08882547914981842,
-0.014688662253320217,
0.05903010442852974,
-0.022824479267001152,
0.0062644947320222855,
-0.06139207258820534,
0.053394898772239685,
-0.029925035312771797,
0.23255838453769684,
-0.03503108397126198,
-0.09825939685106277,
0.28718656301498413,
-0.07103399187326431,
-0.11747768521308899,
0.13353432714939117,
0.01842609792947769,
0.08721814304590225,
0.11838129907846451,
0.18342281877994537,
0.020080706104636192,
0.0015424423618242145,
0.04177859425544739,
0.08323349803686142,
-0.07310529053211212,
0.005930703599005938,
0.021677248179912567,
0.0003667096607387066,
-0.09557526558637619,
0.05829686298966408,
0.09082707017660141,
0.07998137176036835,
-0.044678762555122375,
-0.03690223768353462,
0.012120437808334827,
-0.01298307441174984,
0.06543264538049698,
-0.05434015765786171,
0.14655904471874237,
0.0016848377417773008,
-0.04014880582690239,
0.015290052630007267,
0.06182921305298805,
-0.048190146684646606,
0.05632629990577698,
-0.0873427763581276,
0.10636350512504578,
-0.04383744299411774,
0.06793299317359924,
-0.08545699715614319,
-0.022499972954392433,
-0.028420262038707733,
0.1517144739627838,
0.05396740511059761,
0.059793323278427124,
0.038501087576150894,
-0.04689608886837959,
-0.034098442643880844,
0.02873208001255989,
0.1429615318775177,
-0.0068772113882005215,
-0.07895366847515106,
-0.06415299326181412,
0.11948402225971222,
-0.032474614679813385,
0.10498091578483582,
-0.042968131601810455,
0.0013200470712035894,
0.008569595403969288,
0.11247008293867111,
-0.046880170702934265,
0.07090158015489578,
0.04190099611878395,
0.003723233938217163,
-0.06272778660058975,
0.02758600004017353,
0.07206501811742783,
-0.012789727188646793,
-0.09066974371671677,
0.28707462549209595,
-0.17951099574565887,
0.07302484661340714,
0.17675454914569855,
-0.13910448551177979,
0.007844186387956142,
-0.11949348449707031,
-0.021879078820347786,
-0.021261652931571007,
0.035806406289339066,
0.0089886374771595,
0.2257407307624817,
-0.02899825945496559,
0.1615239381790161,
-0.026210974901914597,
-0.004648010712116957,
-0.0030308659188449383,
-0.0847788080573082,
0.010401456616818905,
0.07472841441631317,
0.08707229793071747,
-0.156986802816391,
0.16203837096691132,
0.058643583208322525,
0.0016276841051876545,
0.2544737458229065,
0.014667857438325882,
-0.01529251504689455,
0.04929313436150551,
0.008052793331444263,
-0.03861021623015404,
-0.021876638755202293,
-0.2893511950969696,
-0.05702595412731171,
0.07165713608264923,
0.04086794704198837,
0.10771304368972778,
-0.08416000008583069,
-0.04178030416369438,
-0.029562152922153473,
-0.005148819647729397,
0.0784154161810875,
0.14592179656028748,
0.026234585791826248,
0.11502174288034439,
-0.01163328904658556,
-0.020006701350212097,
0.057588957250118256,
0.02728680521249771,
-0.03807608410716057,
0.18581348657608032,
-0.10848479717969894,
-0.3174097537994385,
-0.09637602418661118,
-0.1787116378545761,
-0.08760415762662888,
0.014830345287919044,
0.08791117370128632,
-0.15236414968967438,
-0.011742137372493744,
-0.00002670903086254839,
0.09568126499652863,
-0.06051042303442955,
0.011757470667362213,
-0.054256901144981384,
-0.0048038712702691555,
-0.1682313233613968,
-0.07329079508781433,
-0.06154198199510574,
-0.03350887820124626,
-0.09194600582122803,
0.15035422146320343,
-0.1339397430419922,
0.03965544328093529,
0.24755814671516418,
0.0483226552605629,
0.04619403928518295,
-0.04274589940905571,
0.14612148702144623,
-0.14926989376544952,
0.016849106177687645,
0.19500505924224854,
-0.04063455015420914,
0.06230050325393677,
0.15066175162792206,
-0.047196630388498306,
-0.04511941596865654,
0.059711433947086334,
-0.011058229953050613,
-0.0846884548664093,
-0.21823476254940033,
-0.09004603326320648,
-0.12083536386489868,
0.13767790794372559,
-0.021106315776705742,
0.03547898307442665,
0.1655745804309845,
0.10771619528532028,
-0.049080003052949905,
0.047375425696372986,
0.053927648812532425,
0.08934994041919708,
0.22065669298171997,
-0.04942614212632179,
0.13601046800613403,
-0.007536817342042923,
-0.15214458107948303,
0.06742647290229797,
0.07198836654424667,
0.08953883498907089,
0.009156918153166771,
0.017290329560637474,
0.04107131063938141,
0.04815759137272835,
0.17677918076515198,
0.011676394380629063,
0.02627580054104328,
-0.027972355484962463,
-0.018010983243584633,
-0.03777756914496422,
-0.033231791108846664,
0.07550475746393204,
0.0748327225446701,
-0.15863920748233795,
-0.018854357302188873,
0.020164573565125465,
0.07495742291212082,
0.08265342563390732,
0.10918421298265457,
-0.11372020840644836,
-0.040857382118701935,
0.07321111112833023,
-0.05380290001630783,
-0.11901465058326721,
0.1025901809334755,
-0.0014457881916314363,
-0.19036859273910522,
0.06676576286554337,
-0.015257312916219234,
0.10553357005119324,
-0.08046210557222366,
0.04565764591097832,
-0.11781196296215057,
-0.06116203963756561,
-0.019762123003602028,
0.09593410789966583,
-0.2891578674316406,
0.1994142383337021,
-0.016083866357803345,
-0.03593699634075165,
-0.12891682982444763,
-0.013260762207210064,
0.0579524002969265,
0.0864604264497757,
0.08150144666433334,
0.008094217628240585,
0.00008476206130580977,
-0.02940625324845314,
-0.08113022148609161,
0.0496106892824173,
0.10875865072011948,
-0.03634784743189812,
-0.016595717519521713,
-0.019629409536719322,
0.00022501085186377168,
-0.060809627175331116,
-0.06808275729417801,
-0.034318793565034866,
-0.16051897406578064,
0.0807715505361557,
0.06871530413627625,
0.10474499315023422,
0.0386526994407177,
-0.03963056579232216,
-0.06113937869668007,
0.2138611376285553,
0.06962504982948303,
-0.09658589959144592,
-0.07549896091222763,
-0.09438523650169373,
0.058173444122076035,
-0.10357258468866348,
0.030976589769124985,
-0.08341585099697113,
0.01648087054491043,
-0.05092950537800789,
-0.1454525887966156,
0.0678410604596138,
-0.07268917560577393,
-0.06478150188922882,
0.016579724848270416,
0.19136060774326324,
-0.007774141617119312,
0.008128048852086067,
0.03331092372536659,
-0.01345245074480772,
-0.06467115879058838,
-0.08985767513513565,
-0.037130098789930344,
0.121064193546772,
0.014758411794900894,
0.05728583782911301,
-0.0007075095199979842,
-0.06328128278255463,
-0.1310500055551529,
-0.0758628249168396,
0.28169572353363037,
0.16521352529525757,
0.0017957242671400309,
0.15997198224067688,
0.1260218769311905,
-0.05287754908204079,
-0.27539151906967163,
-0.13859304785728455,
-0.07792400568723679,
-0.006047510541975498,
-0.12219420820474625,
-0.14309179782867432,
0.07746779918670654,
-0.04864059016108513,
-0.024180511012673378,
0.09652832895517349,
-0.25386226177215576,
-0.1356654316186905,
0.17567773163318634,
0.00028476331499405205,
0.4167109429836273,
-0.09787295758724213,
-0.06395383179187775,
-0.0431516207754612,
-0.1707335263490677,
0.12810249626636505,
-0.005619565490633249,
0.13951268792152405,
-0.023460861295461655,
0.18025308847427368,
0.04147885739803314,
-0.00026627074112184346,
0.1070151999592781,
0.02061639353632927,
-0.08578219264745712,
-0.1379946619272232,
-0.10082025080919266,
0.008523605763912201,
-0.01841081492602825,
0.039180900901556015,
-0.04542892798781395,
0.009184672497212887,
-0.15648826956748962,
-0.06180927902460098,
-0.07872479408979416,
0.02531234733760357,
0.0399923101067543,
-0.10424575954675674,
-0.04042792692780495,
-0.007960684597492218,
0.0014203768223524094,
0.018224313855171204,
0.19739128649234772,
-0.062350403517484665,
0.11648495495319366,
0.04231845960021019,
0.09765081107616425,
-0.06566809117794037,
0.04834561049938202,
-0.08128324896097183,
-0.0627354085445404,
0.08307457715272903,
-0.08249004930257797,
0.0010506378021091223,
0.0863833874464035,
-0.029655136168003082,
0.08335833251476288,
0.05047113448381424,
-0.03933509811758995,
0.06091979146003723,
0.07236571609973907,
-0.21469029784202576,
-0.06027333438396454,
-0.0798218846321106,
-0.011584979481995106,
0.11175300180912018,
0.08035025000572205,
0.21745488047599792,
-0.05035654827952385,
-0.04890073835849762,
-0.012645067647099495,
0.028027687221765518,
-0.048350684344768524,
0.06271526962518692,
-0.006015880033373833,
0.016179047524929047,
-0.11054857075214386,
0.05845905840396881,
-0.00023670589143875986,
-0.09230945259332657,
0.05363859981298447,
0.11874894052743912,
-0.10937309265136719,
-0.10946528613567352,
-0.048213813453912735,
0.060571640729904175,
-0.09312516450881958,
-0.032219380140304565,
-0.031870037317276,
-0.12574176490306854,
0.03748267889022827,
0.11859180778265,
0.0353577695786953,
0.051051318645477295,
-0.060629479587078094,
0.001649591140449047,
-0.04350519925355911,
-0.00385057064704597,
0.07431885600090027,
-0.012605296447873116,
-0.07332644611597061,
0.05590704828500748,
-0.007674058433622122,
0.1747417151927948,
-0.08694715797901154,
-0.1274213343858719,
-0.1733013391494751,
0.03752872720360756,
-0.14827053248882294,
-0.05580145865678787,
-0.1587504744529724,
-0.06437285244464874,
-0.04498918354511261,
-0.03960131108760834,
-0.05648408457636833,
-0.03987403213977814,
-0.10600116103887558,
0.05534284934401512,
-0.06423420459032059,
0.029297610744833946,
-0.02796642668545246,
0.018248572945594788,
0.06394152343273163,
-0.031176520511507988,
0.1477823406457901,
0.16018199920654297,
-0.09803660959005356,
0.09682191908359528,
-0.09247129410505295,
-0.03345661237835884,
0.09716178476810455,
0.009663860313594341,
0.0449410155415535,
0.04124102741479874,
0.008825575932860374,
0.038861699402332306,
0.09660445898771286,
0.05750732496380806,
0.03631842881441116,
-0.0796714797616005,
0.005575204733759165,
-0.05668158084154129,
-0.12589600682258606,
-0.05121387168765068,
-0.013063604943454266,
0.019753767177462578,
0.045381028205156326,
0.06663068383932114,
-0.06878811866044998,
0.11977113783359528,
-0.028697064146399498,
0.020260576158761978,
0.004393953830003738,
-0.16888022422790527,
0.052919842302799225,
-0.10181735455989838,
0.036114707589149475,
0.009138822555541992,
0.19950667023658752,
0.037245478481054306,
-0.032661017030477524,
0.010307042859494686,
0.003532016882672906,
0.05379589647054672,
0.01264099683612585,
0.17525725066661835,
0.11435260623693466,
-0.031917646527290344,
-0.09870754182338715,
0.06288941204547882,
0.017470961436629295,
0.011383012868463993,
0.10872934758663177,
-0.03496541827917099,
-0.0017812559381127357,
0.11819460242986679,
-0.02463396079838276,
0.02645275741815567,
-0.11168716102838516,
-0.21327756345272064,
-0.13545945286750793,
0.06270743161439896,
-0.05427834019064903,
0.09083473682403564,
0.18061436712741852,
-0.041477203369140625,
0.012015871703624725,
-0.018071714788675308,
-0.09772925078868866,
-0.18572698533535004,
-0.24462880194187164,
-0.07935366779565811,
-0.13505183160305023,
0.047603752464056015,
-0.10541816055774689,
0.0371248759329319,
0.04825086519122124,
0.09163136035203934,
-0.06415735185146332,
0.13782525062561035,
0.06609900295734406,
-0.11524107307195663,
0.1320497989654541,
-0.03034164570271969,
0.06516139209270477,
-0.02193635143339634,
-0.009863609448075294,
-0.08583573251962662,
-0.014123828150331974,
-0.0030441691633313894,
0.04425506666302681,
-0.07555260509252548,
0.034801289439201355,
-0.09056153893470764,
-0.07583756744861603,
-0.040972303599119186,
0.05057999864220619,
0.060664962977170944,
0.1269749104976654,
0.050526417791843414,
-0.02124066650867462,
0.021531570702791214,
0.2459157109260559,
-0.041870683431625366,
-0.12529614567756653,
-0.0843263491988182,
0.17747774720191956,
0.0093022296205163,
0.057720087468624115,
-0.025451388210058212,
0.009839911945164204,
-0.08495430648326874,
0.3401717245578766,
0.24557825922966003,
-0.0603092722594738,
0.019731761887669563,
-0.013679719530045986,
0.04740137234330177,
0.0821090117096901,
0.13341236114501953,
0.08485929667949677,
0.2746109366416931,
-0.05129781737923622,
-0.03731611743569374,
-0.017743311822414398,
-0.06779281795024872,
-0.06515803933143616,
0.04961540549993515,
0.06190229579806328,
-0.08949700742959976,
-0.02207406423985958,
0.10186590999364853,
-0.321574330329895,
0.13157878816127777,
-0.17808444797992706,
-0.18548181653022766,
-0.11251118034124374,
0.006480874959379435,
0.11069415509700775,
0.045315805822610855,
0.08392065763473511,
-0.000725267396774143,
-0.04831705614924431,
0.0641729086637497,
0.04486418887972832,
-0.14098095893859863,
0.017713142558932304,
0.08545755594968796,
-0.0136353624984622,
-0.05219774693250656,
-0.006408948916941881,
0.06439457833766937,
0.06628530472517014,
0.06473717838525772,
0.01875150576233864,
0.05639670789241791,
0.005759458523243666,
-0.05310655012726784,
0.022499052807688713,
0.09574910998344421,
0.011266752146184444,
-0.12162314355373383,
0.09574416279792786,
-0.10251117497682571,
0.0639718770980835,
0.010325140319764614,
0.009483166970312595,
-0.054633308202028275,
0.05767263099551201,
-0.09614229947328568,
0.101140595972538,
0.10767661780118942,
-0.028946364298462868,
-0.017854543402791023,
-0.01817159168422222,
-0.006639208644628525,
-0.05185813456773758,
-0.10346077382564545,
-0.09414812177419662,
-0.15377314388751984,
-0.15278467535972595,
0.031849682331085205,
0.02027279883623123,
-0.14617812633514404,
0.017167750746011734,
-0.12959332764148712,
0.04468252509832382,
-0.14667515456676483,
0.10543515533208847,
0.05730576440691948,
0.004010747652500868,
0.010640078224241734,
-0.0550694465637207,
0.03331157937645912,
0.06868971884250641,
-0.15775378048419952,
-0.09487675875425339
] |
null | null |
transformers
|
# Rick Morty DialoGPT Model
|
{"tags": ["conversational"]}
|
text-generation
|
codealtgeek/DiabloGPT-medium-rickmorty
|
[
"transformers",
"pytorch",
"gpt2",
"text-generation",
"conversational",
"autotrain_compatible",
"endpoints_compatible",
"text-generation-inference",
"region:us"
] |
2022-03-02T23:29:05+00:00
|
[] |
[] |
TAGS
#transformers #pytorch #gpt2 #text-generation #conversational #autotrain_compatible #endpoints_compatible #text-generation-inference #region-us
|
# Rick Morty DialoGPT Model
|
[
"# Rick Morty DialoGPT Model"
] |
[
"TAGS\n#transformers #pytorch #gpt2 #text-generation #conversational #autotrain_compatible #endpoints_compatible #text-generation-inference #region-us \n",
"# Rick Morty DialoGPT Model"
] |
[
51,
9
] |
[
"passage: TAGS\n#transformers #pytorch #gpt2 #text-generation #conversational #autotrain_compatible #endpoints_compatible #text-generation-inference #region-us \n# Rick Morty DialoGPT Model"
] |
[
-0.027416273951530457,
0.12086749076843262,
-0.006109944544732571,
0.009889360517263412,
0.12381330132484436,
0.0038806977681815624,
0.14245158433914185,
0.1331283152103424,
-0.0212846826761961,
-0.045859768986701965,
0.14985723793506622,
0.21308201551437378,
-0.019527088850736618,
0.051007822155952454,
-0.06853066384792328,
-0.3212457299232483,
0.04747724160552025,
0.05849539116024971,
-0.031212788075208664,
0.11445578187704086,
0.09293332695960999,
-0.04094693437218666,
0.0733533725142479,
0.011670893989503384,
-0.1314198225736618,
0.010235695168375969,
0.014730604365468025,
-0.09850499778985977,
0.1117473691701889,
0.07090220600366592,
0.01977115496993065,
0.04605070501565933,
-0.042774006724357605,
-0.12270724773406982,
0.04736309126019478,
0.0012515645939856768,
-0.045511845499277115,
0.06668319553136826,
0.012820800766348839,
-0.09431180357933044,
0.14217764139175415,
0.12549172341823578,
-0.007773073390126228,
0.040497276932001114,
-0.15369699895381927,
-0.028457961976528168,
-0.004497861489653587,
0.051908574998378754,
0.046925999224185944,
0.11125461012125015,
-0.03784911334514618,
0.12445349991321564,
-0.04202383756637573,
0.11295074224472046,
0.11681167036294937,
-0.2876027524471283,
-0.016340676695108414,
0.14467903971672058,
0.03499724715948105,
0.02552611380815506,
-0.04558492824435234,
0.09456686675548553,
0.014267511665821075,
-0.004964208230376244,
-0.03697703033685684,
-0.07767035067081451,
-0.05041099339723587,
0.03769579529762268,
-0.08099090307950974,
-0.00252055493183434,
0.22437700629234314,
-0.023694775998592377,
0.09231439232826233,
-0.060666441917419434,
-0.0907888412475586,
-0.00829416885972023,
-0.040286462754011154,
-0.03791467100381851,
-0.09851202368736267,
0.07553289085626602,
-0.04743136838078499,
-0.0896044448018074,
-0.11248479783535004,
-0.018256433308124542,
-0.15938088297843933,
0.15307071805000305,
0.026864582672715187,
0.03729034215211868,
-0.19902122020721436,
0.07844828069210052,
-0.028603488579392433,
-0.09441527724266052,
0.024891193956136703,
-0.08897717297077179,
0.007059852592647076,
0.014940117485821247,
-0.02692650444805622,
-0.01080795843154192,
0.08948459476232529,
0.11486934125423431,
0.0012382101267576218,
0.022374704480171204,
-0.021753402426838875,
0.046682097017765045,
0.052672360092401505,
0.03954516351222992,
-0.04186785966157913,
-0.022741666063666344,
0.02572580985724926,
-0.08474642038345337,
-0.008516058325767517,
-0.06357598304748535,
-0.19882962107658386,
0.0066541084088385105,
0.07609006762504578,
0.04447868838906288,
0.030165988951921463,
0.13503077626228333,
0.004542340524494648,
-0.05563449114561081,
0.03441212326288223,
-0.005266434978693724,
-0.023943031206727028,
0.018793204799294472,
0.0034354126546531916,
0.15178295969963074,
0.024059079587459564,
0.053748175501823425,
-0.10243912786245346,
0.016247184947133064,
-0.05016466975212097,
-0.014364240691065788,
-0.030889246612787247,
-0.05143284797668457,
0.002065480686724186,
-0.01656651869416237,
0.018873749300837517,
-0.1348172426223755,
-0.15529313683509827,
-0.00524118123576045,
-0.004736831411719322,
-0.045283541083335876,
-0.11088961362838745,
-0.10792574286460876,
-0.027836862951517105,
0.040399227291345596,
-0.05653241649270058,
0.024379350244998932,
-0.05022101104259491,
0.09343878924846649,
-0.03229687735438347,
0.07440964877605438,
-0.09111195057630539,
0.08398482203483582,
-0.06504840403795242,
-0.04608788341283798,
-0.06951715052127838,
0.11532726138830185,
0.00948856957256794,
0.0517040491104126,
-0.03399192541837692,
-0.018159443512558937,
-0.10607455670833588,
0.06333806365728378,
-0.04592961072921753,
0.23252448439598083,
-0.0882263258099556,
-0.10362039506435394,
0.23659279942512512,
-0.041976332664489746,
-0.12399233877658844,
0.11402548849582672,
-0.027552654966711998,
0.09993235021829605,
0.12294723093509674,
0.1687079519033432,
0.028866015374660492,
-0.0066484189592301846,
0.10477101802825928,
0.1148667186498642,
-0.07858583331108093,
-0.007384664379060268,
0.023825330659747124,
-0.018311534076929092,
-0.09742707014083862,
0.024217721074819565,
0.0863247737288475,
0.049028586596250534,
-0.06375037133693695,
-0.013463132083415985,
0.012806696817278862,
-0.005671072751283646,
0.07319371402263641,
-0.012223406694829464,
0.12824711203575134,
-0.025656385347247124,
-0.0770145058631897,
-0.01428163331001997,
0.025753408670425415,
-0.05255761742591858,
0.027070246636867523,
-0.08988162875175476,
0.035605765879154205,
-0.01898045837879181,
0.0671210065484047,
-0.16663384437561035,
-0.07745291292667389,
-0.06126396730542183,
0.2262658029794693,
0.07519219070672989,
0.1284416913986206,
0.0619715116918087,
-0.058878444135189056,
-0.006196749862283468,
0.03376108035445213,
0.1913164108991623,
-0.0039115422405302525,
-0.08089020848274231,
-0.11742129176855087,
0.09549184888601303,
-0.0750381201505661,
0.06824305653572083,
-0.053482670336961746,
0.010319244116544724,
0.009465949609875679,
0.1013946607708931,
-0.038084983825683594,
0.038067691028118134,
0.019796738401055336,
-0.03743954747915268,
-0.06533488631248474,
0.0009406007011421025,
0.10463766008615494,
0.008402220904827118,
-0.10139253735542297,
0.22547724843025208,
-0.2005029320716858,
0.14411064982414246,
0.17982447147369385,
-0.2346627563238144,
0.0021273153834044933,
-0.11201058328151703,
-0.021471746265888214,
0.007533633150160313,
0.0470501147210598,
-0.04458373039960861,
0.22299137711524963,
-0.011466647498309612,
0.17279048264026642,
-0.039442989975214005,
-0.04193522036075592,
-0.04108773171901703,
-0.04188798740506172,
0.006027073599398136,
0.12033126503229141,
0.10017445683479309,
-0.1822369396686554,
0.17901694774627686,
0.06407493352890015,
0.04607775807380676,
0.16021881997585297,
0.029854416847229004,
0.01598851941525936,
0.05563560873270035,
-0.01471908763051033,
-0.037844810634851456,
-0.07636579871177673,
-0.23525193333625793,
-0.007929623126983643,
0.07535190880298615,
0.035712987184524536,
0.10723735392093658,
-0.09158799052238464,
-0.038234591484069824,
-0.006720248609781265,
-0.017972785979509354,
0.029511768370866776,
0.13821794092655182,
0.012823565863072872,
0.12136346101760864,
-0.02067670226097107,
-0.06758338212966919,
0.07061983644962311,
0.01762859895825386,
-0.08836925029754639,
0.18357424437999725,
-0.11606878787279129,
-0.3341638445854187,
-0.09832020103931427,
-0.18778936564922333,
-0.044912174344062805,
0.048682037740945816,
0.10484113544225693,
-0.1378994584083557,
-0.020967360585927963,
-0.0011182050220668316,
0.07453688979148865,
-0.12740632891654968,
0.007425905205309391,
-0.021490052342414856,
-0.004774138797074556,
-0.13142900168895721,
-0.09953810274600983,
-0.04875548928976059,
-0.06333116441965103,
-0.04007769003510475,
0.11915352195501328,
-0.15440979599952698,
0.007438643369823694,
0.23077727854251862,
0.06644120812416077,
0.07287882268428802,
-0.033953361213207245,
0.18404237926006317,
-0.08294825255870819,
0.010298850014805794,
0.2278866469860077,
-0.044359900057315826,
0.07007310539484024,
0.08790004998445511,
-0.005820757243782282,
-0.05185883864760399,
0.03261810541152954,
0.005810468923300505,
-0.07390361279249191,
-0.20164833962917328,
-0.11046743392944336,
-0.1097269132733345,
0.06003160402178764,
0.049688130617141724,
0.04269523173570633,
0.16941851377487183,
0.06732624769210815,
-0.050071004778146744,
-0.0010007480159401894,
0.06692192703485489,
0.07866300642490387,
0.24961450695991516,
-0.07098972052335739,
0.14394886791706085,
-0.018865063786506653,
-0.16527363657951355,
0.07400073856115341,
0.0514012947678566,
0.07847563922405243,
0.07295927405357361,
0.10060954838991165,
0.010725021362304688,
0.011121176183223724,
0.12659968435764313,
0.06625896692276001,
-0.0038331167306751013,
-0.03917814791202545,
-0.049783237278461456,
-0.04524265229701996,
-0.023619912564754486,
0.04664705693721771,
0.05461094528436661,
-0.15899211168289185,
-0.01097947172820568,
0.007825072854757309,
0.048257775604724884,
0.00985618308186531,
0.0866815447807312,
-0.19567669928073883,
-0.019957082346081734,
0.0636926218867302,
-0.005147154442965984,
-0.09536939859390259,
0.07866992056369781,
-0.0072094290517270565,
-0.10218027234077454,
0.03940068185329437,
-0.030383454635739326,
0.1246940940618515,
-0.0801611840724945,
0.07795576006174088,
-0.12091593444347382,
-0.041307736188173294,
-0.005253799259662628,
0.11947031319141388,
-0.29642704129219055,
0.18476703763008118,
-0.008458035998046398,
-0.05291203409433365,
-0.10281132906675339,
-0.02201247401535511,
0.03507980331778526,
0.10506751388311386,
0.1118205264210701,
-0.02476685494184494,
-0.01724824495613575,
0.049101583659648895,
-0.06962887942790985,
0.029461484402418137,
0.08798205107450485,
-0.050502385944128036,
-0.011574916541576385,
-0.04603515937924385,
-0.0029110098257660866,
0.01779703050851822,
-0.09948457777500153,
0.003308283630758524,
-0.18711978197097778,
0.08715172111988068,
0.0664692223072052,
0.06770443916320801,
0.0410330630838871,
-0.0376434326171875,
-0.11037451028823853,
0.2640511095523834,
0.006874449551105499,
-0.09938371181488037,
-0.1063869297504425,
0.040492862462997437,
0.04723961278796196,
-0.06468400359153748,
-0.02421484887599945,
-0.07383155077695847,
0.047784969210624695,
-0.06310353428125381,
-0.20025654137134552,
0.11153385043144226,
-0.09598832577466965,
-0.04565293341875076,
-0.038614898920059204,
0.22017183899879456,
-0.02087371051311493,
0.01834278367459774,
0.040803052484989166,
-0.004591372795403004,
-0.12742213904857635,
-0.10001911222934723,
0.017327459529042244,
-0.0009376577800139785,
0.021842550486326218,
0.003586926031857729,
-0.04634168744087219,
-0.006295070517808199,
-0.05597352981567383,
-0.0032472964376211166,
0.314273864030838,
0.11974360793828964,
-0.0459052175283432,
0.15168564021587372,
0.11110243201255798,
-0.06336724013090134,
-0.2841157019138336,
-0.10526396334171295,
-0.07726700603961945,
-0.06251303106546402,
-0.07681839168071747,
-0.19412246346473694,
0.09324176609516144,
-0.04012000188231468,
-0.006594877690076828,
0.06911571323871613,
-0.2687768042087555,
-0.09850376099348068,
0.19593903422355652,
-0.029114339500665665,
0.44064584374427795,
-0.10917924344539642,
-0.07919815182685852,
-0.059960875660181046,
-0.1383652538061142,
0.19179140031337738,
-0.02703654207289219,
0.10186978429555893,
-0.0003646083641797304,
0.19195830821990967,
0.057588085532188416,
-0.0009007352637127042,
0.06601071357727051,
0.01702183485031128,
-0.04900797829031944,
-0.08880552649497986,
-0.09949428588151932,
-0.0028341286815702915,
0.014665309339761734,
0.020054258406162262,
-0.07335546612739563,
0.04037605598568916,
-0.12153704464435577,
-0.057532791048288345,
-0.08231829106807709,
0.03708001598715782,
0.02363327331840992,
-0.06965623795986176,
0.003611034480854869,
-0.041214823722839355,
-0.003743773326277733,
0.001163402572274208,
0.19916509091854095,
-0.11463721841573715,
0.13475215435028076,
0.055799905210733414,
0.14584854245185852,
-0.11059413850307465,
-0.036196619272232056,
-0.049671463668346405,
-0.056701723486185074,
0.0657535120844841,
-0.11300431936979294,
0.03300803527235985,
0.1006435751914978,
-0.021579928696155548,
0.07627937942743301,
0.11079196631908417,
-0.023353170603513718,
0.006963616237044334,
0.07969304174184799,
-0.2467534989118576,
-0.08276727795600891,
-0.07502299547195435,
0.047773830592632294,
0.07212468981742859,
0.10943278670310974,
0.21149371564388275,
0.014789524488151073,
-0.025001436471939087,
0.03222371265292168,
0.023720046505331993,
-0.018071206286549568,
0.057205770164728165,
0.006658707745373249,
0.02543378621339798,
-0.14630788564682007,
0.04069182276725769,
-0.014969375915825367,
-0.07975641638040543,
0.018297437578439713,
0.14578038454055786,
-0.10994893312454224,
-0.12492318451404572,
-0.06442593038082123,
0.15935027599334717,
-0.1318066418170929,
0.00008887145668268204,
-0.04528146982192993,
-0.11942756175994873,
0.08018366992473602,
0.1163475513458252,
0.0548318587243557,
0.04320308938622475,
-0.09725219011306763,
-0.03015247732400894,
-0.0463523268699646,
0.009109904989600182,
0.025928247720003128,
-0.025241773575544357,
-0.042393237352371216,
0.04041439667344093,
-0.037384483963251114,
0.1199554055929184,
-0.09227344393730164,
-0.10210355371236801,
-0.16372735798358917,
0.04211808368563652,
-0.04951796308159828,
-0.08286435902118683,
-0.1046765148639679,
-0.043875209987163544,
0.00679828692227602,
-0.03306660056114197,
-0.02686910517513752,
-0.028210319578647614,
-0.10169406235218048,
0.0354401171207428,
-0.039222512394189835,
-0.0010834659915417433,
-0.07553835958242416,
0.024027099832892418,
0.045587822794914246,
-0.02624446526169777,
0.1485806107521057,
0.12215639650821686,
-0.11098423600196838,
0.08989319205284119,
-0.16241876780986786,
-0.06881432235240936,
0.09718970209360123,
0.021595995873212814,
0.04444918408989906,
0.043577950447797775,
0.006596237421035767,
0.04742807894945145,
0.06705378741025925,
0.040454499423503876,
0.055872101336717606,
-0.07414437085390091,
0.05340878292918205,
-0.05155640468001366,
-0.10819453746080399,
-0.04804424196481705,
-0.013407588936388493,
0.008997448720037937,
0.06238336116075516,
0.11464203894138336,
-0.0483878068625927,
0.08908496052026749,
-0.05675007402896881,
0.049880947917699814,
0.027069102972745895,
-0.16960401833057404,
0.014258208684623241,
-0.0808192640542984,
0.053306471556425095,
0.004392252769321203,
0.18324851989746094,
0.012561025097966194,
-0.029430944472551346,
0.02732483670115471,
0.05722617357969284,
0.05216764658689499,
-0.010767760686576366,
0.1901388317346573,
0.10632782429456711,
-0.038889240473508835,
-0.09260699898004532,
0.09756447374820709,
0.04513990134000778,
0.06597290933132172,
0.14979833364486694,
-0.02466198429465294,
-0.010925143957138062,
0.07297184318304062,
0.004247481003403664,
0.02110392414033413,
-0.0873403549194336,
-0.0998910591006279,
-0.02316814288496971,
0.03743436560034752,
-0.033713094890117645,
0.11821766197681427,
0.16003753244876862,
0.004898495972156525,
0.015858691185712814,
-0.019366057589650154,
-0.053652193397283554,
-0.19227364659309387,
-0.19133047759532928,
-0.0922650396823883,
-0.13585466146469116,
0.005800233688205481,
-0.1313185691833496,
0.035255029797554016,
0.03759025037288666,
0.10348966717720032,
-0.04712950438261032,
0.02449607104063034,
0.03599223494529724,
-0.11023194342851639,
0.053648680448532104,
-0.04251009225845337,
0.07534263283014297,
-0.0288483127951622,
0.00955510139465332,
-0.051057491451501846,
0.036296628415584564,
0.014495961368083954,
0.03052874095737934,
-0.02045595459640026,
0.0203727874904871,
-0.12031914293766022,
-0.09146412461996078,
-0.0652654618024826,
0.0565146766602993,
0.0026318831369280815,
0.16578586399555206,
0.01112611684948206,
-0.02614348568022251,
0.026491381227970123,
0.2084609717130661,
-0.06327962130308151,
-0.09746730327606201,
-0.07132168114185333,
0.203248530626297,
-0.012181129306554794,
0.0951991155743599,
-0.03945131227374077,
0.013144226744771004,
-0.06770433485507965,
0.33865463733673096,
0.3012107312679291,
-0.104325070977211,
0.010152887552976608,
0.002433057874441147,
0.04099532216787338,
0.12672795355319977,
0.08416569232940674,
0.10599584132432938,
0.2619067132472992,
-0.069271981716156,
-0.06182895973324776,
-0.010734140872955322,
-0.025832153856754303,
-0.059502504765987396,
0.04846819490194321,
0.060089610517024994,
-0.05902278795838356,
-0.01576954498887062,
0.11261053383350372,
-0.2549726963043213,
0.05737382918596268,
-0.1458929032087326,
-0.14792890846729279,
-0.06993737071752548,
-0.0008564922027289867,
0.09068048745393753,
0.010102925822138786,
0.08812552690505981,
-0.011714844033122063,
-0.06707380712032318,
0.044450268149375916,
0.019938640296459198,
-0.21181021630764008,
0.008332989178597927,
0.07651379704475403,
-0.031228363513946533,
-0.05378149822354317,
-0.02486795000731945,
0.08115644752979279,
0.08993051201105118,
0.031433310359716415,
-0.016278380528092384,
0.04931800812482834,
-0.00844922848045826,
-0.07117252051830292,
0.03346596658229828,
0.012209481559693813,
0.01669057458639145,
-0.05868103355169296,
0.0727684423327446,
-0.16378995776176453,
0.030053474009037018,
-0.030178112909197807,
-0.06673619151115417,
-0.00835607573390007,
0.03437380492687225,
-0.06272272765636444,
0.08189035207033157,
0.08107085525989532,
-0.017087949439883232,
-0.029968449845910072,
-0.025353075936436653,
-0.009976672008633614,
-0.033645838499069214,
-0.0770852267742157,
-0.10150755196809769,
-0.16576941311359406,
-0.11129410564899445,
0.07681435346603394,
0.002545040100812912,
-0.2132008969783783,
0.01989331841468811,
-0.13140831887722015,
0.04490850493311882,
-0.10383498668670654,
0.09425871074199677,
0.07931430637836456,
0.020193548873066902,
-0.0043848673813045025,
0.012049510143697262,
0.040718138217926025,
0.07634101808071136,
-0.13649077713489532,
-0.08752022683620453
] |
null | null |
transformers
|
HIYACCENT: An Improved Nigerian-Accented Speech Recognition System Based on Contrastive Learning
The global objective of this research was to develop a more robust model for the Nigerian English Speakers whose English pronunciations are heavily affected by their mother tongue. For this, the Wav2Vec-HIYACCENT model was proposed which introduced a new layer to the Novel Facebook Wav2vec to capture the disparity between the baseline model and Nigerian English Speeches. A CTC loss was also inserted on top of the model which adds flexibility to the speech-text alignment. This resulted in over 20% improvement in the performance for NAE.T
Fine-tuned facebook/wav2vec2-large on English using the UISpeech Corpus. When using this model, make sure that your speech input is sampled at 16kHz.
The script used for training can be found here: https://github.com/amceejay/HIYACCENT-NE-Speech-Recognition-System
##Usage: The model can be used directly (without a language model) as follows...
#Using the ASRecognition library:
from asrecognition import ASREngine
asr = ASREngine("fr", model_path="codeceejay/HIYACCENT_Wav2Vec2")
audio_paths = ["/path/to/file.mp3", "/path/to/another_file.wav"]
transcriptions = asr.transcribe(audio_paths)
##Writing your own inference speech:
import torch
import librosa
from datasets import load_dataset
from transformers import Wav2Vec2ForCTC, Wav2Vec2Processor
LANG_ID = "en"
MODEL_ID = "codeceejay/HIYACCENT_Wav2Vec2"
SAMPLES = 10
#You can use common_voice/timit or Nigerian Accented Speeches can also be found here: https://openslr.org/70/
test_dataset = load_dataset("common_voice", LANG_ID, split=f"test[:{SAMPLES}]")
processor = Wav2Vec2Processor.from_pretrained(MODEL_ID)
model = Wav2Vec2ForCTC.from_pretrained(MODEL_ID)
# Preprocessing the datasets.
# We need to read the audio files as arrays
def speech_file_to_array_fn(batch):
speech_array, sampling_rate = librosa.load(batch["path"], sr=16_000)
batch["speech"] = speech_array
batch["sentence"] = batch["sentence"].upper()
return batch
test_dataset = test_dataset.map(speech_file_to_array_fn)
inputs = processor(test_dataset["speech"], sampling_rate=16_000, return_tensors="pt", padding=True)
with torch.no_grad():
logits = model(inputs.input_values, attention_mask=inputs.attention_mask).logits
predicted_ids = torch.argmax(logits, dim=-1)
predicted_sentences = processor.batch_decode(predicted_ids)
for i, predicted_sentence in enumerate(predicted_sentences):
print("-" * 100)
print("Reference:", test_dataset[i]["sentence"])
print("Prediction:", predicted_sentence)
|
{}
|
automatic-speech-recognition
|
codeceejay/HIYACCENT_Wav2Vec2
|
[
"transformers",
"pytorch",
"tensorboard",
"wav2vec2",
"automatic-speech-recognition",
"endpoints_compatible",
"region:us"
] |
2022-03-02T23:29:05+00:00
|
[] |
[] |
TAGS
#transformers #pytorch #tensorboard #wav2vec2 #automatic-speech-recognition #endpoints_compatible #region-us
|
HIYACCENT: An Improved Nigerian-Accented Speech Recognition System Based on Contrastive Learning
The global objective of this research was to develop a more robust model for the Nigerian English Speakers whose English pronunciations are heavily affected by their mother tongue. For this, the Wav2Vec-HIYACCENT model was proposed which introduced a new layer to the Novel Facebook Wav2vec to capture the disparity between the baseline model and Nigerian English Speeches. A CTC loss was also inserted on top of the model which adds flexibility to the speech-text alignment. This resulted in over 20% improvement in the performance for NAE.T
Fine-tuned facebook/wav2vec2-large on English using the UISpeech Corpus. When using this model, make sure that your speech input is sampled at 16kHz.
The script used for training can be found here: URL
##Usage: The model can be used directly (without a language model) as follows...
#Using the ASRecognition library:
from asrecognition import ASREngine
asr = ASREngine("fr", model_path="codeceejay/HIYACCENT_Wav2Vec2")
audio_paths = ["/path/to/file.mp3", "/path/to/another_file.wav"]
transcriptions = asr.transcribe(audio_paths)
##Writing your own inference speech:
import torch
import librosa
from datasets import load_dataset
from transformers import Wav2Vec2ForCTC, Wav2Vec2Processor
LANG_ID = "en"
MODEL_ID = "codeceejay/HIYACCENT_Wav2Vec2"
SAMPLES = 10
#You can use common_voice/timit or Nigerian Accented Speeches can also be found here: URL
test_dataset = load_dataset("common_voice", LANG_ID, split=f"test[:{SAMPLES}]")
processor = Wav2Vec2Processor.from_pretrained(MODEL_ID)
model = Wav2Vec2ForCTC.from_pretrained(MODEL_ID)
# Preprocessing the datasets.
# We need to read the audio files as arrays
def speech_file_to_array_fn(batch):
speech_array, sampling_rate = URL(batch["path"], sr=16_000)
batch["speech"] = speech_array
batch["sentence"] = batch["sentence"].upper()
return batch
test_dataset = test_dataset.map(speech_file_to_array_fn)
inputs = processor(test_dataset["speech"], sampling_rate=16_000, return_tensors="pt", padding=True)
with torch.no_grad():
logits = model(inputs.input_values, attention_mask=inputs.attention_mask).logits
predicted_ids = URL(logits, dim=-1)
predicted_sentences = processor.batch_decode(predicted_ids)
for i, predicted_sentence in enumerate(predicted_sentences):
print("-" * 100)
print("Reference:", test_dataset[i]["sentence"])
print("Prediction:", predicted_sentence)
|
[
"# Preprocessing the datasets.",
"# We need to read the audio files as arrays\ndef speech_file_to_array_fn(batch):\n speech_array, sampling_rate = URL(batch[\"path\"], sr=16_000)\n batch[\"speech\"] = speech_array\n batch[\"sentence\"] = batch[\"sentence\"].upper()\n return batch\n\ntest_dataset = test_dataset.map(speech_file_to_array_fn)\ninputs = processor(test_dataset[\"speech\"], sampling_rate=16_000, return_tensors=\"pt\", padding=True)\n\nwith torch.no_grad():\n logits = model(inputs.input_values, attention_mask=inputs.attention_mask).logits\n\npredicted_ids = URL(logits, dim=-1)\npredicted_sentences = processor.batch_decode(predicted_ids)\n\nfor i, predicted_sentence in enumerate(predicted_sentences):\n print(\"-\" * 100)\n print(\"Reference:\", test_dataset[i][\"sentence\"])\n print(\"Prediction:\", predicted_sentence)"
] |
[
"TAGS\n#transformers #pytorch #tensorboard #wav2vec2 #automatic-speech-recognition #endpoints_compatible #region-us \n",
"# Preprocessing the datasets.",
"# We need to read the audio files as arrays\ndef speech_file_to_array_fn(batch):\n speech_array, sampling_rate = URL(batch[\"path\"], sr=16_000)\n batch[\"speech\"] = speech_array\n batch[\"sentence\"] = batch[\"sentence\"].upper()\n return batch\n\ntest_dataset = test_dataset.map(speech_file_to_array_fn)\ninputs = processor(test_dataset[\"speech\"], sampling_rate=16_000, return_tensors=\"pt\", padding=True)\n\nwith torch.no_grad():\n logits = model(inputs.input_values, attention_mask=inputs.attention_mask).logits\n\npredicted_ids = URL(logits, dim=-1)\npredicted_sentences = processor.batch_decode(predicted_ids)\n\nfor i, predicted_sentence in enumerate(predicted_sentences):\n print(\"-\" * 100)\n print(\"Reference:\", test_dataset[i][\"sentence\"])\n print(\"Prediction:\", predicted_sentence)"
] |
[
41,
9,
295
] |
[
"passage: TAGS\n#transformers #pytorch #tensorboard #wav2vec2 #automatic-speech-recognition #endpoints_compatible #region-us \n# Preprocessing the datasets.# We need to read the audio files as arrays\ndef speech_file_to_array_fn(batch):\n speech_array, sampling_rate = URL(batch[\"path\"], sr=16_000)\n batch[\"speech\"] = speech_array\n batch[\"sentence\"] = batch[\"sentence\"].upper()\n return batch\n\ntest_dataset = test_dataset.map(speech_file_to_array_fn)\ninputs = processor(test_dataset[\"speech\"], sampling_rate=16_000, return_tensors=\"pt\", padding=True)\n\nwith torch.no_grad():\n logits = model(inputs.input_values, attention_mask=inputs.attention_mask).logits\n\npredicted_ids = URL(logits, dim=-1)\npredicted_sentences = processor.batch_decode(predicted_ids)\n\nfor i, predicted_sentence in enumerate(predicted_sentences):\n print(\"-\" * 100)\n print(\"Reference:\", test_dataset[i][\"sentence\"])\n print(\"Prediction:\", predicted_sentence)"
] |
[
-0.07787010073661804,
0.07680726796388626,
-0.008724472485482693,
0.016367707401514053,
0.08455316722393036,
-0.010715934447944164,
0.06422033905982971,
0.10632944107055664,
0.01658233255147934,
0.14133340120315552,
0.10463227331638336,
0.09067891538143158,
0.042489517480134964,
0.12691117823123932,
-0.007241114974021912,
-0.1620020717382431,
0.06416819989681244,
-0.0891377329826355,
0.0603858046233654,
0.09168511629104614,
0.08687513321638107,
-0.05271478369832039,
0.04836510866880417,
0.007253302726894617,
-0.055081434547901154,
-0.0175651703029871,
-0.03273725509643555,
-0.02633720077574253,
0.010880589485168457,
0.04106893762946129,
0.02239932492375374,
-0.00919805932790041,
0.025073764845728874,
-0.19419187307357788,
0.01841551996767521,
0.11970648169517517,
0.06945996731519699,
0.05398759990930557,
0.10480938851833344,
-0.011052310466766357,
0.04339946061372757,
-0.10923118144273758,
0.01793976128101349,
0.07721240818500519,
-0.06440842151641846,
-0.16811338067054749,
-0.04899095371365547,
0.01438114047050476,
0.08456633239984512,
0.1004650816321373,
-0.07485906034708023,
0.08298749476671219,
-0.03763381019234657,
0.11469273269176483,
0.08203089237213135,
-0.071622833609581,
0.004205137491226196,
-0.04230118170380592,
0.05639825388789177,
0.008795560337603092,
-0.05018557608127594,
-0.0708918422460556,
-0.018869582563638687,
0.039262767881155014,
-0.03236835449934006,
-0.04004130885004997,
-0.05311493203043938,
-0.04710407182574272,
-0.15372775495052338,
-0.09717456996440887,
0.16049616038799286,
-0.007972736842930317,
-0.0849330723285675,
-0.14583943784236908,
-0.02684655413031578,
-0.1551494598388672,
-0.014308820478618145,
0.02403721958398819,
-0.04313550516963005,
0.02920340932905674,
0.03717655688524246,
0.0363311804831028,
-0.07457783073186874,
-0.07889580726623535,
-0.02811405621469021,
0.048985555768013,
0.041529662907123566,
0.0057464526034891605,
-0.05009361356496811,
0.09749222546815872,
-0.00814578216522932,
-0.1097484678030014,
-0.06442368030548096,
-0.02776891179382801,
-0.1602872908115387,
0.03626348450779915,
-0.05388488993048668,
-0.15827716886997223,
0.09017297625541687,
0.11601147800683975,
-0.005468262825161219,
0.07945844531059265,
0.012918471358716488,
0.022429879754781723,
0.07197752594947815,
0.12514033913612366,
-0.07738290727138519,
-0.014345278032124043,
-0.019855275750160217,
0.060661617666482925,
0.0013048938708379865,
-0.002074238145723939,
0.027871478348970413,
0.00917853508144617,
0.05360197275876999,
0.035579193383455276,
0.08428948372602463,
0.08741170912981033,
-0.0646706074476242,
-0.012997156009078026,
0.0767175480723381,
-0.13085147738456726,
-0.023039082065224648,
0.09316506236791611,
-0.09751483052968979,
0.07263851165771484,
0.07323875278234482,
-0.004253007005900145,
-0.15227292478084564,
0.056783344596624374,
-0.038434311747550964,
-0.0031083186622709036,
-0.03644327446818352,
-0.1187933012843132,
0.021898748353123665,
0.0144560057669878,
-0.0316942073404789,
-0.05425521358847618,
-0.13234266638755798,
-0.08529315143823624,
0.002733716042712331,
-0.04852040112018585,
0.04603045433759689,
-0.03906184434890747,
-0.043494004756212234,
0.022722415626049042,
-0.0035232072696089745,
0.03136536851525307,
-0.05569851025938988,
0.07402221113443375,
-0.009561960585415363,
0.028262857347726822,
0.13152939081192017,
0.06088005378842354,
-0.0868481919169426,
0.016168436035513878,
-0.10555414855480194,
0.16673783957958221,
-0.07355326414108276,
0.029448121786117554,
-0.16207298636436462,
-0.08436372131109238,
-0.008987318724393845,
0.01888025365769863,
0.06398563086986542,
0.14936071634292603,
-0.17820024490356445,
0.011836323887109756,
0.11152751743793488,
-0.03683150187134743,
-0.021988442167639732,
0.1602674275636673,
-0.004954332485795021,
-0.016710950061678886,
0.05347632244229317,
0.16281527280807495,
0.11073034256696701,
-0.14036302268505096,
-0.03721126168966293,
0.04102621600031853,
-0.01282541360706091,
0.05997886881232262,
0.09223855286836624,
-0.09726972877979279,
0.0654483363032341,
0.006169940810650587,
0.06530438363552094,
0.0020590913482010365,
-0.007956774905323982,
-0.027602137997746468,
0.006240089889615774,
0.010834411717951298,
-0.017510514706373215,
-0.03774130344390869,
-0.04502827301621437,
-0.05073220655322075,
-0.14784161746501923,
-0.07587886601686478,
0.10324934124946594,
-0.06585462391376495,
0.009755711071193218,
-0.060620129108428955,
0.008290830068290234,
-0.024396486580371857,
0.036759376525878906,
-0.14967314898967743,
-0.021932292729616165,
0.03749439865350723,
-0.16674299538135529,
0.02216716669499874,
0.015123533084988594,
0.011055155657231808,
0.00807150173932314,
0.11499898135662079,
-0.019378626719117165,
0.10443065315485,
-0.02480650134384632,
-0.01790526695549488,
-0.0995941162109375,
0.019720440730452538,
-0.038020793348550797,
0.08753222972154617,
-0.13476669788360596,
0.0005443049012683332,
0.059806205332279205,
0.0391516275703907,
-0.03795731067657471,
-0.09729854017496109,
0.07651561498641968,
-0.0070188408717513084,
-0.0012924849288538098,
-0.026795802637934685,
-0.002004990354180336,
0.022148411720991135,
-0.025740616023540497,
0.042054057121276855,
-0.19595171511173248,
-0.11888754367828369,
0.06811657547950745,
0.04235803708434105,
-0.09747640043497086,
-0.006495065987110138,
-0.050230152904987335,
-0.042068660259246826,
-0.018912076950073242,
-0.09516071528196335,
0.20588043332099915,
0.07077246159315109,
0.09284359216690063,
-0.026491377502679825,
-0.04773011431097984,
0.03440985828638077,
-0.04190980643033981,
0.011130813509225845,
0.10204755514860153,
-0.1058836430311203,
0.0034779193811118603,
0.023431826382875443,
-0.058124542236328125,
-0.06243767961859703,
0.11837480217218399,
-0.03476998209953308,
-0.07896783202886581,
-0.019557764753699303,
0.10452800989151001,
-0.012122221291065216,
-0.01396944560110569,
-0.1379786878824234,
0.05539095774292946,
0.0708455815911293,
0.02485126629471779,
0.017402805387973785,
-0.07856930792331696,
0.04696549102663994,
0.010217410512268543,
-0.06004246696829796,
-0.07275765389204025,
0.03164854273200035,
0.028163647279143333,
0.008165780454874039,
0.0009226868860423565,
0.037166137248277664,
0.03583017364144325,
-0.0591018907725811,
-0.12947984039783478,
0.1604716181755066,
-0.10209675133228302,
-0.22907140851020813,
-0.21325448155403137,
-0.045157406479120255,
-0.039785973727703094,
-0.006790820509195328,
0.08933748304843903,
-0.07087522745132446,
-0.096001997590065,
-0.09122476726770401,
0.12249133735895157,
-0.021110467612743378,
-0.02650321088731289,
-0.04717356339097023,
-0.02987084537744522,
0.08619444817304611,
-0.1200421154499054,
-0.0007846780936233699,
-0.008822539821267128,
0.04776780307292938,
0.009179036132991314,
0.0694737508893013,
0.025532908737659454,
0.12305150181055069,
0.05132488161325455,
0.019850490614771843,
0.00001165723369922489,
0.26085758209228516,
-0.06540318578481674,
0.05854097381234169,
0.18886227905750275,
-0.07223804295063019,
0.05758264660835266,
0.1417161524295807,
-0.0004960935330018401,
-0.02944919466972351,
0.06371241062879562,
0.00038588387542404234,
-0.025280186906456947,
-0.26811376214027405,
-0.08409839123487473,
-0.06595807522535324,
-0.013798014260828495,
0.07444912195205688,
0.020774930715560913,
0.05269305780529976,
0.043093983083963394,
-0.03760689124464989,
0.02567327953875065,
0.013191396370530128,
0.07077747583389282,
0.17257188260555267,
0.020291484892368317,
0.07756106555461884,
-0.037340376526117325,
-0.019441500306129456,
0.04295617341995239,
-0.03178674727678299,
0.11275899410247803,
-0.07732845097780228,
0.19334477186203003,
0.07692783325910568,
0.0357782356441021,
0.014029465615749359,
0.03812340274453163,
-0.03883456811308861,
0.07176510989665985,
0.016181040555238724,
-0.11375205218791962,
-0.07062206417322159,
0.024054409936070442,
0.05900410935282707,
-0.033903781324625015,
-0.010057170875370502,
-0.009296710602939129,
0.030231287702918053,
0.16900834441184998,
0.0995025634765625,
-0.2879716753959656,
-0.06742300093173981,
-0.001925168326124549,
0.01588323898613453,
-0.06618504971265793,
0.015756582841277122,
0.07135197520256042,
-0.08867539465427399,
-0.011867550201714039,
-0.019257979467511177,
0.07503829896450043,
-0.12995201349258423,
0.04859795421361923,
0.058416515588760376,
0.18844333291053772,
0.005691180471330881,
0.06314109265804291,
-0.09438318759202957,
0.09966574609279633,
0.008593959733843803,
0.08242280036211014,
-0.029099492356181145,
0.09650037437677383,
-0.015619359910488129,
-0.09605028480291367,
0.15940654277801514,
0.00312291388399899,
-0.0324249304831028,
-0.14328345656394958,
-0.10287339985370636,
-0.026821289211511612,
0.10607977956533432,
0.07193391025066376,
0.05280826985836029,
-0.04531574621796608,
-0.03019115701317787,
0.021108215674757957,
-0.11598961800336838,
-0.08774702996015549,
-0.1156708374619484,
0.07627739757299423,
0.03343944251537323,
0.08161626011133194,
-0.004806029610335827,
-0.01397358812391758,
-0.02068822830915451,
0.14220590889453888,
-0.20801091194152832,
-0.10602027177810669,
-0.10758338123559952,
-0.01553249079734087,
0.18200765550136566,
-0.07803299278020859,
0.012153482995927334,
-0.04968307539820671,
0.06441331654787064,
0.01772117242217064,
-0.060868166387081146,
0.07057289779186249,
-0.09825719147920609,
-0.09281899780035019,
-0.0939071998000145,
0.14243364334106445,
0.042593006044626236,
-0.00925268791615963,
-0.027150042355060577,
0.03337729349732399,
-0.06341828405857086,
-0.11292384564876556,
-0.011870244517922401,
0.08519485592842102,
0.026978082954883575,
0.08949965983629227,
-0.020084142684936523,
-0.08760261535644531,
-0.06911377608776093,
0.024522174149751663,
0.05526016280055046,
0.14594638347625732,
-0.06472598761320114,
0.04420502483844757,
0.16397829353809357,
-0.04960820823907852,
-0.18418510258197784,
-0.017570482566952705,
0.11504841595888138,
-0.0005000014789402485,
-0.0536767914891243,
-0.10544805973768234,
0.08398554474115372,
0.07676338404417038,
0.010516537353396416,
0.09740690886974335,
-0.30900225043296814,
-0.10099922865629196,
0.14539365470409393,
0.007739941589534283,
-0.01726929470896721,
-0.1224699392914772,
-0.07172548770904541,
-0.027115147560834885,
-0.06966707110404968,
-0.004979499150067568,
0.0559161938726902,
0.08267631381750107,
0.03229691460728645,
0.055661384016275406,
0.05655704438686371,
-0.08459547162055969,
0.09352999180555344,
0.06352564692497253,
-0.02949712425470352,
-0.05847274139523506,
0.0644419863820076,
-0.07706800848245621,
-0.06058656796813011,
0.193971648812294,
-0.024060502648353577,
0.07467266917228699,
-0.15967004001140594,
-0.009708192199468613,
-0.017129065468907356,
0.04305746778845787,
-0.03411317244172096,
-0.05279569327831268,
-0.044587068259716034,
-0.00123626331333071,
0.08441778272390366,
-0.03253420814871788,
0.03715268895030022,
-0.04227999597787857,
-0.013436224311590195,
0.22703735530376434,
-0.008668250404298306,
0.12752604484558105,
-0.2587433159351349,
0.046203695237636566,
-0.01115297619253397,
0.03253791481256485,
-0.14606977999210358,
0.010147794149816036,
0.10240945965051651,
0.026083484292030334,
0.14936797320842743,
0.00014394230674952269,
-0.12786567211151123,
-0.0008315963204950094,
0.02916889078915119,
-0.12036284804344177,
-0.10630528628826141,
-0.019264178350567818,
-0.05094781145453453,
-0.1124894767999649,
-0.05138353630900383,
0.12583637237548828,
-0.027086088433861732,
0.04498958960175514,
0.01389628928154707,
0.06825289130210876,
-0.026409536600112915,
0.23916582763195038,
0.0412055179476738,
0.09118910133838654,
-0.08109629154205322,
0.05959172919392586,
0.08542107045650482,
-0.06789602339267731,
0.07320757210254669,
0.1431279182434082,
-0.08595024794340134,
-0.056704796850681305,
-0.10152849555015564,
-0.019381066784262657,
0.0698397234082222,
-0.0056642210111021996,
-0.05034031346440315,
-0.05678996816277504,
0.06215881556272507,
0.0380011685192585,
0.023061927407979965,
0.04033416137099266,
-0.053653784096241,
-0.038315825164318085,
-0.11773508787155151,
0.12866640090942383,
0.12211662530899048,
0.016579926013946533,
-0.044645532965660095,
0.05236070230603218,
0.0021737285424023867,
0.04034556448459625,
-0.005135737359523773,
-0.063611701130867,
-0.11095699667930603,
0.024030128493905067,
-0.08098499476909637,
0.04651349410414696,
-0.060879990458488464,
-0.010443903505802155,
0.016769615933299065,
0.0007421721238642931,
0.019669299945235252,
0.05214183032512665,
-0.020260123535990715,
-0.05778786912560463,
-0.014454415068030357,
0.07918012887239456,
-0.1710711568593979,
-0.01493885274976492,
0.00719876354560256,
-0.09414233267307281,
0.06661999225616455,
0.08097267895936966,
-0.0771644115447998,
-0.026485027745366096,
-0.08260901272296906,
-0.01649666018784046,
0.051891569048166275,
0.04070863500237465,
0.009363858960568905,
-0.1289365291595459,
0.008329646661877632,
-0.0021909300703555346,
-0.002901156432926655,
-0.03054075874388218,
0.04670145735144615,
-0.13797177374362946,
0.07194621860980988,
-0.012673231773078442,
0.08348800241947174,
-0.09614186733961105,
0.009743989445269108,
0.057817492634058,
0.08941546827554703,
0.14571604132652283,
-0.06543722748756409,
0.10700181871652603,
-0.1286158263683319,
-0.025831189006567,
0.045728057622909546,
-0.03738146275281906,
0.041845984756946564,
0.026000963523983955,
0.09145781397819519,
-0.024802079424262047,
0.10666422545909882,
0.00723680853843689,
0.041165582835674286,
0.037643369287252426,
0.016963128000497818,
0.009593088179826736,
0.022115876898169518,
0.0226751621812582,
0.028902200981974602,
-0.05358937382698059,
-0.05437278375029564,
-0.06017090752720833,
0.054129231721162796,
-0.007209353614598513,
0.03396455943584442,
0.1542247086763382,
0.07531923800706863,
0.07084429264068604,
0.02289365418255329,
-0.058191943913698196,
-0.047984082251787186,
0.06131666898727417,
-0.05123811587691307,
0.11158929765224457,
-0.03159699961543083,
0.11570446938276291,
0.06548517197370529,
-0.07300002127885818,
0.05426491051912308,
-0.0005680575268343091,
-0.11086524277925491,
-0.07610851526260376,
-0.12046930938959122,
-0.03235442936420441,
-0.03423050418496132,
-0.019879966974258423,
-0.07313434779644012,
0.09319831430912018,
0.0914083793759346,
0.05519362539052963,
-0.02115129865705967,
0.14959189295768738,
0.0229233056306839,
-0.07018419355154037,
0.0364200659096241,
-0.02586871013045311,
0.007343670818954706,
0.07410082221031189,
0.0007022761856205761,
0.134591743350029,
0.03988063335418701,
0.10437826812267303,
0.06877477467060089,
0.028499433770775795,
0.04992540925741196,
-0.07286477088928223,
-0.09868498146533966,
-0.0009696381166577339,
0.060577232390642166,
-0.07022546231746674,
0.1502312421798706,
0.12103215605020523,
-0.018836122006177902,
-0.01054056454449892,
0.05468304455280304,
-0.05472816154360771,
-0.10995802283287048,
-0.12209460884332657,
0.132355198264122,
0.04041460156440735,
0.03827698528766632,
-0.018535112962126732,
-0.13648656010627747,
-0.09666281193494797,
0.18589866161346436,
0.2036471664905548,
-0.012840472161769867,
-0.024711381644010544,
0.029592860490083694,
0.0003681234666146338,
-0.014288361184298992,
0.10525735467672348,
0.08600229769945145,
0.20460346341133118,
0.042160581797361374,
0.13479004800319672,
-0.009766700677573681,
-0.0635027065873146,
-0.06230143830180168,
0.01563764549791813,
0.0001914337044581771,
-0.020349815487861633,
-0.007019455078989267,
0.08931318670511246,
-0.15962079167366028,
-0.2351539582014084,
-0.09817242622375488,
0.005427202209830284,
-0.08858909457921982,
-0.007835724391043186,
0.04289930686354637,
0.04473510757088661,
0.03961051255464554,
-0.03099464438855648,
-0.01125271525233984,
0.16570669412612915,
-0.049127377569675446,
-0.04215354099869728,
-0.0663776770234108,
-0.03613070026040077,
-0.11397828161716461,
0.11195658892393112,
0.03188742324709892,
0.14111432433128357,
0.06615303456783295,
-0.003250716719776392,
-0.11244525015354156,
0.10156425088644028,
0.05442230775952339,
-0.08580709248781204,
0.035552728921175,
0.15384478867053986,
0.0024924410972744226,
0.08572852611541748,
0.02402312681078911,
-0.06299290060997009,
0.026075931265950203,
-0.06990872323513031,
0.014894125051796436,
-0.112666055560112,
-0.046370454132556915,
-0.05428281053900719,
0.09091389924287796,
0.1623765081167221,
-0.01692124828696251,
0.023160403594374657,
-0.034650348126888275,
-0.008394268341362476,
-0.026894791051745415,
0.045491740107536316,
-0.006436735391616821,
-0.1510726511478424,
0.03663855791091919,
0.023650726303458214,
0.07314461469650269,
-0.27451011538505554,
-0.0448124036192894,
-0.024913856759667397,
-0.031451303511857986,
0.024304552003741264,
0.09926408529281616,
-0.022443439811468124,
0.02744923159480095,
-0.03797458857297897,
-0.0720207616686821,
0.02308582328259945,
0.12426143884658813,
-0.07169578224420547,
-0.10270173847675323
] |
null | null |
transformers
|
# Calbert: a Catalan Language Model
## Introduction
CALBERT is an open-source language model for Catalan pretrained on the ALBERT architecture.
It is now available on Hugging Face in its `tiny-uncased` version and `base-uncased` (the one you're looking at) as well, and was pretrained on the [OSCAR dataset](https://traces1.inria.fr/oscar/).
For further information or requests, please go to the [GitHub repository](https://github.com/codegram/calbert)
## Pre-trained models
| Model | Arch. | Training data |
| ----------------------------------- | -------------- | ---------------------- |
| `codegram` / `calbert-tiny-uncased` | Tiny (uncased) | OSCAR (4.3 GB of text) |
| `codegram` / `calbert-base-uncased` | Base (uncased) | OSCAR (4.3 GB of text) |
## How to use Calbert with HuggingFace
#### Load Calbert and its tokenizer:
```python
from transformers import AutoModel, AutoTokenizer
tokenizer = AutoTokenizer.from_pretrained("codegram/calbert-base-uncased")
model = AutoModel.from_pretrained("codegram/calbert-base-uncased")
model.eval() # disable dropout (or leave in train mode to finetune
```
#### Filling masks using pipeline
```python
from transformers import pipeline
calbert_fill_mask = pipeline("fill-mask", model="codegram/calbert-base-uncased", tokenizer="codegram/calbert-base-uncased")
results = calbert_fill_mask("M'agrada [MASK] això")
# results
# [{'sequence': "[CLS] m'agrada molt aixo[SEP]", 'score': 0.614592969417572, 'token': 61},
# {'sequence': "[CLS] m'agrada moltíssim aixo[SEP]", 'score': 0.06058056280016899, 'token': 4867},
# {'sequence': "[CLS] m'agrada més aixo[SEP]", 'score': 0.017195818945765495, 'token': 43},
# {'sequence': "[CLS] m'agrada llegir aixo[SEP]", 'score': 0.016321714967489243, 'token': 684},
# {'sequence': "[CLS] m'agrada escriure aixo[SEP]", 'score': 0.012185849249362946, 'token': 1306}]
```
#### Extract contextual embedding features from Calbert output
```python
import torch
# Tokenize in sub-words with SentencePiece
tokenized_sentence = tokenizer.tokenize("M'és una mica igual")
# ['▁m', "'", 'es', '▁una', '▁mica', '▁igual']
# 1-hot encode and add special starting and end tokens
encoded_sentence = tokenizer.encode(tokenized_sentence)
# [2, 109, 7, 71, 36, 371, 1103, 3]
# NB: Can be done in one step : tokenize.encode("M'és una mica igual")
# Feed tokens to Calbert as a torch tensor (batch dim 1)
encoded_sentence = torch.tensor(encoded_sentence).unsqueeze(0)
embeddings, _ = model(encoded_sentence)
embeddings.size()
# torch.Size([1, 8, 768])
embeddings.detach()
# tensor([[[-0.0261, 0.1166, -0.1075, ..., -0.0368, 0.0193, 0.0017],
# [ 0.1289, -0.2252, 0.9881, ..., -0.1353, 0.3534, 0.0734],
# [-0.0328, -1.2364, 0.9466, ..., 0.3455, 0.7010, -0.2085],
# ...,
# [ 0.0397, -1.0228, -0.2239, ..., 0.2932, 0.1248, 0.0813],
# [-0.0261, 0.1165, -0.1074, ..., -0.0368, 0.0193, 0.0017],
# [-0.1934, -0.2357, -0.2554, ..., 0.1831, 0.6085, 0.1421]]])
```
## Authors
CALBERT was trained and evaluated by [Txus Bach](https://twitter.com/txustice), as part of [Codegram](https://www.codegram.com)'s applied research.
<a href="https://huggingface.co/exbert/?model=codegram/calbert-base-uncased&modelKind=bidirectional&sentence=M%27agradaria%20força%20saber-ne%20més">
<img width="300px" src="https://cdn-media.huggingface.co/exbert/button.png">
</a>
|
{"language": "ca", "license": "mit", "tags": ["masked-lm", "catalan", "exbert"]}
| null |
codegram/calbert-base-uncased
|
[
"transformers",
"pytorch",
"albert",
"masked-lm",
"catalan",
"exbert",
"ca",
"license:mit",
"endpoints_compatible",
"region:us"
] |
2022-03-02T23:29:05+00:00
|
[] |
[
"ca"
] |
TAGS
#transformers #pytorch #albert #masked-lm #catalan #exbert #ca #license-mit #endpoints_compatible #region-us
|
Calbert: a Catalan Language Model
=================================
Introduction
------------
CALBERT is an open-source language model for Catalan pretrained on the ALBERT architecture.
It is now available on Hugging Face in its 'tiny-uncased' version and 'base-uncased' (the one you're looking at) as well, and was pretrained on the OSCAR dataset.
For further information or requests, please go to the GitHub repository
Pre-trained models
------------------
Model: 'codegram' / 'calbert-tiny-uncased', Arch.: Tiny (uncased), Training data: OSCAR (4.3 GB of text)
Model: 'codegram' / 'calbert-base-uncased', Arch.: Base (uncased), Training data: OSCAR (4.3 GB of text)
How to use Calbert with HuggingFace
-----------------------------------
#### Load Calbert and its tokenizer:
#### Filling masks using pipeline
#### Extract contextual embedding features from Calbert output
Authors
-------
CALBERT was trained and evaluated by Txus Bach, as part of Codegram's applied research.
[<img width="300px" src="URL
</a>](URL%20força%20saber-ne%20més)
|
[
"#### Load Calbert and its tokenizer:",
"#### Filling masks using pipeline",
"#### Extract contextual embedding features from Calbert output\n\n\nAuthors\n-------\n\n\nCALBERT was trained and evaluated by Txus Bach, as part of Codegram's applied research.\n\n\n[<img width=\"300px\" src=\"URL\n</a>](URL%20força%20saber-ne%20més)"
] |
[
"TAGS\n#transformers #pytorch #albert #masked-lm #catalan #exbert #ca #license-mit #endpoints_compatible #region-us \n",
"#### Load Calbert and its tokenizer:",
"#### Filling masks using pipeline",
"#### Extract contextual embedding features from Calbert output\n\n\nAuthors\n-------\n\n\nCALBERT was trained and evaluated by Txus Bach, as part of Codegram's applied research.\n\n\n[<img width=\"300px\" src=\"URL\n</a>](URL%20força%20saber-ne%20més)"
] |
[
42,
12,
9,
75
] |
[
"passage: TAGS\n#transformers #pytorch #albert #masked-lm #catalan #exbert #ca #license-mit #endpoints_compatible #region-us \n#### Load Calbert and its tokenizer:#### Filling masks using pipeline#### Extract contextual embedding features from Calbert output\n\n\nAuthors\n-------\n\n\nCALBERT was trained and evaluated by Txus Bach, as part of Codegram's applied research.\n\n\n[<img width=\"300px\" src=\"URL\n</a>](URL%20força%20saber-ne%20més)"
] |
[
-0.08520470559597015,
0.03248462453484535,
-0.002862335881218314,
0.1557239294052124,
0.08790898323059082,
-0.02240801602602005,
0.1399083137512207,
0.028066975995898247,
0.11395967751741409,
0.07570938020944595,
0.15295489132404327,
0.11110421270132065,
0.0050910599529743195,
-0.007485183887183666,
-0.025399399921298027,
-0.18689605593681335,
0.040319014340639114,
0.05581614375114441,
0.019655248150229454,
0.13287757337093353,
0.046359021216630936,
-0.06422822177410126,
0.12877947092056274,
-0.00872578751295805,
-0.11952130496501923,
0.04653266444802284,
-0.014225427992641926,
-0.04091842100024223,
0.08104784041643143,
0.041993092745542526,
0.1495642513036728,
0.05389951542019844,
-0.00047103819088079035,
-0.10353395342826843,
0.05336196720600128,
-0.024248722940683365,
-0.09877576678991318,
0.08215329796075821,
-0.0035610466729849577,
-0.0814368948340416,
0.07865820080041885,
-0.020042378455400467,
0.01697578839957714,
0.00638449564576149,
-0.13948024809360504,
-0.017438964918255806,
-0.01885651983320713,
0.020707953721284866,
0.040913619101047516,
0.04471797123551369,
0.016612686216831207,
0.06022566184401512,
-0.11064693331718445,
0.05509369447827339,
0.27461302280426025,
-0.2891964614391327,
-0.039319850504398346,
-0.03110160306096077,
0.15147945284843445,
0.0829804390668869,
-0.04980876296758652,
0.07606955617666245,
0.0853634774684906,
-0.004171404521912336,
0.09302122890949249,
-0.10280903428792953,
-0.06644068658351898,
-0.012379255145788193,
-0.07203102856874466,
-0.056285593658685684,
0.19940732419490814,
0.01868198625743389,
-0.014991839416325092,
-0.04554807394742966,
-0.11075431853532791,
-0.10998717695474625,
-0.024561762809753418,
-0.02468857541680336,
0.04714074730873108,
-0.03016671910881996,
-0.02922697737812996,
-0.01920001581311226,
-0.0915674939751625,
-0.0721210166811943,
-0.08803439140319824,
0.09882492572069168,
0.007469366304576397,
0.007357265800237656,
-0.12792541086673737,
0.044567856937646866,
0.07656844705343246,
-0.17364200949668884,
-0.005530267488211393,
-0.0006995616713538766,
0.09191188961267471,
0.06264206022024155,
-0.010620048269629478,
-0.0779428780078888,
0.03394689783453941,
0.22038500010967255,
0.02809043414890766,
0.05045019090175629,
-0.038603030145168304,
0.12707483768463135,
-0.001955940155312419,
0.18615230917930603,
-0.05662654712796211,
-0.01534981094300747,
0.03049454838037491,
-0.03594254329800606,
0.09855127334594727,
-0.09990975260734558,
-0.24341459572315216,
-0.04424194619059563,
0.0498904287815094,
0.07927882671356201,
-0.0078082880936563015,
0.047717850655317307,
-0.09719610959291458,
-0.01888960599899292,
0.08690400421619415,
-0.04690081998705864,
0.06530465185642242,
0.014885480515658855,
0.028434474021196365,
0.0352993942797184,
0.05207216739654541,
-0.0289473794400692,
-0.018963957205414772,
0.14717286825180054,
-0.1074591726064682,
0.043903741985559464,
-0.06455371528863907,
-0.12344206124544144,
0.08017054200172424,
-0.10693063586950302,
0.019768482074141502,
-0.14779536426067352,
0.014848525635898113,
0.0228286013007164,
0.04731128364801407,
-0.0030123856849968433,
0.11541823297739029,
-0.08258114010095596,
-0.01818096451461315,
0.021831689402461052,
-0.03117329254746437,
-0.11695187538862228,
-0.09841722995042801,
0.07595016062259674,
-0.02918550930917263,
0.11075916141271591,
-0.22683973610401154,
-0.006583334878087044,
-0.0865059345960617,
0.05818689987063408,
-0.17781534790992737,
0.007928089238703251,
-0.015115643851459026,
0.019890572875738144,
-0.06772039085626602,
-0.08866606652736664,
-0.07953184098005295,
0.07465522736310959,
0.09557025134563446,
0.17499299347400665,
-0.1698177605867386,
-0.07467909902334213,
0.32565680146217346,
-0.05207298696041107,
-0.11357177048921585,
0.14293716847896576,
-0.06065196543931961,
-0.018152417615056038,
0.0708642527461052,
0.18240821361541748,
-0.04127265512943268,
-0.22312414646148682,
0.05098060891032219,
0.05019511282444,
0.029485877603292465,
-0.05128667876124382,
0.10144004225730896,
0.011086796410381794,
0.01732184924185276,
0.008829615078866482,
-0.05235403776168823,
-0.01760050468146801,
-0.012140683829784393,
-0.03705211356282234,
0.04596289247274399,
0.006743332836776972,
0.11959855258464813,
-0.01301051490008831,
0.03706110268831253,
-0.047592174261808395,
-0.06054409593343735,
-0.036283716559410095,
-0.0522216334939003,
-0.03235580027103424,
0.08716876059770584,
-0.09693121165037155,
0.1412644386291504,
-0.09952757507562637,
0.01480262354016304,
-0.1324402242898941,
0.002832732629030943,
0.007612196262925863,
0.0498368963599205,
0.05707128345966339,
-0.00997720006853342,
0.056078992784023285,
0.034432411193847656,
-0.018129650503396988,
-0.0037868947256356478,
-0.05121482163667679,
-0.016525600105524063,
-0.050538986921310425,
-0.11478617787361145,
-0.027686860412359238,
-0.04698597267270088,
-0.013811061158776283,
-0.02577190101146698,
0.023568836972117424,
0.020531821995973587,
-0.04160654917359352,
0.017341356724500656,
-0.0003418373526073992,
-0.04262161999940872,
0.0470658503472805,
-0.058465875685214996,
-0.0012877379776909947,
0.06949110329151154,
-0.00083861721213907,
-0.1307414323091507,
0.1284208595752716,
-0.12256675958633423,
0.22389519214630127,
0.1299668252468109,
-0.1898234784603119,
-0.047783538699150085,
-0.021119406446814537,
-0.001144389039836824,
0.022181900218129158,
0.025575440376996994,
-0.1038852110505104,
0.23257319629192352,
-0.019395429641008377,
0.11815717071294785,
-0.1346343755722046,
-0.003505572210997343,
0.014110159128904343,
-0.05488395690917969,
-0.02382655441761017,
0.1462523192167282,
0.1357371211051941,
-0.06135181710124016,
0.12540510296821594,
0.2979203760623932,
-0.03829612210392952,
0.12370596081018448,
0.019131328910589218,
-0.03379854932427406,
-0.0675845667719841,
0.028541890904307365,
0.024782022461295128,
0.12194265425205231,
-0.12774617969989777,
-0.05962767452001572,
-0.022588826715946198,
-0.055966246873140335,
0.014180324040353298,
-0.1657305508852005,
-0.023546487092971802,
0.035468459129333496,
0.01765552908182144,
-0.16602182388305664,
0.03821062669157982,
-0.05737806484103203,
0.09860032796859741,
0.036475103348493576,
-0.15687590837478638,
0.04577810689806938,
-0.006569962482899427,
-0.06933406740427017,
0.19096553325653076,
-0.08297218382358551,
-0.21751394867897034,
-0.16184401512145996,
-0.07633566856384277,
-0.030161848291754723,
0.06875772774219513,
0.06395222991704941,
-0.042692165821790695,
0.018971960991621017,
-0.042019132524728775,
-0.03833969682455063,
-0.010167671367526054,
-0.034924332052469254,
-0.04197181016206741,
-0.06683910638093948,
-0.06174198165535927,
-0.0922018364071846,
-0.0646316260099411,
-0.03178561478853226,
-0.008594940416514874,
0.007984591647982597,
-0.10119327902793884,
0.26045361161231995,
0.10854581743478775,
0.013545486144721508,
0.028827015310525894,
-0.00012477455311454833,
0.11703904718160629,
-0.05690138041973114,
-0.05060777813196182,
0.09800905734300613,
-0.087662473320961,
0.06361705809831619,
0.07270220667123795,
0.07640428096055984,
-0.08324259519577026,
-0.060509562492370605,
-0.07160079479217529,
-0.12252327799797058,
-0.11779296398162842,
-0.06320598721504211,
-0.1048392578959465,
0.061013780534267426,
0.09260576963424683,
-0.0007011209381744266,
0.04520770534873009,
0.02587498351931572,
0.022203128784894943,
0.058350738137960434,
0.034444160759449005,
0.08164586871862411,
-0.04707545414566994,
-0.011754856444895267,
0.06313388794660568,
-0.026998605579137802,
-0.12130165100097656,
0.04761418700218201,
0.057992249727249146,
0.08187374472618103,
0.09438730031251907,
0.2173590362071991,
0.10364644974470139,
0.0673813596367836,
0.047827932983636856,
0.10798396915197372,
-0.0030573636759072542,
-0.0007744258618913591,
-0.07715019583702087,
-0.07922530919313431,
-0.08756805956363678,
-0.008572326973080635,
0.04073573276400566,
-0.04366220161318779,
-0.10127086192369461,
-0.11031825840473175,
0.05603533238172531,
0.15939760208129883,
0.017675742506980896,
-0.2584865093231201,
-0.002039242535829544,
0.0415276475250721,
0.09667724370956421,
-0.018573520705103874,
0.0675148069858551,
0.14495553076267242,
-0.0621340237557888,
0.01510145328938961,
-0.04534804821014404,
0.13394103944301605,
-0.061259619891643524,
0.06466087698936462,
-0.09387156367301941,
-0.046671900898218155,
0.020031556487083435,
0.022685691714286804,
-0.27614182233810425,
0.2816770374774933,
0.041277289390563965,
-0.03696476295590401,
-0.06931658089160919,
-0.05431830510497093,
0.004576246719807386,
0.07926174253225327,
0.1937880665063858,
0.01928579807281494,
-0.056029267609119415,
-0.1438256949186325,
-0.11131962388753891,
0.03502378612756729,
0.1064191684126854,
-0.07539230585098267,
0.00850224681198597,
0.03721197694540024,
-0.042486269026994705,
0.008860379457473755,
0.1146821603178978,
-0.0016538252821192145,
-0.17467117309570312,
0.02961845137178898,
0.09392872452735901,
-0.10496095567941666,
0.001501353457570076,
-0.058967314660549164,
0.0006670397706329823,
0.08651935309171677,
-0.12297198921442032,
-0.015272433869540691,
-0.05576207488775253,
-0.0462409071624279,
-0.022559909150004387,
-0.11041533201932907,
0.008560070767998695,
-0.03115612082183361,
0.01527862437069416,
-0.0759609267115593,
-0.0847955122590065,
0.19079329073429108,
-0.06763330847024918,
0.0396767221391201,
-0.0696447566151619,
0.162650465965271,
0.023319033905863762,
0.04556239768862724,
0.026476673781871796,
-0.021519480273127556,
0.01963615044951439,
-0.11689908802509308,
-0.026866549625992775,
-0.0034574000164866447,
0.0041671940125525,
0.08293420076370239,
-0.13755711913108826,
-0.0656343549489975,
0.028528882190585136,
0.10625229775905609,
0.14279824495315552,
0.09750664234161377,
-0.03678764030337334,
0.06078152731060982,
0.24544039368629456,
-0.059014029800891876,
-0.3252417743206024,
-0.029175754636526108,
-0.10570205003023148,
-0.005034580361098051,
0.045207031071186066,
-0.11450371146202087,
0.027508629485964775,
0.00590110057964921,
-0.005090090911835432,
0.20118017494678497,
-0.36036840081214905,
-0.1085149422287941,
0.06203991919755936,
0.07882365584373474,
0.3430269658565521,
-0.07160941511392593,
-0.09236914664506912,
-0.12046206742525101,
-0.24431303143501282,
0.06124251335859299,
-0.06896816939115524,
0.07529043406248093,
0.012275364249944687,
0.005131595768034458,
0.000595766759943217,
-0.0536033995449543,
0.10936830937862396,
-0.006193605717271566,
0.06538935750722885,
-0.08834656327962875,
-0.1369001418352127,
0.109163798391819,
-0.018745973706245422,
0.004406419117003679,
-0.19514188170433044,
-0.03790177032351494,
-0.020714158192276955,
0.004775727167725563,
-0.043144550174474716,
0.04872526973485947,
-0.045428406447172165,
-0.0040662395767867565,
-0.040350209921598434,
-0.023157313466072083,
0.0794176310300827,
0.06207577511668205,
0.1454218626022339,
-0.05262429639697075,
0.07411177456378937,
-0.014092307537794113,
0.1029234230518341,
-0.10979165881872177,
-0.08034829795360565,
-0.04343743622303009,
-0.019699804484844208,
0.13121232390403748,
-0.05607384070754051,
0.05225442349910736,
0.11847952753305435,
0.01827111467719078,
0.07537464052438736,
0.10300472378730774,
0.002710501430556178,
0.05567310005426407,
0.0714716911315918,
-0.14928174018859863,
-0.07200147956609726,
-0.015003139153122902,
-0.06953535974025726,
0.03679802268743515,
0.05244399234652519,
0.10397887229919434,
0.012945427559316158,
-0.010317549109458923,
0.01061396673321724,
0.012744351290166378,
-0.051841769367456436,
0.03596194088459015,
-0.011835932731628418,
-0.0011693323031067848,
-0.09292002767324448,
0.0019341669976711273,
0.019424919039011,
-0.11926871538162231,
0.0017097810050472617,
0.03360563516616821,
-0.0645449236035347,
-0.06793161481618881,
-0.037993256002664566,
0.24169191718101501,
-0.11866752058267593,
-0.05407162383198738,
-0.11854799091815948,
-0.03407736495137215,
0.004309260286390781,
0.1954411268234253,
0.06788074970245361,
-0.017812112346291542,
-0.017685309052467346,
-0.01216263696551323,
0.02512381598353386,
0.017514104023575783,
0.0005986778414808214,
0.0737517848610878,
0.021293699741363525,
-0.029643602669239044,
0.017592236399650574,
0.11511889845132828,
-0.05736889690160751,
0.005254801828414202,
-0.16244325041770935,
0.05880320072174072,
-0.10439090430736542,
0.06533779948949814,
-0.010790194384753704,
-0.03572319447994232,
-0.06453867256641388,
-0.007444952614605427,
-0.07443809509277344,
0.015349745750427246,
-0.09549219906330109,
-0.0055539971217513084,
0.04019394889473915,
0.030580325052142143,
-0.12193221598863602,
-0.03330705314874649,
0.10284100472927094,
-0.05371147394180298,
0.05117223039269447,
0.011921028606593609,
-0.07137730717658997,
0.06827171891927719,
-0.3476652503013611,
-0.03475744649767876,
0.05800607055425644,
0.03546430915594101,
0.033039391040802,
0.10808791220188141,
0.02797119691967964,
0.026775814592838287,
0.022668732330203056,
-0.007222489453852177,
0.07935933768749237,
-0.07917846739292145,
0.023966526612639427,
-0.01633373275399208,
-0.1500842124223709,
-0.014907383359968662,
0.07779236882925034,
0.10858076810836792,
0.03642970696091652,
0.09073761850595474,
-0.07101224362850189,
0.0777762159705162,
-0.019889919087290764,
0.026037121191620827,
0.07513019442558289,
-0.10085856169462204,
-0.103554368019104,
-0.10255198925733566,
0.022781886160373688,
-0.0834994688630104,
0.18350717425346375,
-0.010329133830964565,
0.07057997584342957,
0.0017918453086167574,
0.14487071335315704,
-0.061627838760614395,
0.013309487141668797,
0.08154735714197159,
-0.039053015410900116,
-0.07074754685163498,
-0.04765430465340614,
0.08646742254495621,
0.08442708849906921,
0.15433678030967712,
0.21205471456050873,
0.15969258546829224,
0.08826477825641632,
0.13511249423027039,
0.01862090453505516,
0.11055942624807358,
-0.10298684984445572,
-0.17753298580646515,
0.052325066179037094,
0.1079464927315712,
0.007855542935431004,
0.09343355149030685,
0.046102676540613174,
-0.02043912746012211,
0.06365538388490677,
0.05234282463788986,
-0.04556011036038399,
-0.13152381777763367,
-0.17939376831054688,
-0.054880883544683456,
0.023094387724995613,
-0.017540911212563515,
-0.03307899460196495,
-0.024631164968013763,
-0.05711376667022705,
0.015355419367551804,
-0.06875156611204147,
0.20909422636032104,
-0.08748813718557358,
-0.027755320072174072,
0.11446312069892883,
0.008245665580034256,
0.044204115867614746,
0.03316956385970116,
-0.02497893199324608,
-0.0002708507527131587,
0.0016218578675761819,
0.03249809145927429,
0.006190834566950798,
0.022759927436709404,
-0.04227021336555481,
-0.08107104897499084,
-0.0979122444987297,
-0.040083590894937515,
0.041690364480018616,
0.030327482149004936,
0.1680387407541275,
0.047381527721881866,
-0.025568697601556778,
0.009462108835577965,
0.03846706449985504,
-0.0016662068665027618,
0.08813473582267761,
-0.057768888771533966,
0.07902728766202927,
-0.005506602581590414,
0.040478963404893875,
-0.05033266544342041,
-0.022670233622193336,
-0.01952347718179226,
0.24304325878620148,
0.25395315885543823,
-0.14285394549369812,
0.03513515368103981,
-0.03148824721574783,
0.05874452367424965,
0.09912211447954178,
0.08933102339506149,
0.015203403308987617,
0.2369241863489151,
-0.021726218983530998,
-0.09788323193788528,
-0.06946833431720734,
-0.006056568119674921,
-0.07366445660591125,
0.016341017559170723,
0.03849902004003525,
-0.053785160183906555,
-0.06862824410200119,
0.0808791071176529,
-0.13653503358364105,
-0.16813984513282776,
0.1074378713965416,
-0.22605618834495544,
-0.043942373245954514,
-0.01195420790463686,
0.09431909024715424,
0.08091693371534348,
0.10806643962860107,
-0.0196366123855114,
-0.054402902722358704,
-0.01449958048760891,
0.019557340070605278,
-0.15238462388515472,
-0.04655079171061516,
0.00772393774241209,
-0.0947020873427391,
0.24081531167030334,
-0.013695547357201576,
0.04829221963882446,
0.10634573549032211,
0.08910471946001053,
0.03195514902472496,
0.04992719367146492,
0.044439155608415604,
-0.01783887669444084,
-0.03151905536651611,
-0.0012767288135364652,
-0.03491734713315964,
-0.06409522145986557,
0.03270731866359711,
-0.052354730665683746,
0.04342597350478172,
-0.05932006612420082,
-0.05974787846207619,
-0.09082906693220139,
0.06263656169176102,
-0.07446350902318954,
0.06737715005874634,
0.11508100479841232,
0.028316212818026543,
-0.06432802230119705,
0.002763620810583234,
-0.018927207216620445,
0.0064767347648739815,
-0.044988807290792465,
-0.09581663459539413,
-0.09016948938369751,
-0.03915806859731674,
-0.04765825718641281,
0.05333974212408066,
-0.2192661166191101,
0.015269172377884388,
-0.06566671282052994,
0.00413550017401576,
-0.07348514348268509,
0.026784146204590797,
0.09302094578742981,
0.03635890781879425,
0.0084851598367095,
-0.1561102718114853,
0.0712893009185791,
0.04662572592496872,
-0.10056407004594803,
-0.06098697707056999
] |
null | null |
transformers
|
# Calbert: a Catalan Language Model
## Introduction
CALBERT is an open-source language model for Catalan pretrained on the ALBERT architecture.
It is now available on Hugging Face in its `tiny-uncased` version (the one you're looking at) and `base-uncased` as well, and was pretrained on the [OSCAR dataset](https://traces1.inria.fr/oscar/).
For further information or requests, please go to the [GitHub repository](https://github.com/codegram/calbert)
## Pre-trained models
| Model | Arch. | Training data |
| ----------------------------------- | -------------- | ---------------------- |
| `codegram` / `calbert-tiny-uncased` | Tiny (uncased) | OSCAR (4.3 GB of text) |
| `codegram` / `calbert-base-uncased` | Base (uncased) | OSCAR (4.3 GB of text) |
## How to use Calbert with HuggingFace
#### Load Calbert and its tokenizer:
```python
from transformers import AutoModel, AutoTokenizer
tokenizer = AutoTokenizer.from_pretrained("codegram/calbert-tiny-uncased")
model = AutoModel.from_pretrained("codegram/calbert-tiny-uncased")
model.eval() # disable dropout (or leave in train mode to finetune
```
#### Filling masks using pipeline
```python
from transformers import pipeline
calbert_fill_mask = pipeline("fill-mask", model="codegram/calbert-tiny-uncased", tokenizer="codegram/calbert-tiny-uncased")
results = calbert_fill_mask("M'agrada [MASK] això")
# results
# [{'sequence': "[CLS] m'agrada molt aixo[SEP]", 'score': 0.4403671622276306, 'token': 61},
# {'sequence': "[CLS] m'agrada més aixo[SEP]", 'score': 0.050061386078596115, 'token': 43},
# {'sequence': "[CLS] m'agrada veure aixo[SEP]", 'score': 0.026286985725164413, 'token': 157},
# {'sequence': "[CLS] m'agrada bastant aixo[SEP]", 'score': 0.022483550012111664, 'token': 2143},
# {'sequence': "[CLS] m'agrada moltíssim aixo[SEP]", 'score': 0.014491282403469086, 'token': 4867}]
```
#### Extract contextual embedding features from Calbert output
```python
import torch
# Tokenize in sub-words with SentencePiece
tokenized_sentence = tokenizer.tokenize("M'és una mica igual")
# ['▁m', "'", 'es', '▁una', '▁mica', '▁igual']
# 1-hot encode and add special starting and end tokens
encoded_sentence = tokenizer.encode(tokenized_sentence)
# [2, 109, 7, 71, 36, 371, 1103, 3]
# NB: Can be done in one step : tokenize.encode("M'és una mica igual")
# Feed tokens to Calbert as a torch tensor (batch dim 1)
encoded_sentence = torch.tensor(encoded_sentence).unsqueeze(0)
embeddings, _ = model(encoded_sentence)
embeddings.size()
# torch.Size([1, 8, 312])
embeddings.detach()
# tensor([[[-0.2726, -0.9855, 0.9643, ..., 0.3511, 0.3499, -0.1984],
# [-0.2824, -1.1693, -0.2365, ..., -3.1866, -0.9386, -1.3718],
# [-2.3645, -2.2477, -1.6985, ..., -1.4606, -2.7294, 0.2495],
# ...,
# [ 0.8800, -0.0244, -3.0446, ..., 0.5148, -3.0903, 1.1879],
# [ 1.1300, 0.2425, 0.2162, ..., -0.5722, -2.2004, 0.4045],
# [ 0.4549, -0.2378, -0.2290, ..., -2.1247, -2.2769, -0.0820]]])
```
## Authors
CALBERT was trained and evaluated by [Txus Bach](https://twitter.com/txustice), as part of [Codegram](https://www.codegram.com)'s applied research.
<a href="https://huggingface.co/exbert/?model=codegram/calbert-tiny-uncased&modelKind=bidirectional&sentence=M%27agradaria%20força%20saber-ne%20més">
<img width="300px" src="https://cdn-media.huggingface.co/exbert/button.png">
</a>
|
{"language": "ca", "license": "mit", "tags": ["masked-lm", "catalan", "exbert"]}
| null |
codegram/calbert-tiny-uncased
|
[
"transformers",
"pytorch",
"albert",
"masked-lm",
"catalan",
"exbert",
"ca",
"license:mit",
"endpoints_compatible",
"region:us"
] |
2022-03-02T23:29:05+00:00
|
[] |
[
"ca"
] |
TAGS
#transformers #pytorch #albert #masked-lm #catalan #exbert #ca #license-mit #endpoints_compatible #region-us
|
Calbert: a Catalan Language Model
=================================
Introduction
------------
CALBERT is an open-source language model for Catalan pretrained on the ALBERT architecture.
It is now available on Hugging Face in its 'tiny-uncased' version (the one you're looking at) and 'base-uncased' as well, and was pretrained on the OSCAR dataset.
For further information or requests, please go to the GitHub repository
Pre-trained models
------------------
Model: 'codegram' / 'calbert-tiny-uncased', Arch.: Tiny (uncased), Training data: OSCAR (4.3 GB of text)
Model: 'codegram' / 'calbert-base-uncased', Arch.: Base (uncased), Training data: OSCAR (4.3 GB of text)
How to use Calbert with HuggingFace
-----------------------------------
#### Load Calbert and its tokenizer:
#### Filling masks using pipeline
#### Extract contextual embedding features from Calbert output
Authors
-------
CALBERT was trained and evaluated by Txus Bach, as part of Codegram's applied research.
[<img width="300px" src="URL
</a>](URL%20força%20saber-ne%20més)
|
[
"#### Load Calbert and its tokenizer:",
"#### Filling masks using pipeline",
"#### Extract contextual embedding features from Calbert output\n\n\nAuthors\n-------\n\n\nCALBERT was trained and evaluated by Txus Bach, as part of Codegram's applied research.\n\n\n[<img width=\"300px\" src=\"URL\n</a>](URL%20força%20saber-ne%20més)"
] |
[
"TAGS\n#transformers #pytorch #albert #masked-lm #catalan #exbert #ca #license-mit #endpoints_compatible #region-us \n",
"#### Load Calbert and its tokenizer:",
"#### Filling masks using pipeline",
"#### Extract contextual embedding features from Calbert output\n\n\nAuthors\n-------\n\n\nCALBERT was trained and evaluated by Txus Bach, as part of Codegram's applied research.\n\n\n[<img width=\"300px\" src=\"URL\n</a>](URL%20força%20saber-ne%20més)"
] |
[
42,
12,
9,
75
] |
[
"passage: TAGS\n#transformers #pytorch #albert #masked-lm #catalan #exbert #ca #license-mit #endpoints_compatible #region-us \n#### Load Calbert and its tokenizer:#### Filling masks using pipeline#### Extract contextual embedding features from Calbert output\n\n\nAuthors\n-------\n\n\nCALBERT was trained and evaluated by Txus Bach, as part of Codegram's applied research.\n\n\n[<img width=\"300px\" src=\"URL\n</a>](URL%20força%20saber-ne%20més)"
] |
[
-0.08520470559597015,
0.03248462453484535,
-0.002862335881218314,
0.1557239294052124,
0.08790898323059082,
-0.02240801602602005,
0.1399083137512207,
0.028066975995898247,
0.11395967751741409,
0.07570938020944595,
0.15295489132404327,
0.11110421270132065,
0.0050910599529743195,
-0.007485183887183666,
-0.025399399921298027,
-0.18689605593681335,
0.040319014340639114,
0.05581614375114441,
0.019655248150229454,
0.13287757337093353,
0.046359021216630936,
-0.06422822177410126,
0.12877947092056274,
-0.00872578751295805,
-0.11952130496501923,
0.04653266444802284,
-0.014225427992641926,
-0.04091842100024223,
0.08104784041643143,
0.041993092745542526,
0.1495642513036728,
0.05389951542019844,
-0.00047103819088079035,
-0.10353395342826843,
0.05336196720600128,
-0.024248722940683365,
-0.09877576678991318,
0.08215329796075821,
-0.0035610466729849577,
-0.0814368948340416,
0.07865820080041885,
-0.020042378455400467,
0.01697578839957714,
0.00638449564576149,
-0.13948024809360504,
-0.017438964918255806,
-0.01885651983320713,
0.020707953721284866,
0.040913619101047516,
0.04471797123551369,
0.016612686216831207,
0.06022566184401512,
-0.11064693331718445,
0.05509369447827339,
0.27461302280426025,
-0.2891964614391327,
-0.039319850504398346,
-0.03110160306096077,
0.15147945284843445,
0.0829804390668869,
-0.04980876296758652,
0.07606955617666245,
0.0853634774684906,
-0.004171404521912336,
0.09302122890949249,
-0.10280903428792953,
-0.06644068658351898,
-0.012379255145788193,
-0.07203102856874466,
-0.056285593658685684,
0.19940732419490814,
0.01868198625743389,
-0.014991839416325092,
-0.04554807394742966,
-0.11075431853532791,
-0.10998717695474625,
-0.024561762809753418,
-0.02468857541680336,
0.04714074730873108,
-0.03016671910881996,
-0.02922697737812996,
-0.01920001581311226,
-0.0915674939751625,
-0.0721210166811943,
-0.08803439140319824,
0.09882492572069168,
0.007469366304576397,
0.007357265800237656,
-0.12792541086673737,
0.044567856937646866,
0.07656844705343246,
-0.17364200949668884,
-0.005530267488211393,
-0.0006995616713538766,
0.09191188961267471,
0.06264206022024155,
-0.010620048269629478,
-0.0779428780078888,
0.03394689783453941,
0.22038500010967255,
0.02809043414890766,
0.05045019090175629,
-0.038603030145168304,
0.12707483768463135,
-0.001955940155312419,
0.18615230917930603,
-0.05662654712796211,
-0.01534981094300747,
0.03049454838037491,
-0.03594254329800606,
0.09855127334594727,
-0.09990975260734558,
-0.24341459572315216,
-0.04424194619059563,
0.0498904287815094,
0.07927882671356201,
-0.0078082880936563015,
0.047717850655317307,
-0.09719610959291458,
-0.01888960599899292,
0.08690400421619415,
-0.04690081998705864,
0.06530465185642242,
0.014885480515658855,
0.028434474021196365,
0.0352993942797184,
0.05207216739654541,
-0.0289473794400692,
-0.018963957205414772,
0.14717286825180054,
-0.1074591726064682,
0.043903741985559464,
-0.06455371528863907,
-0.12344206124544144,
0.08017054200172424,
-0.10693063586950302,
0.019768482074141502,
-0.14779536426067352,
0.014848525635898113,
0.0228286013007164,
0.04731128364801407,
-0.0030123856849968433,
0.11541823297739029,
-0.08258114010095596,
-0.01818096451461315,
0.021831689402461052,
-0.03117329254746437,
-0.11695187538862228,
-0.09841722995042801,
0.07595016062259674,
-0.02918550930917263,
0.11075916141271591,
-0.22683973610401154,
-0.006583334878087044,
-0.0865059345960617,
0.05818689987063408,
-0.17781534790992737,
0.007928089238703251,
-0.015115643851459026,
0.019890572875738144,
-0.06772039085626602,
-0.08866606652736664,
-0.07953184098005295,
0.07465522736310959,
0.09557025134563446,
0.17499299347400665,
-0.1698177605867386,
-0.07467909902334213,
0.32565680146217346,
-0.05207298696041107,
-0.11357177048921585,
0.14293716847896576,
-0.06065196543931961,
-0.018152417615056038,
0.0708642527461052,
0.18240821361541748,
-0.04127265512943268,
-0.22312414646148682,
0.05098060891032219,
0.05019511282444,
0.029485877603292465,
-0.05128667876124382,
0.10144004225730896,
0.011086796410381794,
0.01732184924185276,
0.008829615078866482,
-0.05235403776168823,
-0.01760050468146801,
-0.012140683829784393,
-0.03705211356282234,
0.04596289247274399,
0.006743332836776972,
0.11959855258464813,
-0.01301051490008831,
0.03706110268831253,
-0.047592174261808395,
-0.06054409593343735,
-0.036283716559410095,
-0.0522216334939003,
-0.03235580027103424,
0.08716876059770584,
-0.09693121165037155,
0.1412644386291504,
-0.09952757507562637,
0.01480262354016304,
-0.1324402242898941,
0.002832732629030943,
0.007612196262925863,
0.0498368963599205,
0.05707128345966339,
-0.00997720006853342,
0.056078992784023285,
0.034432411193847656,
-0.018129650503396988,
-0.0037868947256356478,
-0.05121482163667679,
-0.016525600105524063,
-0.050538986921310425,
-0.11478617787361145,
-0.027686860412359238,
-0.04698597267270088,
-0.013811061158776283,
-0.02577190101146698,
0.023568836972117424,
0.020531821995973587,
-0.04160654917359352,
0.017341356724500656,
-0.0003418373526073992,
-0.04262161999940872,
0.0470658503472805,
-0.058465875685214996,
-0.0012877379776909947,
0.06949110329151154,
-0.00083861721213907,
-0.1307414323091507,
0.1284208595752716,
-0.12256675958633423,
0.22389519214630127,
0.1299668252468109,
-0.1898234784603119,
-0.047783538699150085,
-0.021119406446814537,
-0.001144389039836824,
0.022181900218129158,
0.025575440376996994,
-0.1038852110505104,
0.23257319629192352,
-0.019395429641008377,
0.11815717071294785,
-0.1346343755722046,
-0.003505572210997343,
0.014110159128904343,
-0.05488395690917969,
-0.02382655441761017,
0.1462523192167282,
0.1357371211051941,
-0.06135181710124016,
0.12540510296821594,
0.2979203760623932,
-0.03829612210392952,
0.12370596081018448,
0.019131328910589218,
-0.03379854932427406,
-0.0675845667719841,
0.028541890904307365,
0.024782022461295128,
0.12194265425205231,
-0.12774617969989777,
-0.05962767452001572,
-0.022588826715946198,
-0.055966246873140335,
0.014180324040353298,
-0.1657305508852005,
-0.023546487092971802,
0.035468459129333496,
0.01765552908182144,
-0.16602182388305664,
0.03821062669157982,
-0.05737806484103203,
0.09860032796859741,
0.036475103348493576,
-0.15687590837478638,
0.04577810689806938,
-0.006569962482899427,
-0.06933406740427017,
0.19096553325653076,
-0.08297218382358551,
-0.21751394867897034,
-0.16184401512145996,
-0.07633566856384277,
-0.030161848291754723,
0.06875772774219513,
0.06395222991704941,
-0.042692165821790695,
0.018971960991621017,
-0.042019132524728775,
-0.03833969682455063,
-0.010167671367526054,
-0.034924332052469254,
-0.04197181016206741,
-0.06683910638093948,
-0.06174198165535927,
-0.0922018364071846,
-0.0646316260099411,
-0.03178561478853226,
-0.008594940416514874,
0.007984591647982597,
-0.10119327902793884,
0.26045361161231995,
0.10854581743478775,
0.013545486144721508,
0.028827015310525894,
-0.00012477455311454833,
0.11703904718160629,
-0.05690138041973114,
-0.05060777813196182,
0.09800905734300613,
-0.087662473320961,
0.06361705809831619,
0.07270220667123795,
0.07640428096055984,
-0.08324259519577026,
-0.060509562492370605,
-0.07160079479217529,
-0.12252327799797058,
-0.11779296398162842,
-0.06320598721504211,
-0.1048392578959465,
0.061013780534267426,
0.09260576963424683,
-0.0007011209381744266,
0.04520770534873009,
0.02587498351931572,
0.022203128784894943,
0.058350738137960434,
0.034444160759449005,
0.08164586871862411,
-0.04707545414566994,
-0.011754856444895267,
0.06313388794660568,
-0.026998605579137802,
-0.12130165100097656,
0.04761418700218201,
0.057992249727249146,
0.08187374472618103,
0.09438730031251907,
0.2173590362071991,
0.10364644974470139,
0.0673813596367836,
0.047827932983636856,
0.10798396915197372,
-0.0030573636759072542,
-0.0007744258618913591,
-0.07715019583702087,
-0.07922530919313431,
-0.08756805956363678,
-0.008572326973080635,
0.04073573276400566,
-0.04366220161318779,
-0.10127086192369461,
-0.11031825840473175,
0.05603533238172531,
0.15939760208129883,
0.017675742506980896,
-0.2584865093231201,
-0.002039242535829544,
0.0415276475250721,
0.09667724370956421,
-0.018573520705103874,
0.0675148069858551,
0.14495553076267242,
-0.0621340237557888,
0.01510145328938961,
-0.04534804821014404,
0.13394103944301605,
-0.061259619891643524,
0.06466087698936462,
-0.09387156367301941,
-0.046671900898218155,
0.020031556487083435,
0.022685691714286804,
-0.27614182233810425,
0.2816770374774933,
0.041277289390563965,
-0.03696476295590401,
-0.06931658089160919,
-0.05431830510497093,
0.004576246719807386,
0.07926174253225327,
0.1937880665063858,
0.01928579807281494,
-0.056029267609119415,
-0.1438256949186325,
-0.11131962388753891,
0.03502378612756729,
0.1064191684126854,
-0.07539230585098267,
0.00850224681198597,
0.03721197694540024,
-0.042486269026994705,
0.008860379457473755,
0.1146821603178978,
-0.0016538252821192145,
-0.17467117309570312,
0.02961845137178898,
0.09392872452735901,
-0.10496095567941666,
0.001501353457570076,
-0.058967314660549164,
0.0006670397706329823,
0.08651935309171677,
-0.12297198921442032,
-0.015272433869540691,
-0.05576207488775253,
-0.0462409071624279,
-0.022559909150004387,
-0.11041533201932907,
0.008560070767998695,
-0.03115612082183361,
0.01527862437069416,
-0.0759609267115593,
-0.0847955122590065,
0.19079329073429108,
-0.06763330847024918,
0.0396767221391201,
-0.0696447566151619,
0.162650465965271,
0.023319033905863762,
0.04556239768862724,
0.026476673781871796,
-0.021519480273127556,
0.01963615044951439,
-0.11689908802509308,
-0.026866549625992775,
-0.0034574000164866447,
0.0041671940125525,
0.08293420076370239,
-0.13755711913108826,
-0.0656343549489975,
0.028528882190585136,
0.10625229775905609,
0.14279824495315552,
0.09750664234161377,
-0.03678764030337334,
0.06078152731060982,
0.24544039368629456,
-0.059014029800891876,
-0.3252417743206024,
-0.029175754636526108,
-0.10570205003023148,
-0.005034580361098051,
0.045207031071186066,
-0.11450371146202087,
0.027508629485964775,
0.00590110057964921,
-0.005090090911835432,
0.20118017494678497,
-0.36036840081214905,
-0.1085149422287941,
0.06203991919755936,
0.07882365584373474,
0.3430269658565521,
-0.07160941511392593,
-0.09236914664506912,
-0.12046206742525101,
-0.24431303143501282,
0.06124251335859299,
-0.06896816939115524,
0.07529043406248093,
0.012275364249944687,
0.005131595768034458,
0.000595766759943217,
-0.0536033995449543,
0.10936830937862396,
-0.006193605717271566,
0.06538935750722885,
-0.08834656327962875,
-0.1369001418352127,
0.109163798391819,
-0.018745973706245422,
0.004406419117003679,
-0.19514188170433044,
-0.03790177032351494,
-0.020714158192276955,
0.004775727167725563,
-0.043144550174474716,
0.04872526973485947,
-0.045428406447172165,
-0.0040662395767867565,
-0.040350209921598434,
-0.023157313466072083,
0.0794176310300827,
0.06207577511668205,
0.1454218626022339,
-0.05262429639697075,
0.07411177456378937,
-0.014092307537794113,
0.1029234230518341,
-0.10979165881872177,
-0.08034829795360565,
-0.04343743622303009,
-0.019699804484844208,
0.13121232390403748,
-0.05607384070754051,
0.05225442349910736,
0.11847952753305435,
0.01827111467719078,
0.07537464052438736,
0.10300472378730774,
0.002710501430556178,
0.05567310005426407,
0.0714716911315918,
-0.14928174018859863,
-0.07200147956609726,
-0.015003139153122902,
-0.06953535974025726,
0.03679802268743515,
0.05244399234652519,
0.10397887229919434,
0.012945427559316158,
-0.010317549109458923,
0.01061396673321724,
0.012744351290166378,
-0.051841769367456436,
0.03596194088459015,
-0.011835932731628418,
-0.0011693323031067848,
-0.09292002767324448,
0.0019341669976711273,
0.019424919039011,
-0.11926871538162231,
0.0017097810050472617,
0.03360563516616821,
-0.0645449236035347,
-0.06793161481618881,
-0.037993256002664566,
0.24169191718101501,
-0.11866752058267593,
-0.05407162383198738,
-0.11854799091815948,
-0.03407736495137215,
0.004309260286390781,
0.1954411268234253,
0.06788074970245361,
-0.017812112346291542,
-0.017685309052467346,
-0.01216263696551323,
0.02512381598353386,
0.017514104023575783,
0.0005986778414808214,
0.0737517848610878,
0.021293699741363525,
-0.029643602669239044,
0.017592236399650574,
0.11511889845132828,
-0.05736889690160751,
0.005254801828414202,
-0.16244325041770935,
0.05880320072174072,
-0.10439090430736542,
0.06533779948949814,
-0.010790194384753704,
-0.03572319447994232,
-0.06453867256641388,
-0.007444952614605427,
-0.07443809509277344,
0.015349745750427246,
-0.09549219906330109,
-0.0055539971217513084,
0.04019394889473915,
0.030580325052142143,
-0.12193221598863602,
-0.03330705314874649,
0.10284100472927094,
-0.05371147394180298,
0.05117223039269447,
0.011921028606593609,
-0.07137730717658997,
0.06827171891927719,
-0.3476652503013611,
-0.03475744649767876,
0.05800607055425644,
0.03546430915594101,
0.033039391040802,
0.10808791220188141,
0.02797119691967964,
0.026775814592838287,
0.022668732330203056,
-0.007222489453852177,
0.07935933768749237,
-0.07917846739292145,
0.023966526612639427,
-0.01633373275399208,
-0.1500842124223709,
-0.014907383359968662,
0.07779236882925034,
0.10858076810836792,
0.03642970696091652,
0.09073761850595474,
-0.07101224362850189,
0.0777762159705162,
-0.019889919087290764,
0.026037121191620827,
0.07513019442558289,
-0.10085856169462204,
-0.103554368019104,
-0.10255198925733566,
0.022781886160373688,
-0.0834994688630104,
0.18350717425346375,
-0.010329133830964565,
0.07057997584342957,
0.0017918453086167574,
0.14487071335315704,
-0.061627838760614395,
0.013309487141668797,
0.08154735714197159,
-0.039053015410900116,
-0.07074754685163498,
-0.04765430465340614,
0.08646742254495621,
0.08442708849906921,
0.15433678030967712,
0.21205471456050873,
0.15969258546829224,
0.08826477825641632,
0.13511249423027039,
0.01862090453505516,
0.11055942624807358,
-0.10298684984445572,
-0.17753298580646515,
0.052325066179037094,
0.1079464927315712,
0.007855542935431004,
0.09343355149030685,
0.046102676540613174,
-0.02043912746012211,
0.06365538388490677,
0.05234282463788986,
-0.04556011036038399,
-0.13152381777763367,
-0.17939376831054688,
-0.054880883544683456,
0.023094387724995613,
-0.017540911212563515,
-0.03307899460196495,
-0.024631164968013763,
-0.05711376667022705,
0.015355419367551804,
-0.06875156611204147,
0.20909422636032104,
-0.08748813718557358,
-0.027755320072174072,
0.11446312069892883,
0.008245665580034256,
0.044204115867614746,
0.03316956385970116,
-0.02497893199324608,
-0.0002708507527131587,
0.0016218578675761819,
0.03249809145927429,
0.006190834566950798,
0.022759927436709404,
-0.04227021336555481,
-0.08107104897499084,
-0.0979122444987297,
-0.040083590894937515,
0.041690364480018616,
0.030327482149004936,
0.1680387407541275,
0.047381527721881866,
-0.025568697601556778,
0.009462108835577965,
0.03846706449985504,
-0.0016662068665027618,
0.08813473582267761,
-0.057768888771533966,
0.07902728766202927,
-0.005506602581590414,
0.040478963404893875,
-0.05033266544342041,
-0.022670233622193336,
-0.01952347718179226,
0.24304325878620148,
0.25395315885543823,
-0.14285394549369812,
0.03513515368103981,
-0.03148824721574783,
0.05874452367424965,
0.09912211447954178,
0.08933102339506149,
0.015203403308987617,
0.2369241863489151,
-0.021726218983530998,
-0.09788323193788528,
-0.06946833431720734,
-0.006056568119674921,
-0.07366445660591125,
0.016341017559170723,
0.03849902004003525,
-0.053785160183906555,
-0.06862824410200119,
0.0808791071176529,
-0.13653503358364105,
-0.16813984513282776,
0.1074378713965416,
-0.22605618834495544,
-0.043942373245954514,
-0.01195420790463686,
0.09431909024715424,
0.08091693371534348,
0.10806643962860107,
-0.0196366123855114,
-0.054402902722358704,
-0.01449958048760891,
0.019557340070605278,
-0.15238462388515472,
-0.04655079171061516,
0.00772393774241209,
-0.0947020873427391,
0.24081531167030334,
-0.013695547357201576,
0.04829221963882446,
0.10634573549032211,
0.08910471946001053,
0.03195514902472496,
0.04992719367146492,
0.044439155608415604,
-0.01783887669444084,
-0.03151905536651611,
-0.0012767288135364652,
-0.03491734713315964,
-0.06409522145986557,
0.03270731866359711,
-0.052354730665683746,
0.04342597350478172,
-0.05932006612420082,
-0.05974787846207619,
-0.09082906693220139,
0.06263656169176102,
-0.07446350902318954,
0.06737715005874634,
0.11508100479841232,
0.028316212818026543,
-0.06432802230119705,
0.002763620810583234,
-0.018927207216620445,
0.0064767347648739815,
-0.044988807290792465,
-0.09581663459539413,
-0.09016948938369751,
-0.03915806859731674,
-0.04765825718641281,
0.05333974212408066,
-0.2192661166191101,
0.015269172377884388,
-0.06566671282052994,
0.00413550017401576,
-0.07348514348268509,
0.026784146204590797,
0.09302094578742981,
0.03635890781879425,
0.0084851598367095,
-0.1561102718114853,
0.0712893009185791,
0.04662572592496872,
-0.10056407004594803,
-0.06098697707056999
] |
null | null |
transformers
|
This model is a paraphraser designed for the Adversarial Paraphrasing Task described and used in this paper: https://aclanthology.org/2021.acl-long.552/.
Please refer to `nap_generation.py` on the github repository for ways to better utilize this model using concepts of top-k sampling and top-p sampling. The demo on huggingface will output only one sentence which will most likely be the same as the input sentence since the model is supposed to output using beam search and sampling.
Github repository: https://github.com/Advancing-Machine-Human-Reasoning-Lab/apt.git
Please cite the following if you use this model:
```bib
@inproceedings{nighojkar-licato-2021-improving,
title = "Improving Paraphrase Detection with the Adversarial Paraphrasing Task",
author = "Nighojkar, Animesh and
Licato, John",
booktitle = "Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing (Volume 1: Long Papers)",
month = aug,
year = "2021",
address = "Online",
publisher = "Association for Computational Linguistics",
url = "https://aclanthology.org/2021.acl-long.552",
pages = "7106--7116",
abstract = "If two sentences have the same meaning, it should follow that they are equivalent in their inferential properties, i.e., each sentence should textually entail the other. However, many paraphrase datasets currently in widespread use rely on a sense of paraphrase based on word overlap and syntax. Can we teach them instead to identify paraphrases in a way that draws on the inferential properties of the sentences, and is not over-reliant on lexical and syntactic similarities of a sentence pair? We apply the adversarial paradigm to this question, and introduce a new adversarial method of dataset creation for paraphrase identification: the Adversarial Paraphrasing Task (APT), which asks participants to generate semantically equivalent (in the sense of mutually implicative) but lexically and syntactically disparate paraphrases. These sentence pairs can then be used both to test paraphrase identification models (which get barely random accuracy) and then improve their performance. To accelerate dataset generation, we explore automation of APT using T5, and show that the resulting dataset also improves accuracy. We discuss implications for paraphrase detection and release our dataset in the hope of making paraphrase detection models better able to detect sentence-level meaning equivalence.",
}
```
|
{}
|
text2text-generation
|
AMHR/T5-for-Adversarial-Paraphrasing
|
[
"transformers",
"pytorch",
"safetensors",
"t5",
"text2text-generation",
"autotrain_compatible",
"endpoints_compatible",
"text-generation-inference",
"region:us"
] |
2022-03-02T23:29:05+00:00
|
[] |
[] |
TAGS
#transformers #pytorch #safetensors #t5 #text2text-generation #autotrain_compatible #endpoints_compatible #text-generation-inference #region-us
|
This model is a paraphraser designed for the Adversarial Paraphrasing Task described and used in this paper: URL
Please refer to 'nap_generation.py' on the github repository for ways to better utilize this model using concepts of top-k sampling and top-p sampling. The demo on huggingface will output only one sentence which will most likely be the same as the input sentence since the model is supposed to output using beam search and sampling.
Github repository: URL
Please cite the following if you use this model:
|
[] |
[
"TAGS\n#transformers #pytorch #safetensors #t5 #text2text-generation #autotrain_compatible #endpoints_compatible #text-generation-inference #region-us \n"
] |
[
53
] |
[
"passage: TAGS\n#transformers #pytorch #safetensors #t5 #text2text-generation #autotrain_compatible #endpoints_compatible #text-generation-inference #region-us \n"
] |
[
-0.03377141058444977,
-0.003745593596249819,
-0.007077177986502647,
0.015926474705338478,
0.15023984014987946,
-0.006476883310824633,
0.13943396508693695,
0.1118120327591896,
-0.025657059624791145,
-0.007798910140991211,
0.13136781752109528,
0.19958409667015076,
-0.016292328014969826,
0.11656646430492401,
-0.11345863342285156,
-0.2169826626777649,
0.06709560751914978,
0.028220243752002716,
0.0273275189101696,
0.13257019221782684,
0.0836888998746872,
-0.07632336765527725,
0.07239097356796265,
-0.05701868608593941,
-0.12992282211780548,
0.03771215304732323,
0.07136104255914688,
-0.14322081208229065,
0.12595289945602417,
0.024595588445663452,
0.1379586160182953,
0.057896729558706284,
-0.04695707932114601,
-0.1445016711950302,
0.031029798090457916,
0.040322113782167435,
-0.07234808802604675,
0.04754449427127838,
0.12798257172107697,
-0.1006346046924591,
0.05993106961250305,
0.02279851585626602,
-0.0012675796169787645,
0.05765450745820999,
-0.1387811154127121,
-0.017660411074757576,
-0.014391811564564705,
0.02860288880765438,
0.08773210644721985,
0.10433171689510345,
-0.014872987754642963,
0.17580358684062958,
-0.0955890417098999,
0.14439424872398376,
0.14725646376609802,
-0.3242788016796112,
0.00921033974736929,
0.031441859900951385,
0.05209527909755707,
0.07756508141756058,
-0.021807687357068062,
0.03653646260499954,
0.04334775358438492,
0.0211240965873003,
0.0557575598359108,
-0.0591321624815464,
-0.16579481959342957,
0.012252157554030418,
-0.09729479253292084,
-0.058271605521440506,
0.21409489214420319,
-0.0641733705997467,
0.04811033979058266,
-0.04527248442173004,
-0.13957974314689636,
-0.04318782687187195,
0.008726393803954124,
-0.008506997488439083,
-0.051836103200912476,
0.0440252460539341,
0.024450846016407013,
-0.021385038271546364,
-0.14759482443332672,
-0.013113442808389664,
-0.17653225362300873,
0.16041432321071625,
0.021397247910499573,
0.045559801161289215,
-0.21374231576919556,
0.09200634807348251,
0.0700211375951767,
-0.11899223923683167,
0.06871204078197479,
-0.1002940833568573,
0.042554739862680435,
-0.01666349545121193,
-0.039434049278497696,
-0.1532611846923828,
0.10591952502727509,
0.09575828909873962,
-0.0485340915620327,
0.021991245448589325,
-0.08767910301685333,
0.06913396716117859,
0.010197714902460575,
0.05146939307451248,
-0.0016133894678205252,
-0.00196287059225142,
0.08144555240869522,
-0.07096095383167267,
0.03532790020108223,
-0.052831899374723434,
-0.11256487667560577,
-0.03962046280503273,
0.12520207464694977,
0.1297004371881485,
0.020174702629446983,
0.10418291389942169,
-0.043683312833309174,
0.0024855867959558964,
0.05075690150260925,
-0.10369082540273666,
-0.028825540095567703,
0.020987121388316154,
0.03539382293820381,
0.0806262344121933,
0.017569126561284065,
0.0029038162901997566,
-0.15243157744407654,
0.06981374323368073,
-0.062352441251277924,
-0.01972038671374321,
-0.02050848677754402,
-0.08664821833372116,
0.03680708631873131,
-0.08990742266178131,
0.007737111300230026,
-0.19634804129600525,
-0.15592128038406372,
0.02203206717967987,
-0.01612916588783264,
0.006299854256212711,
-0.01979300007224083,
-0.0331198051571846,
-0.05133051797747612,
0.02613910846412182,
-0.06653366982936859,
-0.03274922072887421,
-0.049680791795253754,
0.11432015895843506,
-0.030299240723252296,
0.05496440827846527,
-0.0952409952878952,
0.04945831000804901,
-0.14913687109947205,
-0.016430683434009552,
-0.0818200409412384,
0.03994885832071304,
0.005096016451716423,
0.14260287582874298,
-0.0160849429666996,
-0.03095010668039322,
-0.07227818667888641,
0.039837975054979324,
-0.01044519990682602,
0.2175402194261551,
-0.09192696213722229,
-0.07830129563808441,
0.27362775802612305,
-0.13748562335968018,
-0.18670697510242462,
0.10951582342386246,
0.011312685906887054,
0.015411903150379658,
0.1050235778093338,
0.18298408389091492,
0.042651887983083725,
-0.033480484038591385,
0.06491848826408386,
0.08971593528985977,
-0.11891505122184753,
-0.07519280165433884,
-0.009287516586482525,
-0.015203967690467834,
-0.13781429827213287,
0.03626652806997299,
0.08409340679645538,
0.06735733896493912,
-0.05470786243677139,
-0.035051487386226654,
-0.05666583776473999,
-0.02510947734117508,
0.10491602122783661,
0.0024616559967398643,
0.09541375190019608,
-0.09413275122642517,
-0.022714493796229362,
-0.03655283525586128,
-0.018401356413960457,
-0.03490344434976578,
0.02756301686167717,
-0.04289869964122772,
0.12100216746330261,
-0.018408888950943947,
0.04620787501335144,
-0.18254144489765167,
-0.11201253533363342,
-0.0009167988901026547,
0.1318231225013733,
-0.03396829217672348,
0.03653242439031601,
0.06684734672307968,
0.01746862567961216,
-0.008063370361924171,
-0.0585893839597702,
0.1517564207315445,
0.005073773209005594,
-0.06464318186044693,
-0.07385889440774918,
0.07122418284416199,
-0.0743880495429039,
0.0027785112615674734,
-0.09104128181934357,
0.033032067120075226,
0.034626565873622894,
0.1190398558974266,
0.03599441424012184,
0.05477023497223854,
-0.00547143816947937,
0.019131546840071678,
-0.082149937748909,
-0.0002467703016009182,
0.09202005714178085,
-0.0013557724887505174,
-0.0658516138792038,
0.1816844642162323,
-0.2206447720527649,
0.27899327874183655,
0.1952611654996872,
-0.25086602568626404,
-0.0012796903029084206,
-0.05046873167157173,
-0.024302635341882706,
0.009012717753648758,
0.03184465691447258,
-0.0345887765288353,
0.027030693367123604,
0.001853116787970066,
0.18939761817455292,
-0.08032318949699402,
-0.054692208766937256,
0.01696394570171833,
-0.06572432816028595,
-0.00889666099101305,
0.07407653331756592,
0.02037988230586052,
-0.1779056042432785,
0.16426484286785126,
0.22829000651836395,
0.027782881632447243,
0.16066794097423553,
-0.028732746839523315,
-0.02422960102558136,
0.08590903878211975,
0.04938225448131561,
-0.01929461769759655,
-0.08733335882425308,
-0.14706960320472717,
-0.005799298640340567,
0.06671525537967682,
0.0331944115459919,
0.08133633434772491,
-0.1257777363061905,
-0.035219352692365646,
-0.006054159719496965,
-0.012105356901884079,
-0.003764690598472953,
0.0796225368976593,
0.06869948655366898,
0.14668452739715576,
-0.05436272919178009,
-0.03170657530426979,
0.11321033537387848,
0.00015288108261302114,
-0.12897004187107086,
0.2123214155435562,
-0.13112705945968628,
-0.3500449061393738,
-0.13757392764091492,
-0.11543409526348114,
-0.03425056114792824,
0.049044664949178696,
0.11867399513721466,
-0.10487551987171173,
-0.03322828188538551,
-0.04367593675851822,
0.05243159830570221,
-0.018740419298410416,
0.03871375694870949,
-0.07467611879110336,
0.06334592401981354,
-0.030497698113322258,
-0.08794684708118439,
-0.044612616300582886,
-0.014233731664717197,
-0.07277482002973557,
0.17241479456424713,
-0.09266693890094757,
0.0668841153383255,
0.18045181035995483,
-0.016993017867207527,
0.028631146997213364,
-0.05303109064698219,
0.14800941944122314,
-0.04461478441953659,
0.01375314686447382,
0.22711209952831268,
-0.08001486957073212,
0.08442170172929764,
0.13770505785942078,
-0.017544003203511238,
-0.06983531266450882,
0.06103195995092392,
-0.044184040278196335,
-0.07595254480838776,
-0.2756068706512451,
-0.11204160004854202,
-0.08640793710947037,
0.09454400837421417,
0.0423872135579586,
0.06168362498283386,
0.14293476939201355,
0.07982627302408218,
-0.026545649394392967,
-0.017556235194206238,
0.05370455980300903,
0.07733133435249329,
0.15720555186271667,
-0.005690626800060272,
0.1323367953300476,
-0.06866185367107391,
-0.1374557614326477,
0.07789924740791321,
0.03124650940299034,
0.1188078373670578,
0.030104506760835648,
0.008319568820297718,
0.023836743086576462,
0.10297903418540955,
0.13139384984970093,
0.1894381046295166,
0.026262784376740456,
-0.019559551030397415,
-0.004390801768749952,
-0.04527071490883827,
-0.04632410407066345,
0.005232527386397123,
-0.05393552780151367,
-0.09760570526123047,
-0.11102256178855896,
-0.04306785762310028,
0.10439226031303406,
0.11319441348314285,
0.06409615278244019,
-0.24357296526432037,
0.014975793659687042,
0.07834149152040482,
-0.024965938180685043,
-0.10637930035591125,
0.09881669282913208,
0.03594942018389702,
-0.100346140563488,
0.06649982929229736,
-0.05797400325536728,
0.09252319484949112,
-0.017963960766792297,
0.09135888516902924,
-0.06754805147647858,
-0.06569375842809677,
0.001795212971046567,
0.1027810350060463,
-0.30664128065109253,
0.21309952437877655,
-0.0037217072676867247,
-0.025047482922673225,
-0.09849151968955994,
-0.004999948665499687,
0.007853175513446331,
0.13927894830703735,
0.1269538551568985,
-0.008631451986730099,
-0.04300468787550926,
-0.09366187453269958,
-0.03393619880080223,
0.029339255765080452,
0.13599267601966858,
-0.003882002318277955,
0.024050777778029442,
-0.05330795422196388,
-0.020071966573596,
-0.011867654509842396,
-0.04880012571811676,
-0.04167436808347702,
-0.13399125635623932,
0.045096591114997864,
0.03687914088368416,
0.08018416166305542,
-0.029286285862326622,
-0.029924293980002403,
-0.08495460450649261,
0.18391413986682892,
-0.08039867132902145,
-0.10481857508420944,
-0.1130494549870491,
-0.07894527167081833,
0.038760870695114136,
-0.07807409018278122,
0.057537633925676346,
-0.06734679639339447,
0.038105323910713196,
-0.05970871075987816,
-0.21811847388744354,
0.12083312124013901,
-0.11055193096399307,
-0.08112946152687073,
-0.03567899018526077,
0.19915169477462769,
-0.08093933761119843,
-0.02490564063191414,
0.03287874907255173,
-0.0011195815168321133,
-0.06662339717149734,
-0.07380814850330353,
-0.004146885592490435,
-0.02036297880113125,
0.05965490639209747,
0.05569986626505852,
-0.09592974931001663,
-0.14444118738174438,
-0.03748392313718796,
0.004540481138974428,
0.29715046286582947,
0.1749718189239502,
-0.039292190223932266,
0.14324459433555603,
0.1646946221590042,
-0.06211446225643158,
-0.32555091381073,
-0.09436287730932236,
-0.11789409071207047,
-0.042933352291584015,
-0.004685397259891033,
-0.10199544578790665,
0.08977453410625458,
0.00903297122567892,
-0.015059919096529484,
0.09528990089893341,
-0.23658062517642975,
-0.09222576767206192,
0.17211642861366272,
0.057134486734867096,
0.3269825577735901,
-0.1469692587852478,
-0.08998095244169235,
-0.04387739673256874,
-0.10736225545406342,
0.15702003240585327,
-0.13732002675533295,
0.06546386331319809,
-0.0143206138163805,
0.051734741777181625,
0.05975619703531265,
-0.06288478523492813,
0.04381219297647476,
-0.024078678339719772,
0.042893778532743454,
-0.12052813917398453,
-0.027817687019705772,
0.07268507778644562,
-0.020974114537239075,
0.05706944316625595,
-0.0718645378947258,
0.06912804394960403,
-0.05739752948284149,
-0.034558650106191635,
-0.07966513186693192,
0.06899408251047134,
0.017969118431210518,
-0.06390142440795898,
0.034122876822948456,
-0.07273155450820923,
0.024045687168836594,
-0.007382215466350317,
0.1874428242444992,
-0.03458675369620323,
0.18709225952625275,
0.17667093873023987,
0.1510971337556839,
-0.10212135314941406,
0.07814952731132507,
-0.0556698814034462,
-0.08300277590751648,
0.06652552634477615,
-0.07258337736129761,
0.07576417177915573,
0.1046089380979538,
-0.03932522237300873,
0.05567764490842819,
0.10839525610208511,
0.01662464439868927,
-0.023773783817887306,
0.14955763518810272,
-0.28128793835639954,
-0.009873750619590282,
-0.07691800594329834,
-0.008703523315489292,
0.039052560925483704,
0.11223042756319046,
0.1777687966823578,
0.017956340685486794,
-0.025110214948654175,
-0.028430359438061714,
0.019110485911369324,
-0.03340765833854675,
0.08270938694477081,
0.024653973057866096,
0.03749255836009979,
-0.12081151455640793,
0.09678961336612701,
0.018579265102744102,
-0.15317969024181366,
0.012679996900260448,
0.17759168148040771,
-0.15349869430065155,
-0.1263720691204071,
0.017843790352344513,
0.11983443051576614,
-0.08611490577459335,
-0.057090166956186295,
-0.07028166949748993,
-0.1504032015800476,
0.057957135140895844,
0.23277345299720764,
0.05173589289188385,
0.09900384396314621,
-0.00882661622017622,
-0.04494570195674896,
-0.05560744181275368,
0.046427011489868164,
0.022703813388943672,
0.03152000531554222,
-0.12372815608978271,
0.09356994181871414,
-0.03043963573873043,
0.12374208122491837,
-0.09544230252504349,
-0.031899239867925644,
-0.15296372771263123,
0.027573807165026665,
-0.13555258512496948,
-0.0242990143597126,
-0.05913745239377022,
-0.03970114886760712,
-0.021438652649521828,
-0.008129797875881195,
-0.02464146539568901,
-0.03238646686077118,
-0.08965876698493958,
0.03521868586540222,
-0.025383181869983673,
0.019518161192536354,
-0.10164330899715424,
-0.028402304276823997,
0.05364561825990677,
-0.05343049392104149,
0.14074988663196564,
0.1147075891494751,
-0.1228610947728157,
0.1220439001917839,
-0.20692269504070282,
-0.09320499747991562,
0.1247253566980362,
0.0031567509286105633,
0.02877017855644226,
0.07406997680664062,
0.01803945004940033,
0.09038735181093216,
-0.0037275725044310093,
0.041068561375141144,
0.03904537111520767,
-0.10835062712430954,
0.0537957064807415,
-0.013691408559679985,
-0.13590946793556213,
-0.05937885120511055,
-0.06221901997923851,
0.03375997021794319,
-0.028628654778003693,
0.14162401854991913,
-0.08067537844181061,
0.10022095590829849,
-0.0844266265630722,
0.01348754670470953,
0.014811517670750618,
-0.17513328790664673,
-0.11433488130569458,
-0.043818533420562744,
0.04088956490159035,
-0.017380746081471443,
0.1929698884487152,
0.023067723959684372,
0.02692408859729767,
0.03216556832194328,
0.05076449364423752,
0.024071430787444115,
0.035377174615859985,
0.22308112680912018,
0.04262957721948624,
-0.07584645599126816,
-0.13304561376571655,
0.01831783913075924,
0.00927785225212574,
-0.03416908159852028,
0.16079497337341309,
0.07214422523975372,
-0.054697439074516296,
0.0820557251572609,
-0.006049701943993568,
0.03509305790066719,
-0.08891665935516357,
-0.1882639080286026,
-0.027205713093280792,
0.05019373074173927,
0.0023320061154663563,
0.07837031036615372,
0.1901959478855133,
0.010290713980793953,
0.004306815564632416,
-0.023898808285593987,
-0.05348346009850502,
-0.18366628885269165,
-0.13350901007652283,
-0.09239399433135986,
-0.09129210561513901,
0.003255362156778574,
-0.10872134566307068,
0.024390894919633865,
0.04455147311091423,
0.06646158546209335,
-0.06073542684316635,
0.1473955512046814,
0.08896403014659882,
-0.07801198959350586,
0.07117721438407898,
-0.01780334860086441,
0.06254850327968597,
0.03570236265659332,
-0.0328870564699173,
-0.07894306629896164,
0.0011720210313796997,
-0.03748229146003723,
0.04616250470280647,
-0.04737895354628563,
0.045220233500003815,
-0.14947400987148285,
-0.10546740889549255,
-0.01845165528357029,
0.06368082761764526,
-0.03925991803407669,
0.12999439239501953,
0.025686029344797134,
-0.03408705070614815,
0.03806775063276291,
0.22717328369617462,
-0.06706792861223221,
-0.12804058194160461,
-0.032084085047245026,
0.245566725730896,
0.04353565350174904,
0.09972580522298813,
0.008830278180539608,
-0.023777171969413757,
-0.053919486701488495,
0.32499855756759644,
0.27870017290115356,
-0.045939624309539795,
0.04848422110080719,
-0.02645430900156498,
0.02967064268887043,
0.08533251285552979,
0.15119066834449768,
0.09808921813964844,
0.27552706003189087,
-0.0556669645011425,
0.013453694991767406,
-0.0136133823543787,
0.007812326308339834,
-0.12184473872184753,
0.10684652626514435,
0.02503613755106926,
-0.05390141159296036,
-0.03650160878896713,
0.10169649124145508,
-0.19559593498706818,
0.12764312326908112,
-0.09891950339078903,
-0.14033344388008118,
-0.04259235039353371,
-0.007565367501229048,
0.1500301957130432,
-0.01375849824398756,
0.07171119004487991,
-0.014474024996161461,
-0.08438310772180557,
0.02329462207853794,
0.01825340837240219,
-0.17486833035945892,
0.02703937701880932,
0.02301861345767975,
-0.10156653076410294,
0.04294391721487045,
0.006778769660741091,
0.04868150129914284,
0.0723932534456253,
0.03916607424616814,
-0.06276191025972366,
0.09794819355010986,
0.0005644538905471563,
-0.021360531449317932,
0.0441475547850132,
0.038873087614774704,
0.014290844090282917,
-0.08564504981040955,
0.048733651638031006,
-0.15478314459323883,
0.03370216488838196,
-0.007873368449509144,
-0.052498213946819305,
-0.017468251287937164,
0.017448626458644867,
-0.027501827105879784,
0.04896531254053116,
0.07863836735486984,
-0.020524542778730392,
0.032693713903427124,
-0.0741741806268692,
-0.0125277079641819,
-0.005703784059733152,
-0.10463164001703262,
-0.050666071474552155,
-0.13572050631046295,
-0.06948401033878326,
0.1485082358121872,
0.005847989581525326,
-0.24800902605056763,
0.01754014566540718,
-0.12235534191131592,
0.041041694581508636,
-0.23508195579051971,
0.07975555956363678,
0.12098892033100128,
0.018161464482545853,
0.007574682589620352,
-0.011579309590160847,
0.03700852766633034,
0.11358796805143356,
-0.09846764802932739,
-0.09826955944299698
] |
null | null |
transformers
|
This model is a paraphrase detector trained on the Adversarial Paraphrasing datasets described and used in this paper: https://aclanthology.org/2021.acl-long.552/.
Github repository: https://github.com/Advancing-Machine-Human-Reasoning-Lab/apt.git
Please cite the following if you use this model:
```bib
@inproceedings{nighojkar-licato-2021-improving,
title = "Improving Paraphrase Detection with the Adversarial Paraphrasing Task",
author = "Nighojkar, Animesh and
Licato, John",
booktitle = "Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing (Volume 1: Long Papers)",
month = aug,
year = "2021",
address = "Online",
publisher = "Association for Computational Linguistics",
url = "https://aclanthology.org/2021.acl-long.552",
pages = "7106--7116",
abstract = "If two sentences have the same meaning, it should follow that they are equivalent in their inferential properties, i.e., each sentence should textually entail the other. However, many paraphrase datasets currently in widespread use rely on a sense of paraphrase based on word overlap and syntax. Can we teach them instead to identify paraphrases in a way that draws on the inferential properties of the sentences, and is not over-reliant on lexical and syntactic similarities of a sentence pair? We apply the adversarial paradigm to this question, and introduce a new adversarial method of dataset creation for paraphrase identification: the Adversarial Paraphrasing Task (APT), which asks participants to generate semantically equivalent (in the sense of mutually implicative) but lexically and syntactically disparate paraphrases. These sentence pairs can then be used both to test paraphrase identification models (which get barely random accuracy) and then improve their performance. To accelerate dataset generation, we explore automation of APT using T5, and show that the resulting dataset also improves accuracy. We discuss implications for paraphrase detection and release our dataset in the hope of making paraphrase detection models better able to detect sentence-level meaning equivalence.",
}
```
|
{}
|
text-classification
|
AMHR/adversarial-paraphrasing-detector
|
[
"transformers",
"pytorch",
"safetensors",
"roberta",
"text-classification",
"autotrain_compatible",
"endpoints_compatible",
"region:us"
] |
2022-03-02T23:29:05+00:00
|
[] |
[] |
TAGS
#transformers #pytorch #safetensors #roberta #text-classification #autotrain_compatible #endpoints_compatible #region-us
|
This model is a paraphrase detector trained on the Adversarial Paraphrasing datasets described and used in this paper: URL
Github repository: URL
Please cite the following if you use this model:
|
[] |
[
"TAGS\n#transformers #pytorch #safetensors #roberta #text-classification #autotrain_compatible #endpoints_compatible #region-us \n"
] |
[
42
] |
[
"passage: TAGS\n#transformers #pytorch #safetensors #roberta #text-classification #autotrain_compatible #endpoints_compatible #region-us \n"
] |
[
-0.028687525540590286,
0.05357837677001953,
-0.008051144890487194,
0.02121330052614212,
0.18056228756904602,
0.008536121807992458,
0.10035593807697296,
0.09559491276741028,
0.021165013313293457,
-0.015957044437527657,
0.1127614974975586,
0.22432823479175568,
-0.04488643258810043,
0.14961805939674377,
-0.1361830085515976,
-0.2550555169582367,
0.09017318487167358,
0.02369609847664833,
0.027832787483930588,
0.12280373275279999,
0.09783495962619781,
-0.09009058773517609,
0.05287287011742592,
-0.05070585757493973,
-0.09785091131925583,
0.023647451773285866,
0.05718918889760971,
-0.1523657888174057,
0.10643739998340607,
0.025555817410349846,
0.17115284502506256,
0.048184722661972046,
-0.05446022376418114,
-0.15328837931156158,
0.04500175639986992,
0.008868418633937836,
-0.08748690783977509,
0.03704885393381119,
0.07283347100019455,
-0.1362168937921524,
0.0197979137301445,
0.005970855243504047,
0.030576243996620178,
0.05220610648393631,
-0.13764233887195587,
-0.08703942596912384,
-0.015679989010095596,
0.03648972511291504,
0.08004462718963623,
0.07187248021364212,
-0.013943949714303017,
0.18568210303783417,
-0.12566176056861877,
0.1375054270029068,
0.09868274629116058,
-0.29195722937583923,
-0.020140940323472023,
0.07208111882209778,
0.03356672823429108,
0.052708398550748825,
-0.053229283541440964,
0.04895586520433426,
0.03549731895327568,
-0.006376679986715317,
0.014970123767852783,
-0.06349419802427292,
-0.1349799633026123,
-0.0054835183545947075,
-0.07942013442516327,
-0.04219941049814224,
0.17521651089191437,
-0.06053846701979637,
0.048617299646139145,
-0.06496677547693253,
-0.10622873157262802,
-0.007505121640861034,
-0.020201539620757103,
0.02106471173465252,
-0.047393154352903366,
0.042985763400793076,
0.02648822031915188,
0.025213440880179405,
-0.11297889053821564,
0.018354615196585655,
-0.19332897663116455,
0.2449568808078766,
0.022367993369698524,
0.03844251111149788,
-0.16031219065189362,
0.0455021858215332,
0.051323529332876205,
-0.11527538299560547,
0.05237147957086563,
-0.11573725193738937,
0.04763741418719292,
-0.026028281077742577,
-0.04576777294278145,
-0.051783908158540726,
0.13541893661022186,
0.16378942131996155,
-0.010150546208024025,
0.052606355398893356,
-0.044483087956905365,
0.08205068856477737,
0.0311953816562891,
0.09590413421392441,
0.03716582804918289,
-0.017036469653248787,
0.08940738439559937,
-0.07865145802497864,
0.043769966810941696,
-0.05804463103413582,
-0.1130538210272789,
-0.014178289100527763,
0.11133165657520294,
0.11841985583305359,
0.019680097699165344,
0.09998185932636261,
-0.053439658135175705,
0.009848693385720253,
0.09483878314495087,
-0.09009052067995071,
-0.00286822859197855,
0.02751816436648369,
0.042749010026454926,
0.03670160844922066,
-0.013163954950869083,
0.0001406454248353839,
-0.07429168373346329,
0.12228423357009888,
-0.04441437870264053,
-0.010570630431175232,
-0.016430392861366272,
-0.07107995450496674,
0.041426777839660645,
-0.11925705522298813,
0.03486739099025726,
-0.20263424515724182,
-0.10825727134943008,
-0.004694396164268255,
-0.0006538681336678565,
0.011702848598361015,
-0.025432176887989044,
-0.023370537906885147,
-0.008629834279417992,
0.023224301636219025,
-0.05615955963730812,
-0.09900694340467453,
-0.07529179751873016,
0.11329738795757294,
-0.023960789665579796,
0.06649302691221237,
-0.09213969111442566,
0.043317120522260666,
-0.12282411754131317,
-0.023155461996793747,
-0.13906267285346985,
0.021420307457447052,
-0.060733452439308167,
0.19523757696151733,
0.024639148265123367,
-0.03426804021000862,
-0.053747087717056274,
0.06121164932847023,
-0.06189485266804695,
0.18846091628074646,
-0.05172055587172508,
-0.08511020243167877,
0.25352224707603455,
-0.14154402911663055,
-0.1520945280790329,
0.10324986279010773,
-0.01216895692050457,
-0.006694854702800512,
0.12150928378105164,
0.20341061055660248,
0.08390066772699356,
-0.0021429932676255703,
0.05450264737010002,
0.0910419151186943,
-0.10571908950805664,
-0.09156394749879837,
-0.01977878250181675,
0.004970287438482046,
-0.12940698862075806,
0.0509643591940403,
0.07108232378959656,
0.06502484530210495,
-0.05122176557779312,
-0.04652746766805649,
-0.02547992393374443,
-0.02631751261651516,
0.11796171963214874,
0.052819423377513885,
0.08379749953746796,
-0.11410196125507355,
-0.01301014143973589,
-0.06504908949136734,
-0.003103498136624694,
0.01162157766520977,
0.009154658764600754,
-0.08006343990564346,
0.11529769003391266,
0.03819761052727699,
0.032176423817873,
-0.2082485556602478,
-0.10716935992240906,
-0.017610061913728714,
0.12259180843830109,
-0.03385048732161522,
0.0499425083398819,
0.05587891861796379,
-0.025704186409711838,
-0.01693795621395111,
-0.051369018852710724,
0.1861991435289383,
0.022664329037070274,
-0.0417642779648304,
-0.07898439466953278,
0.09121650457382202,
-0.07767072319984436,
0.04707082360982895,
-0.0945407822728157,
0.033437579870224,
0.0749025046825409,
0.10365236550569534,
0.019974110648036003,
0.06828706711530685,
-0.0035114099737256765,
0.053780265152454376,
-0.0629541277885437,
0.010569148696959019,
0.10277323424816132,
-0.0005315540474839509,
-0.07141530513763428,
0.1387539505958557,
-0.1787014901638031,
0.3387095332145691,
0.20280465483665466,
-0.2447892725467682,
-0.018307527527213097,
-0.019603203982114792,
-0.000624000676907599,
0.03637458384037018,
0.011823481880128384,
0.02661529742181301,
0.03594260662794113,
-0.008607544004917145,
0.18841056525707245,
-0.04855750501155853,
-0.04329128563404083,
0.005911396816372871,
-0.06494293361902237,
-0.02638426050543785,
0.10038795322179794,
0.005017680115997791,
-0.20793050527572632,
0.18424390256404877,
0.2098608911037445,
0.013231195509433746,
0.15390662848949432,
-0.022132787853479385,
0.06091843545436859,
0.09437524527311325,
-0.0036855540238320827,
-0.011818736791610718,
-0.06407582759857178,
-0.12641794979572296,
-0.029347272589802742,
0.06379223614931107,
0.0192562285810709,
0.04896288737654686,
-0.11387570202350616,
-0.05276139825582504,
-0.014295121654868126,
0.014125852845609188,
-0.01702273078262806,
0.08024405688047409,
0.06200481578707695,
0.1316721886396408,
-0.02840934693813324,
-0.08182787150144577,
0.09868922084569931,
-0.012210250832140446,
-0.07807506620883942,
0.2041827142238617,
-0.12403123080730438,
-0.35641878843307495,
-0.12418276071548462,
-0.14684775471687317,
-0.01430930383503437,
0.057747047394514084,
0.10973217338323593,
-0.11890494078397751,
-0.04324058070778847,
-0.0007837987504899502,
-0.026301728561520576,
-0.0025604928378015757,
0.03995449095964432,
-0.053971074521541595,
0.08929763734340668,
-0.02694692276418209,
-0.06773676723241806,
-0.06545247882604599,
-0.04588039964437485,
-0.04340643808245659,
0.17999723553657532,
-0.0960284024477005,
0.08838844299316406,
0.14430342614650726,
-0.014337943866848946,
0.03445785865187645,
-0.05251175910234451,
0.14604978263378143,
-0.08839847892522812,
-0.01784934476017952,
0.20199494063854218,
-0.08590759336948395,
0.08055099844932556,
0.16898398101329803,
0.011480960994958878,
-0.06806742399930954,
0.05007896199822426,
-0.046182781457901,
-0.08831911534070969,
-0.23398305475711823,
-0.14831389486789703,
-0.07547327876091003,
0.06805048882961273,
0.040501225739717484,
0.07742555439472198,
0.12228664010763168,
0.08204404264688492,
-0.013154292479157448,
-0.05536463484168053,
0.057813726365566254,
0.08001340925693512,
0.2091694325208664,
0.011235128156840801,
0.15463800728321075,
-0.07005049288272858,
-0.15075640380382538,
0.07244475930929184,
-0.014865296892821789,
0.10284514725208282,
0.07300306111574173,
-0.03617596998810768,
0.022798115387558937,
0.08151102066040039,
0.16239064931869507,
0.13600873947143555,
0.03619614988565445,
-0.028352156281471252,
-0.012917578220367432,
-0.008862030692398548,
-0.08344098925590515,
-0.011058352887630463,
-0.011077409610152245,
-0.11227833479642868,
-0.08565634489059448,
-0.10095768421888351,
0.12476317584514618,
0.08664648234844208,
0.03475816920399666,
-0.20997588336467743,
0.0068705277517437935,
0.10255434364080429,
-0.014334184117615223,
-0.09322701394557953,
0.09463687241077423,
-0.036214374005794525,
-0.1271391361951828,
0.11243819445371628,
-0.037678636610507965,
0.1123918890953064,
-0.07785673439502716,
0.07917766273021698,
-0.09205556660890579,
-0.10741183906793594,
0.008469371125102043,
0.10393676906824112,
-0.24764928221702576,
0.23624561727046967,
0.0063825384713709354,
-0.02396906539797783,
-0.06987612694501877,
-0.02889864332973957,
0.049811311066150665,
0.20977729558944702,
0.11106166988611221,
-0.010705395601689816,
-0.0931035503745079,
-0.16144949197769165,
-0.036591190844774246,
0.024681925773620605,
0.1129908487200737,
-0.012363116256892681,
-0.0007720108842477202,
-0.04980746656656265,
-0.026892034336924553,
-0.033920109272003174,
-0.09794943034648895,
0.005899900104850531,
-0.13991780579090118,
0.025717465206980705,
0.05151733011007309,
0.07728003710508347,
-0.019772108644247055,
-0.04247400909662247,
-0.11907421797513962,
0.17629963159561157,
-0.0943412333726883,
-0.08572119474411011,
-0.1030087023973465,
-0.08951152116060257,
0.008425500243902206,
-0.0853089839220047,
0.06565527617931366,
-0.08078784495592117,
0.029935374855995178,
-0.07544174045324326,
-0.1839129775762558,
0.1162954717874527,
-0.12050503492355347,
-0.07013790309429169,
-0.04547905921936035,
0.15918822586536407,
-0.07179775834083557,
-0.011930862441658974,
0.045498427003622055,
0.03160962834954262,
-0.07723617553710938,
-0.0847110003232956,
-0.006070843432098627,
-0.0025287463795393705,
0.05893851816654205,
0.08181621879339218,
-0.09463334828615189,
-0.17228421568870544,
-0.04075782373547554,
0.005448542069643736,
0.2634821832180023,
0.22065258026123047,
-0.05522479861974716,
0.1278686821460724,
0.16999582946300507,
-0.047345586121082306,
-0.35681891441345215,
-0.10636944323778152,
-0.13432654738426208,
-0.05758921056985855,
-0.022506171837449074,
-0.0961056798696518,
0.1178196594119072,
0.014942457899451256,
-0.03949359804391861,
0.06986929476261139,
-0.14639140665531158,
-0.08758215606212616,
0.20878203213214874,
0.0066594453528523445,
0.3874402344226837,
-0.14591927826404572,
-0.08249549567699432,
-0.0636710375547409,
-0.07315634936094284,
0.11284900456666946,
-0.07798133045434952,
0.06157802417874336,
-0.0018941548187285662,
-0.00215904344804585,
0.0470365434885025,
-0.05119771137833595,
0.08633345365524292,
-0.036393966525793076,
0.04593115299940109,
-0.12906810641288757,
-0.08657682687044144,
0.04123641178011894,
-0.019044602289795876,
0.0013887169770896435,
-0.03687390685081482,
0.03321627900004387,
-0.09738212078809738,
-0.04325532913208008,
-0.06387157738208771,
0.06891244649887085,
0.02934158593416214,
-0.02799014374613762,
0.007533113472163677,
-0.01600917987525463,
-0.008880393579602242,
0.005680275149643421,
0.2624731957912445,
-0.053298115730285645,
0.207061767578125,
0.1087726578116417,
0.14947538077831268,
-0.11818893998861313,
0.08521092683076859,
-0.0535595677793026,
-0.07671057432889938,
0.05562760680913925,
-0.05980202928185463,
0.07211682945489883,
0.09977073967456818,
-0.05637345463037491,
0.05348524823784828,
0.10181916505098343,
0.053793616592884064,
-0.01970146968960762,
0.17691640555858612,
-0.24682003259658813,
0.0005763924564234912,
-0.0343514010310173,
-0.005487521644681692,
0.058634281158447266,
0.10069156438112259,
0.14047035574913025,
0.0444621741771698,
-0.04863717406988144,
-0.01693565584719181,
0.018980342894792557,
0.012691697105765343,
0.063657246530056,
0.07029462605714798,
0.04138794168829918,
-0.12769213318824768,
0.0558137483894825,
0.039351146668195724,
-0.1515320986509323,
-0.008817311376333237,
0.13155698776245117,
-0.1713404655456543,
-0.1359114795923233,
-0.003029818180948496,
0.12071827054023743,
-0.0710398480296135,
-0.07518527656793594,
-0.08469753712415695,
-0.15104129910469055,
0.03759932518005371,
0.23905500769615173,
0.11622844636440277,
0.07967973500490189,
0.0017419878859072924,
-0.0443345345556736,
-0.01727883890271187,
0.027810322120785713,
0.010590997524559498,
0.02177119255065918,
-0.13366933166980743,
0.025486627593636513,
-0.010413159616291523,
0.12143415212631226,
-0.09977542608976364,
-0.05290146544575691,
-0.1783708930015564,
0.04474503919482231,
-0.0660024955868721,
-0.002245434559881687,
-0.07691054046154022,
-0.010120369493961334,
-0.01692410558462143,
-0.046502433717250824,
-0.03150279447436333,
-0.05717881768941879,
-0.09545788913965225,
0.04733770713210106,
-0.014737613499164581,
0.025869283825159073,
-0.10075892508029938,
-0.05455879122018814,
0.08499354869127274,
-0.03517667204141617,
0.11838100105524063,
0.09590063244104385,
-0.09763941913843155,
0.09349380433559418,
-0.2064322978258133,
-0.09777843207120895,
0.1414613276720047,
-0.000040834365790942684,
0.04127771407365799,
0.0658639445900917,
0.0404028482735157,
0.08315624296665192,
0.003812352893874049,
0.08022204786539078,
0.07299994677305222,
-0.11897262185811996,
0.08983026444911957,
-0.018279602751135826,
-0.16814731061458588,
-0.03457396477460861,
-0.06283866614103317,
0.09657544642686844,
-0.0372745506465435,
0.175554558634758,
-0.08704979717731476,
0.0849972814321518,
-0.053200483322143555,
0.01616283878684044,
-0.0161876417696476,
-0.22524885833263397,
-0.11346051096916199,
-0.0551878847181797,
0.029724178835749626,
-0.002843765774741769,
0.23892228305339813,
0.059128351509571075,
0.027141716331243515,
0.06242341175675392,
0.05767638608813286,
0.010062826797366142,
0.03636417165398598,
0.16902495920658112,
0.06896614283323288,
-0.06225694715976715,
-0.06868152320384979,
0.024818651378154755,
0.02150101587176323,
-0.0840960368514061,
0.1198815181851387,
0.10814256221055984,
-0.02691606804728508,
0.0555819533765316,
-0.0110814543440938,
0.0631573498249054,
-0.07232340425252914,
-0.17918190360069275,
-0.06016736477613449,
0.03748639300465584,
0.0328981839120388,
0.023631447926163673,
0.146884486079216,
0.0026433004532009363,
0.01722995936870575,
-0.061607059091329575,
-0.040862955152988434,
-0.193616583943367,
-0.07574476301670074,
-0.11609566956758499,
-0.07851025462150574,
0.0165273305028677,
-0.08360549807548523,
-0.04045351967215538,
0.06842494010925293,
0.04717373847961426,
-0.05272261053323746,
0.10506433993577957,
0.03136230632662773,
-0.03220399469137192,
0.0831017792224884,
-0.02797803469002247,
0.025991175323724747,
0.02994905784726143,
-0.04604106768965721,
-0.12475353479385376,
-0.016080649569630623,
-0.04435006529092789,
0.0447852648794651,
-0.06299641728401184,
0.034183941781520844,
-0.15767285227775574,
-0.11725696176290512,
-0.022203804925084114,
0.0733208954334259,
-0.034305911511182785,
0.11806819587945938,
0.0181909017264843,
-0.008031811565160751,
0.06349647790193558,
0.22537550330162048,
-0.03213720768690109,
-0.10814366489648819,
-0.033361662179231644,
0.24464012682437897,
0.06281514465808868,
0.11121105402708054,
-0.009794646874070168,
-0.019673621281981468,
-0.040056176483631134,
0.29380613565444946,
0.2987655997276306,
-0.03834248334169388,
0.07157011330127716,
-0.029159875586628914,
0.033186569809913635,
0.12427068501710892,
0.1324220597743988,
0.10565037280321121,
0.25367164611816406,
-0.05410556122660637,
-0.017002731561660767,
-0.02023966982960701,
-0.003884621663019061,
-0.14741107821464539,
0.06076105684041977,
0.03571495786309242,
-0.027772584930062294,
-0.07183908671140671,
0.12135129421949387,
-0.17450423538684845,
0.12612582743167877,
-0.006723157595843077,
-0.20173387229442596,
-0.0672672912478447,
-0.022110125049948692,
0.1437765657901764,
-0.005568705033510923,
0.06927821785211563,
-0.003113536164164543,
-0.10825800150632858,
-0.022247539833188057,
0.016543032601475716,
-0.1690586656332016,
-0.012068711221218109,
0.03188177943229675,
-0.02499835379421711,
0.0685410276055336,
-0.017356334254145622,
0.029364103451371193,
0.08199650049209595,
0.019354434683918953,
-0.029578445479273796,
0.10188102722167969,
0.0064616333693265915,
-0.03571145236492157,
0.041736286133527756,
0.008721070364117622,
0.001746322843246162,
-0.0854547768831253,
0.07708802819252014,
-0.1426282376050949,
0.05399128794670105,
-0.06522337347269058,
-0.07470900565385818,
-0.02300148457288742,
0.07814358919858932,
-0.052328191697597504,
0.04645124077796936,
0.07956159859895706,
-0.008192131295800209,
-0.0023664445616304874,
-0.042661264538764954,
-0.01466395054012537,
-0.005791082512587309,
-0.12926004827022552,
-0.10192789882421494,
-0.11432249844074249,
-0.06986135244369507,
0.11943621933460236,
0.014220036566257477,
-0.2061404585838318,
0.009836873039603233,
-0.1346365213394165,
0.05065581202507019,
-0.19764550030231476,
0.07481163740158081,
0.057710688561201096,
0.01441802829504013,
-0.007551587652415037,
-0.03651706501841545,
0.0420125313103199,
0.0855083242058754,
-0.10152594745159149,
-0.09494296461343765
] |
null | null |
transformers
|
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
should probably proofread and complete it, then remove this comment. -->
# distilbert-base-uncased-finetuned-ner
This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on the conll2003 dataset.
It achieves the following results on the evaluation set:
- Loss: 0.0611
- Precision: 0.9272
- Recall: 0.9382
- F1: 0.9327
- Accuracy: 0.9843
## Model description
More information needed
## Intended uses & limitations
More information needed
## Training and evaluation data
More information needed
## Training procedure
### Training hyperparameters
The following hyperparameters were used during training:
- learning_rate: 2e-05
- train_batch_size: 16
- eval_batch_size: 16
- seed: 42
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- num_epochs: 3
### Training results
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
|:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|
| 0.2432 | 1.0 | 878 | 0.0689 | 0.9132 | 0.9203 | 0.9168 | 0.9813 |
| 0.0507 | 2.0 | 1756 | 0.0608 | 0.9208 | 0.9346 | 0.9276 | 0.9835 |
| 0.03 | 3.0 | 2634 | 0.0611 | 0.9272 | 0.9382 | 0.9327 | 0.9843 |
### Framework versions
- Transformers 4.9.1
- Pytorch 1.9.0+cu102
- Datasets 1.10.2
- Tokenizers 0.10.3
|
{"license": "apache-2.0", "tags": ["generated_from_trainer"], "datasets": ["conll2003"], "metrics": ["precision", "recall", "f1", "accuracy"], "model_index": [{"name": "distilbert-base-uncased-finetuned-ner", "results": [{"task": {"name": "Token Classification", "type": "token-classification"}, "dataset": {"name": "conll2003", "type": "conll2003", "args": "conll2003"}, "metric": {"name": "Accuracy", "type": "accuracy", "value": 0.9843042559613643}}]}]}
|
token-classification
|
codingJacob/distilbert-base-uncased-finetuned-ner
|
[
"transformers",
"pytorch",
"tensorboard",
"distilbert",
"token-classification",
"generated_from_trainer",
"dataset:conll2003",
"license:apache-2.0",
"autotrain_compatible",
"endpoints_compatible",
"region:us"
] |
2022-03-02T23:29:05+00:00
|
[] |
[] |
TAGS
#transformers #pytorch #tensorboard #distilbert #token-classification #generated_from_trainer #dataset-conll2003 #license-apache-2.0 #autotrain_compatible #endpoints_compatible #region-us
|
distilbert-base-uncased-finetuned-ner
=====================================
This model is a fine-tuned version of distilbert-base-uncased on the conll2003 dataset.
It achieves the following results on the evaluation set:
* Loss: 0.0611
* Precision: 0.9272
* Recall: 0.9382
* F1: 0.9327
* Accuracy: 0.9843
Model description
-----------------
More information needed
Intended uses & limitations
---------------------------
More information needed
Training and evaluation data
----------------------------
More information needed
Training procedure
------------------
### Training hyperparameters
The following hyperparameters were used during training:
* learning\_rate: 2e-05
* train\_batch\_size: 16
* eval\_batch\_size: 16
* seed: 42
* optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
* lr\_scheduler\_type: linear
* num\_epochs: 3
### Training results
### Framework versions
* Transformers 4.9.1
* Pytorch 1.9.0+cu102
* Datasets 1.10.2
* Tokenizers 0.10.3
|
[
"### Training hyperparameters\n\n\nThe following hyperparameters were used during training:\n\n\n* learning\\_rate: 2e-05\n* train\\_batch\\_size: 16\n* eval\\_batch\\_size: 16\n* seed: 42\n* optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08\n* lr\\_scheduler\\_type: linear\n* num\\_epochs: 3",
"### Training results",
"### Framework versions\n\n\n* Transformers 4.9.1\n* Pytorch 1.9.0+cu102\n* Datasets 1.10.2\n* Tokenizers 0.10.3"
] |
[
"TAGS\n#transformers #pytorch #tensorboard #distilbert #token-classification #generated_from_trainer #dataset-conll2003 #license-apache-2.0 #autotrain_compatible #endpoints_compatible #region-us \n",
"### Training hyperparameters\n\n\nThe following hyperparameters were used during training:\n\n\n* learning\\_rate: 2e-05\n* train\\_batch\\_size: 16\n* eval\\_batch\\_size: 16\n* seed: 42\n* optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08\n* lr\\_scheduler\\_type: linear\n* num\\_epochs: 3",
"### Training results",
"### Framework versions\n\n\n* Transformers 4.9.1\n* Pytorch 1.9.0+cu102\n* Datasets 1.10.2\n* Tokenizers 0.10.3"
] |
[
65,
98,
4,
35
] |
[
"passage: TAGS\n#transformers #pytorch #tensorboard #distilbert #token-classification #generated_from_trainer #dataset-conll2003 #license-apache-2.0 #autotrain_compatible #endpoints_compatible #region-us \n### Training hyperparameters\n\n\nThe following hyperparameters were used during training:\n\n\n* learning\\_rate: 2e-05\n* train\\_batch\\_size: 16\n* eval\\_batch\\_size: 16\n* seed: 42\n* optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08\n* lr\\_scheduler\\_type: linear\n* num\\_epochs: 3### Training results### Framework versions\n\n\n* Transformers 4.9.1\n* Pytorch 1.9.0+cu102\n* Datasets 1.10.2\n* Tokenizers 0.10.3"
] |
[
-0.10243776440620422,
0.1049892008304596,
-0.0021710125729441643,
0.12102626264095306,
0.15939798951148987,
0.030168568715453148,
0.10768087208271027,
0.12212169170379639,
-0.11394107341766357,
0.030760886147618294,
0.1281885802745819,
0.1718761920928955,
0.010730183683335781,
0.1237901821732521,
-0.05844275653362274,
-0.2521221339702606,
-0.003949229139834642,
0.050735052675008774,
-0.07143525034189224,
0.12614279985427856,
0.09869438409805298,
-0.13893750309944153,
0.09160657972097397,
0.008175951428711414,
-0.2147892713546753,
0.005488565191626549,
0.008517582900822163,
-0.05673551931977272,
0.1338546872138977,
0.030085142701864243,
0.13233895599842072,
-0.006242361851036549,
0.08917433768510818,
-0.18057064712047577,
0.005798209458589554,
0.051102615892887115,
0.005419058725237846,
0.08798335492610931,
0.04635647311806679,
0.008862276561558247,
0.12378325313329697,
-0.07909873127937317,
0.05653917416930199,
0.012600377202033997,
-0.11483801901340485,
-0.21910078823566437,
-0.09303216636180878,
0.04512907564640045,
0.07656946778297424,
0.10070647299289703,
0.002280606422573328,
0.13965442776679993,
-0.08848868310451508,
0.09075838327407837,
0.21396373212337494,
-0.29848939180374146,
-0.06762485206127167,
0.0415889136493206,
0.009062004275619984,
0.0296491626650095,
-0.10861478745937347,
-0.041641008108854294,
0.05400405079126358,
0.04916823282837868,
0.12883500754833221,
-0.03869649022817612,
-0.1245604157447815,
0.017093971371650696,
-0.1392822563648224,
-0.02790496125817299,
0.1607603132724762,
0.03774169459939003,
-0.029194338247179985,
-0.047006960958242416,
-0.05664118751883507,
-0.16283611953258514,
-0.029413657262921333,
-0.00903012603521347,
0.046672217547893524,
-0.03525689244270325,
-0.06575310230255127,
0.010153000243008137,
-0.10879185795783997,
-0.06162232160568237,
-0.08933842182159424,
0.13625241816043854,
0.03554873540997505,
0.014883995056152344,
-0.02570764720439911,
0.10256047546863556,
0.006271742284297943,
-0.12452206760644913,
0.01566253788769245,
0.028204184025526047,
-0.0081758052110672,
-0.055665384978055954,
-0.05611230060458183,
-0.044329117983579636,
0.009355735033750534,
0.14285366237163544,
-0.05445451661944389,
0.03983210027217865,
0.048189908266067505,
0.039589881896972656,
-0.0804305300116539,
0.18094386160373688,
-0.05110080912709236,
-0.02208852954208851,
0.007070201449096203,
0.03824872523546219,
0.022723278030753136,
-0.0031849206425249577,
-0.12023283541202545,
0.007167878095060587,
0.09656953811645508,
0.003589751198887825,
-0.06706523150205612,
0.0735807716846466,
-0.06224915012717247,
-0.01970461942255497,
0.016744211316108704,
-0.09087521582841873,
0.039009638130664825,
-0.006341892760246992,
-0.0819212794303894,
-0.02015802636742592,
0.01635853387415409,
0.018608130514621735,
-0.008868183940649033,
0.12794071435928345,
-0.09530059248209,
0.02164669893682003,
-0.09617011994123459,
-0.10836349427700043,
0.029778234660625458,
-0.0929591953754425,
0.036078695207834244,
-0.09801019728183746,
-0.17394353449344635,
-0.012711998075246811,
0.062408700585365295,
-0.02480618841946125,
-0.06233299896121025,
-0.045962799340486526,
-0.08331296592950821,
0.013041784055531025,
-0.01708042621612549,
0.1306103765964508,
-0.06571897119283676,
0.09340227395296097,
0.03164998069405556,
0.06469087302684784,
-0.055050741881132126,
0.052452605217695236,
-0.10159862786531448,
0.015417005866765976,
-0.1587507277727127,
0.024529289454221725,
-0.05411113053560257,
0.07175275683403015,
-0.08764959871768951,
-0.10343310236930847,
0.015602665953338146,
-0.003099378664046526,
0.0680379644036293,
0.07789482921361923,
-0.17687585949897766,
-0.06901509314775467,
0.13751079142093658,
-0.07170064002275467,
-0.1266726851463318,
0.1102663204073906,
-0.0620151050388813,
0.039846163243055344,
0.05899772420525551,
0.15487514436244965,
0.06913886964321136,
-0.08922653645277023,
-0.015957368537783623,
0.012192335911095142,
0.04439935460686684,
-0.07857736200094223,
0.06720022857189178,
0.01180968713015318,
0.03428562358021736,
0.02658560685813427,
-0.023584648966789246,
0.05451100319623947,
-0.09037864953279495,
-0.09254498779773712,
-0.03735228627920151,
-0.095110222697258,
0.03175833821296692,
0.07904902845621109,
0.07099086791276932,
-0.09429540485143661,
-0.0809580609202385,
0.07814234495162964,
0.08815453946590424,
-0.05566182732582092,
0.027879152446985245,
-0.07008877396583557,
0.07066652178764343,
-0.03915758430957794,
-0.029435213655233383,
-0.183123379945755,
-0.03790711238980293,
0.00742976414039731,
0.0063100350089371204,
0.010604449547827244,
0.023842263966798782,
0.06472546607255936,
0.05691586807370186,
-0.053038906306028366,
-0.019714804366230965,
-0.01877216249704361,
0.00431181350722909,
-0.13101813197135925,
-0.1998385190963745,
-0.04002497345209122,
-0.0259532667696476,
0.13287757337093353,
-0.20502999424934387,
0.030305009335279465,
0.0077173663303256035,
0.09000322967767715,
0.021404504776000977,
-0.007190344389528036,
-0.04333668202161789,
0.08101759105920792,
-0.05054011195898056,
-0.05372773855924606,
0.06233752518892288,
0.014057938940823078,
-0.08374948799610138,
-0.05504342168569565,
-0.09445864707231522,
0.1683628410100937,
0.13795877993106842,
-0.11077272146940231,
-0.07943984866142273,
-0.011313346214592457,
-0.06510332971811295,
-0.03571796044707298,
-0.04314345493912697,
0.030743157491087914,
0.1644274741411209,
-0.013866362161934376,
0.14457708597183228,
-0.06785980612039566,
-0.05644750967621803,
0.020688310265541077,
-0.03151148557662964,
0.010544189251959324,
0.11252675950527191,
0.13173097372055054,
-0.07894401252269745,
0.1583278328180313,
0.1487964391708374,
-0.10037209838628769,
0.11999768018722534,
-0.04389987140893936,
-0.07132703065872192,
-0.02471138723194599,
-0.02617328241467476,
-0.0009018850396387279,
0.11099586635828018,
-0.12957249581813812,
0.001473036129027605,
0.029379652813076973,
0.019204558804631233,
0.02096354030072689,
-0.2218112349510193,
-0.0335552915930748,
0.026915254071354866,
-0.03220352530479431,
-0.0025595086626708508,
-0.015676409006118774,
0.0030180334579199553,
0.10186120867729187,
0.0065161846578121185,
-0.09183064848184586,
0.04918690398335457,
0.0056768907234072685,
-0.07412253320217133,
0.21148741245269775,
-0.0967470332980156,
-0.1425674557685852,
-0.11868420988321304,
-0.0822615697979927,
-0.04333653673529625,
0.012029355391860008,
0.05576074495911598,
-0.07447858154773712,
-0.04157325625419617,
-0.06611013412475586,
0.00008873963088262826,
-0.0037430133670568466,
0.035512443631887436,
0.01298787072300911,
0.002927806694060564,
0.060653675347566605,
-0.1057567372918129,
-0.010486400686204433,
-0.05492530018091202,
-0.05340863764286041,
0.04550940543413162,
0.04065345227718353,
0.11666835844516754,
0.153415709733963,
-0.01798343099653721,
0.009539859369397163,
-0.033443812280893326,
0.2316562682390213,
-0.06571326404809952,
-0.022992169484496117,
0.12559333443641663,
-0.009706517681479454,
0.045565325766801834,
0.1276344656944275,
0.06907734274864197,
-0.08922284096479416,
0.005874963942915201,
0.03741472586989403,
-0.032294414937496185,
-0.2171582579612732,
-0.05400118604302406,
-0.05820613354444504,
-0.010693433694541454,
0.09310732781887054,
0.028249019756913185,
0.041385866701602936,
0.06889577955007553,
0.04176270589232445,
0.09176710247993469,
-0.04223425313830376,
0.06201029196381569,
0.12635283172130585,
0.04814116656780243,
0.12378816306591034,
-0.04509304463863373,
-0.05698391795158386,
0.0446099154651165,
0.0021534590050578117,
0.22800996899604797,
-0.001836362760514021,
0.1307242214679718,
0.05674789845943451,
0.1732870191335678,
-0.008494412526488304,
0.07752511650323868,
-0.008909107185900211,
-0.041525471955537796,
-0.011484486982226372,
-0.03651047125458717,
-0.034825120121240616,
0.028736034408211708,
-0.05758783966302872,
0.06092369928956032,
-0.11268999427556992,
0.010710329748690128,
0.05739131569862366,
0.24590376019477844,
0.04531581327319145,
-0.32981789112091064,
-0.09460065513849258,
0.0044016651809215546,
-0.03210841119289398,
-0.023341912776231766,
0.030409500002861023,
0.10005632042884827,
-0.08446674048900604,
0.03485716134309769,
-0.06532580405473709,
0.08650185167789459,
-0.05103493109345436,
0.039779942482709885,
0.0948001816868782,
0.08895280212163925,
0.011548914015293121,
0.0817999392747879,
-0.2942866384983063,
0.2704963982105255,
0.008126570843160152,
0.07434862852096558,
-0.0784418061375618,
0.010393987409770489,
0.024102769792079926,
0.061848655343055725,
0.07467611134052277,
-0.015718882903456688,
-0.056099291890859604,
-0.1903323531150818,
-0.0476456917822361,
0.022252917289733887,
0.07418216019868851,
-0.015372509136795998,
0.09322164207696915,
-0.03034590557217598,
0.0040640393272042274,
0.07613283395767212,
-0.0156983844935894,
-0.03578605130314827,
-0.10533531755208969,
-0.008036600425839424,
0.034341827034950256,
-0.05386295169591904,
-0.06450437754392624,
-0.10925592482089996,
-0.12126075476408005,
0.16126884520053864,
-0.0437428243458271,
-0.0335940457880497,
-0.10993057489395142,
0.0905953124165535,
0.08021768182516098,
-0.08511652052402496,
0.04765809699892998,
0.006927995011210442,
0.07267668843269348,
0.037801552563905716,
-0.06747986376285553,
0.10738072544336319,
-0.07260654866695404,
-0.16226761043071747,
-0.06646318733692169,
0.09732238948345184,
0.02819342166185379,
0.06389795243740082,
-0.008350682444870472,
0.020612139254808426,
-0.041794806718826294,
-0.08742383867502213,
0.017404569312930107,
-0.002358651254326105,
0.0982637107372284,
0.013654865324497223,
-0.05878197029232979,
0.009832481853663921,
-0.04194249212741852,
-0.026994047686457634,
0.18774746358394623,
0.23381343483924866,
-0.10164518654346466,
0.013152304105460644,
0.025081124156713486,
-0.0698610246181488,
-0.20489922165870667,
0.04141239449381828,
0.05525420606136322,
0.005730392411351204,
0.026396984234452248,
-0.17047721147537231,
0.1492639034986496,
0.11609337478876114,
-0.014139227569103241,
0.09980880469083786,
-0.3156467080116272,
-0.12293852120637894,
0.12073541432619095,
0.1342155784368515,
0.09962218254804611,
-0.13827277719974518,
-0.017056765034794807,
-0.021246623247861862,
-0.14124013483524323,
0.12367123365402222,
-0.0826844871044159,
0.11161964386701584,
-0.026590585708618164,
0.08106814324855804,
0.0029239398427307606,
-0.06333675235509872,
0.11287461966276169,
0.03429235517978668,
0.10202746093273163,
-0.05806912109255791,
-0.047073327004909515,
0.047760121524333954,
-0.0369853712618351,
0.020062435418367386,
-0.06819907575845718,
0.02665695734322071,
-0.10238584131002426,
-0.022412370890378952,
-0.07015395909547806,
0.044019974768161774,
-0.03522653877735138,
-0.06667238473892212,
-0.04700673371553421,
0.03442367538809776,
0.05071283504366875,
-0.01468201819807291,
0.14863118529319763,
0.03728995472192764,
0.13713695108890533,
0.10172239691019058,
0.0777042880654335,
-0.07754932343959808,
-0.06605857610702515,
-0.013646493665874004,
-0.018106041476130486,
0.05777617543935776,
-0.13422751426696777,
0.029396358877420425,
0.1525593400001526,
0.02348828874528408,
0.13170240819454193,
0.08559127897024155,
-0.019118590280413628,
0.0048040891997516155,
0.06706026196479797,
-0.16223928332328796,
-0.06743695586919785,
0.0040131378918886185,
-0.053972359746694565,
-0.11454647034406662,
0.057846516370773315,
0.08898710459470749,
-0.06267454475164413,
-0.006651500705629587,
-0.000697484181728214,
0.007013208698481321,
-0.05727008730173111,
0.19668184220790863,
0.059739045798778534,
0.041224610060453415,
-0.1045016497373581,
0.07461506128311157,
0.05137090012431145,
-0.08217273652553558,
0.004505918361246586,
0.05933027341961861,
-0.08397160470485687,
-0.045597054064273834,
0.07288600504398346,
0.16140246391296387,
-0.05733152851462364,
-0.05291256308555603,
-0.12611347436904907,
-0.11892793327569962,
0.08276994526386261,
0.15708278119564056,
0.11758136749267578,
0.02631368301808834,
-0.0556241013109684,
0.010360436514019966,
-0.12791791558265686,
0.08972928673028946,
0.03736536577343941,
0.0737275630235672,
-0.15635192394256592,
0.15648193657398224,
0.00016675217193551362,
0.041252993047237396,
-0.019813407212495804,
0.03751946613192558,
-0.10875628143548965,
0.008010578341782093,
-0.1026129275560379,
-0.020450320094823837,
-0.04734325036406517,
0.008289968594908714,
0.009121467359364033,
-0.055036384612321854,
-0.06317882984876633,
0.014388144947588444,
-0.10958481580018997,
-0.015318986028432846,
0.036997195333242416,
0.05845218151807785,
-0.11790308356285095,
-0.04233810305595398,
0.019109850749373436,
-0.06002543866634369,
0.07108569890260696,
0.042550694197416306,
0.029558666050434113,
0.05381140857934952,
-0.1268480271100998,
0.004682954400777817,
0.07742630690336227,
0.020798007026314735,
0.08074328303337097,
-0.09030260890722275,
-0.009414422325789928,
0.00936043355613947,
0.04600847139954567,
0.016611743718385696,
0.07160835713148117,
-0.13656939566135406,
-0.0028890082612633705,
-0.028191188350319862,
-0.08325526863336563,
-0.06899061799049377,
0.028269087895751,
0.10809638351202011,
0.008038154803216457,
0.21083682775497437,
-0.07028166204690933,
0.029553284868597984,
-0.1982090175151825,
0.005254143383353949,
-0.013800335116684437,
-0.10847029834985733,
-0.12392618507146835,
-0.05343145877122879,
0.06011104956269264,
-0.056194085627794266,
0.1441100835800171,
0.022933077067136765,
0.033960212022066116,
0.030872344970703125,
-0.020317858085036278,
0.013903261162340641,
0.026292674243450165,
0.2056591510772705,
0.032138098031282425,
-0.039588164538145065,
0.05754733458161354,
0.04724040627479553,
0.10396067053079605,
0.11228209733963013,
0.1942494511604309,
0.13956813514232635,
-0.009888148866593838,
0.09731744974851608,
0.03541289269924164,
-0.07337848097085953,
-0.16285263001918793,
0.04752723500132561,
-0.055813759565353394,
0.10280831903219223,
-0.02126147970557213,
0.21602821350097656,
0.057633209973573685,
-0.1722635179758072,
0.03244457021355629,
-0.06138213351368904,
-0.08714832365512848,
-0.103763148188591,
-0.0543283112347126,
-0.08459451049566269,
-0.12709040939807892,
0.003092728788033128,
-0.1218913123011589,
0.008963312953710556,
0.11407753825187683,
0.007571985945105553,
-0.021857455372810364,
0.1524038165807724,
0.0017414179164916277,
0.03978516906499863,
0.04227185621857643,
0.016358470544219017,
-0.03384367749094963,
-0.10784552246332169,
-0.06212591752409935,
-0.029936209321022034,
-0.02066405862569809,
0.03511732071638107,
-0.06066630780696869,
-0.04155346751213074,
0.036962635815143585,
-0.01595921814441681,
-0.08776848763227463,
0.008232975378632545,
0.019431423395872116,
0.05966070294380188,
0.035980209708213806,
0.009536794386804104,
0.022582292556762695,
-0.009612216614186764,
0.2015669196844101,
-0.08181998878717422,
-0.07163650542497635,
-0.11354750394821167,
0.24320392310619354,
0.042900435626506805,
-0.0070312293246388435,
0.036987658590078354,
-0.0691671296954155,
-0.0020272312685847282,
0.24072003364562988,
0.1993555873632431,
-0.08261197805404663,
-0.0108750369399786,
0.014958007261157036,
-0.009459174238145351,
-0.03566429764032364,
0.1018562763929367,
0.13806788623332977,
0.06881674379110336,
-0.08976452052593231,
-0.05878429487347603,
-0.05751057341694832,
-0.00870225578546524,
-0.03963327780365944,
0.054579924792051315,
0.04033491760492325,
0.0013770994264632463,
-0.03659849613904953,
0.045904289931058884,
-0.06586185842752457,
-0.09781167656183243,
0.07798750698566437,
-0.20970425009727478,
-0.16098663210868835,
-0.005435017868876457,
0.10502709448337555,
-0.00035085208946838975,
0.06326078623533249,
-0.029506389051675797,
-0.004590048920363188,
0.08302517235279083,
-0.018535690382122993,
-0.10326638072729111,
-0.0689537301659584,
0.09658729285001755,
-0.09361698478460312,
0.2172793596982956,
-0.04752610996365547,
0.07686088234186172,
0.1326352059841156,
0.06570334732532501,
-0.08428661525249481,
0.05760931968688965,
0.047939665615558624,
-0.07697317004203796,
0.02794361114501953,
0.07011618465185165,
-0.03644600510597229,
0.0809771791100502,
0.043490778654813766,
-0.13383905589580536,
0.01938577927649021,
-0.06456416845321655,
-0.04987526312470436,
-0.04859229922294617,
-0.031732190400362015,
-0.05827686935663223,
0.1349560022354126,
0.21101725101470947,
-0.028213031589984894,
-0.004675296135246754,
-0.06599005311727524,
0.018419740721583366,
0.05390650033950806,
0.031228119507431984,
-0.06359205394983292,
-0.22014367580413818,
0.02272561565041542,
0.0364864356815815,
-0.02012505941092968,
-0.20455758273601532,
-0.0911770612001419,
0.004633642267435789,
-0.07418659329414368,
-0.09972777962684631,
0.07713203132152557,
0.08158522099256516,
0.047840483486652374,
-0.06437139213085175,
-0.038158953189849854,
-0.0798434466123581,
0.14165586233139038,
-0.14009395241737366,
-0.09666896611452103
] |
null | null |
transformers
|
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
should probably proofread and complete it, then remove this comment. -->
# distilbert-base-uncased-finetuned-ner
This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on the conll2003 dataset.
It achieves the following results on the evaluation set:
- Loss: 0.0605
- Precision: 0.9251
- Recall: 0.9357
- F1: 0.9304
- Accuracy: 0.9837
## 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.2402 | 1.0 | 878 | 0.0694 | 0.9168 | 0.9215 | 0.9191 | 0.9814 |
| 0.051 | 2.0 | 1756 | 0.0595 | 0.9249 | 0.9330 | 0.9289 | 0.9833 |
| 0.0302 | 3.0 | 2634 | 0.0605 | 0.9251 | 0.9357 | 0.9304 | 0.9837 |
### Framework versions
- Transformers 4.9.2
- Pytorch 1.9.0+cu102
- Datasets 1.11.0
- Tokenizers 0.10.3
|
{"license": "apache-2.0", "tags": ["generated_from_trainer"], "datasets": ["conll2003"], "metrics": ["precision", "recall", "f1", "accuracy"], "model_index": [{"name": "distilbert-base-uncased-finetuned-ner", "results": [{"task": {"name": "Token Classification", "type": "token-classification"}, "dataset": {"name": "conll2003", "type": "conll2003", "args": "conll2003"}, "metric": {"name": "Accuracy", "type": "accuracy", "value": 0.9837323462595516}}]}]}
|
token-classification
|
cogito233/distilbert-base-uncased-finetuned-ner
|
[
"transformers",
"pytorch",
"tensorboard",
"distilbert",
"token-classification",
"generated_from_trainer",
"dataset:conll2003",
"license:apache-2.0",
"autotrain_compatible",
"endpoints_compatible",
"region:us"
] |
2022-03-02T23:29:05+00:00
|
[] |
[] |
TAGS
#transformers #pytorch #tensorboard #distilbert #token-classification #generated_from_trainer #dataset-conll2003 #license-apache-2.0 #autotrain_compatible #endpoints_compatible #region-us
|
distilbert-base-uncased-finetuned-ner
=====================================
This model is a fine-tuned version of distilbert-base-uncased on the conll2003 dataset.
It achieves the following results on the evaluation set:
* Loss: 0.0605
* Precision: 0.9251
* Recall: 0.9357
* F1: 0.9304
* Accuracy: 0.9837
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
### Framework versions
* Transformers 4.9.2
* Pytorch 1.9.0+cu102
* Datasets 1.11.0
* Tokenizers 0.10.3
|
[
"### Training hyperparameters\n\n\nThe following hyperparameters were used during training:\n\n\n* learning\\_rate: 2e-05\n* train\\_batch\\_size: 16\n* eval\\_batch\\_size: 16\n* seed: 42\n* optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08\n* lr\\_scheduler\\_type: linear\n* num\\_epochs: 3",
"### Training results",
"### Framework versions\n\n\n* Transformers 4.9.2\n* Pytorch 1.9.0+cu102\n* Datasets 1.11.0\n* Tokenizers 0.10.3"
] |
[
"TAGS\n#transformers #pytorch #tensorboard #distilbert #token-classification #generated_from_trainer #dataset-conll2003 #license-apache-2.0 #autotrain_compatible #endpoints_compatible #region-us \n",
"### Training hyperparameters\n\n\nThe following hyperparameters were used during training:\n\n\n* learning\\_rate: 2e-05\n* train\\_batch\\_size: 16\n* eval\\_batch\\_size: 16\n* seed: 42\n* optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08\n* lr\\_scheduler\\_type: linear\n* num\\_epochs: 3",
"### Training results",
"### Framework versions\n\n\n* Transformers 4.9.2\n* Pytorch 1.9.0+cu102\n* Datasets 1.11.0\n* Tokenizers 0.10.3"
] |
[
65,
98,
4,
34
] |
[
"passage: TAGS\n#transformers #pytorch #tensorboard #distilbert #token-classification #generated_from_trainer #dataset-conll2003 #license-apache-2.0 #autotrain_compatible #endpoints_compatible #region-us \n### Training hyperparameters\n\n\nThe following hyperparameters were used during training:\n\n\n* learning\\_rate: 2e-05\n* train\\_batch\\_size: 16\n* eval\\_batch\\_size: 16\n* seed: 42\n* optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08\n* lr\\_scheduler\\_type: linear\n* num\\_epochs: 3### Training results### Framework versions\n\n\n* Transformers 4.9.2\n* Pytorch 1.9.0+cu102\n* Datasets 1.11.0\n* Tokenizers 0.10.3"
] |
[
-0.10257266461849213,
0.10689127445220947,
-0.002135234186425805,
0.11783239245414734,
0.16193117201328278,
0.03428632393479347,
0.11159374564886093,
0.1199946179986,
-0.11583255976438522,
0.02691405825316906,
0.1255667805671692,
0.1717144101858139,
0.011411176063120365,
0.11925674974918365,
-0.05559837818145752,
-0.2487507313489914,
-0.0050977603532373905,
0.0522906668484211,
-0.07939406484365463,
0.12719814479351044,
0.09692419320344925,
-0.13894835114479065,
0.08975819498300552,
0.009629743173718452,
-0.22011429071426392,
0.006540716625750065,
0.010389287956058979,
-0.057057563215494156,
0.13262182474136353,
0.029448775574564934,
0.13713768124580383,
-0.003716002916917205,
0.09055202454328537,
-0.17385700345039368,
0.006272798869758844,
0.052835170179605484,
0.0055535021238029,
0.09148404747247696,
0.050162628293037415,
0.011551780626177788,
0.12215645611286163,
-0.07205011695623398,
0.05806273967027664,
0.01780826784670353,
-0.11502990126609802,
-0.22369509935379028,
-0.09116529673337936,
0.04274629056453705,
0.07282238453626633,
0.09951849281787872,
0.0035151084885001183,
0.1422019600868225,
-0.09048224240541458,
0.08911260962486267,
0.21023422479629517,
-0.2951172888278961,
-0.06758634001016617,
0.05217491090297699,
0.009363980032503605,
0.03534988686442375,
-0.1067875474691391,
-0.03958957642316818,
0.05534925311803818,
0.046875372529029846,
0.12972596287727356,
-0.03650148585438728,
-0.1260860413312912,
0.014966495335102081,
-0.14231173694133759,
-0.025553254410624504,
0.16703489422798157,
0.038535814732313156,
-0.030252106487751007,
-0.03985200077295303,
-0.05689819157123566,
-0.1617071032524109,
-0.027330685406923294,
-0.011657587252557278,
0.04668330028653145,
-0.03675147145986557,
-0.06589055806398392,
0.005668020807206631,
-0.10775914043188095,
-0.06914613395929337,
-0.08780388534069061,
0.1443527787923813,
0.0368361622095108,
0.016550743952393532,
-0.021145397797226906,
0.10674230754375458,
0.00971375685185194,
-0.12006071954965591,
0.019876087084412575,
0.026162317022681236,
-0.009843269363045692,
-0.05536011606454849,
-0.05809292942285538,
-0.049120452255010605,
0.009916664101183414,
0.13790027797222137,
-0.05680856108665466,
0.03978908807039261,
0.05018801614642143,
0.04173600301146507,
-0.08285925537347794,
0.1809801608324051,
-0.05219833552837372,
-0.019810758531093597,
0.004370763897895813,
0.04092414304614067,
0.019125914201140404,
-0.0011338405311107635,
-0.12023103982210159,
0.005745219998061657,
0.09535814821720123,
0.004147795494645834,
-0.0673273429274559,
0.07369008660316467,
-0.06398935616016388,
-0.025726698338985443,
0.015794064849615097,
-0.08938533812761307,
0.034558866173028946,
-0.004574921447783709,
-0.08451719582080841,
-0.021282393485307693,
0.019698476418852806,
0.016817890107631683,
-0.007298739161342382,
0.12088781595230103,
-0.09639383852481842,
0.020484885200858116,
-0.09818141907453537,
-0.11038532853126526,
0.02505374513566494,
-0.09409861266613007,
0.03253860026597977,
-0.09892499446868896,
-0.1720694601535797,
-0.012580150738358498,
0.060904596000909805,
-0.024498632177710533,
-0.061558470129966736,
-0.04173995554447174,
-0.07972116023302078,
0.01089392974972725,
-0.01502831932157278,
0.1295744776725769,
-0.06541511416435242,
0.09588607400655746,
0.030656039714813232,
0.06229865550994873,
-0.05430718883872032,
0.05421668663620949,
-0.09912177920341492,
0.012169446796178818,
-0.15596827864646912,
0.02302655763924122,
-0.0580003447830677,
0.06652257591485977,
-0.08765943348407745,
-0.10298271477222443,
0.014162926003336906,
-0.0024995552375912666,
0.06516057997941971,
0.07721677422523499,
-0.1743832230567932,
-0.07234153896570206,
0.13466539978981018,
-0.0705799087882042,
-0.12353990226984024,
0.10888886451721191,
-0.05844981223344803,
0.03993016481399536,
0.057887036353349686,
0.15287919342517853,
0.07796791940927505,
-0.08645305782556534,
-0.011347244493663311,
0.014711123891174793,
0.04509470611810684,
-0.0798424482345581,
0.06966478377580643,
0.00721197621896863,
0.028078114613890648,
0.027316497638821602,
-0.02634434401988983,
0.05395751819014549,
-0.09317413717508316,
-0.09314049035310745,
-0.037830471992492676,
-0.0995723307132721,
0.036145031452178955,
0.07926076650619507,
0.07186107337474823,
-0.09282150864601135,
-0.07972051948308945,
0.08177598565816879,
0.09495457261800766,
-0.054760877043008804,
0.025125721469521523,
-0.0675840750336647,
0.07223954796791077,
-0.0422675646841526,
-0.029698945581912994,
-0.1829986423254013,
-0.03942184895277023,
0.008636033162474632,
0.003021247684955597,
0.014840368181467056,
0.0323185957968235,
0.0657239630818367,
0.06324545294046402,
-0.05484577268362045,
-0.02317681536078453,
-0.02954741381108761,
0.003665232565253973,
-0.12872639298439026,
-0.20204247534275055,
-0.04039756581187248,
-0.024224642664194107,
0.13936825096607208,
-0.20367403328418732,
0.03207268938422203,
0.0034518050961196423,
0.09040891379117966,
0.023119863122701645,
-0.009218372404575348,
-0.04154008999466896,
0.08245464414358139,
-0.049712829291820526,
-0.05316980183124542,
0.06453173607587814,
0.01075131818652153,
-0.08585108071565628,
-0.06103229895234108,
-0.09580741077661514,
0.1701965481042862,
0.13829614222049713,
-0.11520227044820786,
-0.07954493910074234,
-0.011012527160346508,
-0.0651334598660469,
-0.03459090739488602,
-0.04043775424361229,
0.03110075742006302,
0.15772640705108643,
-0.017081089317798615,
0.14647769927978516,
-0.06630313396453857,
-0.05142214894294739,
0.019305195659399033,
-0.03025737777352333,
0.011807989329099655,
0.11129029095172882,
0.13593634963035583,
-0.07543794810771942,
0.15852738916873932,
0.15036776661872864,
-0.10311073809862137,
0.12658628821372986,
-0.04442308843135834,
-0.0727008581161499,
-0.02193276397883892,
-0.026427753269672394,
-0.0010437191231176257,
0.11050189286470413,
-0.127411887049675,
0.003578177886083722,
0.029975246638059616,
0.01902511715888977,
0.02199140377342701,
-0.22291326522827148,
-0.03310355916619301,
0.027333125472068787,
-0.0332387313246727,
0.0037354982923716307,
-0.015661634504795074,
0.0035482558887451887,
0.10398665815591812,
0.004884182941168547,
-0.0900135487318039,
0.0477588027715683,
0.005060550756752491,
-0.07159095257520676,
0.21253779530525208,
-0.09733790159225464,
-0.14268039166927338,
-0.12187550961971283,
-0.07525323331356049,
-0.048345983028411865,
0.013522164896130562,
0.05219174921512604,
-0.0788089707493782,
-0.0390995554625988,
-0.06355657428503036,
0.004568812437355518,
-0.004871648736298084,
0.03657187893986702,
0.01143302209675312,
0.005730183329433203,
0.06656189262866974,
-0.10988134890794754,
-0.006333136931061745,
-0.0577835887670517,
-0.06237242370843887,
0.04380995035171509,
0.04271816834807396,
0.11711698770523071,
0.15721161663532257,
-0.017557168379426003,
0.00851417612284422,
-0.031156061217188835,
0.2288646250963211,
-0.06593994796276093,
-0.028961263597011566,
0.12919208407402039,
-0.009929496794939041,
0.04220135137438774,
0.1190226599574089,
0.07230554521083832,
-0.08674050122499466,
0.005436392035335302,
0.03942713886499405,
-0.031324706971645355,
-0.21948863565921783,
-0.055578336119651794,
-0.05598044395446777,
-0.008511992171406746,
0.09054353833198547,
0.02822740375995636,
0.044122133404016495,
0.06960738450288773,
0.039248038083314896,
0.08881890028715134,
-0.04343678802251816,
0.05972421541810036,
0.12310957163572311,
0.04629362002015114,
0.12503637373447418,
-0.04454752430319786,
-0.05460190400481224,
0.0454937182366848,
0.0019419236341491342,
0.22716905176639557,
-0.0005727194366045296,
0.12647686898708344,
0.06008889898657799,
0.1749647557735443,
-0.00833900086581707,
0.07291427999734879,
-0.005746134556829929,
-0.03987148404121399,
-0.012472844682633877,
-0.03708015754818916,
-0.034347862005233765,
0.02586940862238407,
-0.05287307873368263,
0.06403771042823792,
-0.11345787346363068,
0.005682764574885368,
0.05716291815042496,
0.24149414896965027,
0.044431421905756,
-0.3312619626522064,
-0.09660900384187698,
0.0024477827828377485,
-0.02735011652112007,
-0.02160869725048542,
0.027949295938014984,
0.09697362780570984,
-0.08471434563398361,
0.031649306416511536,
-0.0657590702176094,
0.08480478078126907,
-0.051121246069669724,
0.03825845941901207,
0.09628364443778992,
0.0979205071926117,
0.011953654699027538,
0.08082187920808792,
-0.29160138964653015,
0.2690572738647461,
0.008924073539674282,
0.07132874429225922,
-0.07321619242429733,
0.009845796972513199,
0.026299722492694855,
0.0662982240319252,
0.06555520743131638,
-0.015949413180351257,
-0.04154850170016289,
-0.1958675980567932,
-0.046585485339164734,
0.021205075085163116,
0.07501678913831711,
-0.019492635503411293,
0.09044121205806732,
-0.030884578824043274,
0.005687625613063574,
0.07824200391769409,
-0.019253045320510864,
-0.04602174833416939,
-0.1021808534860611,
-0.005905162543058395,
0.033588957041502,
-0.05099212005734444,
-0.06550386548042297,
-0.1113305613398552,
-0.1207781657576561,
0.16339445114135742,
-0.04703390598297119,
-0.031653087586164474,
-0.11149590462446213,
0.09101971238851547,
0.08141118288040161,
-0.08343981951475143,
0.050548676401376724,
0.004768820945173502,
0.07102912664413452,
0.041531674563884735,
-0.06969762593507767,
0.1052062064409256,
-0.07477688789367676,
-0.1645338386297226,
-0.06491687148809433,
0.09525387734174728,
0.02993704192340374,
0.06441383808851242,
-0.013187172822654247,
0.017573650926351547,
-0.038901329040527344,
-0.08625425398349762,
0.0225649606436491,
0.0027792404871433973,
0.09741127490997314,
0.02260586805641651,
-0.06394831836223602,
0.005972160957753658,
-0.0410202331840992,
-0.02972317487001419,
0.18561892211437225,
0.23374448716640472,
-0.1017196998000145,
0.012011860497295856,
0.029208404943346977,
-0.06888892501592636,
-0.2048378884792328,
0.046403009444475174,
0.057852063328027725,
0.0047014919109642506,
0.032089963555336,
-0.17762093245983124,
0.14529697597026825,
0.11783050000667572,
-0.015021003782749176,
0.10179189592599869,
-0.3191489577293396,
-0.12212952226400375,
0.12492790818214417,
0.13922272622585297,
0.09984779357910156,
-0.14013047516345978,
-0.018513884395360947,
-0.019863026216626167,
-0.13842298090457916,
0.12493053823709488,
-0.0876714289188385,
0.11659301817417145,
-0.028129810467362404,
0.07395990192890167,
0.0026967802550643682,
-0.06176922842860222,
0.11551443487405777,
0.027484368532896042,
0.10084055364131927,
-0.05619349703192711,
-0.040298499166965485,
0.04670201241970062,
-0.03348155319690704,
0.015739601105451584,
-0.0655851662158966,
0.028645936399698257,
-0.09789232909679413,
-0.021353380754590034,
-0.07207971066236496,
0.048725806176662445,
-0.03406777232885361,
-0.06913526356220245,
-0.04665534198284149,
0.03562808036804199,
0.04485441744327545,
-0.01702725887298584,
0.14202144742012024,
0.037332117557525635,
0.14171113073825836,
0.1047665923833847,
0.07376423478126526,
-0.07037815451622009,
-0.06986622512340546,
-0.01626497134566307,
-0.018700022250413895,
0.062000952661037445,
-0.12901175022125244,
0.026952475309371948,
0.14903636276721954,
0.020929526537656784,
0.1332315057516098,
0.08632484823465347,
-0.0217620637267828,
0.005286148749291897,
0.06646241992712021,
-0.16259565949440002,
-0.06390699744224548,
0.0015072595560923219,
-0.057025227695703506,
-0.11260165274143219,
0.06244749203324318,
0.09178977459669113,
-0.06449292600154877,
-0.006214931607246399,
0.00014366250252351165,
0.0046936827711761,
-0.056346770375967026,
0.20090271532535553,
0.06305893510580063,
0.04165611043572426,
-0.1020943894982338,
0.07907908409833908,
0.05045801401138306,
-0.07640902698040009,
0.0015616881428286433,
0.05322441831231117,
-0.0852014422416687,
-0.04552051052451134,
0.07263685017824173,
0.1598092019557953,
-0.060386862605810165,
-0.05363338813185692,
-0.1316606104373932,
-0.11792398244142532,
0.081228107213974,
0.15180635452270508,
0.11949104070663452,
0.025165241211652756,
-0.05469372496008873,
0.014029556885361671,
-0.12603920698165894,
0.09054654091596603,
0.035625867545604706,
0.07468850165605545,
-0.1593312919139862,
0.16073296964168549,
0.0047991215251386166,
0.04003587365150452,
-0.020474154502153397,
0.03668485954403877,
-0.10853808373212814,
0.006130939815193415,
-0.10515554249286652,
-0.02810758724808693,
-0.0387374609708786,
0.008668601512908936,
0.007569545414298773,
-0.057304251939058304,
-0.06301896274089813,
0.01565830036997795,
-0.1115681529045105,
-0.016295142471790314,
0.03991443291306496,
0.060321494936943054,
-0.11697385460138321,
-0.04070170223712921,
0.0186704620718956,
-0.05828416720032692,
0.06905531138181686,
0.04242846369743347,
0.0320124514400959,
0.05555545166134834,
-0.1285451352596283,
0.004157054703682661,
0.07660582661628723,
0.021845374256372452,
0.07840928435325623,
-0.08749091625213623,
-0.00854906253516674,
0.005565047729760408,
0.04786356911063194,
0.014671041630208492,
0.07486680895090103,
-0.13456808030605316,
-0.00603193836286664,
-0.03330151364207268,
-0.0814175233244896,
-0.06990070641040802,
0.029145408421754837,
0.10731085389852524,
0.012591168284416199,
0.21013209223747253,
-0.07106515765190125,
0.028179313987493515,
-0.20097672939300537,
0.004464857280254364,
-0.01444533746689558,
-0.10881432145833969,
-0.13040749728679657,
-0.05322272330522537,
0.06049045920372009,
-0.05596129968762398,
0.140372633934021,
0.023743484169244766,
0.0316137820482254,
0.029980964958667755,
-0.01858562044799328,
0.017516858875751495,
0.024602951481938362,
0.20487891137599945,
0.036262281239032745,
-0.034158360213041306,
0.06056304648518562,
0.04953337833285332,
0.10477840155363083,
0.10488863289356232,
0.1933765858411789,
0.13779212534427643,
-0.019143249839544296,
0.09288588911294937,
0.03717418015003204,
-0.07774414122104645,
-0.15891620516777039,
0.048920512199401855,
-0.05493518337607384,
0.10290555655956268,
-0.02133130468428135,
0.21787579357624054,
0.05851215496659279,
-0.16837619245052338,
0.031999215483665466,
-0.05831674858927727,
-0.08656351268291473,
-0.10577195882797241,
-0.04508952796459198,
-0.08353891223669052,
-0.1327272355556488,
0.00244988314807415,
-0.12003796547651291,
0.0072814468294382095,
0.11733652651309967,
0.00689263641834259,
-0.020739635452628136,
0.15455392003059387,
0.004676206968724728,
0.037168145179748535,
0.03898647800087929,
0.015024689957499504,
-0.03529379516839981,
-0.11337575316429138,
-0.06814830750226974,
-0.027277376502752304,
-0.015438061207532883,
0.03499316796660423,
-0.06380917876958847,
-0.049399688839912415,
0.0374315120279789,
-0.014202388003468513,
-0.08975864201784134,
0.009421238675713539,
0.016873829066753387,
0.05884702503681183,
0.03414895012974739,
0.00756101543083787,
0.022278156131505966,
-0.010302809998393059,
0.20501486957073212,
-0.08114145696163177,
-0.06710121780633926,
-0.11041346192359924,
0.24597355723381042,
0.04165305569767952,
-0.008117852732539177,
0.039589256048202515,
-0.0706552118062973,
-0.002480443101376295,
0.24066998064517975,
0.2035217136144638,
-0.08473917096853256,
-0.011699052527546883,
0.01694473810493946,
-0.011102065443992615,
-0.038360096514225006,
0.10657345503568649,
0.13597814738750458,
0.05998950079083443,
-0.08815456181764603,
-0.055220168083906174,
-0.05561618506908417,
-0.006499017588794231,
-0.036989569664001465,
0.05201679468154907,
0.04206009954214096,
0.0024434293154627085,
-0.03716452047228813,
0.04341211915016174,
-0.06207267567515373,
-0.10133861750364304,
0.08099346607923508,
-0.20555680990219116,
-0.16261844336986542,
-0.010292020626366138,
0.10730019211769104,
-0.00180132279638201,
0.06289472430944443,
-0.03442684933543205,
-0.0036697534378618,
0.0792972519993782,
-0.019254565238952637,
-0.1022777110338211,
-0.07868801802396774,
0.09882033616304398,
-0.09212043881416321,
0.219284787774086,
-0.04895363748073578,
0.07764836400747299,
0.13003841042518616,
0.06137606501579285,
-0.08199066668748856,
0.057359881699085236,
0.04790106043219566,
-0.08003731817007065,
0.026846934109926224,
0.07107675820589066,
-0.03685322403907776,
0.08493088185787201,
0.04148416221141815,
-0.13557806611061096,
0.0168593879789114,
-0.06607910245656967,
-0.05481208860874176,
-0.04437702149152756,
-0.03258514031767845,
-0.059459637850522995,
0.13471892476081848,
0.2130807340145111,
-0.027496853843331337,
-0.005448038224130869,
-0.06909433752298355,
0.02116369642317295,
0.05875011906027794,
0.0300047118216753,
-0.060887474566698074,
-0.22189098596572876,
0.022934293374419212,
0.03414474427700043,
-0.021947430446743965,
-0.20572969317436218,
-0.09149613231420517,
0.004231357481330633,
-0.07519501447677612,
-0.09985218942165375,
0.07605442404747009,
0.0797385722398758,
0.047053322196006775,
-0.06337019056081772,
-0.038063615560531616,
-0.08172333985567093,
0.14079931378364563,
-0.14567437767982483,
-0.09615381062030792
] |
null | null |
transformers
|
# LaBSE for English and Russian
This is a truncated version of [sentence-transformers/LaBSE](https://huggingface.co/sentence-transformers/LaBSE), which is, in turn, a port of [LaBSE](https://tfhub.dev/google/LaBSE/1) by Google.
The current model has only English and Russian tokens left in the vocabulary.
Thus, the vocabulary is 10% of the original, and number of parameters in the whole model is 27% of the original, without any loss in the quality of English and Russian embeddings.
To get the sentence embeddings, you can use the following code:
```python
import torch
from transformers import AutoTokenizer, AutoModel
tokenizer = AutoTokenizer.from_pretrained("cointegrated/LaBSE-en-ru")
model = AutoModel.from_pretrained("cointegrated/LaBSE-en-ru")
sentences = ["Hello World", "Привет Мир"]
encoded_input = tokenizer(sentences, padding=True, truncation=True, max_length=64, return_tensors='pt')
with torch.no_grad():
model_output = model(**encoded_input)
embeddings = model_output.pooler_output
embeddings = torch.nn.functional.normalize(embeddings)
print(embeddings)
```
The model has been truncated in [this notebook](https://colab.research.google.com/drive/1dnPRn0-ugj3vZgSpyCC9sgslM2SuSfHy?usp=sharing).
You can adapt it for other languages (like [EIStakovskii/LaBSE-fr-de](https://huggingface.co/EIStakovskii/LaBSE-fr-de)), models or datasets.
## Reference:
Fangxiaoyu Feng, Yinfei Yang, Daniel Cer, Narveen Ari, Wei Wang. [Language-agnostic BERT Sentence Embedding](https://arxiv.org/abs/2007.01852). July 2020
License: [https://tfhub.dev/google/LaBSE/1](https://tfhub.dev/google/LaBSE/1)
|
{"language": ["ru", "en"], "tags": ["feature-extraction", "embeddings", "sentence-similarity"]}
|
feature-extraction
|
cointegrated/LaBSE-en-ru
|
[
"transformers",
"pytorch",
"tf",
"safetensors",
"bert",
"pretraining",
"feature-extraction",
"embeddings",
"sentence-similarity",
"ru",
"en",
"arxiv:2007.01852",
"endpoints_compatible",
"has_space",
"region:us"
] |
2022-03-02T23:29:05+00:00
|
[
"2007.01852"
] |
[
"ru",
"en"
] |
TAGS
#transformers #pytorch #tf #safetensors #bert #pretraining #feature-extraction #embeddings #sentence-similarity #ru #en #arxiv-2007.01852 #endpoints_compatible #has_space #region-us
|
# LaBSE for English and Russian
This is a truncated version of sentence-transformers/LaBSE, which is, in turn, a port of LaBSE by Google.
The current model has only English and Russian tokens left in the vocabulary.
Thus, the vocabulary is 10% of the original, and number of parameters in the whole model is 27% of the original, without any loss in the quality of English and Russian embeddings.
To get the sentence embeddings, you can use the following code:
The model has been truncated in this notebook.
You can adapt it for other languages (like EIStakovskii/LaBSE-fr-de), models or datasets.
## Reference:
Fangxiaoyu Feng, Yinfei Yang, Daniel Cer, Narveen Ari, Wei Wang. Language-agnostic BERT Sentence Embedding. July 2020
License: URL
|
[
"# LaBSE for English and Russian\nThis is a truncated version of sentence-transformers/LaBSE, which is, in turn, a port of LaBSE by Google.\n\nThe current model has only English and Russian tokens left in the vocabulary.\nThus, the vocabulary is 10% of the original, and number of parameters in the whole model is 27% of the original, without any loss in the quality of English and Russian embeddings.\n \nTo get the sentence embeddings, you can use the following code:\n\n\nThe model has been truncated in this notebook.\nYou can adapt it for other languages (like EIStakovskii/LaBSE-fr-de), models or datasets.",
"## Reference:\nFangxiaoyu Feng, Yinfei Yang, Daniel Cer, Narveen Ari, Wei Wang. Language-agnostic BERT Sentence Embedding. July 2020\n\nLicense: URL"
] |
[
"TAGS\n#transformers #pytorch #tf #safetensors #bert #pretraining #feature-extraction #embeddings #sentence-similarity #ru #en #arxiv-2007.01852 #endpoints_compatible #has_space #region-us \n",
"# LaBSE for English and Russian\nThis is a truncated version of sentence-transformers/LaBSE, which is, in turn, a port of LaBSE by Google.\n\nThe current model has only English and Russian tokens left in the vocabulary.\nThus, the vocabulary is 10% of the original, and number of parameters in the whole model is 27% of the original, without any loss in the quality of English and Russian embeddings.\n \nTo get the sentence embeddings, you can use the following code:\n\n\nThe model has been truncated in this notebook.\nYou can adapt it for other languages (like EIStakovskii/LaBSE-fr-de), models or datasets.",
"## Reference:\nFangxiaoyu Feng, Yinfei Yang, Daniel Cer, Narveen Ari, Wei Wang. Language-agnostic BERT Sentence Embedding. July 2020\n\nLicense: URL"
] |
[
67,
156,
44
] |
[
"passage: TAGS\n#transformers #pytorch #tf #safetensors #bert #pretraining #feature-extraction #embeddings #sentence-similarity #ru #en #arxiv-2007.01852 #endpoints_compatible #has_space #region-us \n# LaBSE for English and Russian\nThis is a truncated version of sentence-transformers/LaBSE, which is, in turn, a port of LaBSE by Google.\n\nThe current model has only English and Russian tokens left in the vocabulary.\nThus, the vocabulary is 10% of the original, and number of parameters in the whole model is 27% of the original, without any loss in the quality of English and Russian embeddings.\n \nTo get the sentence embeddings, you can use the following code:\n\n\nThe model has been truncated in this notebook.\nYou can adapt it for other languages (like EIStakovskii/LaBSE-fr-de), models or datasets.## Reference:\nFangxiaoyu Feng, Yinfei Yang, Daniel Cer, Narveen Ari, Wei Wang. Language-agnostic BERT Sentence Embedding. July 2020\n\nLicense: URL"
] |
[
-0.0457172654569149,
0.020217465236783028,
-0.00273342989385128,
0.04059888422489166,
0.09739460051059723,
0.03084152191877365,
0.15122728049755096,
0.050452083349227905,
0.06680124253034592,
0.010452399030327797,
0.08115755021572113,
-0.03216413035988808,
-0.024132711812853813,
0.15629945695400238,
0.018998464569449425,
-0.27952560782432556,
0.07979900389909744,
0.02169327810406685,
-0.03145555406808853,
0.031205790117383003,
0.1417631357908249,
-0.04644539952278137,
0.09385645389556885,
0.03272158280014992,
-0.07583340257406235,
0.07905448228120804,
-0.0012706596171483397,
-0.06970938295125961,
0.09477060288190842,
0.11269184947013855,
0.06486834585666656,
0.001640572678297758,
0.03368186578154564,
-0.1196393147110939,
0.009156826883554459,
0.000872656237334013,
-0.08872072398662567,
0.01168818585574627,
0.04525233805179596,
-0.07278409600257874,
0.32188618183135986,
-0.01012367382645607,
-0.0004841755435336381,
0.02286514639854431,
-0.08449012041091919,
-0.02522105723619461,
-0.021360144019126892,
0.05443546175956726,
0.07892989367246628,
0.14910180866718292,
-0.030417053028941154,
0.1166720762848854,
-0.0018100729212164879,
0.11656960099935532,
0.1352279782295227,
-0.35851725935935974,
-0.020055297762155533,
0.17801536619663239,
0.057087019085884094,
-0.007457512430846691,
-0.03419872000813484,
0.08398653566837311,
0.06746065616607666,
0.013217402622103691,
0.02440533973276615,
-0.05980570241808891,
-0.00905534252524376,
-0.011420066468417645,
-0.12107718735933304,
0.07364004105329514,
0.17903584241867065,
-0.005183875560760498,
-0.03255875036120415,
-0.0303401667624712,
-0.0845237597823143,
0.08940768986940384,
-0.04590313881635666,
-0.05464022979140282,
0.012623962946236134,
0.05586719885468483,
0.06681942939758301,
-0.14386875927448273,
-0.1268244981765747,
-0.05160412937402725,
-0.17203210294246674,
0.14818958938121796,
0.05271406099200249,
0.050026074051856995,
-0.09090606123209,
-0.024613922461867332,
-0.2043021023273468,
-0.07402383536100388,
-0.04439893364906311,
-0.10438469052314758,
-0.03182237222790718,
0.04497625678777695,
-0.11706861853599548,
-0.08497819304466248,
0.03366208076477051,
0.08383458107709885,
-0.022055460140109062,
0.04226798564195633,
0.03968542814254761,
0.04121026769280434,
0.025760376825928688,
0.13532282412052155,
-0.004894949030131102,
-0.0736360102891922,
0.04552973434329033,
-0.08731615543365479,
0.03267202898859978,
-0.025467470288276672,
-0.1350155919790268,
-0.07353214919567108,
-0.022534294053912163,
-0.03235980123281479,
-0.03542022407054901,
0.09074261784553528,
0.027823254466056824,
0.007820013910531998,
0.152619406580925,
-0.07334974408149719,
0.00003840045610559173,
-0.03655491769313812,
-0.046775951981544495,
0.09323049336671829,
0.02559427171945572,
-0.0004203620192129165,
-0.04569303244352341,
-0.02398281916975975,
-0.08477575331926346,
-0.0017465164419263601,
-0.0595715194940567,
-0.14693431556224823,
-0.011575587093830109,
-0.1404479593038559,
0.04615852236747742,
-0.1831502467393875,
-0.17512714862823486,
-0.05201497673988342,
0.034608062356710434,
-0.04503966122865677,
0.04406213387846947,
-0.05049523711204529,
-0.058069854974746704,
0.0050879972986876965,
0.0014352654106914997,
-0.1717424839735031,
-0.025202972814440727,
-0.04396847262978554,
-0.014300446026027203,
0.06035616993904114,
-0.15009278059005737,
0.029587605968117714,
-0.1654086709022522,
-0.03226878494024277,
-0.11105135083198547,
0.11081989854574203,
-0.035059284418821335,
-0.011366359889507294,
-0.05094895511865616,
-0.023904096335172653,
-0.04548826441168785,
0.09363294392824173,
0.05948139727115631,
0.1653352826833725,
-0.17915163934230804,
-0.06489542871713638,
0.15889456868171692,
-0.15701627731323242,
-0.08354471623897552,
0.10238858312368393,
-0.021703941747546196,
0.04038551449775696,
0.14988909661769867,
0.18911737203598022,
0.024284377694129944,
-0.05719693750143051,
-0.047334905713796616,
0.028972860425710678,
0.004638515878468752,
-0.01852545142173767,
0.021426137536764145,
0.02266128733754158,
0.03758794069290161,
0.04685618355870247,
-0.029244771227240562,
-0.001963516231626272,
-0.02898050658404827,
-0.03385148197412491,
0.010926835238933563,
-0.04158177226781845,
-0.010050397366285324,
-0.019297076389193535,
0.08874582499265671,
-0.05465969443321228,
-0.039322853088378906,
0.06460752338171005,
0.09270595759153366,
-0.0754559189081192,
0.047561727464199066,
-0.0632246881723404,
0.044823113828897476,
0.05321450158953667,
0.03327658027410507,
-0.13562533259391785,
-0.04868410527706146,
0.01655844785273075,
0.07547521591186523,
0.04196061193943024,
0.08060376346111298,
0.056503359228372574,
0.02405407838523388,
-0.058459363877773285,
0.020582998171448708,
0.012887123972177505,
-0.010607515461742878,
-0.0659811720252037,
-0.14949484169483185,
0.03726492077112198,
-0.081770159304142,
0.000626960420049727,
-0.14268891513347626,
0.0029034086037427187,
-0.11269072443246841,
0.08115438371896744,
-0.007309340871870518,
0.02068648859858513,
-0.05061425641179085,
0.02553667686879635,
-0.08862780779600143,
0.03496762737631798,
0.013907586224377155,
0.009409157559275627,
-0.11127090454101562,
0.19831107556819916,
-0.05551440641283989,
0.012848841957747936,
0.15619578957557678,
0.016309166327118874,
-0.042621467262506485,
-0.017650343477725983,
0.004527762997895479,
0.018289415165781975,
0.07868652045726776,
-0.0025480289477854967,
0.1126924678683281,
0.015305332839488983,
0.08590773493051529,
-0.09233297407627106,
0.051695261150598526,
0.02794083021581173,
-0.09774718433618546,
-0.08110617846250534,
0.08396404981613159,
0.040362466126680374,
-0.18722142279148102,
0.1080675795674324,
0.014215528964996338,
-0.07015591859817505,
0.15517178177833557,
0.003307012841105461,
-0.05890301242470741,
0.017916366457939148,
-0.05235648527741432,
-0.04119747132062912,
0.11898015439510345,
-0.03118155337870121,
-0.07807153463363647,
0.020371245220303535,
0.04703078791499138,
0.060088466852903366,
-0.03588986024260521,
-0.005594694521278143,
0.00022473996796179563,
-0.058592941612005234,
-0.03074486553668976,
0.06197085976600647,
-0.08746787905693054,
0.07779917120933533,
-0.05304655432701111,
-0.06732511520385742,
-0.0635761022567749,
0.009285606443881989,
-0.12349104881286621,
0.18761111795902252,
-0.15045003592967987,
-0.16451680660247803,
-0.07549482583999634,
0.02132461406290531,
-0.09742381423711777,
0.07288660854101181,
0.07274585217237473,
-0.07795770466327667,
-0.06065884232521057,
-0.0796685516834259,
0.06702174246311188,
-0.0462399497628212,
-0.013382291421294212,
0.009567437693476677,
-0.009780779480934143,
-0.0664329081773758,
-0.10882474482059479,
-0.05809517577290535,
-0.07700690627098083,
-0.0770462155342102,
0.06279298663139343,
-0.14724323153495789,
0.07118123769760132,
0.035478364676237106,
-0.02715647779405117,
-0.005111748352646828,
-0.07439087331295013,
0.24039986729621887,
-0.03282368928194046,
0.07292991876602173,
0.15452778339385986,
0.06350834667682648,
0.027327101677656174,
0.09031236916780472,
-0.011853276751935482,
-0.06647656112909317,
0.04370146989822388,
0.022990506142377853,
-0.06259681284427643,
-0.1892523616552353,
-0.14701718091964722,
-0.05760033428668976,
0.006714839953929186,
-0.016394956037402153,
0.037420064210891724,
0.029670346528291702,
0.06499142944812775,
-0.08287207037210464,
-0.0051109627820551395,
0.06120256707072258,
0.06753263622522354,
0.1357361078262329,
0.018068835139274597,
0.16392123699188232,
-0.055611222982406616,
-0.006682842504233122,
0.09690065681934357,
-0.0732739046216011,
0.20815445482730865,
-0.003067316487431526,
-0.009219267405569553,
0.047661881893873215,
0.028913473710417747,
0.044013600796461105,
0.08457323163747787,
-0.06527329981327057,
-0.0151207922026515,
-0.045433271676301956,
-0.05558096617460251,
0.0064926366321742535,
0.1573302298784256,
-0.05077672004699707,
-0.10175898671150208,
-0.03729002922773361,
0.129756897687912,
0.06822064518928528,
0.0986911877989769,
0.08557981997728348,
-0.22049996256828308,
-0.10333769768476486,
0.006376361940056086,
0.03803056851029396,
-0.0434589684009552,
0.06505638360977173,
0.04427759721875191,
-0.05865807086229324,
0.11946433782577515,
0.04653116688132286,
0.0885620266199112,
0.09494654089212418,
0.042150843888521194,
-0.07876168191432953,
-0.00041156020597554743,
-0.004883100278675556,
0.06579861044883728,
-0.33491674065589905,
0.22090759873390198,
0.0003263317048549652,
0.0636049136519432,
-0.008893686346709728,
-0.024253936484456062,
0.02564891055226326,
0.13006289303302765,
0.1301904320716858,
0.008285858668386936,
-0.11535724997520447,
-0.0662994533777237,
-0.027449429035186768,
0.06745823472738266,
0.0425381176173687,
0.016452578827738762,
0.08494263887405396,
-0.03304878994822502,
0.00863713026046753,
0.02011713944375515,
0.12404541671276093,
-0.14220203459262848,
-0.1631198227405548,
-0.045844510197639465,
0.031043097376823425,
-0.06078515946865082,
0.019882237538695335,
-0.03832283243536949,
-0.026948969811201096,
0.07920385152101517,
0.04061582684516907,
-0.10193103551864624,
-0.07620958983898163,
0.02214459702372551,
0.10032407939434052,
-0.13334646821022034,
0.1000155508518219,
-0.016118153929710388,
0.03464213013648987,
-0.06626688688993454,
-0.16424281895160675,
0.04267143830657005,
-0.13160575926303864,
-0.030323851853609085,
0.012428786605596542,
0.04064792022109032,
0.09038311243057251,
0.03231871873140335,
0.09293697029352188,
0.07375339418649673,
-0.01874472387135029,
-0.08144380152225494,
-0.04621391370892525,
0.11223068088293076,
0.036734484136104584,
-0.0016949340933933854,
-0.17574720084667206,
-0.06596821546554565,
-0.060859713703393936,
-0.04432930424809456,
0.10892711579799652,
0.204158216714859,
-0.10474679619073868,
0.10086816549301147,
0.18107308447360992,
-0.09143655747175217,
-0.22232301533222198,
-0.04691499471664429,
0.0296052023768425,
0.06641950458288193,
0.014148056507110596,
-0.17172598838806152,
0.05013633146882057,
0.017475083470344543,
-0.005521219689399004,
-0.0752062201499939,
-0.1193045899271965,
-0.10908503830432892,
0.1317044049501419,
-0.020279832184314728,
0.2904760241508484,
-0.12046393007040024,
0.009886026382446289,
-0.07791586965322495,
-0.11149831116199493,
0.09029878675937653,
0.011079930700361729,
0.052480269223451614,
0.019941972568631172,
-0.0029960963875055313,
0.024080295115709305,
0.017187410965561867,
0.08676061034202576,
0.015495536848902702,
0.05360127240419388,
-0.04041849076747894,
-0.024203527718782425,
0.06220546364784241,
-0.010330296121537685,
0.1779610961675644,
-0.046231403946876526,
0.08657319098711014,
-0.012619098648428917,
-0.08164643496274948,
-0.04330713301897049,
0.0806003212928772,
-0.011962208896875381,
-0.08421061933040619,
-0.07977075129747391,
0.05797712877392769,
0.04086603969335556,
-0.033727485686540604,
0.10716021060943604,
-0.016552401706576347,
0.03714074566960335,
0.04309035837650299,
0.021675700321793556,
-0.03112359531223774,
0.03870580717921257,
0.04386467486619949,
-0.048616379499435425,
0.08115725964307785,
-0.12697111070156097,
0.02819991111755371,
0.10289546847343445,
-0.028225909918546677,
0.04771864414215088,
0.028584251180291176,
-0.09299695491790771,
-0.007395193912088871,
0.08415257185697556,
-0.13595017790794373,
-0.11301861703395844,
-0.04248186945915222,
-0.10055208206176758,
0.07692819088697433,
0.07577268779277802,
0.16978920996189117,
-0.10868381708860397,
-0.01308496855199337,
-0.022421397268772125,
0.01310139149427414,
-0.00528727425262332,
0.10088814049959183,
0.017627399414777756,
-0.04398907721042633,
-0.05897014960646629,
0.058296602219343185,
0.01694704405963421,
-0.02371533028781414,
0.12213117629289627,
0.009515561163425446,
-0.12261371314525604,
-0.0630049929022789,
0.022478634491562843,
0.11669953912496567,
-0.18926569819450378,
-0.07759664952754974,
-0.0422261543571949,
-0.06156772002577782,
-0.004255007952451706,
0.11471660435199738,
0.0992751345038414,
0.01833156868815422,
-0.0013869940303266048,
0.01606060564517975,
-0.03555735945701599,
0.03233357146382332,
0.09074616432189941,
0.013821198605000973,
-0.11795252561569214,
0.02194187603890896,
-0.02386881783604622,
0.023671740666031837,
-0.0670437142252922,
0.013316269032657146,
-0.10294514894485474,
-0.007012063171714544,
-0.13456113636493683,
0.03541073203086853,
-0.1523585021495819,
-0.05352335423231125,
-0.011870412155985832,
-0.08365403115749359,
-0.046892713755369186,
0.023737510666251183,
-0.05767783895134926,
0.005313748028129339,
-0.056895557790994644,
0.060083311051130295,
-0.1531604677438736,
-0.040996093302965164,
-0.0007574830087833107,
-0.010509097948670387,
0.063215471804142,
0.14633357524871826,
-0.010772082954645157,
0.11275484412908554,
-0.060227956622838974,
0.049199458211660385,
0.06138475611805916,
0.06111308932304382,
0.028890151530504227,
0.03470676764845848,
0.010086674243211746,
0.07171880453824997,
0.04269305244088173,
0.002683606231585145,
0.08557713776826859,
-0.05711592361330986,
-0.07567844539880753,
-0.09392809867858887,
-0.06706640869379044,
-0.042796049267053604,
0.022326093167066574,
0.11452803760766983,
0.13103216886520386,
0.1632879376411438,
-0.10596722364425659,
0.04312985762953758,
-0.08392304182052612,
0.023958930745720863,
-0.021665969863533974,
-0.06031423434615135,
-0.0821441262960434,
-0.10152336210012436,
0.0374128557741642,
-0.03421086445450783,
0.17015677690505981,
0.05854354053735733,
0.05421695485711098,
-0.0070108980871737,
-0.01345919445157051,
0.07387043535709381,
0.005821612663567066,
0.15067103505134583,
0.06878864765167236,
0.01067228801548481,
-0.08755286782979965,
0.10577148199081421,
0.02397870272397995,
0.02093442715704441,
0.06459622085094452,
0.04768623784184456,
0.04745614528656006,
0.16348989307880402,
0.038799773901700974,
-0.04736204445362091,
0.02114880643785,
-0.15773460268974304,
-0.07027972489595413,
0.009563835337758064,
-0.0006937137222848833,
0.10468316078186035,
0.22087471187114716,
-0.14564311504364014,
0.10675755143165588,
0.004638444632291794,
-0.0626036673784256,
-0.15417025983333588,
-0.1758149415254593,
-0.08612203598022461,
-0.11551724374294281,
-0.004396203905344009,
-0.14315100014209747,
-0.05131929740309715,
-0.03077111579477787,
0.05355505272746086,
-0.05642065405845642,
0.043356508016586304,
-0.06630800664424896,
-0.11459800601005554,
0.021755944937467575,
0.008959363214671612,
0.005136027000844479,
0.049165572971105576,
-0.03855052590370178,
0.0155510064214468,
0.019661761820316315,
-0.030427351593971252,
0.03784444183111191,
0.04186750203371048,
0.07719479501247406,
-0.04990631341934204,
-0.0297707486897707,
-0.02784767933189869,
0.04675818234682083,
0.0509624220430851,
0.11757842451334,
0.05086447671055794,
-0.09006578475236893,
0.01939956285059452,
0.21150287985801697,
-0.0021099478472024202,
-0.08856552094221115,
-0.12059430778026581,
0.23833125829696655,
0.09059269726276398,
0.0777730718255043,
-0.02359897829592228,
-0.06558555364608765,
-0.10022810846567154,
0.23583956062793732,
0.3118845522403717,
-0.014610943384468555,
0.008536051027476788,
-0.00151577137876302,
0.018609480932354927,
0.05667942389845848,
0.05280907079577446,
0.037662751972675323,
0.29999014735221863,
-0.035585664212703705,
0.010036838240921497,
-0.10823291540145874,
0.04327557235956192,
-0.0718587264418602,
0.07225122302770615,
0.0554240383207798,
-0.09364233165979385,
-0.0028422444593161345,
0.0744883120059967,
-0.06539104133844376,
-0.07001350820064545,
-0.09463270008563995,
-0.10793107748031616,
-0.03584045171737671,
0.012792199850082397,
-0.021452656015753746,
0.11048857122659683,
0.11733132600784302,
-0.016337689012289047,
0.04434742033481598,
0.07291229814291,
0.013113887049257755,
-0.1238318607211113,
-0.04027314484119415,
0.09245504438877106,
0.04727272689342499,
0.07314211875200272,
-0.0049757384695112705,
0.09340018779039383,
0.06365787237882614,
0.10226860642433167,
-0.010677779093384743,
0.047179993242025375,
0.021259641274809837,
-0.00581287732347846,
0.03361036255955696,
-0.08198084682226181,
-0.06458107382059097,
-0.04506717249751091,
0.0922808051109314,
-0.08040279150009155,
0.0670885220170021,
-0.031733352690935135,
-0.06714284420013428,
-0.05582493543624878,
0.14693039655685425,
-0.16863392293453217,
0.10750793665647507,
0.1361939013004303,
-0.014950945042073727,
-0.04342614486813545,
0.0038523240946233273,
0.0682927742600441,
0.0641661062836647,
-0.07032274454832077,
0.009810848161578178,
-0.1511564999818802,
0.006627249531447887,
0.011268772184848785,
0.023998603224754333,
-0.12772367894649506,
-0.03856562823057175,
-0.03129328414797783,
0.006761759985238314,
-0.05902959406375885,
0.07637926936149597,
0.09468197077512741,
-0.009544938802719116,
-0.05247944965958595,
-0.0861954316496849,
0.016332928091287613,
0.04737790673971176,
-0.0997755378484726,
-0.18000352382659912
] |
null | null |
transformers
|
This is a RoBERTa-large classifier trained on the CoLA corpus [Warstadt et al., 2019](https://www.mitpressjournals.org/doi/pdf/10.1162/tacl_a_00290),
which contains sentences paired with grammatical acceptability judgments. The model can be used to evaluate fluency of machine-generated English sentences, e.g. for evaluation of text style transfer.
The model was trained in the paper [Krishna et al, 2020. Reformulating Unsupervised Style Transfer as Paraphrase Generation](https://arxiv.org/abs/2010.05700), and its original version is available at [their project page](http://style.cs.umass.edu). We converted this model from Fairseq to Transformers format. All credit goes to the authors of the original paper.
## Citation
If you found this model useful and refer to it, please cite the original work:
```
@inproceedings{style20,
author={Kalpesh Krishna and John Wieting and Mohit Iyyer},
Booktitle = {Empirical Methods in Natural Language Processing},
Year = "2020",
Title={Reformulating Unsupervised Style Transfer as Paraphrase Generation},
}
```
|
{}
|
text-classification
|
cointegrated/roberta-large-cola-krishna2020
|
[
"transformers",
"pytorch",
"safetensors",
"roberta",
"text-classification",
"arxiv:2010.05700",
"autotrain_compatible",
"endpoints_compatible",
"region:us"
] |
2022-03-02T23:29:05+00:00
|
[
"2010.05700"
] |
[] |
TAGS
#transformers #pytorch #safetensors #roberta #text-classification #arxiv-2010.05700 #autotrain_compatible #endpoints_compatible #region-us
|
This is a RoBERTa-large classifier trained on the CoLA corpus Warstadt et al., 2019,
which contains sentences paired with grammatical acceptability judgments. The model can be used to evaluate fluency of machine-generated English sentences, e.g. for evaluation of text style transfer.
The model was trained in the paper Krishna et al, 2020. Reformulating Unsupervised Style Transfer as Paraphrase Generation, and its original version is available at their project page. We converted this model from Fairseq to Transformers format. All credit goes to the authors of the original paper.
If you found this model useful and refer to it, please cite the original work:
|
[] |
[
"TAGS\n#transformers #pytorch #safetensors #roberta #text-classification #arxiv-2010.05700 #autotrain_compatible #endpoints_compatible #region-us \n"
] |
[
50
] |
[
"passage: TAGS\n#transformers #pytorch #safetensors #roberta #text-classification #arxiv-2010.05700 #autotrain_compatible #endpoints_compatible #region-us \n"
] |
[
-0.05815346539020538,
0.0629744902253151,
-0.007100626360625029,
0.02479122392833233,
0.16187486052513123,
0.011515838094055653,
0.09415816515684128,
0.09138604998588562,
0.023965010419487953,
-0.0017323637148365378,
0.14373959600925446,
0.23983997106552124,
-0.03178450092673302,
0.14537538588047028,
-0.14043061435222626,
-0.2314528524875641,
0.07490033656358719,
0.04816685616970062,
0.03187592700123787,
0.12523996829986572,
0.10525766760110855,
-0.09950140118598938,
0.06264699995517731,
-0.03642961010336876,
-0.10657323151826859,
0.030332552269101143,
0.06928124278783798,
-0.15367521345615387,
0.12220168113708496,
0.03505958616733551,
0.1685589700937271,
0.052449773997068405,
-0.033978287130594254,
-0.13563956320285797,
0.042217716574668884,
0.00428921589627862,
-0.08578237891197205,
0.06171507015824318,
0.08414326608181,
-0.11473656445741653,
0.02298472821712494,
0.0002805799013003707,
0.014640695415437222,
0.05564306303858757,
-0.153467059135437,
-0.10785385221242905,
-0.04200083389878273,
0.053979113698005676,
0.0899350643157959,
0.0772615522146225,
-0.0025214320048689842,
0.18911804258823395,
-0.0828947126865387,
0.12910185754299164,
0.1067962646484375,
-0.3243230879306793,
-0.01769133470952511,
0.07777496427297592,
0.026403883472085,
0.04473784193396568,
-0.047241516411304474,
0.05874380096793175,
0.061803679913282394,
-0.00705476151779294,
0.013384498655796051,
-0.06458250433206558,
-0.1349765807390213,
0.0033053606748580933,
-0.0827656239271164,
-0.04133091866970062,
0.20229102671146393,
-0.035914044827222824,
0.04735352471470833,
-0.04494940862059593,
-0.10610436648130417,
-0.023677809163928032,
-0.010207269340753555,
-0.0006265408592298627,
-0.034735217690467834,
0.03417179733514786,
0.045044440776109695,
0.026967529207468033,
-0.13250340521335602,
0.020086465403437614,
-0.20419101417064667,
0.23061275482177734,
0.008125193417072296,
0.04690173640847206,
-0.16389170289039612,
0.042219799011945724,
0.013268272392451763,
-0.11820908635854721,
0.057454317808151245,
-0.11063636839389801,
0.057911451905965805,
-0.022532613947987556,
-0.035625021904706955,
-0.05234605446457863,
0.09832216799259186,
0.1549598127603531,
0.0028570801950991154,
0.05365445092320442,
-0.02865547128021717,
0.08228854835033417,
0.020053276792168617,
0.09986795485019684,
0.01709623448550701,
-0.040417809039354324,
0.0887666717171669,
-0.06372607499361038,
0.05552862212061882,
-0.04968589171767235,
-0.1253168284893036,
-0.03993234410881996,
0.09609025716781616,
0.11248333007097244,
0.026573283597826958,
0.07911625504493713,
-0.05400705710053444,
0.011157475411891937,
0.10751762986183167,
-0.08195219188928604,
-0.012387219816446304,
0.009887481108307838,
0.03145754709839821,
0.052920322865247726,
-0.013485484756529331,
0.014977349899709225,
-0.06778193265199661,
0.12375731021165848,
-0.06190519407391548,
-0.0072867488488554955,
-0.008735365234315395,
-0.07869916409254074,
0.036247000098228455,
-0.11795583367347717,
0.04019581899046898,
-0.20801033079624176,
-0.09404554218053818,
-0.008633410558104515,
-0.012465785257518291,
0.006442957557737827,
-0.03297584131360054,
-0.016838224604725838,
-0.003916328772902489,
0.03026195801794529,
-0.05090177431702614,
-0.07371722161769867,
-0.06985170394182205,
0.09849251061677933,
-0.002478357870131731,
0.06120319664478302,
-0.10019797086715698,
0.03260147199034691,
-0.11447669565677643,
-0.024370338767766953,
-0.11883162707090378,
-0.008506630547344685,
-0.04768262058496475,
0.17864000797271729,
-0.009280272759497166,
-0.03575478121638298,
-0.061184484511613846,
0.04493691399693489,
-0.034052103757858276,
0.19459187984466553,
-0.06529257446527481,
-0.07435279339551926,
0.21808764338493347,
-0.13185881078243256,
-0.15867625176906586,
0.08524351567029953,
-0.0004521718656178564,
-0.00788224395364523,
0.11711401492357254,
0.19273805618286133,
0.044368620961904526,
-0.030623404309153557,
0.03084501065313816,
0.08120130747556686,
-0.10206375271081924,
-0.11734743416309357,
0.004578667692840099,
-0.005320740398019552,
-0.13701578974723816,
0.04829782992601395,
0.06882929056882858,
0.04774675518274307,
-0.049158766865730286,
-0.039531733840703964,
-0.030531100928783417,
-0.029858075082302094,
0.09647592902183533,
0.050810471177101135,
0.08553842455148697,
-0.1058042123913765,
-0.005560225807130337,
-0.08227013796567917,
0.011055043898522854,
0.036805178970098495,
0.006701519247144461,
-0.06936591118574142,
0.12443596124649048,
-0.019159803166985512,
0.019095562398433685,
-0.20266050100326538,
-0.07650857418775558,
-0.021907852962613106,
0.1129315048456192,
-0.022830523550510406,
0.05000893399119377,
0.06232164800167084,
-0.03665218502283096,
-0.027998147532343864,
-0.05431003496050835,
0.17846201360225677,
0.027794454246759415,
-0.05139400437474251,
-0.0824163630604744,
0.08958782255649567,
-0.07377132773399353,
0.03640163689851761,
-0.12101736664772034,
0.017038093879818916,
0.04633260518312454,
0.10850511491298676,
0.01288680825382471,
0.07174283266067505,
-0.006844405550509691,
0.03941764310002327,
-0.06618966907262802,
0.01766587235033512,
0.11057576537132263,
0.0014986572787165642,
-0.0650986060500145,
0.13941548764705658,
-0.1709962785243988,
0.3212689161300659,
0.19568192958831787,
-0.23598238825798035,
-0.029403455555438995,
-0.026238612830638885,
-0.0024927963968366385,
0.030658192932605743,
0.03257538750767708,
0.02656044065952301,
0.04286959767341614,
-0.013271206058561802,
0.1839708387851715,
-0.05407869443297386,
-0.03900589793920517,
0.014066263101994991,
-0.058668699115514755,
-0.03928206115961075,
0.1107717975974083,
0.018927428871393204,
-0.23348334431648254,
0.16662579774856567,
0.2223205715417862,
0.01980365626513958,
0.12726262211799622,
-0.0031259888783097267,
0.034857798367738724,
0.06967932730913162,
-0.030070552602410316,
-0.01492910273373127,
-0.03196826949715614,
-0.08942101895809174,
-0.01804596185684204,
0.07453013211488724,
0.017410721629858017,
0.04862092435359955,
-0.1232658252120018,
-0.05353805422782898,
-0.006836580112576485,
0.030718794092535973,
-0.05015669763088226,
0.08847608417272568,
0.0469902902841568,
0.15475207567214966,
-0.013250245712697506,
-0.06786219775676727,
0.08542880415916443,
-0.0004918064805679023,
-0.09018737822771072,
0.20715835690498352,
-0.12026521563529968,
-0.3390645384788513,
-0.12662488222122192,
-0.12007514387369156,
-0.00964873842895031,
0.05554451420903206,
0.09440134465694427,
-0.12029708176851273,
-0.05425604060292244,
0.006373494863510132,
-0.04569427669048309,
-0.04696784168481827,
0.028404176235198975,
-0.01821732334792614,
0.07782244682312012,
-0.021412726491689682,
-0.07047206908464432,
-0.06215107440948486,
-0.05431414395570755,
-0.00979534536600113,
0.15259796380996704,
-0.08797875046730042,
0.09807613492012024,
0.13904978334903717,
-0.006325348746031523,
0.03527256101369858,
-0.045520588755607605,
0.14132408797740936,
-0.08807169646024704,
-0.01384566631168127,
0.2121889442205429,
-0.07662719488143921,
0.07448557019233704,
0.1683834195137024,
0.010616015642881393,
-0.0693536251783371,
0.031138591468334198,
-0.05474706366658211,
-0.07284949719905853,
-0.2540704011917114,
-0.13992293179035187,
-0.07831656187772751,
0.061018817126750946,
0.050295546650886536,
0.06272921711206436,
0.12042523175477982,
0.0861639603972435,
-0.003231531009078026,
-0.05230415612459183,
0.024215154349803925,
0.08413305878639221,
0.24327847361564636,
0.006653291173279285,
0.15002374351024628,
-0.07870431244373322,
-0.12003836035728455,
0.07746496796607971,
-0.018099335953593254,
0.08877351880073547,
0.0855497419834137,
-0.03608744964003563,
0.010682900436222553,
0.07941891252994537,
0.15627051889896393,
0.1316838413476944,
0.04207760468125343,
-0.04964855685830116,
-0.015754707157611847,
-0.0034729226026684046,
-0.06527917087078094,
0.003471052274107933,
-0.02098952792584896,
-0.10459518432617188,
-0.0840630903840065,
-0.10022789239883423,
0.10069442540407181,
0.061791274696588516,
0.057506464421749115,
-0.23893144726753235,
-0.008736273273825645,
0.08223797380924225,
-0.004846866708248854,
-0.0999264344573021,
0.08145281672477722,
-0.05500097945332527,
-0.10911980271339417,
0.11821652203798294,
-0.03838140517473221,
0.10554877668619156,
-0.05708756670355797,
0.06971529871225357,
-0.10467991232872009,
-0.0931980088353157,
0.0034077847376465797,
0.10703077167272568,
-0.2547449767589569,
0.2645750641822815,
0.01562570594251156,
-0.028145667165517807,
-0.0590493269264698,
-0.03633015230298042,
0.033868588507175446,
0.1983271986246109,
0.12961594760417938,
-0.00465036416426301,
-0.11189060658216476,
-0.1438923180103302,
-0.03881862014532089,
0.02272871322929859,
0.10193127393722534,
0.003203870030120015,
-0.003221341408789158,
-0.04782753065228462,
-0.01840824820101261,
-0.01905636303126812,
-0.09934712946414948,
-0.008180291391909122,
-0.1316748410463333,
0.046445582062006,
0.04821307584643364,
0.06715202331542969,
-0.006127175875008106,
-0.053666166961193085,
-0.13512757420539856,
0.16595414280891418,
-0.08634573966264725,
-0.0705290362238884,
-0.11276529729366302,
-0.06997732073068619,
0.030390070751309395,
-0.09396304190158844,
0.07041604816913605,
-0.08419307321310043,
0.025585100054740906,
-0.0670747235417366,
-0.16460952162742615,
0.12594394385814667,
-0.12584331631660461,
-0.06910616904497147,
-0.044340070337057114,
0.16413170099258423,
-0.07962349057197571,
-0.008482199162244797,
0.03793467581272125,
0.05070661008358002,
-0.08715206384658813,
-0.07793435454368591,
0.02501334436237812,
-0.019196169450879097,
0.08973249047994614,
0.044121645390987396,
-0.08600997179746628,
-0.17208631336688995,
-0.0430661141872406,
-0.01834670826792717,
0.2637976109981537,
0.25343990325927734,
-0.06989956647157669,
0.11191167682409286,
0.1673450469970703,
-0.04287683963775635,
-0.3301827907562256,
-0.08984053879976273,
-0.13347476720809937,
-0.05096428468823433,
-0.023676447570323944,
-0.08779298514127731,
0.10199304670095444,
0.018346043303608894,
-0.050545647740364075,
0.08606206625699997,
-0.15029525756835938,
-0.09752001613378525,
0.20904770493507385,
0.0009265492553822696,
0.4005962312221527,
-0.13757871091365814,
-0.08062086254358292,
-0.06152166426181793,
-0.10256381332874298,
0.10432498902082443,
-0.03145534545183182,
0.05117730423808098,
-0.01984967105090618,
0.001848013256676495,
0.04159043729305267,
-0.05697907507419586,
0.09959416836500168,
-0.04722951352596283,
0.039856672286987305,
-0.12423402816057205,
-0.11989941447973251,
0.023754771798849106,
-0.019627707079052925,
0.00248644407838583,
-0.008017783984541893,
0.04997553676366806,
-0.11017952114343643,
-0.03821192681789398,
-0.0642339289188385,
0.0658712312579155,
0.02611691877245903,
-0.03165894374251366,
-0.00524600176140666,
-0.024368122220039368,
-0.018133092671632767,
-0.013823403976857662,
0.2763451337814331,
-0.05602088198065758,
0.2041359841823578,
0.09807781130075455,
0.1501518338918686,
-0.11251863092184067,
0.07873854786157608,
-0.05232325196266174,
-0.08322304487228394,
0.05443093925714493,
-0.08386974036693573,
0.06637860089540482,
0.12322969734668732,
-0.0362047478556633,
0.04316728562116623,
0.08916407078504562,
0.05247019976377487,
-0.02552691474556923,
0.1640971302986145,
-0.24599036574363708,
0.01772126369178295,
-0.02418694645166397,
0.011013924144208431,
0.05770955979824066,
0.0944574847817421,
0.13505440950393677,
0.040460921823978424,
-0.0503586120903492,
-0.011929134838283062,
0.01356377825140953,
0.012819169089198112,
0.06844333559274673,
0.08106859773397446,
0.02755313366651535,
-0.11593692749738693,
0.0696026161313057,
0.03596943989396095,
-0.1661962866783142,
-0.01163135003298521,
0.11730891466140747,
-0.1649709790945053,
-0.12075048685073853,
-0.010972981341183186,
0.10627526044845581,
-0.11261620372533798,
-0.07718385756015778,
-0.09256534278392792,
-0.12689468264579773,
0.05072572082281113,
0.24273008108139038,
0.10010671615600586,
0.04940524697303772,
-0.0012364221038296819,
-0.059395547956228256,
-0.02377289906144142,
0.024610228836536407,
0.014719306491315365,
0.025237416848540306,
-0.13859789073467255,
0.02004588022828102,
-0.009208275005221367,
0.11637627333402634,
-0.08807417005300522,
-0.029790865257382393,
-0.1625215709209442,
0.03456432372331619,
-0.06636671721935272,
0.0030292051378637552,
-0.07564964890480042,
-0.024263450875878334,
-0.028781970962882042,
-0.06861299276351929,
-0.05135110020637512,
-0.049971528351306915,
-0.09809016436338425,
0.052830543369054794,
-0.00711164390668273,
0.0288386307656765,
-0.08516610413789749,
-0.05054650083184242,
0.07835126668214798,
-0.016696808859705925,
0.10847537964582443,
0.10240360349416733,
-0.07227163761854172,
0.09551257640123367,
-0.18115234375,
-0.08558150380849838,
0.13154499232769012,
0.0027174835558980703,
0.03295791521668434,
0.033298224210739136,
0.03407864272594452,
0.09171785414218903,
0.002567828167229891,
0.07261515408754349,
0.07180939614772797,
-0.11095953732728958,
0.0552012138068676,
-0.00742787541821599,
-0.1628563553094864,
-0.03786454722285271,
-0.06373932957649231,
0.08709120005369186,
-0.03203793615102768,
0.16791212558746338,
-0.08055735379457474,
0.06963267177343369,
-0.060815900564193726,
0.027615997940301895,
-0.027781426906585693,
-0.2189655900001526,
-0.11037149280309677,
-0.051466163247823715,
0.03961881622672081,
-0.0030412187334150076,
0.22444631159305573,
0.01738455891609192,
0.022710202261805534,
0.06977924704551697,
0.07852239906787872,
-0.018403343856334686,
0.01883075386285782,
0.16583149135112762,
0.06497325003147125,
-0.055981993675231934,
-0.07059238851070404,
0.05095171183347702,
0.01587667316198349,
-0.05652843415737152,
0.12942193448543549,
0.10586971789598465,
-0.010626248084008694,
0.05670669302344322,
-0.025841977447271347,
0.023073704913258553,
-0.06459620594978333,
-0.16236959397792816,
-0.08115972578525543,
0.029419053345918655,
0.03940081596374512,
0.059550609439611435,
0.17436380684375763,
0.005376483779400587,
0.006014291197061539,
-0.08008645474910736,
-0.03462152183055878,
-0.18301689624786377,
-0.0802033394575119,
-0.11919178068637848,
-0.07038294523954391,
0.016738947480916977,
-0.07444771379232407,
-0.012101663276553154,
0.06709988415241241,
0.04900094494223595,
-0.054437778890132904,
0.08940545469522476,
0.03216702491044998,
-0.05764380097389221,
0.06980457901954651,
-0.012923712842166424,
0.0292311143130064,
0.011045861057937145,
-0.03145797923207283,
-0.11266592144966125,
-0.04034827649593353,
-0.037516865879297256,
0.026293771341443062,
-0.05359859764575958,
0.021709609776735306,
-0.13058027625083923,
-0.10941590368747711,
-0.031742554157972336,
0.09042605012655258,
-0.010078353807330132,
0.12536929547786713,
0.012133322656154633,
0.023965226486325264,
0.059007734060287476,
0.23363496363162994,
-0.03278392180800438,
-0.08693663030862808,
-0.03148701414465904,
0.2384784072637558,
0.04725794494152069,
0.10115790367126465,
-0.013040382415056229,
-0.019672013819217682,
-0.013438496738672256,
0.3064285218715668,
0.2841161787509918,
-0.03419121727347374,
0.057871755212545395,
-0.023068824782967567,
0.03328832983970642,
0.12213057279586792,
0.10105367004871368,
0.10565181821584702,
0.24244676530361176,
-0.06828578561544418,
-0.025539172813296318,
-0.03615964576601982,
0.024037154391407967,
-0.1071491688489914,
0.0962178111076355,
0.024217676371335983,
-0.03826921060681343,
-0.05952960625290871,
0.11545339226722717,
-0.12431731075048447,
0.1148100346326828,
-0.021210070699453354,
-0.20565296709537506,
-0.07357422262430191,
-0.011736304499208927,
0.1450890600681305,
0.0015526673523709178,
0.06987088918685913,
-0.01135164499282837,
-0.1060725599527359,
-0.01240659411996603,
0.016230057924985886,
-0.16239283978939056,
-0.032941870391368866,
0.03455560281872749,
-0.044332776218652725,
0.06984671205282211,
-0.01590779609978199,
0.05684865266084671,
0.09335354715585709,
0.028954695910215378,
-0.04837660491466522,
0.09390313178300858,
0.01711130514740944,
-0.029307784512639046,
0.0474100187420845,
-0.008159631863236427,
0.010419882833957672,
-0.0796203762292862,
0.07828327268362045,
-0.13889990746974945,
0.06345661729574203,
-0.05879145488142967,
-0.08618146926164627,
-0.013507429510354996,
0.09310412406921387,
-0.054460763931274414,
0.06518731266260147,
0.06830532103776932,
-0.018855808302760124,
-0.0183658916503191,
-0.0423780120909214,
-0.011206879280507565,
0.01748400181531906,
-0.10193997621536255,
-0.08486481010913849,
-0.11600247025489807,
-0.04548659175634384,
0.10892514884471893,
0.020549356937408447,
-0.20140165090560913,
0.007544991560280323,
-0.13886658847332,
0.025017760694026947,
-0.17231044173240662,
0.06526809930801392,
0.05614554136991501,
0.007092353887856007,
-0.008137496188282967,
-0.038984522223472595,
0.051735538989305496,
0.08532950282096863,
-0.10193528234958649,
-0.10087753087282181
] |
null | null |
transformers
|
This is a version of paraphrase detector by DeepPavlov ([details in the documentation](http://docs.deeppavlov.ai/en/master/features/overview.html#ranking-model-docs)) ported to the `Transformers` format.
All credit goes to the authors of DeepPavlov.
The model has been trained on the dataset from http://paraphraser.ru/.
It classifies texts as paraphrases (class 1) or non-paraphrases (class 0).
```python
import torch
from transformers import AutoModelForSequenceClassification, BertTokenizer
model_name = 'cointegrated/rubert-base-cased-dp-paraphrase-detection'
model = AutoModelForSequenceClassification.from_pretrained(model_name).cuda()
tokenizer = BertTokenizer.from_pretrained(model_name)
def compare_texts(text1, text2):
batch = tokenizer(text1, text2, return_tensors='pt').to(model.device)
with torch.inference_mode():
proba = torch.softmax(model(**batch).logits, -1).cpu().numpy()
return proba[0] # p(non-paraphrase), p(paraphrase)
print(compare_texts('Сегодня на улице хорошая погода', 'Сегодня на улице отвратительная погода'))
# [0.7056226 0.2943774]
print(compare_texts('Сегодня на улице хорошая погода', 'Отличная погодка сегодня выдалась'))
# [0.16524374 0.8347562 ]
```
P.S. In the DeepPavlov repository, the tokenizer uses `max_seq_length=64`.
This model, however, uses `model_max_length=512`.
Therefore, the results on long texts may be inadequate.
|
{"language": ["ru"], "tags": ["sentence-similarity", "text-classification"], "datasets": ["merionum/ru_paraphraser"]}
|
text-classification
|
cointegrated/rubert-base-cased-dp-paraphrase-detection
|
[
"transformers",
"pytorch",
"safetensors",
"bert",
"text-classification",
"sentence-similarity",
"ru",
"dataset:merionum/ru_paraphraser",
"autotrain_compatible",
"endpoints_compatible",
"region:us"
] |
2022-03-02T23:29:05+00:00
|
[] |
[
"ru"
] |
TAGS
#transformers #pytorch #safetensors #bert #text-classification #sentence-similarity #ru #dataset-merionum/ru_paraphraser #autotrain_compatible #endpoints_compatible #region-us
|
This is a version of paraphrase detector by DeepPavlov (details in the documentation) ported to the 'Transformers' format.
All credit goes to the authors of DeepPavlov.
The model has been trained on the dataset from URL
It classifies texts as paraphrases (class 1) or non-paraphrases (class 0).
P.S. In the DeepPavlov repository, the tokenizer uses 'max_seq_length=64'.
This model, however, uses 'model_max_length=512'.
Therefore, the results on long texts may be inadequate.
|
[] |
[
"TAGS\n#transformers #pytorch #safetensors #bert #text-classification #sentence-similarity #ru #dataset-merionum/ru_paraphraser #autotrain_compatible #endpoints_compatible #region-us \n"
] |
[
63
] |
[
"passage: TAGS\n#transformers #pytorch #safetensors #bert #text-classification #sentence-similarity #ru #dataset-merionum/ru_paraphraser #autotrain_compatible #endpoints_compatible #region-us \n"
] |
[
-0.009975636377930641,
0.012394353747367859,
-0.007612618152052164,
0.01809258572757244,
0.14003346860408783,
0.012646458111703396,
0.0808236300945282,
0.08366736024618149,
-0.014116805046796799,
0.016477592289447784,
0.13838230073451996,
0.1599758416414261,
-0.023952612653374672,
0.039907924830913544,
-0.11285217106342316,
-0.26017728447914124,
0.1124718114733696,
0.025012820959091187,
0.05924943834543228,
0.11162625998258591,
0.14173254370689392,
-0.07437587529420853,
0.0682995393872261,
-0.018468042835593224,
-0.06357533484697342,
0.06407388299703598,
0.04797147586941719,
-0.10704575479030609,
0.10867265611886978,
0.039728619158267975,
0.13383963704109192,
0.028856441378593445,
-0.056245651096105576,
-0.1752316951751709,
0.035524409264326096,
-0.005849737208336592,
-0.08454751968383789,
0.0040210275910794735,
0.08678850531578064,
-0.18658633530139923,
0.09262394160032272,
-0.003628337988629937,
0.00044805745710618794,
0.037003662437200546,
-0.1325003057718277,
-0.011637657880783081,
-0.008070395328104496,
0.04339873045682907,
0.08453447371721268,
0.09853828698396683,
-0.05804096534848213,
0.1542980968952179,
-0.13398706912994385,
0.12374471127986908,
0.09980475157499313,
-0.3566887080669403,
-0.029474319890141487,
0.04728570580482483,
0.03633762151002884,
0.04501757398247719,
-0.04373204708099365,
0.05743330344557762,
0.010037940926849842,
0.03578699380159378,
-0.036816515028476715,
-0.06964197009801865,
-0.11062703281641006,
0.030740119516849518,
-0.09857235103845596,
-0.0011724934447556734,
0.21933211386203766,
-0.04476010799407959,
0.09434835612773895,
-0.055440377444028854,
-0.09156540036201477,
-0.0013159735826775432,
-0.0511937215924263,
0.024825893342494965,
-0.07936728000640869,
0.07070829719305038,
0.019305894151329994,
0.05463794991374016,
-0.14151325821876526,
0.01916980929672718,
-0.19291600584983826,
0.16984733939170837,
0.052541933953762054,
0.014817618764936924,
-0.14900366961956024,
0.014120295643806458,
-0.02517404407262802,
-0.11764944344758987,
0.06105395779013634,
-0.10851945728063583,
0.01942412555217743,
-0.0051988279446959496,
-0.1196744441986084,
-0.10455768555402756,
0.16121730208396912,
0.09634704887866974,
-0.00013757419947069138,
0.03843187540769577,
-0.024091901257634163,
0.09532306343317032,
0.015533249825239182,
0.11649569123983383,
-0.06296269595623016,
-0.014542581513524055,
0.012176193296909332,
-0.0873834416270256,
0.016364602372050285,
-0.011879169382154942,
-0.13072875142097473,
0.00273271556943655,
0.11539942771196365,
0.07534953951835632,
0.0007383108604699373,
0.1149449497461319,
-0.08316369354724884,
0.02499808929860592,
0.025927778333425522,
-0.06429296731948853,
0.003106358926743269,
0.02501656673848629,
0.019714949652552605,
0.05067918449640274,
-0.04728268086910248,
0.04009386897087097,
-0.11119350045919418,
0.11204074323177338,
-0.05362888425588608,
0.019547615200281143,
0.018058720976114273,
-0.10988084971904755,
0.02801469713449478,
-0.14532139897346497,
0.026326948776841164,
-0.20054075121879578,
-0.04416016861796379,
-0.006677999161183834,
-0.006353254895657301,
-0.028838349506258965,
0.029945291578769684,
-0.06775449216365814,
-0.02486865408718586,
0.03858935832977295,
-0.028557660058140755,
-0.12188253551721573,
-0.08122719824314117,
0.07899416983127594,
-0.08068706095218658,
0.08397834002971649,
-0.05034142732620239,
0.059751126915216446,
-0.1742670238018036,
-0.04184384271502495,
-0.05979787930846214,
0.03600958362221718,
-0.0436793714761734,
0.11623547971248627,
-0.015408312901854515,
-0.03209136053919792,
-0.07917691767215729,
0.044131502509117126,
-0.048418525606393814,
0.19002611935138702,
-0.15929050743579865,
-0.08129561692476273,
0.26877376437187195,
-0.10710417479276657,
-0.09774601459503174,
0.14769284427165985,
0.0034009618684649467,
-0.042506907135248184,
0.12123972177505493,
0.23100502789020538,
0.012736016884446144,
0.008253766223788261,
0.020407352596521378,
0.0640658587217331,
-0.08095283061265945,
0.03004271164536476,
0.014081964269280434,
-0.0030595639254897833,
-0.03144817054271698,
0.04742327332496643,
0.10826653242111206,
0.03354959562420845,
-0.05863720178604126,
-0.042911097407341,
-0.03319396451115608,
-0.011166886426508427,
0.0984545573592186,
0.02476988174021244,
0.029749346897006035,
-0.1263708621263504,
-0.035249873995780945,
-0.05863846465945244,
0.012856032699346542,
-0.018491584807634354,
0.006122024264186621,
-0.07712023705244064,
0.10377562791109085,
0.06853979080915451,
0.04200517758727074,
-0.18814945220947266,
-0.055578216910362244,
-0.020029043778777122,
0.2049606740474701,
-0.0024468975607305765,
0.0689479261636734,
0.06800185143947601,
-0.024055849760770798,
-0.035438377410173416,
-0.03767392039299011,
0.1685880571603775,
0.03724674880504608,
-0.05459478124976158,
-0.11428087949752808,
0.09211699664592743,
-0.06384782493114471,
0.06496118754148483,
-0.03768410161137581,
-0.001900218310765922,
0.05671938136219978,
0.17420753836631775,
0.00035735697019845247,
0.0714937075972557,
0.008931937627494335,
0.05816757678985596,
-0.051925674080848694,
0.04375062882900238,
0.10935469716787338,
-0.029513143002986908,
-0.07456088066101074,
0.21836890280246735,
-0.1386377066373825,
0.22455096244812012,
0.1951511651277542,
-0.21485428512096405,
-0.01644066907465458,
-0.00027505497564561665,
-0.025875352323055267,
0.044575754553079605,
0.01840386353433132,
-0.017218565568327904,
0.1185246929526329,
-0.006247836165130138,
0.16841408610343933,
-0.07091109454631805,
-0.024929668754339218,
0.0015661009820178151,
-0.08668050169944763,
-0.06161985173821449,
0.15331554412841797,
-0.029684800654649734,
-0.28669407963752747,
0.18719910085201263,
0.21558132767677307,
0.013718005269765854,
0.12570308148860931,
-0.016870036721229553,
0.01963629573583603,
0.06270257383584976,
0.003908874467015266,
-0.04043610021471977,
-0.07116791605949402,
-0.1163189560174942,
-0.023052280768752098,
0.0696306824684143,
0.033727534115314484,
0.05375651642680168,
-0.10675416141748428,
-0.05009174719452858,
-0.02250601164996624,
-0.003208426758646965,
0.015382061712443829,
0.10556375235319138,
0.07892674207687378,
0.1612226814031601,
-0.04102630540728569,
-0.1275910586118698,
0.0509934201836586,
-0.0015682660741731524,
-0.09041957557201385,
0.19758334755897522,
-0.16741719841957092,
-0.34689730405807495,
-0.08889903873205185,
-0.0891600176692009,
-0.06413700431585312,
0.04899394512176514,
0.11889767646789551,
-0.1369427591562271,
-0.026728661730885506,
-0.026747722178697586,
0.018758364021778107,
-0.01890350691974163,
0.019279202446341515,
-0.1413222700357437,
0.07311075180768967,
-0.04909539222717285,
-0.052342016249895096,
-0.0822053849697113,
-0.05860034003853798,
-0.02399604767560959,
0.15994565188884735,
-0.10469629615545273,
0.07642918825149536,
0.11253472417593002,
-0.008020564913749695,
0.034237347543239594,
-0.05206828564405441,
0.17583917081356049,
-0.0688580572605133,
0.01997138001024723,
0.18224509060382843,
-0.06284072995185852,
0.06776507198810577,
0.17349527776241302,
-0.011212200857698917,
-0.05574025586247444,
0.04743233695626259,
-0.021166175603866577,
-0.020886393263936043,
-0.19391267001628876,
-0.17734672129154205,
-0.08522675931453705,
0.07204368710517883,
0.033828917890787125,
0.053120970726013184,
0.031732335686683655,
0.05013231560587883,
-0.03627614304423332,
-0.11883606761693954,
0.06107281148433685,
0.05475323647260666,
0.20747163891792297,
-0.015348183922469616,
0.17963024973869324,
-0.03063291497528553,
-0.17967866361141205,
0.056330326944589615,
-0.02813875488936901,
0.09167038649320602,
0.07557938247919083,
-0.04194993898272514,
0.06148258596658707,
0.07909294962882996,
0.10535299777984619,
0.05994735658168793,
0.021023564040660858,
-0.050188932567834854,
-0.014467604458332062,
-0.03561205789446831,
-0.020568208768963814,
0.030464552342891693,
0.049298226833343506,
-0.11446033418178558,
-0.063277967274189,
-0.07007540762424469,
0.162293940782547,
0.10806005448102951,
0.11945006996393204,
-0.21818895637989044,
-0.022142447531223297,
0.07258924841880798,
-0.013715630397200584,
-0.06746189296245575,
0.11175685375928879,
-0.008867881260812283,
-0.08567970991134644,
0.0846707746386528,
-0.0063851154409348965,
0.10856492817401886,
-0.004105716478079557,
0.09308421611785889,
-0.09186036139726639,
-0.08675938099622726,
0.020317986607551575,
0.0935046449303627,
-0.24854585528373718,
0.26501592993736267,
0.025025462731719017,
-0.04209136590361595,
-0.05688920244574547,
-0.044621653854846954,
0.03582524135708809,
0.20731250941753387,
0.12824666500091553,
-0.008713306859135628,
-0.11174273490905762,
-0.1329779177904129,
-0.03946618735790253,
0.030293136835098267,
0.145162895321846,
-0.020161842927336693,
0.02422325871884823,
-0.08368700742721558,
-0.025714363902807236,
-0.01474631018936634,
0.0028887756634503603,
-0.04339715838432312,
-0.16322316229343414,
0.010453135706484318,
0.11025405675172806,
0.0677262619137764,
-0.011574076488614082,
-0.028714848682284355,
-0.12666372954845428,
0.15139636397361755,
-0.04121929407119751,
-0.06831111013889313,
-0.07456421852111816,
-0.04946701601147652,
0.045357704162597656,
-0.08293066173791885,
0.007483018096536398,
-0.08569429814815521,
0.032550498843193054,
-0.08247169852256775,
-0.1523393839597702,
0.09978862851858139,
-0.11721044778823853,
-0.04318445175886154,
-0.042061012238264084,
0.2033713161945343,
-0.03242780268192291,
0.03675425425171852,
0.06042184308171272,
0.09119164198637009,
-0.0955955758690834,
-0.04654964432120323,
0.008425484411418438,
-0.031339239329099655,
0.10263916850090027,
0.08693601936101913,
-0.15183337032794952,
-0.1488170623779297,
-0.0881798043847084,
-0.008314822800457478,
0.28638628125190735,
0.17217877507209778,
-0.0834517702460289,
0.11236795037984848,
0.1534527987241745,
-0.017828943207859993,
-0.38256847858428955,
-0.1326206475496292,
-0.11325420439243317,
-0.02078479342162609,
-0.03351891040802002,
-0.05589806288480759,
0.07828377932310104,
-0.003415812738239765,
-0.008230583742260933,
-0.026752972975373268,
-0.24559496343135834,
-0.0889182910323143,
0.23580755293369293,
-0.03929804265499115,
0.31084203720092773,
-0.11042535305023193,
-0.05482418090105057,
-0.05965214967727661,
-0.04515550285577774,
0.08812928944826126,
-0.06983217597007751,
0.0945923924446106,
0.020958153530955315,
0.009973496198654175,
0.03404425457119942,
-0.020413096994161606,
0.09707950800657272,
0.022102048620581627,
0.033614303916692734,
-0.07883089035749435,
-0.05462811887264252,
-0.0361064113676548,
0.030884332954883575,
0.020626885816454887,
-0.07494552433490753,
0.04482392594218254,
-0.06866981834173203,
-0.022334296256303787,
-0.07984496653079987,
0.07396699488162994,
0.03532833978533745,
-0.030255775898694992,
-0.03121737204492092,
0.01728317327797413,
0.018480360507965088,
-0.005109691061079502,
0.20359104871749878,
-0.09598065912723541,
0.17212139070034027,
0.10382089763879776,
0.0937390848994255,
-0.13044068217277527,
0.04677998647093773,
-0.04561510309576988,
-0.07766678929328918,
0.04848106577992439,
-0.016339529305696487,
0.06215299665927887,
0.11115892976522446,
-0.08551239222288132,
0.07170692086219788,
0.08497576415538788,
0.04303741455078125,
-0.03978564962744713,
0.15056921541690826,
-0.24679072201251984,
-0.06389668583869934,
-0.0631682276725769,
-0.012938094325363636,
0.08555437624454498,
0.05179382488131523,
0.16851122677326202,
-0.015014536678791046,
-0.0346764400601387,
-0.00653045205399394,
0.025638243183493614,
-0.02819616161286831,
0.08827782422304153,
0.030803214758634567,
0.02800789661705494,
-0.11627426743507385,
0.07882487028837204,
0.03390838950872421,
-0.16875487565994263,
0.03398949280381203,
0.08184844255447388,
-0.18078888952732086,
-0.13307881355285645,
-0.061602406203746796,
0.10212444514036179,
-0.050102587789297104,
-0.08389014005661011,
-0.10669859498739243,
-0.15061701834201813,
0.06018264964222908,
0.2241227775812149,
0.12787863612174988,
0.0773598775267601,
-0.027066973969340324,
-0.09373768419027328,
-0.001010135281831026,
0.06567160040140152,
0.07307854294776917,
-0.014344055205583572,
-0.07926555722951889,
0.025313491001725197,
-0.02407456561923027,
0.10536064207553864,
-0.07946398854255676,
-0.03469810634851456,
-0.1318342238664627,
0.026240164414048195,
-0.09592175483703613,
-0.039584022015333176,
-0.07467583566904068,
-0.039678990840911865,
-0.0051006898283958435,
-0.06304533034563065,
-0.03664782643318176,
-0.06872522085905075,
-0.07963874936103821,
0.023939738050103188,
-0.039129868149757385,
0.07956074178218842,
-0.10495865345001221,
-0.05053054168820381,
0.08893292397260666,
-0.02540518343448639,
0.09510701894760132,
0.14304864406585693,
-0.12395719438791275,
0.09229031950235367,
-0.16757099330425262,
-0.10971057415008545,
0.11360270529985428,
0.006322021130472422,
0.04417237266898155,
0.0070287203416228294,
0.047321196645498276,
0.07378307729959488,
-0.011821597814559937,
0.08925939351320267,
0.10450949519872665,
-0.1108790785074234,
0.05646467208862305,
-0.05214431509375572,
-0.1428409367799759,
-0.05770767480134964,
-0.07931020110845566,
0.0810612142086029,
0.00447808625176549,
0.20027893781661987,
-0.13202258944511414,
0.0803903117775917,
-0.04480249062180519,
0.034120164811611176,
-0.02524142526090145,
-0.22553713619709015,
-0.11074464023113251,
-0.06884042918682098,
0.027249319478869438,
-0.02074042148888111,
0.19078534841537476,
0.05694234371185303,
0.03258822485804558,
0.07891658693552017,
0.10770717263221741,
-0.017275527119636536,
0.06545154750347137,
0.09702126681804657,
0.07955373078584671,
-0.08640952408313751,
-0.15126021206378937,
0.030662739649415016,
0.02270655520260334,
-0.029203422367572784,
0.10495463758707047,
0.16067185997962952,
0.03741587698459625,
0.06928493827581406,
0.002988575492054224,
0.03883541002869606,
-0.023103810846805573,
-0.12279240041971207,
-0.06248972937464714,
0.05127597600221634,
0.02156464383006096,
0.12582769989967346,
0.18634721636772156,
-0.033870112150907516,
0.017673714086413383,
-0.09646306186914444,
-0.05035087838768959,
-0.14491041004657745,
-0.07473684847354889,
-0.13350217044353485,
-0.08016049116849899,
-0.005800851620733738,
-0.11029857397079468,
-0.017697611823678017,
0.05341021344065666,
0.06188251078128815,
-0.05401052162051201,
0.11334440857172012,
-0.01894436962902546,
-0.08174193650484085,
0.0915130227804184,
-0.03683421388268471,
0.046433065086603165,
0.05919898301362991,
-0.07742884755134583,
-0.07437961548566818,
-0.03355879709124565,
-0.029699524864554405,
0.041740741580724716,
-0.011027107015252113,
-0.007484697736799717,
-0.19315871596336365,
-0.12079731374979019,
-0.004073478281497955,
0.056605931371450424,
-0.028301019221544266,
0.08126037567853928,
0.053296592086553574,
0.0060186972841620445,
0.07499535381793976,
0.22338417172431946,
-0.02866765856742859,
-0.15015804767608643,
-0.06615865230560303,
0.24359409511089325,
0.09189455956220627,
0.13730603456497192,
0.01503598503768444,
-0.03296276554465294,
-0.09412064403295517,
0.3093114197254181,
0.29795679450035095,
-0.07245926558971405,
0.05168584734201431,
0.003343320218846202,
0.046264272183179855,
0.11566458642482758,
0.057395294308662415,
0.09504169225692749,
0.2062843143939972,
-0.08798838406801224,
0.004527922719717026,
-0.08867598325014114,
-0.0036832806654274464,
-0.15677647292613983,
0.06762872636318207,
0.09115266054868698,
-0.04019520804286003,
-0.04578660801053047,
0.14512285590171814,
-0.16024373471736908,
0.13016574084758759,
-0.09126926213502884,
-0.21926578879356384,
-0.07427693158388138,
-0.020418882369995117,
0.15268398821353912,
0.029621537774801254,
0.11633140593767166,
-0.013555345125496387,
-0.08629072457551956,
-0.002236595842987299,
0.03527901694178581,
-0.12250712513923645,
-0.013067347928881645,
0.02535524033010006,
-0.02139768935739994,
-0.027881518006324768,
-0.03528495132923126,
0.06555362045764923,
0.11343405395746231,
0.03573856130242348,
0.015525184571743011,
0.10917545109987259,
0.0348600335419178,
0.018222156912088394,
0.0393105186522007,
-0.02136373147368431,
0.015511993318796158,
-0.050423163920640945,
0.09516754001379013,
-0.17639654874801636,
0.08391831815242767,
-0.12460216134786606,
-0.05809001997113228,
-0.009339645504951477,
0.13051219284534454,
-0.041855525225400925,
0.02333325892686844,
0.11108513921499252,
-0.013002341613173485,
-0.030648091807961464,
-0.0458199568092823,
-0.022175382822752,
0.007938339374959469,
-0.12428978085517883,
-0.0528591088950634,
-0.1251319795846939,
-0.045639242976903915,
0.12426169961690903,
0.020188236609101295,
-0.2066013067960739,
-0.002165553392842412,
-0.07745882123708725,
0.07226815819740295,
-0.1383821815252304,
0.11035174876451492,
0.04753418266773224,
0.00213636620901525,
-0.030317967757582664,
-0.09538129717111588,
0.08794687688350677,
0.05914287641644478,
-0.06232096627354622,
-0.10968282073736191
] |
null | null |
transformers
|
# RuBERT for NLI (natural language inference)
This is the [DeepPavlov/rubert-base-cased](https://huggingface.co/DeepPavlov/rubert-base-cased) fine-tuned to predict the logical relationship between two short texts: entailment, contradiction, or neutral.
## Usage
How to run the model for NLI:
```python
# !pip install transformers sentencepiece --quiet
import torch
from transformers import AutoTokenizer, AutoModelForSequenceClassification
model_checkpoint = 'cointegrated/rubert-base-cased-nli-threeway'
tokenizer = AutoTokenizer.from_pretrained(model_checkpoint)
model = AutoModelForSequenceClassification.from_pretrained(model_checkpoint)
if torch.cuda.is_available():
model.cuda()
text1 = 'Сократ - человек, а все люди смертны.'
text2 = 'Сократ никогда не умрёт.'
with torch.inference_mode():
out = model(**tokenizer(text1, text2, return_tensors='pt').to(model.device))
proba = torch.softmax(out.logits, -1).cpu().numpy()[0]
print({v: proba[k] for k, v in model.config.id2label.items()})
# {'entailment': 0.009525929, 'contradiction': 0.9332064, 'neutral': 0.05726764}
```
You can also use this model for zero-shot short text classification (by labels only), e.g. for sentiment analysis:
```python
def predict_zero_shot(text, label_texts, model, tokenizer, label='entailment', normalize=True):
label_texts
tokens = tokenizer([text] * len(label_texts), label_texts, truncation=True, return_tensors='pt', padding=True)
with torch.inference_mode():
result = torch.softmax(model(**tokens.to(model.device)).logits, -1)
proba = result[:, model.config.label2id[label]].cpu().numpy()
if normalize:
proba /= sum(proba)
return proba
classes = ['Я доволен', 'Я недоволен']
predict_zero_shot('Какая гадость эта ваша заливная рыба!', classes, model, tokenizer)
# array([0.05609814, 0.9439019 ], dtype=float32)
predict_zero_shot('Какая вкусная эта ваша заливная рыба!', classes, model, tokenizer)
# array([0.9059292 , 0.09407079], dtype=float32)
```
Alternatively, you can use [Huggingface pipelines](https://huggingface.co/transformers/main_classes/pipelines.html) for inference.
## Sources
The model has been trained on a series of NLI datasets automatically translated to Russian from English.
Most datasets were taken [from the repo of Felipe Salvatore](https://github.com/felipessalvatore/NLI_datasets):
[JOCI](https://github.com/sheng-z/JOCI),
[MNLI](https://cims.nyu.edu/~sbowman/multinli/),
[MPE](https://aclanthology.org/I17-1011/),
[SICK](http://www.lrec-conf.org/proceedings/lrec2014/pdf/363_Paper.pdf),
[SNLI](https://nlp.stanford.edu/projects/snli/).
Some datasets obtained from the original sources:
[ANLI](https://github.com/facebookresearch/anli),
[NLI-style FEVER](https://github.com/easonnie/combine-FEVER-NSMN/blob/master/other_resources/nli_fever.md),
[IMPPRES](https://github.com/facebookresearch/Imppres).
## Performance
The table below shows ROC AUC (one class vs rest) for five models on the corresponding *dev* sets:
- [tiny](https://huggingface.co/cointegrated/rubert-tiny-bilingual-nli): a small BERT predicting entailment vs not_entailment
- [twoway](https://huggingface.co/cointegrated/rubert-base-cased-nli-twoway): a base-sized BERT predicting entailment vs not_entailment
- [threeway](https://huggingface.co/cointegrated/rubert-base-cased-nli-threeway) (**this model**): a base-sized BERT predicting entailment vs contradiction vs neutral
- [vicgalle-xlm](https://huggingface.co/vicgalle/xlm-roberta-large-xnli-anli): a large multilingual NLI model
- [facebook-bart](https://huggingface.co/facebook/bart-large-mnli): a large multilingual NLI model
|model |add_one_rte|anli_r1|anli_r2|anli_r3|copa|fever|help|iie |imppres|joci|mnli |monli|mpe |scitail|sick|snli|terra|total |
|------------------------|-----------|-------|-------|-------|----|-----|----|-----|-------|----|-----|-----|----|-------|----|----|-----|------|
|n_observations |387 |1000 |1000 |1200 |200 |20474|3355|31232|7661 |939 |19647|269 |1000|2126 |500 |9831|307 |101128|
|tiny/entailment |0.77 |0.59 |0.52 |0.53 |0.53|0.90 |0.81|0.78 |0.93 |0.81|0.82 |0.91 |0.81|0.78 |0.93|0.95|0.67 |0.77 |
|twoway/entailment |0.89 |0.73 |0.61 |0.62 |0.58|0.96 |0.92|0.87 |0.99 |0.90|0.90 |0.99 |0.91|0.96 |0.97|0.97|0.87 |0.86 |
|threeway/entailment |0.91 |0.75 |0.61 |0.61 |0.57|0.96 |0.56|0.61 |0.99 |0.90|0.91 |0.67 |0.92|0.84 |0.98|0.98|0.90 |0.80 |
|vicgalle-xlm/entailment |0.88 |0.79 |0.63 |0.66 |0.57|0.93 |0.56|0.62 |0.77 |0.80|0.90 |0.70 |0.83|0.84 |0.91|0.93|0.93 |0.78 |
|facebook-bart/entailment|0.51 |0.41 |0.43 |0.47 |0.50|0.74 |0.55|0.57 |0.60 |0.63|0.70 |0.52 |0.56|0.68 |0.67|0.72|0.64 |0.58 |
|threeway/contradiction | |0.71 |0.64 |0.61 | |0.97 | | |1.00 |0.77|0.92 | |0.89| |0.99|0.98| |0.85 |
|threeway/neutral | |0.79 |0.70 |0.62 | |0.91 | | |0.99 |0.68|0.86 | |0.79| |0.96|0.96| |0.83 |
For evaluation (and for training of the [tiny](https://huggingface.co/cointegrated/rubert-tiny-bilingual-nli) and [twoway](https://huggingface.co/cointegrated/rubert-base-cased-nli-twoway) models), some extra datasets were used:
[Add-one RTE](https://cs.brown.edu/people/epavlick/papers/ans.pdf),
[CoPA](https://people.ict.usc.edu/~gordon/copa.html),
[IIE](https://aclanthology.org/I17-1100), and
[SCITAIL](https://allenai.org/data/scitail) taken from [the repo of Felipe Salvatore](https://github.com/felipessalvatore/NLI_datasets) and translatted,
[HELP](https://github.com/verypluming/HELP) and [MoNLI](https://github.com/atticusg/MoNLI) taken from the original sources and translated,
and Russian [TERRa](https://russiansuperglue.com/ru/tasks/task_info/TERRa).
|
{"language": "ru", "tags": ["rubert", "russian", "nli", "rte", "zero-shot-classification"], "datasets": ["cointegrated/nli-rus-translated-v2021"], "pipeline_tag": "zero-shot-classification", "widget": [{"text": "\u042f \u0445\u043e\u0447\u0443 \u043f\u043e\u0435\u0445\u0430\u0442\u044c \u0432 \u0410\u0432\u0441\u0442\u0440\u0430\u043b\u0438\u044e", "candidate_labels": "\u0441\u043f\u043e\u0440\u0442,\u043f\u0443\u0442\u0435\u0448\u0435\u0441\u0442\u0432\u0438\u044f,\u043c\u0443\u0437\u044b\u043a\u0430,\u043a\u0438\u043d\u043e,\u043a\u043d\u0438\u0433\u0438,\u043d\u0430\u0443\u043a\u0430,\u043f\u043e\u043b\u0438\u0442\u0438\u043a\u0430", "hypothesis_template": "\u0422\u0435\u043c\u0430 \u0442\u0435\u043a\u0441\u0442\u0430 - {}."}]}
|
zero-shot-classification
|
cointegrated/rubert-base-cased-nli-threeway
|
[
"transformers",
"pytorch",
"safetensors",
"bert",
"text-classification",
"rubert",
"russian",
"nli",
"rte",
"zero-shot-classification",
"ru",
"dataset:cointegrated/nli-rus-translated-v2021",
"autotrain_compatible",
"endpoints_compatible",
"has_space",
"region:us"
] |
2022-03-02T23:29:05+00:00
|
[] |
[
"ru"
] |
TAGS
#transformers #pytorch #safetensors #bert #text-classification #rubert #russian #nli #rte #zero-shot-classification #ru #dataset-cointegrated/nli-rus-translated-v2021 #autotrain_compatible #endpoints_compatible #has_space #region-us
|
RuBERT for NLI (natural language inference)
===========================================
This is the DeepPavlov/rubert-base-cased fine-tuned to predict the logical relationship between two short texts: entailment, contradiction, or neutral.
Usage
-----
How to run the model for NLI:
You can also use this model for zero-shot short text classification (by labels only), e.g. for sentiment analysis:
Alternatively, you can use Huggingface pipelines for inference.
Sources
-------
The model has been trained on a series of NLI datasets automatically translated to Russian from English.
Most datasets were taken from the repo of Felipe Salvatore:
JOCI,
MNLI,
MPE,
SICK,
SNLI.
Some datasets obtained from the original sources:
ANLI,
NLI-style FEVER,
IMPPRES.
Performance
-----------
The table below shows ROC AUC (one class vs rest) for five models on the corresponding *dev* sets:
* tiny: a small BERT predicting entailment vs not\_entailment
* twoway: a base-sized BERT predicting entailment vs not\_entailment
* threeway (this model): a base-sized BERT predicting entailment vs contradiction vs neutral
* vicgalle-xlm: a large multilingual NLI model
* facebook-bart: a large multilingual NLI model
For evaluation (and for training of the tiny and twoway models), some extra datasets were used:
Add-one RTE,
CoPA,
IIE, and
SCITAIL taken from the repo of Felipe Salvatore and translatted,
HELP and MoNLI taken from the original sources and translated,
and Russian TERRa.
|
[] |
[
"TAGS\n#transformers #pytorch #safetensors #bert #text-classification #rubert #russian #nli #rte #zero-shot-classification #ru #dataset-cointegrated/nli-rus-translated-v2021 #autotrain_compatible #endpoints_compatible #has_space #region-us \n"
] |
[
84
] |
[
"passage: TAGS\n#transformers #pytorch #safetensors #bert #text-classification #rubert #russian #nli #rte #zero-shot-classification #ru #dataset-cointegrated/nli-rus-translated-v2021 #autotrain_compatible #endpoints_compatible #has_space #region-us \n"
] |
[
-0.0167755838483572,
0.05612822622060776,
-0.0053598093800246716,
0.01881719008088112,
0.0895698070526123,
0.0186097901314497,
0.16894710063934326,
0.0625932514667511,
0.07482873648405075,
0.008546530269086361,
0.1566205620765686,
0.08985161036252975,
-0.05136606842279434,
0.16612158715724945,
-0.06042202562093735,
-0.19788070023059845,
0.10175532847642899,
-0.03633766248822212,
-0.07442819327116013,
0.0959489643573761,
0.11076183617115021,
-0.08769871294498444,
0.04864858090877533,
-0.07180583477020264,
-0.04630441963672638,
0.07700163871049881,
0.0441189743578434,
-0.11375847458839417,
0.10001987963914871,
0.02428993582725525,
0.13965381681919098,
0.078270822763443,
-0.04331587627530098,
-0.12353790551424026,
0.030742255970835686,
0.021195905283093452,
-0.1313752681016922,
0.034065600484609604,
0.0684269517660141,
-0.10933328419923782,
0.10737863183021545,
-0.11160104721784592,
-0.022408582270145416,
0.02812778949737549,
-0.11269202828407288,
-0.1289035975933075,
-0.03709815815091133,
0.07269646972417831,
0.0004999779630452394,
0.08335968852043152,
-0.021068599075078964,
0.18591967225074768,
-0.09976658970117569,
0.11917326599359512,
0.09810583293437958,
-0.3317878842353821,
-0.033798400312662125,
0.1197735071182251,
-0.018466873094439507,
0.1240229681134224,
-0.007220111787319183,
0.10091754794120789,
0.05256536230444908,
-0.046886660158634186,
-0.011698140762746334,
-0.03842999413609505,
-0.09657198935747147,
0.04008687660098076,
-0.1176002249121666,
-0.015055381692945957,
0.19578838348388672,
-0.03128926828503609,
0.0914880707859993,
-0.015927443280816078,
-0.06604209542274475,
-0.15844587981700897,
-0.006131814792752266,
0.001629147562198341,
-0.035937387496232986,
-0.010352014563977718,
0.014344916678965092,
-0.00017316165030933917,
-0.14264410734176636,
0.01969919167459011,
-0.1551612764596939,
0.24956105649471283,
0.02593296766281128,
0.07255789637565613,
-0.11477646976709366,
0.009027077816426754,
-0.0018871243810281157,
-0.10157192498445511,
0.07790470868349075,
-0.10773105174303055,
-0.028945082798600197,
0.031833913177251816,
-0.08544012159109116,
0.012857181020081043,
0.13319054245948792,
0.13614080846309662,
-0.028254788368940353,
0.0355808399617672,
0.015849484130740166,
0.11122558265924454,
0.018730726093053818,
0.08358660340309143,
-0.042135950177907944,
-0.04578417167067528,
-0.003466889960691333,
-0.07846150547266006,
0.018410401418805122,
-0.033605143427848816,
-0.1401035636663437,
-0.0481911338865757,
0.07912518829107285,
0.07527761906385422,
0.014268145896494389,
0.08804166316986084,
-0.022687600925564766,
0.045095667243003845,
0.04651080071926117,
-0.046031977981328964,
0.018063826486468315,
-0.010499910451471806,
0.021812530234456062,
0.01958770677447319,
-0.06715866923332214,
-0.020391033962368965,
-0.01675935834646225,
0.06566499173641205,
-0.02322027087211609,
0.02539113722741604,
-0.02171994000673294,
-0.1464567333459854,
0.043484754860401154,
-0.18589824438095093,
0.030057042837142944,
-0.22339072823524475,
-0.006572778802365065,
-0.017390312626957893,
0.024637775495648384,
-0.03035798855125904,
0.06248990446329117,
-0.01661304384469986,
-0.05054587498307228,
0.041541919112205505,
-0.05512339249253273,
-0.09517215937376022,
-0.10454888641834259,
0.0346672460436821,
-0.0945296585559845,
0.1339881718158722,
-0.10583681613206863,
0.008586589246988297,
-0.13502922654151917,
-0.05042592063546181,
0.01784335821866989,
0.048010505735874176,
-0.15901948511600494,
0.0795208290219307,
-0.0014653411926701665,
-0.041259054094552994,
-0.01713523268699646,
0.04675145074725151,
-0.016489209607243538,
0.16756415367126465,
-0.19442997872829437,
-0.05714787170290947,
0.15882614254951477,
-0.14444749057292938,
-0.07933361083269119,
0.11068012565374374,
-0.009475775994360447,
-0.07450450956821442,
0.07076036930084229,
0.22998523712158203,
0.07208309322595596,
-0.012234077788889408,
-0.05549676716327667,
0.04824921116232872,
-0.07679443061351776,
-0.033934902399778366,
0.012780994176864624,
0.11706125736236572,
-0.11587484180927277,
0.025292158126831055,
0.02941771224141121,
0.03362499549984932,
-0.0759604200720787,
-0.07983892410993576,
-0.015469823032617569,
-0.037894006818532944,
0.14558345079421997,
0.021905221045017242,
0.09236235171556473,
-0.16946114599704742,
-0.05438537895679474,
-0.10706965625286102,
0.04180808365345001,
0.05017430707812309,
0.0162378940731287,
-0.075551837682724,
0.12813030183315277,
-0.013576976023614407,
0.031239910051226616,
-0.1450604498386383,
-0.09452466666698456,
-0.026766769587993622,
0.14120124280452728,
0.028119361028075218,
0.16248668730258942,
0.0572291724383831,
-0.04631572961807251,
-0.042768444865942,
-0.06297867745161057,
0.09570387005805969,
0.04163498058915138,
-0.021518049761652946,
-0.16417525708675385,
0.06951688975095749,
-0.07986681908369064,
-0.005674074403941631,
-0.08925756067037582,
0.005584395956248045,
0.06028781086206436,
0.12694530189037323,
0.004349131602793932,
0.11877144128084183,
-0.04333169758319855,
0.07927142828702927,
-0.09846041351556778,
0.030811363831162453,
0.08042853325605392,
-0.05109146609902382,
-0.09560298174619675,
0.16826499998569489,
-0.04422673583030701,
0.2938671112060547,
0.20397153496742249,
-0.16175556182861328,
-0.037914469838142395,
0.030480140820145607,
-0.012445464730262756,
0.06000462546944618,
0.07291749119758606,
0.08447916805744171,
-0.051163386553525925,
-0.024471651762723923,
0.10461676120758057,
-0.031308695673942566,
0.0058985217474401,
0.015351408161222935,
-0.09250156581401825,
-0.12976765632629395,
0.17097337543964386,
-0.018588561564683914,
-0.2597760856151581,
0.2196936160326004,
0.2500140368938446,
-0.016404038295149803,
0.2505592107772827,
0.005492064636200666,
0.015504070557653904,
0.014521471224725246,
-0.07654093205928802,
-0.03595074266195297,
0.08011152595281601,
-0.059259843081235886,
-0.04349653795361519,
0.07494007796049118,
0.02797033078968525,
0.023258496075868607,
-0.1174655631184578,
-0.07496196031570435,
-0.008587488904595375,
0.011446554213762283,
-0.015982437878847122,
0.11960580199956894,
0.02027587965130806,
0.1663033366203308,
-0.033495113253593445,
-0.1038665696978569,
0.04248018190264702,
-0.03034939058125019,
-0.04250986501574516,
0.1528339385986328,
-0.1718830019235611,
-0.3086640238761902,
-0.07170919328927994,
-0.0834609791636467,
-0.07481160759925842,
0.025086039677262306,
0.06390225142240524,
-0.2067636400461197,
-0.016353467479348183,
-0.026515813544392586,
-0.017270302399992943,
-0.08738166838884354,
0.05865132808685303,
-0.09749386459589005,
0.09870310127735138,
-0.03187616914510727,
-0.037271253764629364,
-0.07113530486822128,
-0.04869438335299492,
-0.0343409888446331,
0.19321416318416595,
-0.02194943279027939,
0.09512533992528915,
0.08229052275419235,
-0.07103298604488373,
0.027933394536376,
-0.07581270486116409,
0.10930574685335159,
-0.10264572501182556,
-0.015270994044840336,
0.1127425953745842,
0.01089203730225563,
0.03700323402881622,
0.15009528398513794,
0.005413648206740618,
-0.032298777252435684,
0.026947367936372757,
-0.03249824419617653,
-0.07854003459215164,
-0.19243407249450684,
-0.20119257271289825,
-0.06673211604356766,
0.07984351366758347,
0.01978287845849991,
0.03901231661438942,
0.07065549492835999,
0.06295748800039291,
-0.011154308915138245,
-0.10282644629478455,
-0.03126254305243492,
0.05635431781411171,
0.17513568699359894,
-0.0065227048471570015,
0.1754302829504013,
-0.08094155788421631,
-0.07986985892057419,
0.09932208806276321,
-0.015575557947158813,
0.11217813193798065,
0.08066832274198532,
-0.07937044650316238,
0.055731676518917084,
0.14283357560634613,
0.133412703871727,
0.05703793466091156,
0.09733493626117706,
-0.04083077609539032,
0.0037655592896044254,
-0.03841126337647438,
-0.02831992693245411,
0.06060551106929779,
0.018920237198472023,
-0.1273798942565918,
-0.021597592160105705,
-0.06227054446935654,
0.14919880032539368,
0.04612582549452782,
0.11959577351808548,
-0.17211546003818512,
-0.0606677308678627,
0.06719063967466354,
0.022280601784586906,
-0.04937649145722389,
0.08595207333564758,
0.04863910377025604,
-0.04845402389764786,
0.12228287011384964,
0.007974836975336075,
0.06649777293205261,
0.024603378027677536,
0.06938536465167999,
-0.07619116455316544,
-0.11428813636302948,
-0.009791978634893894,
0.09851846098899841,
-0.2577219307422638,
0.31762421131134033,
-0.01096636988222599,
-0.10820042341947556,
-0.06605372577905655,
-0.10094001144170761,
0.018961133435368538,
0.17113617062568665,
0.11840049922466278,
0.03830847144126892,
-0.1274057775735855,
-0.15952004492282867,
-0.04696878045797348,
0.017928285524249077,
0.13230282068252563,
0.003228016896173358,
0.03958304226398468,
-0.039420198649168015,
-0.004657419864088297,
-0.03274526819586754,
0.032965946942567825,
-0.08033204823732376,
-0.15624569356441498,
0.040174953639507294,
0.11448684334754944,
-0.002606047550216317,
-0.00372656830586493,
-0.0988677442073822,
-0.14860853552818298,
0.13075774908065796,
-0.03474384918808937,
-0.036882758140563965,
-0.09175441414117813,
0.007731858175247908,
0.09217819571495056,
-0.07831370085477829,
0.04576679691672325,
-0.05501212179660797,
0.016900230199098587,
-0.06625744700431824,
-0.16068518161773682,
0.08299306035041809,
-0.12162609398365021,
-0.09140357375144958,
-0.024572450667619705,
0.1183982565999031,
-0.015493791550397873,
0.05141795799136162,
-0.013453164137899876,
0.07658861577510834,
-0.075064517557621,
-0.060419775545597076,
0.04672563448548317,
-0.05114639177918434,
0.03761943057179451,
0.12593163549900055,
-0.06397566199302673,
-0.17888256907463074,
-0.0523042306303978,
-0.05607481300830841,
0.23772010207176208,
0.2709004580974579,
-0.1365026831626892,
0.15176087617874146,
0.06273578852415085,
-0.009463694877922535,
-0.3447212874889374,
-0.062025200575590134,
-0.10796158760786057,
0.00399170583114028,
-0.01387797947973013,
-0.0641675516963005,
-0.0017662786412984133,
-0.013375057838857174,
-0.05854581668972969,
0.06024322658777237,
-0.13522611558437347,
-0.08335114270448685,
0.16184839606285095,
-0.052111923694610596,
0.33667880296707153,
-0.09260716289281845,
-0.009914250113070011,
-0.07003157585859299,
0.051093004643917084,
0.15447677671909332,
-0.021056659519672394,
0.07175371795892715,
-0.030884604901075363,
0.0025737574324011803,
0.04886594042181969,
-0.03484499827027321,
0.12051171809434891,
-0.07731695473194122,
0.05836496502161026,
-0.10384973883628845,
-0.11716070771217346,
0.0869445875287056,
-0.031200828030705452,
-0.03567337989807129,
-0.005647857207804918,
0.022600922733545303,
-0.08284047245979309,
-0.01286136545240879,
-0.06120939180254936,
0.057564590126276016,
0.012699690647423267,
-0.05912299081683159,
-0.07987110316753387,
0.0864504873752594,
0.02060750313103199,
-0.027534501627087593,
0.325164794921875,
-0.044279489666223526,
0.14823395013809204,
0.04955076053738594,
0.06530207395553589,
-0.05740942060947418,
0.10576245188713074,
0.012377039529383183,
-0.05446568876504898,
0.07338108867406845,
-0.11259584128856659,
0.022454814985394478,
0.11275742202997208,
-0.07627370208501816,
-0.0009161335765384138,
0.07658164203166962,
0.016620930284261703,
-0.028373850509524345,
0.1957646906375885,
-0.23199453949928284,
-0.04232129827141762,
-0.017077742144465446,
-0.0034439375158399343,
0.14654351770877838,
0.11043104529380798,
0.16332580149173737,
-0.05825292691588402,
-0.006627448368817568,
-0.012769284658133984,
-0.020175158977508545,
-0.009341681376099586,
0.06635374575853348,
0.07787451148033142,
0.024094490334391594,
-0.09495121985673904,
0.08453604578971863,
0.03177677094936371,
-0.09600257873535156,
0.025218499824404716,
0.0580517016351223,
-0.1257297396659851,
-0.16407182812690735,
-0.008082828484475613,
0.07064627856016159,
-0.09416281431913376,
-0.0870572030544281,
-0.02453169971704483,
-0.0949973538517952,
0.054879285395145416,
0.17680783569812775,
0.11147031933069229,
0.006646031513810158,
-0.0034915499854832888,
-0.07753700762987137,
0.041285011917352676,
0.036266159266233444,
0.02080368623137474,
-0.004492384381592274,
-0.15713322162628174,
0.03150707855820656,
-0.0430392362177372,
0.13180722296237946,
-0.09767604619264603,
-0.013914039358496666,
-0.14241641759872437,
0.024147218093276024,
-0.08648982644081116,
-0.052928950637578964,
-0.06266308575868607,
-0.033603567630052567,
-0.01916436105966568,
-0.09906032681465149,
-0.06835054606199265,
-0.04797651991248131,
-0.12495288997888565,
0.05475911125540733,
-0.02103813923895359,
0.071117103099823,
-0.07330752909183502,
-0.05767223984003067,
0.03096466138958931,
0.004175687208771706,
0.09777665883302689,
0.11674149334430695,
-0.032588038593530655,
0.11978039145469666,
-0.14333127439022064,
-0.03207947313785553,
0.10019855946302414,
0.03538111224770546,
0.08537846803665161,
0.06906421482563019,
0.02335425093770027,
0.04760263115167618,
0.01654716208577156,
0.0931670218706131,
0.0387592650949955,
-0.04712335020303726,
0.04196993261575699,
-0.05334540829062462,
-0.09355027228593826,
0.009879589080810547,
-0.01915954239666462,
0.09891735762357712,
0.00022255019575823098,
0.1755300611257553,
-0.10235259681940079,
0.08142482489347458,
-0.05178295075893402,
0.023356450721621513,
-0.020767109468579292,
-0.22643305361270905,
-0.1115182638168335,
-0.0757305920124054,
0.04894816875457764,
-0.026996629312634468,
0.25632068514823914,
0.11267538368701935,
-0.008991111069917679,
0.04390687867999077,
0.004169745370745659,
-0.05244067683815956,
0.04870783910155296,
0.08942080289125443,
0.06755132973194122,
-0.04050493612885475,
-0.09363029152154922,
0.010500204749405384,
0.02877618558704853,
-0.01834685727953911,
0.07618581503629684,
0.11481800675392151,
0.055298950523138046,
0.06532071530818939,
-0.01079465076327324,
-0.04885176569223404,
0.0022024796344339848,
-0.12393368035554886,
-0.1175379827618599,
0.05448739230632782,
-0.018677808344364166,
0.07997261732816696,
0.16484974324703217,
-0.05046820268034935,
0.03920756280422211,
-0.05212898552417755,
-0.0077878562733531,
-0.12509645521640778,
-0.14807498455047607,
-0.10834234207868576,
-0.13799495995044708,
-0.008526477962732315,
-0.08336527645587921,
-0.010949810966849327,
0.03328900784254074,
0.10031730681657791,
-0.04113459959626198,
0.0671360120177269,
0.008076873607933521,
-0.024841761216521263,
0.11221621185541153,
0.009791321121156216,
0.01917104609310627,
0.0000910586240934208,
-0.06538328528404236,
-0.07872996479272842,
-0.06742408126592636,
-0.08196917176246643,
0.0437152236700058,
-0.06284583359956741,
0.012956681661307812,
-0.09433922916650772,
-0.10525327175855637,
-0.03319897875189781,
0.057797398418188095,
0.030715370550751686,
0.13138936460018158,
0.02295488677918911,
0.014897417277097702,
0.02506803162395954,
0.24119797348976135,
-0.0073773679323494434,
-0.08730784058570862,
0.0013394105480983853,
0.20165850222110748,
0.022569242864847183,
0.14655070006847382,
-0.04161474481225014,
-0.022148964926600456,
-0.09113487601280212,
0.18928955495357513,
0.3961147964000702,
-0.022509099915623665,
0.0781056135892868,
-0.024199599400162697,
0.03724564611911774,
0.03688556328415871,
0.06612182408571243,
0.05911003053188324,
0.127825066447258,
-0.06365039944648743,
-0.01706581562757492,
-0.09347563236951828,
0.04365124553442001,
-0.08475380390882492,
0.05585315451025963,
0.05655256658792496,
-0.07496510446071625,
-0.08029547333717346,
0.10289981961250305,
-0.13264739513397217,
0.04862591251730919,
0.09123442322015762,
-0.23038822412490845,
-0.09059698134660721,
0.030056796967983246,
0.18082424998283386,
-0.005635173991322517,
0.07462155073881149,
-0.03684077039361,
-0.06257161498069763,
-0.10886120051145554,
0.01284688152372837,
-0.10564708709716797,
-0.061371564865112305,
0.047161128371953964,
0.025159025564789772,
0.0739951804280281,
-0.032483939081430435,
0.08536192029714584,
0.11093819886445999,
0.02579292468726635,
-0.04230615124106407,
0.09203051775693893,
0.03473646938800812,
-0.050199102610349655,
-0.019591299816966057,
-0.03282354772090912,
-0.00858629122376442,
-0.028825992718338966,
0.14006520807743073,
-0.1320701241493225,
0.06541386246681213,
-0.01696113497018814,
-0.0451306588947773,
0.003239767160266638,
0.1409224569797516,
-0.059452224522829056,
0.06082766875624657,
0.11356622725725174,
-0.03344074264168739,
-0.034776534885168076,
-0.03712509572505951,
0.0077806818298995495,
0.014034786261618137,
-0.07567211985588074,
-0.06045745685696602,
-0.07290194928646088,
-0.05023844540119171,
0.09728585928678513,
0.04481278732419014,
-0.10859203338623047,
0.015926914289593697,
-0.09304554760456085,
0.0659833773970604,
-0.08580850064754486,
0.07209961116313934,
0.03996053710579872,
-0.007320042233914137,
-0.010856201872229576,
-0.10397069901227951,
0.0739068016409874,
0.04923378303647041,
-0.09668245911598206,
-0.07001087069511414
] |
null | null |
transformers
|
# RuBERT for NLI (natural language inference)
This is the [DeepPavlov/rubert-base-cased](https://huggingface.co/DeepPavlov/rubert-base-cased) fine-tuned to predict the logical relationship between two short texts: entailment or not entailment.
For more details, see the card for a similar model: https://huggingface.co/cointegrated/rubert-base-cased-nli-threeway
|
{"language": "ru", "tags": ["rubert", "russian", "nli", "rte", "zero-shot-classification"], "datasets": ["cointegrated/nli-rus-translated-v2021"], "pipeline_tag": "zero-shot-classification", "widget": [{"text": "\u042f \u0445\u043e\u0447\u0443 \u043f\u043e\u0435\u0445\u0430\u0442\u044c \u0432 \u0410\u0432\u0441\u0442\u0440\u0430\u043b\u0438\u044e", "candidate_labels": "\u0441\u043f\u043e\u0440\u0442,\u043f\u0443\u0442\u0435\u0448\u0435\u0441\u0442\u0432\u0438\u044f,\u043c\u0443\u0437\u044b\u043a\u0430,\u043a\u0438\u043d\u043e,\u043a\u043d\u0438\u0433\u0438,\u043d\u0430\u0443\u043a\u0430,\u043f\u043e\u043b\u0438\u0442\u0438\u043a\u0430", "hypothesis_template": "\u0422\u0435\u043c\u0430 \u0442\u0435\u043a\u0441\u0442\u0430 - {}."}]}
|
zero-shot-classification
|
cointegrated/rubert-base-cased-nli-twoway
|
[
"transformers",
"pytorch",
"safetensors",
"bert",
"text-classification",
"rubert",
"russian",
"nli",
"rte",
"zero-shot-classification",
"ru",
"dataset:cointegrated/nli-rus-translated-v2021",
"autotrain_compatible",
"endpoints_compatible",
"region:us"
] |
2022-03-02T23:29:05+00:00
|
[] |
[
"ru"
] |
TAGS
#transformers #pytorch #safetensors #bert #text-classification #rubert #russian #nli #rte #zero-shot-classification #ru #dataset-cointegrated/nli-rus-translated-v2021 #autotrain_compatible #endpoints_compatible #region-us
|
# RuBERT for NLI (natural language inference)
This is the DeepPavlov/rubert-base-cased fine-tuned to predict the logical relationship between two short texts: entailment or not entailment.
For more details, see the card for a similar model: URL
|
[
"# RuBERT for NLI (natural language inference)\n\nThis is the DeepPavlov/rubert-base-cased fine-tuned to predict the logical relationship between two short texts: entailment or not entailment.\n\nFor more details, see the card for a similar model: URL"
] |
[
"TAGS\n#transformers #pytorch #safetensors #bert #text-classification #rubert #russian #nli #rte #zero-shot-classification #ru #dataset-cointegrated/nli-rus-translated-v2021 #autotrain_compatible #endpoints_compatible #region-us \n",
"# RuBERT for NLI (natural language inference)\n\nThis is the DeepPavlov/rubert-base-cased fine-tuned to predict the logical relationship between two short texts: entailment or not entailment.\n\nFor more details, see the card for a similar model: URL"
] |
[
80,
66
] |
[
"passage: TAGS\n#transformers #pytorch #safetensors #bert #text-classification #rubert #russian #nli #rte #zero-shot-classification #ru #dataset-cointegrated/nli-rus-translated-v2021 #autotrain_compatible #endpoints_compatible #region-us \n# RuBERT for NLI (natural language inference)\n\nThis is the DeepPavlov/rubert-base-cased fine-tuned to predict the logical relationship between two short texts: entailment or not entailment.\n\nFor more details, see the card for a similar model: URL"
] |
[
-0.042316026985645294,
-0.004495508503168821,
-0.002020692452788353,
0.09691309183835983,
0.029318148270249367,
-0.015602044761180878,
0.10639534145593643,
0.0940612256526947,
0.11267413944005966,
0.058438073843717575,
0.14322292804718018,
0.11136618256568909,
0.021560844033956528,
0.12057124078273773,
-0.07434660196304321,
-0.2360081523656845,
0.0312943160533905,
0.005897062830626965,
0.032307207584381104,
0.08484853804111481,
0.1289575845003128,
-0.09510751068592072,
0.09127777814865112,
0.023596880957484245,
-0.0105222687125206,
0.0702984631061554,
0.01896645501255989,
-0.060274023562669754,
0.056877948343753815,
0.05799376964569092,
0.06164570525288582,
0.06388378888368607,
0.036388833075761795,
-0.14470136165618896,
0.03195510059595108,
-0.020815247669816017,
-0.030866097658872604,
0.057843953371047974,
0.14019787311553955,
-0.18122345209121704,
0.009126831777393818,
-0.09648594260215759,
0.021096209064126015,
-0.011869242414832115,
-0.062212780117988586,
-0.05599311739206314,
0.018379470333456993,
0.11078442633152008,
0.02408767305314541,
0.005375627428293228,
-0.026595067232847214,
0.11471780389547348,
-0.09228505194187164,
0.09259922802448273,
0.09150213748216629,
-0.3102051615715027,
-0.014585110358893871,
0.07733190059661865,
-0.11584223061800003,
0.0419442318379879,
0.04388251155614853,
0.0470256544649601,
0.09466524422168732,
-0.06118984892964363,
0.002342810155823827,
0.006298727821558714,
-0.07627727836370468,
0.025695446878671646,
-0.16148963570594788,
0.04836972802877426,
0.10912235081195831,
0.003320610849186778,
0.024715594947338104,
-0.032781027257442474,
-0.06893745809793472,
-0.04254554584622383,
-0.03139660879969597,
-0.07142969965934753,
-0.027269121259450912,
-0.014890340156853199,
0.07194973528385162,
0.03625025600194931,
-0.07664129137992859,
-0.007384209427982569,
-0.1037193015217781,
0.2716713547706604,
0.08821848779916763,
0.07711120694875717,
-0.08094312250614166,
0.04206131026148796,
-0.0666094422340393,
-0.14599882066249847,
0.03249454125761986,
-0.10099001973867416,
0.012240862473845482,
-0.011458746157586575,
-0.12661150097846985,
-0.004431877285242081,
0.05572374165058136,
0.13242484629154205,
0.03944375365972519,
0.03343135863542557,
0.014492806978523731,
0.04289209097623825,
0.026010990142822266,
0.07556983083486557,
-0.06944537162780762,
-0.04420095682144165,
0.03200913593173027,
-0.057918015867471695,
0.03418737277388573,
-0.03366991505026817,
-0.17267785966396332,
-0.06099708005785942,
0.030983708798885345,
0.007917051203548908,
-0.06459806859493256,
0.08139635622501373,
-0.06322143971920013,
-0.06199820339679718,
0.019674746319651604,
-0.08971618115901947,
0.014443103224039078,
0.03165869787335396,
-0.1278892457485199,
0.06169843673706055,
-0.08108694851398468,
0.00955529697239399,
-0.07644681632518768,
0.042356207966804504,
0.026667527854442596,
-0.014222558587789536,
-0.06620598584413528,
-0.16109639406204224,
0.003100852482020855,
-0.09130938351154327,
0.027882667258381844,
-0.1662037968635559,
-0.16468501091003418,
0.016750415787100792,
0.02993939444422722,
-0.08955762535333633,
0.07298367470502853,
-0.11540542542934418,
0.058033719658851624,
0.011657644994556904,
-0.02468647062778473,
-0.05625837296247482,
-0.0799245610833168,
-0.02439938671886921,
-0.00883693341165781,
0.15555638074874878,
-0.026367513462901115,
0.016818510368466377,
-0.15580418705940247,
-0.03506869822740555,
0.10698939114809036,
0.06479547917842865,
-0.0681372731924057,
-0.03529792279005051,
-0.04552334547042847,
-0.08098378777503967,
-0.028941774740815163,
0.057223156094551086,
0.008263924159109592,
0.11685770750045776,
-0.15516303479671478,
-0.08781684190034866,
0.13315661251544952,
-0.09279482066631317,
-0.09557323902845383,
0.17886967957019806,
-0.06362248957157135,
-0.0012713001342490315,
0.10414919257164001,
0.1797705590724945,
0.14240829646587372,
0.0869005024433136,
0.02033798024058342,
0.04994688928127289,
-0.0662916898727417,
0.005883381236344576,
0.0060236332938075066,
0.19759687781333923,
-0.19592714309692383,
0.04810279980301857,
0.07826591283082962,
-0.049443162977695465,
-0.06930826604366302,
-0.06948595494031906,
-0.01244425866752863,
-0.06336084753274918,
0.14905399084091187,
-0.05528191849589348,
0.09077233821153641,
-0.14831627905368805,
-0.06278497725725174,
-0.144328773021698,
0.07898328453302383,
-0.019829684868454933,
-0.001510484958998859,
-0.12822109460830688,
0.14973758161067963,
-0.0315852165222168,
0.01895732618868351,
-0.13047224283218384,
0.02617766708135605,
0.05396129563450813,
0.07198518514633179,
0.08039070665836334,
0.11539340764284134,
0.03868570178747177,
0.022470874711871147,
-0.01669829525053501,
-0.039986662566661835,
0.17812135815620422,
-0.006425328087061644,
-0.013789755292236805,
-0.21245940029621124,
0.06406504660844803,
-0.061557259410619736,
-0.05270656570792198,
-0.10115274786949158,
-0.030399996787309647,
-0.06916343420743942,
0.12543447315692902,
-0.03323771059513092,
0.15956780314445496,
-0.027502918615937233,
0.04764404892921448,
-0.08627862483263016,
0.058536287397146225,
0.06449990719556808,
-0.0930657610297203,
-0.08745930343866348,
0.11593662202358246,
-0.027981316670775414,
0.1386975795030594,
0.1334049552679062,
-0.1643250286579132,
-0.011014258489012718,
0.019534019753336906,
-0.010546563193202019,
0.04467414692044258,
0.036536820232868195,
0.11942334473133087,
0.14857634902000427,
-0.031056363135576248,
0.09852609783411026,
-0.11948283016681671,
-0.01108238659799099,
0.014938813634216785,
-0.11676052212715149,
-0.04193563014268875,
0.16334304213523865,
0.05342153087258339,
-0.32452327013015747,
0.11987145990133286,
0.10897123068571091,
-0.05985942855477333,
0.1365329772233963,
0.028829673305153847,
-0.057936038821935654,
0.011934682726860046,
-0.00028323291917331517,
-0.005814085248857737,
-0.015402260236442089,
0.019632335752248764,
-0.031006354838609695,
0.09265823662281036,
-0.0029107406735420227,
0.005893256049603224,
-0.11977843195199966,
0.01700783334672451,
0.05622239410877228,
-0.00953583512455225,
0.016572024673223495,
0.052978046238422394,
0.03318210691213608,
0.154230996966362,
-0.021612050011754036,
-0.15945667028427124,
0.01018520351499319,
-0.035847220569849014,
-0.09934578835964203,
0.17264005541801453,
-0.08731669187545776,
-0.27963492274284363,
-0.109134241938591,
-0.20311160385608673,
-0.12102778255939484,
0.05366671085357666,
-0.01435747928917408,
-0.18586309254169464,
-0.07747496664524078,
-0.0969809740781784,
-0.004919775761663914,
-0.04352584108710289,
0.05445389449596405,
-0.12279260158538818,
0.06931678205728531,
-0.030365435406565666,
-0.05085669830441475,
-0.055375393480062485,
-0.07646752148866653,
0.025520585477352142,
0.11954948306083679,
-0.0895150899887085,
0.018564211204648018,
0.16405576467514038,
-0.08771761506795883,
0.021388668566942215,
-0.06533751636743546,
0.061225153505802155,
0.010136988945305347,
-0.0031178551726043224,
0.17877472937107086,
-0.06624908000230789,
0.04617047682404518,
0.17227306962013245,
0.0004306395712774247,
-0.07509444653987885,
0.07454675436019897,
-0.06254307180643082,
-0.017329514026641846,
-0.2112797647714615,
-0.16454444825649261,
-0.03596468269824982,
0.10349224507808685,
0.09116282314062119,
-0.01079588197171688,
0.03418726101517677,
0.07633142173290253,
-0.03767770901322365,
-0.039249539375305176,
-0.016244374215602875,
0.10398168861865997,
0.20073753595352173,
0.009605090133845806,
0.1736203283071518,
-0.025776056572794914,
-0.10775438696146011,
0.08879857510328293,
-0.019840646535158157,
0.071478471159935,
0.011938417330384254,
0.049104250967502594,
0.01629580743610859,
0.13096506893634796,
0.13451708853244781,
0.039372868835926056,
-0.01081506535410881,
0.003225983353331685,
-0.052844174206256866,
-0.05980271100997925,
-0.0310779120773077,
0.11263397336006165,
-0.0405154675245285,
0.0011031345929950476,
-0.02808070182800293,
0.06851063668727875,
0.047005247324705124,
0.015998953953385353,
0.1851869523525238,
-0.31640565395355225,
-0.08258353173732758,
0.0278939176350832,
0.03593482822179794,
-0.02333862893283367,
0.09198028594255447,
-0.05370336398482323,
-0.006722817197442055,
0.08899777382612228,
0.017037594690918922,
0.09074976295232773,
-0.04891868308186531,
0.05268936976790428,
-0.1157454401254654,
0.07190140336751938,
-0.00974856223911047,
0.15280476212501526,
-0.22176256775856018,
0.17433993518352509,
0.019975094124674797,
-0.03501962497830391,
-0.06765840947628021,
-0.043873514980077744,
0.02079632505774498,
0.10149958729743958,
0.05615439638495445,
-0.03934936970472336,
-0.05802818387746811,
-0.14155380427837372,
-0.11261968314647675,
0.029052823781967163,
0.1569206565618515,
0.005173079669475555,
0.0630572959780693,
-0.03404267877340317,
-0.016239281743764877,
0.007655146066099405,
-0.07923562079668045,
-0.06492571532726288,
-0.11793658882379532,
0.0014772561844438314,
0.018328314647078514,
-0.05289745330810547,
0.030536873266100883,
-0.09234713017940521,
-0.12991030514240265,
0.15955352783203125,
0.01668708585202694,
-0.04374557361006737,
-0.06783705949783325,
0.1114824041724205,
0.06485671550035477,
-0.09223896265029907,
-0.00895242765545845,
-0.026729535311460495,
0.15838594734668732,
-0.02881915681064129,
-0.18252776563167572,
0.07972338050603867,
-0.13705572485923767,
-0.11715293675661087,
-0.04786430299282074,
0.1360410749912262,
0.024091608822345734,
0.05105168744921684,
0.037713441997766495,
0.0068731363862752914,
-0.1014585942029953,
-0.04327938333153725,
0.007074775639921427,
0.05769374221563339,
-0.04950409010052681,
0.10926565527915955,
-0.05673644319176674,
-0.10191875696182251,
-0.09237392991781235,
0.028376620262861252,
0.1975959688425064,
0.1276497095823288,
-0.0883992612361908,
0.14104431867599487,
0.12096215784549713,
-0.023857073858380318,
-0.26529383659362793,
-0.023900549858808517,
-0.008322409354150295,
0.05690178647637367,
-0.041364941745996475,
-0.06345059722661972,
0.12177040427923203,
-0.07978607714176178,
0.0004936793120577931,
-0.010886031202971935,
-0.09941229224205017,
-0.11034605652093887,
0.1541524976491928,
0.03894796594977379,
0.3106599748134613,
0.038388848304748535,
-0.004088844638317823,
-0.06622719019651413,
0.011602847836911678,
0.1234956756234169,
0.03505944833159447,
0.0524248369038105,
-0.03337390720844269,
0.07737363129854202,
0.04280194640159607,
0.04046916961669922,
0.038497645407915115,
-0.07538405060768127,
0.06480836123228073,
-0.048569515347480774,
-0.0016721200663596392,
-0.0376579649746418,
-0.01522794272750616,
0.05120657756924629,
-0.040685977786779404,
0.06104791536927223,
-0.03129235655069351,
-0.12407688051462173,
0.034431688487529755,
0.04396943375468254,
0.024019647389650345,
-0.09534198045730591,
-0.09807033836841583,
0.06643237918615341,
0.09092447906732559,
-0.024752680212259293,
0.1193356066942215,
-0.02582189440727234,
-0.0436745285987854,
0.05944597348570824,
0.16297805309295654,
-0.047355230897665024,
0.10306186228990555,
0.016700923442840576,
-0.04779670760035515,
0.10191959142684937,
-0.15239816904067993,
0.02085413597524166,
0.12337932735681534,
-0.05620814487338066,
0.023791469633579254,
0.07316472381353378,
0.00306456396356225,
-0.05087888985872269,
0.07790768891572952,
-0.1408964842557907,
-0.0522797629237175,
-0.013758511282503605,
-0.0026413765735924244,
0.05087806284427643,
0.03913174569606781,
0.11436345428228378,
-0.14240223169326782,
-0.009171619080007076,
0.016156800091266632,
-0.0066590700298547745,
0.009479404427111149,
0.042197927832603455,
0.10240235924720764,
0.00022383983014151454,
-0.10740712285041809,
0.07445414364337921,
0.029678713530302048,
-0.0009475499391555786,
0.05930170789361,
-0.05315318703651428,
-0.11527196317911148,
-0.08832274377346039,
0.04118751734495163,
0.21434733271598816,
-0.07996786385774612,
-0.14427319169044495,
-0.09207415580749512,
-0.14157770574092865,
0.08544029295444489,
0.12770241498947144,
0.1300838142633438,
-0.0340755321085453,
-0.08091200143098831,
-0.051607854664325714,
-0.0259951651096344,
0.1187877282500267,
0.1259230077266693,
0.0389302521944046,
-0.11583054810762405,
-0.0026939818635582924,
-0.05260517820715904,
0.058837007731199265,
-0.08768826723098755,
-0.03552541136741638,
-0.09009804576635361,
0.03723704814910889,
-0.20405028760433197,
0.03679072856903076,
-0.053569912910461426,
0.015628280118107796,
-0.016092805191874504,
-0.03288993611931801,
-0.06882260739803314,
-0.0006764482241123915,
-0.06869892030954361,
0.06273356825113297,
-0.02347799949347973,
0.06794337928295135,
-0.08063993602991104,
-0.045364413410425186,
0.026942383497953415,
0.006062773987650871,
0.05602708086371422,
0.04812965542078018,
-0.06335765868425369,
0.10246612876653671,
-0.21877609193325043,
-0.027683652937412262,
0.052957333624362946,
0.13234955072402954,
0.07365424931049347,
-0.0508783683180809,
0.06327728182077408,
0.0435052365064621,
-0.1082761287689209,
0.012872963212430477,
0.035523198544979095,
-0.01390575896948576,
0.08724373579025269,
-0.09284646064043045,
-0.04275738075375557,
-0.01698775216937065,
0.02633182890713215,
-0.01906692236661911,
0.06348659843206406,
0.15418076515197754,
-0.09531872719526291,
0.059912197291851044,
-0.0573372021317482,
0.024560753256082535,
0.003417703788727522,
-0.14196552336215973,
-0.21182869374752045,
-0.11235582828521729,
0.05335674434900284,
-0.025336086750030518,
0.2222544103860855,
0.08284438401460648,
-0.04908725246787071,
-0.013876337558031082,
-0.00901612639427185,
0.053452879190444946,
0.056480005383491516,
0.1453654021024704,
0.07471342384815216,
-0.001170025672763586,
-0.08837654441595078,
0.009997702203691006,
0.12845267355442047,
0.10615774989128113,
0.0877518281340599,
0.10389117896556854,
0.0737629234790802,
0.09271904826164246,
0.01292145624756813,
0.0015861197607591748,
0.01444664504379034,
-0.033006299287080765,
-0.0752471387386322,
0.023876965045928955,
0.07472097128629684,
0.13794934749603271,
0.14114418625831604,
-0.0503670834004879,
0.0249113067984581,
0.008738011121749878,
-0.05371079593896866,
-0.1568247228860855,
-0.25689318776130676,
-0.15826323628425598,
-0.13131973147392273,
0.019036222249269485,
-0.13764823973178864,
-0.06327594071626663,
-0.04785618185997009,
0.1276547908782959,
-0.06177082657814026,
0.018620096147060394,
-0.006164637394249439,
0.0007077338523231447,
0.0676262155175209,
-0.02934972755610943,
0.02288741059601307,
0.09880020469427109,
-0.09964703768491745,
-0.06390683352947235,
-0.047122515738010406,
-0.041513681411743164,
0.007684020791202784,
0.01335389818996191,
-0.021526021882891655,
-0.027373231947422028,
-0.08311000466346741,
-0.00114323606248945,
-0.02201012521982193,
0.023470459505915642,
0.10569630563259125,
0.06824778765439987,
-0.030146855860948563,
0.017095116898417473,
0.17614011466503143,
0.007742634508758783,
-0.06309346854686737,
-0.02973225526511669,
0.25092458724975586,
0.019625408574938774,
0.1468171924352646,
0.011939328163862228,
-0.021981123834848404,
-0.11251109838485718,
0.18862126767635345,
0.27255746722221375,
-0.061449456959962845,
0.022808820009231567,
0.013997351750731468,
0.02878394164144993,
0.030263258144259453,
0.05710381641983986,
0.017012881115078926,
0.1531134992837906,
-0.05212203040719032,
-0.06294513493776321,
-0.06076549366116524,
0.002511281054466963,
-0.05984900891780853,
0.05780535936355591,
0.09527736157178879,
-0.08817224204540253,
-0.09312581270933151,
0.06120428070425987,
-0.17705529928207397,
0.05197307467460632,
0.023057250306010246,
-0.1566794216632843,
-0.12434934079647064,
-0.015917755663394928,
0.06256300210952759,
0.03284371644258499,
0.07784339785575867,
-0.07365114241838455,
-0.038914185017347336,
-0.09909132122993469,
0.0048720878548920155,
-0.08460448682308197,
0.00756153604015708,
0.024623941630125046,
0.04509638622403145,
-0.00164067093282938,
0.018607161939144135,
0.158083975315094,
0.07876360416412354,
0.03643950819969177,
-0.007485661655664444,
0.05645647644996643,
0.02506553754210472,
-0.0026079677045345306,
0.06399921327829361,
0.0035282918252050877,
0.001855988521128893,
0.04922666400671005,
0.15828439593315125,
-0.14551934599876404,
0.03518994525074959,
0.005736198741942644,
-0.07713661342859268,
-0.08287955075502396,
0.08018210530281067,
-0.062284260988235474,
0.0797436386346817,
0.158883199095726,
-0.03656656667590141,
-0.062390003353357315,
-0.018133709207177162,
0.07696538418531418,
0.0020052422769367695,
0.009397819638252258,
0.020631760358810425,
-0.11050096899271011,
-0.04787217453122139,
0.12029092013835907,
0.053861796855926514,
-0.15337151288986206,
-0.029404819011688232,
-0.08969179540872574,
0.021618498489260674,
-0.054348431527614594,
0.09837807714939117,
0.08118854463100433,
0.04335789009928703,
-0.03251566365361214,
-0.11094431579113007,
0.03960205242037773,
0.04124685749411583,
-0.08271474391222,
-0.1303686797618866
] |
null | null |
transformers
|
The model for https://github.com/Lesha17/Punctuation; all credits go to the owner of this repository.
|
{}
|
token-classification
|
cointegrated/rubert-base-lesha17-punctuation
|
[
"transformers",
"pytorch",
"safetensors",
"bert",
"token-classification",
"autotrain_compatible",
"endpoints_compatible",
"region:us"
] |
2022-03-02T23:29:05+00:00
|
[] |
[] |
TAGS
#transformers #pytorch #safetensors #bert #token-classification #autotrain_compatible #endpoints_compatible #region-us
|
The model for URL all credits go to the owner of this repository.
|
[] |
[
"TAGS\n#transformers #pytorch #safetensors #bert #token-classification #autotrain_compatible #endpoints_compatible #region-us \n"
] |
[
42
] |
[
"passage: TAGS\n#transformers #pytorch #safetensors #bert #token-classification #autotrain_compatible #endpoints_compatible #region-us \n"
] |
[
-0.06217646598815918,
0.06353344023227692,
-0.00879782997071743,
0.022335471585392952,
0.14171357452869415,
0.005121229216456413,
0.08916381001472473,
0.06708597391843796,
0.05929236486554146,
-0.011247065849602222,
0.12529926002025604,
0.23990245163440704,
-0.04651476442813873,
0.1467450112104416,
-0.10762341320514679,
-0.24737629294395447,
0.09777083247900009,
0.051312390714883804,
-0.009802350774407387,
0.11967989802360535,
0.08906793594360352,
-0.11643332988023758,
0.05491330474615097,
-0.035327013581991196,
-0.11396832764148712,
0.024232998490333557,
0.062112439423799515,
-0.14027079939842224,
0.11649099737405777,
0.0028350353240966797,
0.21982599794864655,
0.04829900339245796,
-0.03299907222390175,
-0.12977364659309387,
0.02960076555609703,
0.022823764011263847,
-0.056382812559604645,
0.05631869286298752,
0.08521045744419098,
-0.08704893290996552,
-0.053452420979738235,
0.04784107580780983,
0.049288272857666016,
0.04219544306397438,
-0.11637759953737259,
-0.1572805941104889,
-0.02377265878021717,
0.054337333887815475,
0.0822463110089302,
0.04497803375124931,
0.019583212211728096,
0.23460404574871063,
-0.14234796166419983,
0.10870984196662903,
0.1014254167675972,
-0.30151164531707764,
-0.0031039707828313112,
0.10283033549785614,
0.029461383819580078,
0.003168463008478284,
-0.05292261764407158,
0.02440774440765381,
0.03565523773431778,
0.004987534135580063,
0.06387484818696976,
-0.06946617364883423,
-0.10082327574491501,
0.011889488436281681,
-0.10317759215831757,
-0.02063179202377796,
0.16475211083889008,
-0.03786952421069145,
0.03357675299048424,
-0.027493679895997047,
-0.11237913370132446,
-0.03326069563627243,
-0.013429001905024052,
-0.025834521278738976,
-0.030626894906163216,
0.028211122378706932,
0.021246593445539474,
0.0580906979739666,
-0.1133069172501564,
0.014268448576331139,
-0.2003307342529297,
0.26192259788513184,
0.03366759046912193,
0.059376753866672516,
-0.1550944447517395,
0.065119668841362,
0.03372018411755562,
-0.09411419928073883,
0.04934833198785782,
-0.11242041736841202,
0.024028221145272255,
-0.048149678856134415,
-0.007977441884577274,
0.02179086208343506,
0.10538595914840698,
0.17249217629432678,
0.012677069753408432,
0.03523453325033188,
-0.018018804490566254,
0.07673537731170654,
0.02602873183786869,
0.10185032337903976,
0.011315935291349888,
-0.011012457311153412,
0.07404918968677521,
-0.07249464094638824,
0.013468415476381779,
-0.03959760442376137,
-0.09077190607786179,
-0.0057013980112969875,
0.12668827176094055,
0.11995705217123032,
-0.005112784914672375,
0.07739517837762833,
-0.07609878480434418,
-0.007602515630424023,
0.1247807964682579,
-0.07934720069169998,
0.01834918186068535,
0.02204531617462635,
0.04061191529035568,
0.04422270134091377,
-0.02958562597632408,
0.0045809559524059296,
-0.030553968623280525,
0.15572331845760345,
-0.07082240283489227,
-0.018746471032500267,
-0.02912561222910881,
-0.07474002987146378,
0.037979718297719955,
-0.10757224261760712,
0.04885905236005783,
-0.1931232511997223,
-0.08748078346252441,
0.03085196577012539,
0.021669281646609306,
0.031331051141023636,
-0.014380709268152714,
0.01617847941815853,
-0.005133572034537792,
-0.01638108678162098,
-0.07154864072799683,
-0.10107900947332382,
-0.06701652705669403,
0.09214840084314346,
-0.023594262078404427,
0.03657201677560806,
-0.07141756266355515,
0.033121269196271896,
-0.13800549507141113,
0.01650739461183548,
-0.1302931159734726,
-0.03846610710024834,
-0.08746105432510376,
0.1838245838880539,
-0.007970845326781273,
-0.05384679511189461,
-0.0416414700448513,
0.027416886761784554,
-0.046724315732717514,
0.14788313210010529,
-0.04804695025086403,
-0.09209553152322769,
0.20290175080299377,
-0.1510608047246933,
-0.1475757211446762,
0.08925040811300278,
-0.003438676940277219,
-0.019840167835354805,
0.09032072871923447,
0.14349554479122162,
0.0963662788271904,
-0.050684746354818344,
0.04562718793749809,
0.09737692773342133,
-0.13290748000144958,
-0.11579012125730515,
-0.006135511677712202,
0.015230772085487843,
-0.1527755707502365,
0.0472782738506794,
0.04999149218201637,
0.0758020430803299,
-0.07703810930252075,
-0.04637672007083893,
-0.02691022679209709,
-0.03414830565452576,
0.12168976664543152,
0.059817250818014145,
0.08332248032093048,
-0.089547298848629,
-0.004820340313017368,
0.0008964110747911036,
0.009858429431915283,
0.02335713990032673,
-0.007464045193046331,
-0.1082678809762001,
0.11596295982599258,
-0.029117319732904434,
0.0018555802525952458,
-0.17422273755073547,
-0.14689375460147858,
0.023105211555957794,
0.05496592074632645,
-0.06123613938689232,
0.08645235002040863,
0.0784914493560791,
-0.008198541589081287,
-0.001641618786379695,
-0.06981270015239716,
0.17663154006004333,
0.05239863321185112,
-0.05487256869673729,
-0.09025165438652039,
0.03288886696100235,
-0.08118029683828354,
0.00021712935995310545,
-0.07140172272920609,
0.019725864753127098,
0.09155342727899551,
0.1498657912015915,
0.026230555027723312,
0.06850632280111313,
-0.029096895828843117,
0.05303796008229256,
-0.0617670901119709,
0.0014423279790207744,
0.09935835003852844,
-0.005182852037250996,
-0.05636937543749809,
0.11367402225732803,
-0.1596180498600006,
0.40831872820854187,
0.18678902089595795,
-0.24751418828964233,
-0.0033030363265424967,
-0.03083712048828602,
-0.018261179327964783,
0.015223759226500988,
0.021190842613577843,
0.0275895856320858,
-0.0026696189306676388,
0.0009778517996892333,
0.15650993585586548,
-0.03507164865732193,
-0.05484876409173012,
0.021197576075792313,
-0.0643177255988121,
-0.041215695440769196,
0.06818889826536179,
0.03704318776726723,
-0.20077238976955414,
0.18748123943805695,
0.23859968781471252,
0.012975210323929787,
0.09890608489513397,
-0.03317851200699806,
0.03844676911830902,
0.049515463411808014,
-0.007497300859540701,
-0.01742580346763134,
0.009082279168069363,
-0.13038098812103271,
-0.019925596192479134,
0.07344338297843933,
0.020901169627904892,
0.027521220967173576,
-0.1371089071035385,
-0.03932098299264908,
0.00009793156641535461,
0.04339266195893288,
-0.001873333822004497,
0.07606032490730286,
0.050063300877809525,
0.10359830409288406,
-0.029039917513728142,
-0.1341109275817871,
0.11057212948799133,
-0.0009588268585503101,
-0.0692540630698204,
0.18632076680660248,
-0.12217444181442261,
-0.3075579106807709,
-0.10761094093322754,
-0.15097364783287048,
-0.01015754695981741,
0.04128364846110344,
0.06546452641487122,
-0.09824100881814957,
-0.06430178135633469,
0.03946185111999512,
-0.01849299669265747,
-0.017515288665890694,
0.0691480040550232,
-0.05578234791755676,
0.0584057979285717,
-0.008042051456868649,
-0.06925863027572632,
-0.06954627484083176,
-0.04658715799450874,
-0.05234059691429138,
0.15630373358726501,
-0.05752704292535782,
0.06437213718891144,
0.15767188370227814,
-0.021075475960969925,
0.03024441748857498,
-0.035620108246803284,
0.15832547843456268,
-0.04835249111056328,
0.0005445415736176074,
0.17801037430763245,
-0.08908499032258987,
0.0932207852602005,
0.1754513680934906,
0.04306698217988014,
-0.06025654450058937,
0.021638110280036926,
-0.041572798043489456,
-0.09179937094449997,
-0.19809776544570923,
-0.13156606256961823,
-0.06981389224529266,
0.049997977912425995,
0.052754007279872894,
0.07545218616724014,
0.12124437838792801,
0.11080651730298996,
0.02399095520377159,
-0.04511723667383194,
-0.006009073927998543,
0.06836652755737305,
0.1780967116355896,
0.005552439019083977,
0.14668819308280945,
-0.045327357947826385,
-0.15730974078178406,
0.06503789126873016,
0.030872806906700134,
0.12099224328994751,
0.09427264332771301,
-0.05936722084879875,
0.03214364871382713,
0.17683850228786469,
0.173370823264122,
0.15836958587169647,
0.0074166106060147285,
-0.05148797482252121,
0.0033474641386419535,
-0.0038523401599377394,
-0.061195652931928635,
0.00042279859189875424,
0.03619043901562691,
-0.07802222669124603,
-0.05867281183600426,
-0.12247040122747421,
0.09438551217317581,
0.09890852868556976,
0.04507174715399742,
-0.2334095984697342,
0.012529995292425156,
0.0797237753868103,
-0.006725926883518696,
-0.06591834872961044,
0.09050271660089493,
-0.025945371016860008,
-0.11434531956911087,
0.07393341511487961,
-0.06670078635215759,
0.08352617919445038,
-0.051171883940696716,
0.0703423023223877,
-0.02680392377078533,
-0.07747812569141388,
0.022512301802635193,
0.08294469863176346,
-0.2169579416513443,
0.24004989862442017,
-0.0013186944415792823,
-0.037484072148799896,
-0.07096970081329346,
-0.011102968826889992,
0.043885935097932816,
0.215754896402359,
0.11087702959775925,
0.009361517615616322,
-0.092498280107975,
-0.21210719645023346,
-0.04140249639749527,
0.026157809421420097,
0.08863146603107452,
-0.022753488272428513,
-0.006781389005482197,
-0.046309687197208405,
-0.02484372816979885,
-0.010060039348900318,
-0.07090195268392563,
-0.011488218791782856,
-0.10065992921590805,
0.03947637975215912,
0.05592465400695801,
0.0643739104270935,
-0.035021960735321045,
-0.05626566335558891,
-0.13423502445220947,
0.18440617620944977,
-0.10353469848632812,
-0.07099225372076035,
-0.10870321094989777,
-0.12043240666389465,
0.05600640922784805,
-0.08271882683038712,
0.07808297872543335,
-0.08045458048582077,
0.02381443977355957,
-0.04385975003242493,
-0.1782221645116806,
0.14157548546791077,
-0.14216642081737518,
-0.06204242259263992,
-0.07116182148456573,
0.1536257117986679,
-0.06279200315475464,
-0.007590501103550196,
0.02581222914159298,
0.02374841645359993,
-0.05890249088406563,
-0.0833464115858078,
0.0016186998691409826,
-0.02101629599928856,
0.05154550075531006,
0.04082322493195534,
-0.07768717408180237,
-0.10296104103326797,
-0.012384014204144478,
0.03624929115176201,
0.2074965536594391,
0.2302311211824417,
-0.07007752358913422,
0.0948033332824707,
0.20042891800403595,
-0.01641562394797802,
-0.34099894762039185,
-0.08744986355304718,
-0.13640356063842773,
-0.062233224511146545,
-0.00862071942538023,
-0.07890940457582474,
0.16280469298362732,
0.047278475016355515,
-0.06803397834300995,
0.0856231078505516,
-0.12902992963790894,
-0.08022008091211319,
0.24258434772491455,
0.036827925592660904,
0.37630072236061096,
-0.1162000447511673,
-0.07125656306743622,
-0.004626421723514795,
-0.11540727317333221,
0.11327781528234482,
-0.02349172532558441,
0.037270475178956985,
-0.008530952036380768,
0.0028303097933530807,
0.04091474413871765,
-0.07289302349090576,
0.09305430203676224,
-0.017132911831140518,
0.06522072106599808,
-0.10195263475179672,
-0.1108814924955368,
0.03680313378572464,
-0.028123954311013222,
0.008221202529966831,
0.023726001381874084,
0.039285607635974884,
-0.059913307428359985,
-0.030053643509745598,
-0.06344030052423477,
0.10467527061700821,
0.029728639870882034,
-0.0761604830622673,
0.010105747729539871,
-0.005113447085022926,
-0.02322384901344776,
-0.012484485283493996,
0.2565326690673828,
0.010133045725524426,
0.18168066442012787,
0.12490174919366837,
0.11425141990184784,
-0.1708442121744156,
0.008997549302875996,
-0.056803129613399506,
-0.08126956224441528,
0.09764520078897476,
-0.0034394729882478714,
0.08552737534046173,
0.1281539499759674,
-0.04030940309166908,
0.041919779032468796,
0.11003237217664719,
0.043070223182439804,
-0.05141981318593025,
0.15510067343711853,
-0.23795276880264282,
0.0006959956372156739,
-0.014638255350291729,
0.009448816068470478,
0.06264689564704895,
0.1540021449327469,
0.11289774626493454,
0.029820183292031288,
-0.03501199558377266,
-0.006135406903922558,
-0.008583558723330498,
-0.02436230517923832,
0.08503232896327972,
0.07055553048849106,
0.05533459037542343,
-0.12442180514335632,
0.039884116500616074,
0.022480633109807968,
-0.1501903384923935,
-0.04811253398656845,
0.0616726353764534,
-0.1635347306728363,
-0.11844450235366821,
-0.014556104317307472,
0.10956652462482452,
-0.08296028524637222,
-0.07252994924783707,
-0.05750328674912453,
-0.1514676809310913,
0.03994440659880638,
0.20979665219783783,
0.1257936954498291,
0.11209017038345337,
-0.008589139208197594,
-0.02102653868496418,
-0.02879713848233223,
0.01652207039296627,
-0.001974541926756501,
0.06153249368071556,
-0.19397464394569397,
0.02407776191830635,
-0.003732002340257168,
0.12228661775588989,
-0.10503439605236053,
-0.04939160495996475,
-0.17294327914714813,
0.03983864560723305,
-0.06400805711746216,
-0.052187319844961166,
-0.08787567913532257,
-0.013102209195494652,
0.013339011929929256,
-0.08352378755807877,
-0.026708820834755898,
-0.026519760489463806,
-0.0996188297867775,
0.07266869395971298,
0.032593563199043274,
0.022958749905228615,
-0.07911936193704605,
-0.058450352400541306,
0.09038270264863968,
-0.04302813857793808,
0.10707317292690277,
0.09428911656141281,
-0.08066457509994507,
0.08503616601228714,
-0.1507071852684021,
-0.09988319128751755,
0.14074520766735077,
0.01094057410955429,
0.08973196148872375,
0.04477962106466293,
0.030192632228136063,
0.08687662333250046,
0.003953701350837946,
0.060108646750450134,
0.06294731050729752,
-0.12097814679145813,
0.05123940110206604,
-0.0008789731655269861,
-0.1747724860906601,
-0.02280428633093834,
-0.10087702423334122,
0.11597951501607895,
-0.0454535186290741,
0.1741204857826233,
-0.035587530583143234,
0.06581130623817444,
-0.06510303914546967,
0.0011202660389244556,
-0.020332181826233864,
-0.2114904224872589,
-0.08358298987150192,
-0.027224700897932053,
0.008723941631615162,
-0.009617069736123085,
0.24538570642471313,
0.029800893738865852,
0.009083074517548084,
0.0523647777736187,
0.03240088000893593,
0.013110504485666752,
0.046629101037979126,
0.16775184869766235,
0.07125150412321091,
-0.049785465002059937,
-0.08315097540616989,
0.035614438354969025,
0.0077691818587481976,
-0.12649127840995789,
0.09144271165132523,
0.08727651834487915,
-0.046630360186100006,
0.044934216886758804,
0.018787743523716927,
0.03441542014479637,
-0.1502522975206375,
-0.20315049588680267,
-0.07464777678251266,
0.03763348236680031,
0.03958193585276604,
0.06089622154831886,
0.1399836242198944,
-0.003009989857673645,
0.017062559723854065,
-0.047867484390735626,
-0.026614805683493614,
-0.19656118750572205,
-0.10169598460197449,
-0.09998118132352829,
-0.09192527085542679,
0.017119426280260086,
-0.050304848700761795,
-0.0574599914252758,
0.10022160410881042,
0.055470362305641174,
-0.027553478255867958,
0.12913821637630463,
0.019928086549043655,
0.014342553913593292,
0.03841615840792656,
0.006482727359980345,
-0.004237938206642866,
0.006994013674557209,
-0.04856562614440918,
-0.15227390825748444,
-0.010900291614234447,
-0.05848383903503418,
-0.006057824939489365,
-0.07557221502065659,
0.02133558876812458,
-0.10736757516860962,
-0.10573334991931915,
-0.03401176631450653,
0.03905685991048813,
-0.06889831274747849,
0.058840908110141754,
-0.00831534806638956,
0.025606850162148476,
0.03742290660738945,
0.16662773489952087,
-0.05501319468021393,
-0.09550007432699203,
-0.03548843786120415,
0.28264525532722473,
0.03944332152605057,
0.12402267009019852,
0.01704958640038967,
0.006469545885920525,
-0.049881335347890854,
0.26804763078689575,
0.2618028223514557,
-0.02880534902215004,
0.0725964605808258,
-0.0006368913454934955,
0.015416010282933712,
0.04949458688497543,
0.13682806491851807,
0.09150529652833939,
0.25624075531959534,
-0.06459803879261017,
-0.016548307612538338,
-0.03255584090948105,
-0.005415815394371748,
-0.12300761044025421,
0.03823460265994072,
0.03193199634552002,
-0.012822667136788368,
-0.09644556790590286,
0.0801946148276329,
-0.13098424673080444,
0.13155801594257355,
0.045109499245882034,
-0.16759148240089417,
-0.06394271552562714,
-0.015156478621065617,
0.16779828071594238,
-0.03225041925907135,
0.061719998717308044,
-0.03496132791042328,
-0.09376496821641922,
0.0007876611198298633,
0.009068906307220459,
-0.16797727346420288,
-0.04782998189330101,
0.06038453429937363,
0.017363321036100388,
0.12503793835639954,
-0.008555600419640541,
0.04494483023881912,
0.08346641808748245,
0.026271846145391464,
-0.061129000037908554,
0.06162480637431145,
0.021498626098036766,
-0.09399360418319702,
-0.02446034364402294,
-0.022905731573700905,
0.012471315450966358,
-0.032906971871852875,
0.03202303498983383,
-0.1822211593389511,
0.0331772118806839,
-0.0814584419131279,
-0.060667604207992554,
-0.0280064195394516,
0.05289117619395256,
-0.01460720133036375,
0.053361497819423676,
0.042839523404836655,
0.0019191325409337878,
-0.015608296729624271,
-0.0557849295437336,
0.010981046594679356,
0.03264424949884415,
-0.10996117442846298,
-0.09557607024908066,
-0.11594144999980927,
-0.031178472563624382,
0.10325023531913757,
-0.0036382873076945543,
-0.10544035583734512,
-0.033824093639850616,
-0.10341604799032211,
0.034245990216732025,
-0.1789926290512085,
0.0453457348048687,
0.05217933654785156,
0.04733695834875107,
-0.0027245806995779276,
-0.0377827063202858,
0.010178827680647373,
0.05963897332549095,
-0.11463507264852524,
-0.0918542817234993
] |
null | null |
transformers
|
# RuBERT-tiny for NLI (natural language inference)
This is the [cointegrated/rubert-tiny](https://huggingface.co/cointegrated/rubert-tiny) model fine-tuned to predict the logical relationship between two short texts: entailment or not entailment.
For more details, see the card for a related model: https://huggingface.co/cointegrated/rubert-base-cased-nli-threeway
|
{"language": "ru", "tags": ["rubert", "russian", "nli", "rte", "zero-shot-classification"], "datasets": ["cointegrated/nli-rus-translated-v2021"], "pipeline_tag": "zero-shot-classification", "widget": [{"text": "\u0421\u0435\u0440\u0432\u0438\u0441 \u043e\u0442\u0441\u0442\u043e\u0439\u043d\u044b\u0439, \u043a\u043e\u0440\u043c\u0438\u043b\u0438 \u043d\u0435\u0432\u043a\u0443\u0441\u043d\u043e", "candidate_labels": "\u041c\u043d\u0435 \u043f\u043e\u043d\u0440\u0430\u0432\u0438\u043b\u043e\u0441\u044c, \u041c\u043d\u0435 \u043d\u0435 \u043f\u043e\u043d\u0440\u0430\u0432\u0438\u043b\u043e\u0441\u044c", "hypothesis_template": "{}."}]}
|
zero-shot-classification
|
cointegrated/rubert-tiny-bilingual-nli
|
[
"transformers",
"pytorch",
"safetensors",
"bert",
"text-classification",
"rubert",
"russian",
"nli",
"rte",
"zero-shot-classification",
"ru",
"dataset:cointegrated/nli-rus-translated-v2021",
"autotrain_compatible",
"endpoints_compatible",
"region:us"
] |
2022-03-02T23:29:05+00:00
|
[] |
[
"ru"
] |
TAGS
#transformers #pytorch #safetensors #bert #text-classification #rubert #russian #nli #rte #zero-shot-classification #ru #dataset-cointegrated/nli-rus-translated-v2021 #autotrain_compatible #endpoints_compatible #region-us
|
# RuBERT-tiny for NLI (natural language inference)
This is the cointegrated/rubert-tiny model fine-tuned to predict the logical relationship between two short texts: entailment or not entailment.
For more details, see the card for a related model: URL
|
[
"# RuBERT-tiny for NLI (natural language inference)\n\nThis is the cointegrated/rubert-tiny model fine-tuned to predict the logical relationship between two short texts: entailment or not entailment.\n\nFor more details, see the card for a related model: URL"
] |
[
"TAGS\n#transformers #pytorch #safetensors #bert #text-classification #rubert #russian #nli #rte #zero-shot-classification #ru #dataset-cointegrated/nli-rus-translated-v2021 #autotrain_compatible #endpoints_compatible #region-us \n",
"# RuBERT-tiny for NLI (natural language inference)\n\nThis is the cointegrated/rubert-tiny model fine-tuned to predict the logical relationship between two short texts: entailment or not entailment.\n\nFor more details, see the card for a related model: URL"
] |
[
80,
65
] |
[
"passage: TAGS\n#transformers #pytorch #safetensors #bert #text-classification #rubert #russian #nli #rte #zero-shot-classification #ru #dataset-cointegrated/nli-rus-translated-v2021 #autotrain_compatible #endpoints_compatible #region-us \n# RuBERT-tiny for NLI (natural language inference)\n\nThis is the cointegrated/rubert-tiny model fine-tuned to predict the logical relationship between two short texts: entailment or not entailment.\n\nFor more details, see the card for a related model: URL"
] |
[
-0.03155430406332016,
-0.015624713152647018,
-0.0026963544078171253,
0.10532140731811523,
0.026158837601542473,
-0.01092501636594534,
0.10905110836029053,
0.09246833622455597,
0.11912169307470322,
0.04396311193704605,
0.1419500708580017,
0.09797271341085434,
0.018266422674059868,
0.09332827478647232,
-0.0889366865158081,
-0.210337832570076,
0.029117748141288757,
0.004114062990993261,
0.05224069580435753,
0.08527877926826477,
0.12162541598081589,
-0.08966042101383209,
0.09209324419498444,
0.02399696409702301,
-0.021269815042614937,
0.04307577759027481,
0.038760337978601456,
-0.0487382672727108,
0.0479440875351429,
0.055681440979242325,
0.05632036179304123,
0.0629032775759697,
0.03729703277349472,
-0.14738169312477112,
0.026575738564133644,
-0.025411106646060944,
-0.020648814737796783,
0.047700926661491394,
0.11920911073684692,
-0.16479000449180603,
0.032114427536726,
-0.0800260677933693,
0.004293972160667181,
0.006257191300392151,
-0.05676994100213051,
-0.01180473156273365,
0.0069547612220048904,
0.1122574657201767,
-0.001743835280649364,
0.019824739545583725,
-0.02582753449678421,
0.15197385847568512,
-0.11756140738725662,
0.09383520483970642,
0.0697982981801033,
-0.25151944160461426,
-0.012039891444146633,
0.08492422103881836,
-0.0844680443406105,
0.04173300787806511,
0.04531017690896988,
0.05188211053609848,
0.10809959471225739,
-0.04763059318065643,
-0.014791116118431091,
-0.007924975827336311,
-0.05722209811210632,
0.016915662214159966,
-0.15434980392456055,
0.024535708129405975,
0.11077522486448288,
0.01223381981253624,
0.007108072284609079,
-0.02450026385486126,
-0.04711439087986946,
-0.030040031298995018,
-0.03699617087841034,
-0.06255406141281128,
-0.014518038369715214,
-0.01571558229625225,
0.07118377089500427,
0.02400115504860878,
-0.07841850072145462,
-0.0016033949796110392,
-0.10620176047086716,
0.28861328959465027,
0.06599262356758118,
0.07978250831365585,
-0.11893673986196518,
0.02115880511701107,
-0.07405039668083191,
-0.11127142608165741,
0.0029668984934687614,
-0.08878618478775024,
0.04457207769155502,
-0.0032958011142909527,
-0.1271442025899887,
0.02062242105603218,
0.06770005077123642,
0.11612430959939957,
0.021200595423579216,
0.02063019573688507,
0.02455637790262699,
0.05333980917930603,
0.0443822517991066,
0.07357345521450043,
-0.049655813723802567,
-0.05483939126133919,
0.03080301731824875,
-0.034470196813344955,
0.02716819941997528,
-0.03440012037754059,
-0.1591636836528778,
-0.039203058928251266,
0.0033064647577703,
0.019481858238577843,
-0.031179441139101982,
0.09856455028057098,
-0.05007313936948776,
-0.03817996382713318,
0.017956247553229332,
-0.08115413039922714,
0.024594279006123543,
0.018603045493364334,
-0.10531456768512726,
0.08135614544153214,
-0.07856915146112442,
0.00006401418795576319,
-0.08548612147569656,
0.03430056944489479,
0.0052122920751571655,
-0.014025270938873291,
-0.04274006932973862,
-0.14937949180603027,
0.0028147767297923565,
-0.10387714207172394,
0.035890787839889526,
-0.18779590725898743,
-0.11371662467718124,
0.01872277446091175,
0.005208783317357302,
-0.08114135265350342,
0.06975670903921127,
-0.10976943373680115,
0.036442503333091736,
0.02255624160170555,
-0.015990864485502243,
-0.0829382911324501,
-0.08006346970796585,
-0.026177693158388138,
0.0007150692399591208,
0.14974898099899292,
-0.06645309925079346,
0.007580658886581659,
-0.1592598408460617,
-0.02539967931807041,
0.1309903860092163,
0.08516500890254974,
-0.05756122246384621,
-0.03880361095070839,
-0.03425135463476181,
-0.05856728553771973,
-0.022478289902210236,
0.06929203867912292,
0.001245958381332457,
0.12564529478549957,
-0.1476646065711975,
-0.09681599587202072,
0.15914933383464813,
-0.09166336804628372,
-0.08620213717222214,
0.16956138610839844,
-0.042111244052648544,
-0.0002437289949739352,
0.11547646671533585,
0.18489623069763184,
0.13111422955989838,
0.08250149339437485,
-0.006147774402052164,
0.07808750867843628,
-0.06022609397768974,
-0.0002629033988341689,
-0.011298649944365025,
0.184682697057724,
-0.22206130623817444,
0.0503690242767334,
0.052002646028995514,
-0.0364312119781971,
-0.060216449201107025,
-0.06696249544620514,
-0.02188202179968357,
-0.06472501903772354,
0.12902389466762543,
-0.03690487891435623,
0.06864728778600693,
-0.15459570288658142,
-0.061534542590379715,
-0.1487513929605484,
0.09049593657255173,
-0.0043471986427903175,
0.011894211173057556,
-0.13740552961826324,
0.15475204586982727,
-0.03009476698935032,
0.021256068721413612,
-0.13417504727840424,
0.043210383504629135,
0.04536153003573418,
0.060117509216070175,
0.0863068476319313,
0.10160879790782928,
0.037848491221666336,
0.0023508048616349697,
-0.02061195857822895,
-0.02003997005522251,
0.16266091167926788,
0.004558188375085592,
-0.03483613207936287,
-0.20577658712863922,
0.07472876459360123,
-0.06703879684209824,
-0.03914596140384674,
-0.12646175920963287,
-0.04053235054016113,
-0.03745778650045395,
0.09996410459280014,
-0.034465521574020386,
0.14647415280342102,
-0.04691411182284355,
0.04448721930384636,
-0.10669565200805664,
0.05678927153348923,
0.07648657262325287,
-0.07652667909860611,
-0.0877193808555603,
0.1308206170797348,
-0.007643718738108873,
0.052512772381305695,
0.1397446095943451,
-0.13996538519859314,
-0.028508737683296204,
0.029442425817251205,
-0.018461979925632477,
0.04726720228791237,
0.0479251928627491,
0.07999332249164581,
0.14568306505680084,
-0.02661234140396118,
0.09954827278852463,
-0.11543254554271698,
-0.016673726961016655,
0.03363051265478134,
-0.1223924532532692,
-0.05867801234126091,
0.17075860500335693,
0.06306877732276917,
-0.32299891114234924,
0.12078431248664856,
0.09605460613965988,
-0.050712745636701584,
0.12666942179203033,
0.03450506180524826,
-0.05426532402634621,
0.013828611932694912,
-0.012068444862961769,
0.008510437794029713,
-0.016978111118078232,
0.015044919215142727,
-0.029998885467648506,
0.08621963113546371,
0.01514020562171936,
0.012042424641549587,
-0.13018012046813965,
0.01380202081054449,
0.05593228340148926,
0.006346812471747398,
-0.002900622086599469,
0.0410599410533905,
0.019264087080955505,
0.16438381373882294,
-0.012631542980670929,
-0.16576245427131653,
0.014885187149047852,
-0.027438538148999214,
-0.10464373975992203,
0.17321880161762238,
-0.07458587735891342,
-0.2947322726249695,
-0.10511541366577148,
-0.19840487837791443,
-0.0934610590338707,
0.04927043989300728,
-0.0025250152684748173,
-0.18794892728328705,
-0.06704184412956238,
-0.11161614954471588,
-0.013918575830757618,
-0.07181020081043243,
0.037345387041568756,
-0.11785513907670975,
0.07777781784534454,
-0.03608235344290733,
-0.05881766602396965,
-0.05770161747932434,
-0.06625520437955856,
0.03885233774781227,
0.1256023347377777,
-0.10101525485515594,
0.031230513006448746,
0.18761703372001648,
-0.09332897514104843,
0.01001646090298891,
-0.06575427949428558,
0.07803945988416672,
-0.00020773618598468602,
0.009088031016290188,
0.13669463992118835,
-0.061855509877204895,
0.05310945585370064,
0.1529926210641861,
0.0008053694618865848,
-0.08483697474002838,
0.058751579374074936,
-0.054016560316085815,
-0.027491694316267967,
-0.22799678146839142,
-0.16532163321971893,
-0.037737421691417694,
0.12171779572963715,
0.0899432972073555,
-0.004106547683477402,
0.056351494044065475,
0.07553688436746597,
-0.02973157726228237,
-0.015588573180139065,
-0.03671596199274063,
0.08911752700805664,
0.18581005930900574,
0.001835338189266622,
0.1628609448671341,
-0.033529046922922134,
-0.09636954218149185,
0.09547851979732513,
-0.024789705872535706,
0.06404571235179901,
0.026912013068795204,
0.060612794011831284,
0.03335368260741234,
0.08728493005037308,
0.12637197971343994,
0.03939947858452797,
-0.010550044476985931,
0.0012736301869153976,
-0.05632597580552101,
-0.05643286556005478,
-0.014617334119975567,
0.10169684141874313,
-0.005970427766442299,
-0.0006367820315063,
-0.043212369084358215,
0.07192759960889816,
0.04687796160578728,
0.01594981737434864,
0.19235889613628387,
-0.30378520488739014,
-0.08564217388629913,
0.03703302517533302,
0.030379483476281166,
-0.013824224472045898,
0.0957052931189537,
-0.03301473706960678,
-0.008898471482098103,
0.08233250677585602,
0.031553030014038086,
0.0992051437497139,
-0.050279200077056885,
0.047243375331163406,
-0.11358975619077682,
0.05409761890769005,
0.005043942481279373,
0.13930468261241913,
-0.20718176662921906,
0.18442612886428833,
0.021510526537895203,
-0.04588574916124344,
-0.06011603772640228,
-0.034539129585027695,
0.009709613397717476,
0.12009506672620773,
0.08447213470935822,
-0.014820205979049206,
-0.05306529253721237,
-0.16438396275043488,
-0.09152499586343765,
0.029575994238257408,
0.16500236093997955,
0.016557946801185608,
0.06283613294363022,
-0.0555790439248085,
-0.004834495950490236,
0.010395124554634094,
-0.10913704335689545,
-0.07704155147075653,
-0.1454988718032837,
0.00850183330476284,
0.06388537585735321,
-0.10685925930738449,
0.02826833724975586,
-0.08388261497020721,
-0.1168137639760971,
0.17910416424274445,
0.008335726335644722,
-0.04153846949338913,
-0.07679003477096558,
0.10228542238473892,
0.056829120963811874,
-0.09337892383337021,
-0.022318873554468155,
-0.04345512390136719,
0.13620850443840027,
-0.04508228972554207,
-0.16465334594249725,
0.07023627310991287,
-0.13506029546260834,
-0.12166279554367065,
-0.05144866555929184,
0.13924632966518402,
0.03153790533542633,
0.04807157814502716,
0.037743642926216125,
0.0014285258948802948,
-0.0774502158164978,
-0.050771284848451614,
0.022470511496067047,
0.044161487370729446,
-0.05228753760457039,
0.11353683471679688,
-0.029829496517777443,
-0.1048785001039505,
-0.0960841029882431,
0.016428161412477493,
0.19614075124263763,
0.12296411395072937,
-0.08727235347032547,
0.12778474390506744,
0.1499447077512741,
-0.03664001077413559,
-0.28746297955513,
-0.029520489275455475,
-0.02953794039785862,
0.023257115855813026,
-0.04176214337348938,
-0.023678189143538475,
0.11512057483196259,
-0.08794137835502625,
0.00653630867600441,
0.0166173093020916,
-0.10976105183362961,
-0.08866279572248459,
0.13159434497356415,
0.031208612024784088,
0.3157316744327545,
0.03669973090291023,
-0.0161665678024292,
-0.0723029151558876,
-0.0193647313863039,
0.12663878500461578,
0.04493984207510948,
0.05191333591938019,
-0.03403221815824509,
0.08419175446033478,
0.04225506633520126,
0.0385243222117424,
0.05673973634839058,
-0.06979718804359436,
0.03922715410590172,
-0.05446437746286392,
-0.08146143704652786,
-0.01845235750079155,
-0.009640436619520187,
0.030996210873126984,
-0.06052969768643379,
0.06410123407840729,
-0.0034173927269876003,
-0.11706440895795822,
0.024458911269903183,
0.04676158353686333,
0.01777561753988266,
-0.09841728955507278,
-0.1198880523443222,
0.06311637163162231,
0.08726854622364044,
-0.02600410208106041,
0.1048823818564415,
-0.0347621887922287,
-0.05451475828886032,
0.06403094530105591,
0.1721203476190567,
-0.06844751536846161,
0.08380887657403946,
0.011022389866411686,
-0.05302906036376953,
0.09524933248758316,
-0.15924613177776337,
0.02435336820781231,
0.11336854100227356,
-0.03819609060883522,
0.025115255266427994,
0.07734285295009613,
-0.0024382974952459335,
-0.03837350383400917,
0.07320193946361542,
-0.11028899252414703,
-0.08195827901363373,
-0.006802391726523638,
-0.02910253405570984,
0.04649566113948822,
0.046081896871328354,
0.1172400712966919,
-0.14130428433418274,
-0.004854642786085606,
-0.0014207460917532444,
0.004010911565274,
0.00008679411257617176,
0.04628812521696091,
0.09245997667312622,
0.005086221732199192,
-0.10476737469434738,
0.06974045187234879,
0.04351181164383888,
-0.02062557078897953,
0.051064591854810715,
-0.048426564782857895,
-0.10968158394098282,
-0.09623177349567413,
0.03980935364961624,
0.16358615458011627,
-0.07533276826143265,
-0.1467236578464508,
-0.05423927307128906,
-0.14606070518493652,
0.07904089242219925,
0.10788906365633011,
0.11350002139806747,
-0.01741335168480873,
-0.08216862380504608,
-0.048523370176553726,
-0.046129778027534485,
0.10515738278627396,
0.09743211418390274,
0.041851017624139786,
-0.10672566294670105,
-0.002602827735245228,
-0.04105386510491371,
0.08451052755117416,
-0.07890398055315018,
-0.03055332414805889,
-0.10092608630657196,
0.033492956310510635,
-0.19598864018917084,
0.08248919248580933,
-0.05383990705013275,
0.016026491299271584,
-0.005902646109461784,
-0.0244367104023695,
-0.07063442468643188,
-0.0015179860638454556,
-0.06804651021957397,
0.052553318440914154,
-0.00028708126046694815,
0.08226931840181351,
-0.04920890927314758,
-0.03541342541575432,
0.03468502312898636,
0.009247111156582832,
0.05280398204922676,
0.03057127818465233,
-0.0709516778588295,
0.10439484566450119,
-0.22056272625923157,
-0.014737775549292564,
0.05665324628353119,
0.1284802258014679,
0.07741139829158783,
-0.043032046407461166,
0.05655895546078682,
0.05336969345808029,
-0.07585813105106354,
0.019029410555958748,
0.04206814244389534,
-0.018235119059681892,
0.08932983875274658,
-0.09511516243219376,
-0.08422337472438812,
-0.01884220540523529,
0.014388913288712502,
-0.01100239623337984,
0.04291835427284241,
0.15451404452323914,
-0.08681099861860275,
0.05780047923326492,
-0.06395836919546127,
0.030011145398020744,
0.008613032288849354,
-0.1355363428592682,
-0.1971072256565094,
-0.10059382766485214,
0.05055024474859238,
-0.030827311798930168,
0.22638769447803497,
0.07839275151491165,
-0.04458453506231308,
-0.0034067693632096052,
-0.03504626825451851,
0.02653558738529682,
0.042874209582805634,
0.13140538334846497,
0.07843690365552902,
-0.023188918828964233,
-0.100411057472229,
-0.021153470501303673,
0.11860911548137665,
0.08263546973466873,
0.12132041901350021,
0.09554358571767807,
0.07832609117031097,
0.10429485887289047,
0.006956769153475761,
0.005909399129450321,
-0.011454950086772442,
-0.06336206942796707,
-0.07595403492450714,
0.009178497828543186,
0.06252433359622955,
0.16121266782283783,
0.13416239619255066,
-0.03524952009320259,
0.030914882197976112,
-0.023441096767783165,
-0.04746151342988014,
-0.15017278492450714,
-0.26242879033088684,
-0.15660102665424347,
-0.10509815812110901,
0.002348467009142041,
-0.11831904202699661,
-0.06467871367931366,
-0.05971809849143028,
0.1060216948390007,
-0.07244499772787094,
-0.014583638869225979,
-0.034219298511743546,
0.005530515220016241,
0.06059429049491882,
-0.02707730606198311,
0.01905912347137928,
0.0809415727853775,
-0.0822511613368988,
-0.06489577889442444,
-0.04049470275640488,
-0.03656943142414093,
0.021135937422513962,
0.012865080498158932,
-0.012543211691081524,
-0.03244737163186073,
-0.08056212961673737,
-0.005707922857254744,
-0.002752040047198534,
0.02776816301047802,
0.07128041237592697,
0.07806123793125153,
-0.02764025889337063,
0.017069347202777863,
0.14725060760974884,
0.008283192291855812,
-0.06955466419458389,
-0.02014276757836342,
0.2812950015068054,
-0.013056750409305096,
0.1469513177871704,
0.01584092155098915,
-0.032269250601530075,
-0.10907433927059174,
0.24085602164268494,
0.2820938527584076,
-0.048634253442287445,
0.020630881190299988,
0.002485888311639428,
0.02949460595846176,
0.034193623811006546,
0.08237259089946747,
-0.0016467319801449776,
0.17100192606449127,
-0.036975711584091187,
-0.05997021496295929,
-0.06632481515407562,
0.0047721476294100285,
-0.024083198979496956,
0.07855681329965591,
0.08584999293088913,
-0.06937291473150253,
-0.11034562438726425,
0.05005091801285744,
-0.1753763109445572,
0.0441700778901577,
0.06018752604722977,
-0.1358792930841446,
-0.09042920172214508,
0.001161795575171709,
0.045764416456222534,
0.02252429537475109,
0.08723486214876175,
-0.07233063131570816,
-0.057093799114227295,
-0.10787548124790192,
-0.0036830613389611244,
-0.1241069883108139,
0.027195533737540245,
0.02312600612640381,
0.03560761362314224,
0.04281832277774811,
0.013759927824139595,
0.1560499519109726,
0.08682481199502945,
0.05454600974917412,
-0.03666454553604126,
0.05883688107132912,
0.024042336270213127,
0.023052381351590157,
0.07313430309295654,
0.005532555747777224,
-0.00327106099575758,
0.025142690166831017,
0.15825894474983215,
-0.12975403666496277,
0.043143246322870255,
0.036468055099248886,
-0.056665752083063126,
-0.09100808948278427,
0.06400690972805023,
-0.06320793181657791,
0.07995080947875977,
0.14790095388889313,
-0.03193845972418785,
-0.07087153941392899,
-0.01932622864842415,
0.07287991046905518,
-0.007546392269432545,
0.01850779354572296,
0.012060570530593395,
-0.10725844651460648,
-0.052375148981809616,
0.11696913093328476,
0.06269451230764389,
-0.1724267452955246,
-0.012315627187490463,
-0.08107378333806992,
0.01830204203724861,
-0.049258846789598465,
0.09521328657865524,
0.10985319316387177,
0.0459769144654274,
-0.03542829304933548,
-0.13226504623889923,
0.03226315230131149,
0.05924525856971741,
-0.05777277052402496,
-0.12195596098899841
] |
null | null |
transformers
|
This is the [cointegrated/rubert-tiny](https://huggingface.co/cointegrated/rubert-tiny) model fine-tuned for classification of sentiment for short Russian texts.
The problem is formulated as multiclass classification: `negative` vs `neutral` vs `positive`.
## Usage
The function below estimates the sentiment of the given text:
```python
# !pip install transformers sentencepiece --quiet
import torch
from transformers import AutoTokenizer, AutoModelForSequenceClassification
model_checkpoint = 'cointegrated/rubert-tiny-sentiment-balanced'
tokenizer = AutoTokenizer.from_pretrained(model_checkpoint)
model = AutoModelForSequenceClassification.from_pretrained(model_checkpoint)
if torch.cuda.is_available():
model.cuda()
def get_sentiment(text, return_type='label'):
""" Calculate sentiment of a text. `return_type` can be 'label', 'score' or 'proba' """
with torch.no_grad():
inputs = tokenizer(text, return_tensors='pt', truncation=True, padding=True).to(model.device)
proba = torch.sigmoid(model(**inputs).logits).cpu().numpy()[0]
if return_type == 'label':
return model.config.id2label[proba.argmax()]
elif return_type == 'score':
return proba.dot([-1, 0, 1])
return proba
text = 'Какая гадость эта ваша заливная рыба!'
# classify the text
print(get_sentiment(text, 'label')) # negative
# score the text on the scale from -1 (very negative) to +1 (very positive)
print(get_sentiment(text, 'score')) # -0.5894946306943893
# calculate probabilities of all labels
print(get_sentiment(text, 'proba')) # [0.7870447 0.4947824 0.19755007]
```
## Training
We trained the model on [the datasets collected by Smetanin](https://github.com/sismetanin/sentiment-analysis-in-russian). We have converted all training data into a 3-class format and have up- and downsampled the training data to balance both the sources and the classes. The training code is available as [a Colab notebook](https://gist.github.com/avidale/e678c5478086c1d1adc52a85cb2b93e6). The metrics on the balanced test set are the following:
| Source | Macro F1 |
| ----------- | ----------- |
| SentiRuEval2016_banks | 0.83 |
| SentiRuEval2016_tele | 0.74 |
| kaggle_news | 0.66 |
| linis | 0.50 |
| mokoron | 0.98 |
| rureviews | 0.72 |
| rusentiment | 0.67 |
|
{"language": ["ru"], "tags": ["russian", "classification", "sentiment", "multiclass"], "widget": [{"text": "\u041a\u0430\u043a\u0430\u044f \u0433\u0430\u0434\u043e\u0441\u0442\u044c \u044d\u0442\u0430 \u0432\u0430\u0448\u0430 \u0437\u0430\u043b\u0438\u0432\u043d\u0430\u044f \u0440\u044b\u0431\u0430!"}]}
|
text-classification
|
cointegrated/rubert-tiny-sentiment-balanced
|
[
"transformers",
"pytorch",
"safetensors",
"bert",
"text-classification",
"russian",
"classification",
"sentiment",
"multiclass",
"ru",
"autotrain_compatible",
"endpoints_compatible",
"region:us"
] |
2022-03-02T23:29:05+00:00
|
[] |
[
"ru"
] |
TAGS
#transformers #pytorch #safetensors #bert #text-classification #russian #classification #sentiment #multiclass #ru #autotrain_compatible #endpoints_compatible #region-us
|
This is the cointegrated/rubert-tiny model fine-tuned for classification of sentiment for short Russian texts.
The problem is formulated as multiclass classification: 'negative' vs 'neutral' vs 'positive'.
Usage
-----
The function below estimates the sentiment of the given text:
Training
--------
We trained the model on the datasets collected by Smetanin. We have converted all training data into a 3-class format and have up- and downsampled the training data to balance both the sources and the classes. The training code is available as a Colab notebook. The metrics on the balanced test set are the following:
|
[] |
[
"TAGS\n#transformers #pytorch #safetensors #bert #text-classification #russian #classification #sentiment #multiclass #ru #autotrain_compatible #endpoints_compatible #region-us \n"
] |
[
55
] |
[
"passage: TAGS\n#transformers #pytorch #safetensors #bert #text-classification #russian #classification #sentiment #multiclass #ru #autotrain_compatible #endpoints_compatible #region-us \n"
] |
[
0.003170252777636051,
0.03216748312115669,
-0.009551826864480972,
0.026691505685448647,
0.1964302510023117,
0.03848167136311531,
0.1507292240858078,
0.02796504832804203,
0.12783224880695343,
-0.005006656516343355,
0.1259613037109375,
0.08580999821424484,
-0.07395602017641068,
0.07512229681015015,
-0.09513141959905624,
-0.27999335527420044,
0.06841439753770828,
-0.008519279770553112,
-0.010090935043990612,
0.09564489871263504,
0.11959124356508255,
-0.0863104984164238,
0.04579536244273186,
-0.05606916919350624,
-0.04680425673723221,
0.07093442231416702,
0.07523056864738464,
-0.11393959820270538,
0.10087674856185913,
0.03676737844944,
0.1646149903535843,
0.034968506544828415,
-0.06190454214811325,
-0.17117191851139069,
0.04541637375950813,
-0.02519114501774311,
-0.1284390538930893,
0.0036820319946855307,
0.12749002873897552,
-0.17752012610435486,
0.13385112583637238,
-0.05588540807366371,
-0.0010467258980497718,
0.05039922893047333,
-0.12767642736434937,
-0.07944700121879578,
-0.012543945573270321,
0.11962884664535522,
0.05067101866006851,
0.09937306493520737,
-0.038421325385570526,
0.12407439947128296,
-0.14061516523361206,
0.1363406777381897,
0.08915670216083527,
-0.2789371907711029,
-0.042955052107572556,
0.08232973515987396,
-0.03367505595088005,
0.09764106571674347,
-0.05995567888021469,
0.07518167048692703,
0.03433125838637352,
-0.027926789596676826,
-0.035495515912771225,
-0.05930181220173836,
-0.05291903391480446,
0.013762323185801506,
-0.08080808073282242,
-0.02064700424671173,
0.16666144132614136,
-0.014279522001743317,
0.09900521486997604,
-0.05263933911919594,
-0.0500672310590744,
-0.10626107454299927,
-0.0016373976832255721,
0.024471303448081017,
-0.05665582790970802,
0.04811719432473183,
0.06086234375834465,
0.049122218042612076,
-0.13833960890769958,
0.054697319865226746,
-0.14944510161876678,
0.28960561752319336,
0.006853088270872831,
0.06693004071712494,
-0.10828247666358948,
-0.019151590764522552,
-0.020878737792372704,
-0.08218126744031906,
0.09685605019330978,
-0.13516753911972046,
0.015578646212816238,
0.004460824653506279,
-0.0757911428809166,
0.004744058474898338,
0.11806090176105499,
0.0662858709692955,
-0.05239781364798546,
0.10094281286001205,
0.035117123275995255,
0.0926271602511406,
0.07044366747140884,
0.11723832786083221,
0.05544641986489296,
0.01791263185441494,
-0.04323011264204979,
-0.12637481093406677,
-0.0008482721168547869,
-0.019982576370239258,
-0.12608960270881653,
-0.025750067085027695,
0.10186129063367844,
0.09052413702011108,
-0.08740497380495071,
0.12471523880958557,
-0.05525142699480057,
0.050138942897319794,
-0.017475850880146027,
-0.06449587643146515,
0.04240752011537552,
0.053071003407239914,
0.03252120316028595,
0.11965293437242508,
-0.11549655348062515,
-0.03651460260152817,
-0.06164100766181946,
0.10751191526651382,
0.018775582313537598,
0.06476293504238129,
-0.03058529831469059,
-0.10774844884872437,
0.06643702834844589,
-0.1784484088420868,
0.05265062674880028,
-0.19443055987358093,
-0.026779351755976677,
-0.023882251232862473,
0.04161352291703224,
-0.015192914754152298,
0.03314582630991936,
-0.030954722315073013,
-0.051399584859609604,
0.05121650546789169,
-0.019666029140353203,
-0.16079005599021912,
-0.10432343930006027,
0.05267947539687157,
-0.08874303102493286,
0.0795462355017662,
-0.016389744356274605,
0.02599000558257103,
-0.11747130006551743,
-0.04193288832902908,
-0.0982603058218956,
0.05072895064949989,
-0.13017906248569489,
0.1824488490819931,
0.07019443809986115,
-0.060090381652116776,
-0.0253200251609087,
0.051520444452762604,
-0.08349011093378067,
0.20690377056598663,
-0.12864817678928375,
-0.07775089144706726,
0.1885983645915985,
-0.15226134657859802,
-0.05500514805316925,
0.11163123697042465,
-0.02297169715166092,
-0.053389713168144226,
0.1457354724407196,
0.18246181309223175,
0.07860031723976135,
0.004774856381118298,
-0.03040878288447857,
0.07505922764539719,
-0.11318757385015488,
0.023616818711161613,
-0.031422849744558334,
0.09299033880233765,
-0.08298272639513016,
0.06452591717243195,
0.0938367173075676,
0.04866878315806389,
-0.07037908583879471,
-0.0659589096903801,
-0.01768874190747738,
0.0037671327590942383,
0.13630564510822296,
0.06122690811753273,
0.08927489817142487,
-0.17180632054805756,
-0.037293847650289536,
-0.10755475610494614,
0.013456710614264011,
0.023598574101924896,
0.0022286202292889357,
-0.10684064775705338,
0.08007820695638657,
0.11033564060926437,
0.03855512663722038,
-0.20111490786075592,
-0.03649528697133064,
-0.0364130474627018,
0.16592638194561005,
-0.014842355623841286,
0.14869113266468048,
0.07905726879835129,
-0.07424765825271606,
-0.07047545164823532,
-0.042394064366817474,
0.10621468722820282,
0.001769484137184918,
-0.012220244854688644,
-0.19688937067985535,
0.08751478791236877,
-0.08248580992221832,
0.006673075258731842,
-0.11625272035598755,
0.02905975840985775,
0.16511760652065277,
0.10753986984491348,
-0.021015558391809464,
0.1272188425064087,
-0.07114652544260025,
0.07329615950584412,
-0.0798100158572197,
0.023469002917408943,
0.1153947189450264,
-0.0543271079659462,
-0.10582339018583298,
0.12067996710538864,
-0.07926496118307114,
0.30101391673088074,
0.19995349645614624,
-0.21749210357666016,
-0.045177895575761795,
-0.014056574553251266,
-0.01790359802544117,
0.08145811408758163,
0.08904246985912323,
0.09977935999631882,
0.0725874975323677,
-0.013241867534816265,
0.10764175653457642,
-0.019660456106066704,
-0.01295494008809328,
0.015207204036414623,
-0.06339266151189804,
-0.1064239889383316,
0.15626828372478485,
-0.016302399337291718,
-0.24597300589084625,
0.21455465257167816,
0.2230423092842102,
-0.004415851552039385,
0.2608530521392822,
-0.03642486408352852,
0.08241826295852661,
0.06805649399757385,
-0.04319348186254501,
-0.05187396705150604,
0.031712185591459274,
-0.125032439827919,
-0.07567597180604935,
0.017714383080601692,
0.02411293238401413,
0.01621273159980774,
-0.11693075299263,
-0.0671919584274292,
-0.0334642231464386,
-0.014604506082832813,
-0.0031571926083415747,
0.07312821596860886,
0.04601069167256355,
0.16683712601661682,
-0.0343773253262043,
-0.06496066600084305,
0.08897750079631805,
-0.03320327773690224,
-0.08764305710792542,
0.1663961559534073,
-0.17769445478916168,
-0.31486383080482483,
-0.058294400572776794,
-0.08500798791646957,
-0.06454139947891235,
0.03880893066525459,
0.07124663144350052,
-0.24712122976779938,
-0.008402991108596325,
0.01498646941035986,
0.04726037755608559,
-0.057757627218961716,
0.040216606110334396,
-0.06438596546649933,
0.14714933931827545,
-0.049383558332920074,
-0.00015806444571353495,
-0.0901179239153862,
-0.07024776935577393,
-0.032321203500032425,
0.17495211958885193,
-0.06953731179237366,
0.0311735849827528,
0.14026756584644318,
-0.028890153393149376,
0.018256474286317825,
-0.08565767109394073,
0.1171192154288292,
-0.13859203457832336,
-0.008656227961182594,
0.09135251492261887,
-0.07055119425058365,
0.0693926140666008,
0.17779850959777832,
0.02011321298778057,
-0.06297576427459717,
0.050839100033044815,
-0.01097697764635086,
-0.07374471426010132,
-0.20916131138801575,
-0.18378733098506927,
-0.06353332102298737,
0.12532952427864075,
-0.019522864371538162,
0.05503401905298233,
0.03883473202586174,
0.059326305985450745,
-0.03457789868116379,
-0.17232583463191986,
0.04628288373351097,
0.04844608157873154,
0.2158726453781128,
-0.0028493995778262615,
0.13224272429943085,
-0.07551118731498718,
-0.09218589216470718,
0.08289710432291031,
-0.06184078007936478,
0.09975869953632355,
0.09028968214988708,
-0.08416742086410522,
0.026005540043115616,
0.09639430791139603,
0.13701100647449493,
0.0643441379070282,
0.07401382923126221,
-0.04902685433626175,
0.01409311406314373,
-0.015516459010541439,
-0.08356449007987976,
0.05644172802567482,
0.01524850632995367,
-0.09203603863716125,
-0.10015814751386642,
-0.09022339433431625,
0.17891229689121246,
0.14175285398960114,
0.03410440310835838,
-0.1287977546453476,
-0.08318594098091125,
0.10502710193395615,
-0.011037925258278847,
-0.0637204498052597,
0.0868845283985138,
-0.019327521324157715,
-0.13350021839141846,
0.1765700727701187,
-0.02173144742846489,
0.09524284303188324,
-0.002506420249119401,
0.11438146978616714,
-0.08437568694353104,
-0.1337670236825943,
-0.00014354010636452585,
0.11234734207391739,
-0.25750139355659485,
0.293489545583725,
0.0036733089946210384,
-0.06281548738479614,
-0.09933734685182571,
-0.07670991867780685,
0.05283082649111748,
0.24117130041122437,
0.06698018312454224,
0.02168804220855236,
-0.135099396109581,
-0.17982150614261627,
0.04656093567609787,
0.032196227461099625,
0.15544873476028442,
-0.0149485869333148,
0.012766732834279537,
-0.04250839352607727,
0.006037344224750996,
-0.03705562651157379,
-0.04979715496301651,
-0.046327728778123856,
-0.15467490255832672,
-0.00399152422323823,
0.042737096548080444,
0.030121617019176483,
0.008335909806191921,
-0.0862908661365509,
-0.14031732082366943,
0.1462233066558838,
-0.10017074644565582,
-0.06670806556940079,
-0.07993224263191223,
-0.05483109503984451,
-0.005128123797476292,
-0.07686714082956314,
0.03551705926656723,
-0.058267198503017426,
0.04439115151762962,
-0.07326861470937729,
-0.15868359804153442,
0.10298508405685425,
-0.10747820883989334,
-0.11545325815677643,
-0.01830938644707203,
0.18472705781459808,
0.023775039240717888,
0.02567954547703266,
-0.00161242566537112,
0.04375098645687103,
-0.01092253252863884,
-0.0879908874630928,
0.040066465735435486,
0.0020496840588748455,
0.009486377239227295,
0.13492019474506378,
-0.10041476041078568,
-0.1825132966041565,
-0.09476453810930252,
-0.03333551064133644,
0.2089242786169052,
0.2603037655353546,
-0.11166204512119293,
0.1727546900510788,
0.06762857735157013,
-0.0243056807667017,
-0.3493523895740509,
-0.029538989067077637,
-0.07264497131109238,
-0.0005816256743855774,
0.001603803364560008,
-0.13357101380825043,
0.06413056701421738,
-0.0577392503619194,
-0.026083175092935562,
0.020946495234966278,
-0.07796371728181839,
-0.0810241550207138,
0.18111807107925415,
-0.0485602430999279,
0.3567560017108917,
-0.12416166812181473,
-0.02140960842370987,
-0.07448343187570572,
0.05202396586537361,
0.13336558640003204,
0.0030933567322790623,
0.05569414049386978,
0.0011741260532289743,
0.042865704745054245,
0.06970077753067017,
-0.006716574542224407,
0.11789996176958084,
-0.02624163031578064,
0.07124143093824387,
-0.1402081996202469,
-0.11356699466705322,
0.04509114474058151,
-0.005547826178371906,
-0.0559958890080452,
-0.03397979959845543,
-0.0002641789033077657,
-0.09673552960157394,
-0.05770768225193024,
-0.07464972883462906,
0.05340028181672096,
0.011082855053246021,
-0.03858876973390579,
-0.06095368042588234,
0.049476929008960724,
-0.0005041295080445707,
-0.03115752711892128,
0.29993897676467896,
-0.04168819263577461,
0.1488795131444931,
0.05054237321019173,
0.1838298887014389,
-0.07249715924263,
0.08640337735414505,
-0.016392366960644722,
-0.044049084186553955,
0.05644311010837555,
-0.08679143339395523,
0.029361501336097717,
0.11326480656862259,
-0.08283272385597229,
0.041663214564323425,
0.09525218605995178,
0.01859472133219242,
-0.05068356171250343,
0.1567603349685669,
-0.24906066060066223,
-0.052299488335847855,
-0.04727684706449509,
-0.02130061946809292,
0.09065373986959457,
0.06915578246116638,
0.14131270349025726,
-0.020430954173207283,
-0.010638986714184284,
-0.011726011522114277,
0.0017399090575054288,
0.015117558650672436,
0.020044634118676186,
0.02776794508099556,
0.007635174784809351,
-0.08177154511213303,
0.06353892385959625,
-0.01604226790368557,
-0.2333836704492569,
0.03398097679018974,
0.11436614394187927,
-0.1775946319103241,
-0.13565313816070557,
0.018674887716770172,
0.14859315752983093,
-0.06714996695518494,
-0.09499626606702805,
-0.05157232657074928,
-0.20655980706214905,
0.06619632989168167,
0.24205422401428223,
0.1339428573846817,
0.061794839799404144,
-0.01726708747446537,
-0.028516022488474846,
0.054438889026641846,
0.04145285114645958,
0.04114922881126404,
-0.09363728761672974,
-0.1684672087430954,
-0.007854425348341465,
-0.0006716100033372641,
0.12611323595046997,
-0.1004289835691452,
-0.04041300341486931,
-0.14587365090847015,
0.026182129979133606,
-0.09319084882736206,
-0.0426952950656414,
-0.09094805270433426,
-0.007982737384736538,
-0.0033612630795687437,
-0.09268876165151596,
-0.029567891731858253,
-0.07944566756486893,
-0.11807933449745178,
0.08056570589542389,
-0.005899421870708466,
0.09096135199069977,
-0.05177284777164459,
-0.046391088515520096,
0.05513358116149902,
-0.03234124928712845,
0.12660281360149384,
0.18300023674964905,
-0.07672802358865738,
0.16243574023246765,
-0.22099579870700836,
0.0012214911403134465,
0.14788462221622467,
-0.0177584458142519,
0.02742951549589634,
0.0799250602722168,
0.011289957910776138,
0.0455346442759037,
0.03014702908694744,
0.11170314997434616,
0.06717789173126221,
-0.06112124025821686,
0.10355424135923386,
0.03193534538149834,
-0.15480761229991913,
-0.015090693719685078,
-0.026311898604035378,
0.09578955173492432,
-0.030096713453531265,
0.20864857733249664,
-0.13420593738555908,
0.11869067698717117,
-0.014655048958957195,
0.03680567443370819,
-0.01274218037724495,
-0.20516851544380188,
-0.16086634993553162,
-0.0785491093993187,
0.041847288608551025,
-0.015653297305107117,
0.25409671664237976,
0.09508145600557327,
0.019762055948376656,
0.08331478387117386,
0.051597196608781815,
-0.04114243760704994,
0.08346449583768845,
0.07343059778213501,
0.04094114899635315,
-0.06822226196527481,
-0.07613290101289749,
0.024290837347507477,
0.012355928309261799,
-0.07554785162210464,
0.12915751338005066,
0.11617986857891083,
0.02624623477458954,
0.07150609791278839,
-0.019214456900954247,
0.030672114342451096,
0.06180025264620781,
-0.11847004294395447,
-0.14277653396129608,
0.04960392788052559,
-0.046637680381536484,
0.14677275717258453,
0.1445554792881012,
-0.017506450414657593,
0.05467767268419266,
-0.08108751475811005,
-0.036310262978076935,
-0.1346958875656128,
-0.12461410462856293,
-0.10640522837638855,
-0.10745514184236526,
0.01317912433296442,
-0.09038785845041275,
-0.041418787091970444,
0.0007521224906668067,
0.08486784249544144,
-0.08532935380935669,
0.07121032476425171,
-0.0077629853039979935,
-0.04167494177818298,
0.14485293626785278,
0.009206962771713734,
0.009043017402291298,
0.020247235894203186,
-0.08338382095098495,
-0.13892680406570435,
-0.07322316616773605,
-0.08991346508264542,
0.04958060756325722,
-0.09550846368074417,
-0.015864649787545204,
-0.13061687350273132,
-0.10548707097768784,
0.004309579264372587,
0.06754113733768463,
0.02192521095275879,
0.09576156735420227,
-0.008210460655391216,
0.0006015732069499791,
0.026322372257709503,
0.2208935022354126,
0.009946273639798164,
-0.04458031803369522,
-0.003994443453848362,
0.21385395526885986,
0.028652459383010864,
0.1419626772403717,
-0.01797863095998764,
-0.010483297519385815,
-0.09374414384365082,
0.22420908510684967,
0.37804946303367615,
-0.016302993521094322,
0.0874747484922409,
-0.08545432984828949,
0.06642138212919235,
0.10762452334165573,
0.09410055726766586,
0.05700307711958885,
0.13962088525295258,
-0.07958977669477463,
0.020348310470581055,
-0.08554799854755402,
0.028150198981165886,
-0.11391942203044891,
0.03134622424840927,
0.08786823600530624,
-0.05607377737760544,
-0.07313448190689087,
0.13253842294216156,
-0.1759127974510193,
0.11159437894821167,
0.06600359827280045,
-0.22874724864959717,
-0.0623360313475132,
0.018753409385681152,
0.19115251302719116,
0.050478044897317886,
0.1225389689207077,
-0.005932023283094168,
-0.1113181933760643,
-0.042317308485507965,
0.040906939655542374,
-0.15485167503356934,
-0.030193772166967392,
0.07066180557012558,
-0.02178296446800232,
0.005939807742834091,
-0.03994663804769516,
0.07428807020187378,
0.11826632916927338,
0.022497497498989105,
0.018731191754341125,
0.04327072948217392,
0.039575256407260895,
-0.0324125736951828,
-0.03367522731423378,
0.0008097442332655191,
0.007351590320467949,
-0.058770470321178436,
0.12230892479419708,
-0.19299568235874176,
0.07372760027647018,
-0.08611869812011719,
-0.07508572936058044,
0.00161207583732903,
0.21821613609790802,
-0.11021749675273895,
-0.020397361367940903,
0.12936075031757355,
-0.0004410503024701029,
-0.07080584019422531,
-0.04202159494161606,
-0.023762928321957588,
-0.02550453133881092,
-0.1350363790988922,
-0.04951215907931328,
-0.09229064732789993,
-0.04607108607888222,
0.10886480659246445,
0.008523736149072647,
-0.11585599929094315,
-0.014742582105100155,
-0.09308851510286331,
0.1026148572564125,
-0.174016073346138,
0.05701982229948044,
-0.019241563975811005,
0.019411850720643997,
-0.0031773806549608707,
-0.1260271668434143,
0.0844980776309967,
0.0820617526769638,
-0.06430058181285858,
-0.09300905466079712
] |
null | null |
transformers
|
This is the [cointegrated/rubert-tiny](https://huggingface.co/cointegrated/rubert-tiny) model fine-tuned for classification of toxicity and inappropriateness for short informal Russian texts, such as comments in social networks.
The problem is formulated as multilabel classification with the following classes:
- `non-toxic`: the text does NOT contain insults, obscenities, and threats, in the sense of the [OK ML Cup](https://cups.mail.ru/ru/tasks/1048) competition.
- `insult`
- `obscenity`
- `threat`
- `dangerous`: the text is inappropriate, in the sense of [Babakov et.al.](https://arxiv.org/abs/2103.05345), i.e. it can harm the reputation of the speaker.
A text can be considered safe if it is BOTH `non-toxic` and NOT `dangerous`.
## Usage
The function below estimates the probability that the text is either toxic OR dangerous:
```python
# !pip install transformers sentencepiece --quiet
import torch
from transformers import AutoTokenizer, AutoModelForSequenceClassification
model_checkpoint = 'cointegrated/rubert-tiny-toxicity'
tokenizer = AutoTokenizer.from_pretrained(model_checkpoint)
model = AutoModelForSequenceClassification.from_pretrained(model_checkpoint)
if torch.cuda.is_available():
model.cuda()
def text2toxicity(text, aggregate=True):
""" Calculate toxicity of a text (if aggregate=True) or a vector of toxicity aspects (if aggregate=False)"""
with torch.no_grad():
inputs = tokenizer(text, return_tensors='pt', truncation=True, padding=True).to(model.device)
proba = torch.sigmoid(model(**inputs).logits).cpu().numpy()
if isinstance(text, str):
proba = proba[0]
if aggregate:
return 1 - proba.T[0] * (1 - proba.T[-1])
return proba
print(text2toxicity('я люблю нигеров', True))
# 0.9350118728093193
print(text2toxicity('я люблю нигеров', False))
# [0.9715758 0.0180863 0.0045551 0.00189755 0.9331106 ]
print(text2toxicity(['я люблю нигеров', 'я люблю африканцев'], True))
# [0.93501186 0.04156357]
print(text2toxicity(['я люблю нигеров', 'я люблю африканцев'], False))
# [[9.7157580e-01 1.8086294e-02 4.5550885e-03 1.8975559e-03 9.3311059e-01]
# [9.9979788e-01 1.9048342e-04 1.5297388e-04 1.7452303e-04 4.1369814e-02]]
```
## Training
The model has been trained on the joint dataset of [OK ML Cup](https://cups.mail.ru/ru/tasks/1048) and [Babakov et.al.](https://arxiv.org/abs/2103.05345) with `Adam` optimizer, the learning rate of `1e-5`, and batch size of `64` for `15` epochs. A text was considered inappropriate if its inappropriateness score was higher than 0.8, and appropriate - if it was lower than 0.2. The per-label ROC AUC on the dev set is:
```
non-toxic : 0.9937
insult : 0.9912
obscenity : 0.9881
threat : 0.9910
dangerous : 0.8295
```
|
{"language": ["ru"], "tags": ["russian", "classification", "toxicity", "multilabel"], "widget": [{"text": "\u0418\u0434\u0438 \u0442\u044b \u043d\u0430\u0444\u0438\u0433!"}]}
|
text-classification
|
cointegrated/rubert-tiny-toxicity
|
[
"transformers",
"pytorch",
"safetensors",
"bert",
"text-classification",
"russian",
"classification",
"toxicity",
"multilabel",
"ru",
"arxiv:2103.05345",
"autotrain_compatible",
"endpoints_compatible",
"has_space",
"region:us"
] |
2022-03-02T23:29:05+00:00
|
[
"2103.05345"
] |
[
"ru"
] |
TAGS
#transformers #pytorch #safetensors #bert #text-classification #russian #classification #toxicity #multilabel #ru #arxiv-2103.05345 #autotrain_compatible #endpoints_compatible #has_space #region-us
|
This is the cointegrated/rubert-tiny model fine-tuned for classification of toxicity and inappropriateness for short informal Russian texts, such as comments in social networks.
The problem is formulated as multilabel classification with the following classes:
- 'non-toxic': the text does NOT contain insults, obscenities, and threats, in the sense of the OK ML Cup competition.
- 'insult'
- 'obscenity'
- 'threat'
- 'dangerous': the text is inappropriate, in the sense of Babakov URL., i.e. it can harm the reputation of the speaker.
A text can be considered safe if it is BOTH 'non-toxic' and NOT 'dangerous'.
## Usage
The function below estimates the probability that the text is either toxic OR dangerous:
## Training
The model has been trained on the joint dataset of OK ML Cup and Babakov URL. with 'Adam' optimizer, the learning rate of '1e-5', and batch size of '64' for '15' epochs. A text was considered inappropriate if its inappropriateness score was higher than 0.8, and appropriate - if it was lower than 0.2. The per-label ROC AUC on the dev set is:
|
[
"## Usage\n\nThe function below estimates the probability that the text is either toxic OR dangerous:",
"## Training\n\nThe model has been trained on the joint dataset of OK ML Cup and Babakov URL. with 'Adam' optimizer, the learning rate of '1e-5', and batch size of '64' for '15' epochs. A text was considered inappropriate if its inappropriateness score was higher than 0.8, and appropriate - if it was lower than 0.2. The per-label ROC AUC on the dev set is:"
] |
[
"TAGS\n#transformers #pytorch #safetensors #bert #text-classification #russian #classification #toxicity #multilabel #ru #arxiv-2103.05345 #autotrain_compatible #endpoints_compatible #has_space #region-us \n",
"## Usage\n\nThe function below estimates the probability that the text is either toxic OR dangerous:",
"## Training\n\nThe model has been trained on the joint dataset of OK ML Cup and Babakov URL. with 'Adam' optimizer, the learning rate of '1e-5', and batch size of '64' for '15' epochs. A text was considered inappropriate if its inappropriateness score was higher than 0.8, and appropriate - if it was lower than 0.2. The per-label ROC AUC on the dev set is:"
] |
[
67,
21,
101
] |
[
"passage: TAGS\n#transformers #pytorch #safetensors #bert #text-classification #russian #classification #toxicity #multilabel #ru #arxiv-2103.05345 #autotrain_compatible #endpoints_compatible #has_space #region-us \n## Usage\n\nThe function below estimates the probability that the text is either toxic OR dangerous:## Training\n\nThe model has been trained on the joint dataset of OK ML Cup and Babakov URL. with 'Adam' optimizer, the learning rate of '1e-5', and batch size of '64' for '15' epochs. A text was considered inappropriate if its inappropriateness score was higher than 0.8, and appropriate - if it was lower than 0.2. The per-label ROC AUC on the dev set is:"
] |
[
-0.0975591391324997,
-0.13749969005584717,
-0.003976999316364527,
0.03735648840665817,
0.16223537921905518,
0.040224164724349976,
0.1410977989435196,
0.034486282616853714,
0.07585757970809937,
0.03820054605603218,
0.16300098598003387,
0.046700090169906616,
-0.05563434958457947,
0.1790115386247635,
-0.15671132504940033,
-0.0756295770406723,
0.042978331446647644,
-0.02620093524456024,
0.07352200895547867,
0.12586984038352966,
0.1136297956109047,
-0.10475150495767593,
0.04981976002454758,
0.0006969583919271827,
-0.043888989835977554,
0.01703820936381817,
0.13216103613376617,
-0.08864820748567581,
0.11098255217075348,
0.031299617141485214,
0.13640187680721283,
0.08835959434509277,
-0.01310510840266943,
-0.12649774551391602,
0.05079321190714836,
0.015168375335633755,
-0.036919478327035904,
0.03971650078892708,
0.0710436999797821,
-0.04555152729153633,
0.08633174002170563,
-0.03762195631861687,
-0.026646384969353676,
0.026975492015480995,
-0.11794660240411758,
-0.09843522310256958,
-0.041150081902742386,
0.019543984904885292,
0.05566778779029846,
0.06674156337976456,
-0.06431169807910919,
0.24604235589504242,
-0.08764278888702393,
0.1073155328631401,
0.12793265283107758,
-0.29218682646751404,
-0.02766091749072075,
0.18204158544540405,
0.0037138117477297783,
0.12180093675851822,
-0.05528799444437027,
0.05851199850440025,
0.10909734666347504,
0.029264429584145546,
0.07246961444616318,
-0.0033543193712830544,
0.08681284636259079,
-0.029871812090277672,
-0.08670332282781601,
-0.06402124464511871,
0.27801579236984253,
0.03536635637283325,
-0.09510645270347595,
-0.017709525302052498,
-0.08790010958909988,
-0.08438514173030853,
0.03868791088461876,
-0.06725074350833893,
-0.06322014331817627,
0.013239417225122452,
0.004273417871445417,
0.05556042492389679,
-0.13100582361221313,
-0.03759772703051567,
-0.054267119616270065,
0.22253505885601044,
-0.01941981352865696,
0.06203269958496094,
-0.04153595119714737,
0.05960172414779663,
-0.047515515238046646,
-0.047587983310222626,
0.023141512647271156,
-0.09269693493843079,
0.02544429898262024,
0.01580124907195568,
-0.11961635947227478,
-0.03500009700655937,
0.06261801719665527,
0.06739026308059692,
-0.02848690375685692,
0.012274257838726044,
0.07219495624303818,
0.03040657564997673,
0.02267496846616268,
0.0305328369140625,
-0.008314772509038448,
-0.0025334316305816174,
0.06524112820625305,
0.10648946464061737,
0.08087863028049469,
-0.03728824853897095,
-0.07244269549846649,
-0.1134101152420044,
0.164375901222229,
0.05297297239303589,
-0.10878244042396545,
0.07349616289138794,
-0.06463314592838287,
0.008839711546897888,
0.01631428487598896,
-0.03845876455307007,
-0.0213826522231102,
0.0699903666973114,
-0.017639007419347763,
-0.03220295533537865,
-0.03253396973013878,
-0.016096793115139008,
-0.0031126486137509346,
0.13234084844589233,
-0.03314260020852089,
-0.03809578716754913,
-0.09907256811857224,
-0.11683651059865952,
-0.007563977036625147,
0.014143147505819798,
-0.0069777024909853935,
-0.16104649007320404,
-0.08648553490638733,
-0.03527091443538666,
0.006226750556379557,
0.04574114456772804,
-0.0012911357916891575,
-0.029938852414488792,
-0.08108998835086823,
0.005972143262624741,
-0.05998075753450394,
0.02766513265669346,
-0.052779316902160645,
0.09996046125888824,
-0.021723810583353043,
0.05360012501478195,
-0.010641833767294884,
-0.007930142804980278,
-0.11366528272628784,
0.025967229157686234,
-0.07991749048233032,
0.05328411981463432,
0.029652012512087822,
-0.014847738668322563,
-0.012977912090718746,
-0.07414214313030243,
-0.1114119216799736,
0.024920057505369186,
0.03874628245830536,
0.18981055915355682,
-0.08264461904764175,
-0.03454439714550972,
0.092598557472229,
-0.08769591897726059,
-0.08023366332054138,
0.1906161606311798,
-0.09855276346206665,
-0.02386646904051304,
0.11778798699378967,
0.04004083573818207,
-0.0378979817032814,
-0.07619600743055344,
-0.07978177070617676,
-0.01360301673412323,
-0.0985664576292038,
0.019782014191150665,
0.047876548022031784,
0.10839834064245224,
-0.2107381522655487,
0.016746819019317627,
-0.0037202350795269012,
0.06933177262544632,
-0.043975550681352615,
-0.0756751224398613,
-0.06772741675376892,
0.008346352726221085,
0.07202623039484024,
0.01064919400960207,
0.043546173721551895,
-0.1241498813033104,
-0.12637506425380707,
-0.18484140932559967,
0.057874877005815506,
-0.012604559771716595,
-0.003683301853016019,
-0.036095984280109406,
0.1291854828596115,
-0.04096569865942001,
0.0016231699846684933,
-0.1468445360660553,
0.0339062362909317,
-0.024289259687066078,
0.09913835674524307,
-0.07491382956504822,
0.1241675615310669,
0.024808969348669052,
0.017349641770124435,
-0.05466967448592186,
-0.0008842135430313647,
0.01724149100482464,
-0.05785420909523964,
-0.10851879417896271,
-0.13965150713920593,
0.09981943666934967,
-0.043362706899642944,
0.11034051328897476,
-0.2156042754650116,
0.04186820611357689,
-0.015098820440471172,
-0.002924027619883418,
-0.05055047199130058,
0.06662734597921371,
0.0023391954600811005,
-0.004060833249241114,
-0.10717074573040009,
0.009796634316444397,
0.0768551379442215,
-0.010951841250061989,
-0.13525395095348358,
0.005141044966876507,
-0.2518746852874756,
0.1673317402601242,
0.16785359382629395,
-0.06420091539621353,
-0.09661370515823364,
-0.036475326865911484,
-0.003820012556388974,
0.055135682225227356,
-0.03308139741420746,
0.03011908009648323,
0.13424170017242432,
0.00528167188167572,
0.09128084778785706,
-0.09938295930624008,
0.0199440848082304,
0.039499636739492416,
-0.054134711623191833,
-0.044416092336177826,
0.09703764319419861,
0.028725139796733856,
-0.18157896399497986,
0.0753631591796875,
0.19110207259655,
-0.09270131587982178,
0.10071638226509094,
0.05561681091785431,
-0.018818192183971405,
-0.01277938112616539,
0.05581274256110191,
-0.030048202723264694,
0.11801208555698395,
-0.09628397971391678,
0.022536247968673706,
0.042644258588552475,
0.005842282436788082,
-0.008766687475144863,
-0.1337285339832306,
-0.05128626525402069,
-0.03979532793164253,
0.0008286710362881422,
-0.1259065568447113,
0.03213167190551758,
0.06572646647691727,
0.17228563129901886,
-0.04422498866915703,
-0.12179581820964813,
0.07702722400426865,
0.00694576371461153,
-0.10435429960489273,
0.23555509746074677,
-0.028102107346057892,
-0.22581590712070465,
-0.020748084411025047,
0.1052006185054779,
-0.061788253486156464,
0.05835624039173126,
0.05247410014271736,
-0.148428812623024,
-0.03659217804670334,
-0.06288788467645645,
0.04307067021727562,
0.011811875738203526,
0.0213337279856205,
-0.0011457657674327493,
0.03661893308162689,
0.050849393010139465,
-0.02105972170829773,
-0.05312810093164444,
-0.08695343136787415,
-0.04022364690899849,
0.1765303611755371,
-0.07498223334550858,
0.050938986241817474,
0.10507593303918839,
-0.08103592693805695,
-0.02459881454706192,
-0.038255106657743454,
0.1857282668352127,
-0.09407833963632584,
-0.036957282572984695,
0.13002851605415344,
-0.01148755569010973,
0.018423330038785934,
0.10781621187925339,
0.00977871473878622,
-0.07823208719491959,
0.06511056423187256,
0.013909704983234406,
-0.0670001283288002,
-0.22368916869163513,
-0.08033284544944763,
-0.03271721675992012,
-0.04558361694216728,
-0.021904392167925835,
0.03943684324622154,
0.00042868018499575555,
0.11754818260669708,
-0.14147552847862244,
0.01591784879565239,
0.0013477412285283208,
0.06859400123357773,
0.13948877155780792,
-0.00066003279061988,
0.1637423038482666,
-0.02442821115255356,
-0.12290851026773453,
0.10534622520208359,
-0.0659831166267395,
0.29109054803848267,
0.01834840327501297,
-0.030081843957304955,
0.049083493649959564,
0.08643811196088791,
0.052244894206523895,
0.04216717183589935,
0.01618942804634571,
-0.029161253944039345,
-0.08112377673387527,
-0.017530042678117752,
-0.08888758718967438,
0.05503387004137039,
-0.0929647833108902,
-0.003054030705243349,
-0.06471539288759232,
0.09145720303058624,
0.1436670571565628,
0.004190556239336729,
0.04368725046515465,
-0.275869756937027,
-0.06948917359113693,
0.03361283242702484,
0.053120218217372894,
-0.06085951626300812,
0.05261905863881111,
0.09673354774713516,
-0.06331388652324677,
0.07885950803756714,
-0.0822918713092804,
0.08700518310070038,
0.09521622210741043,
0.07996346801519394,
-0.12349938601255417,
0.0033850758336484432,
-0.08454681932926178,
0.12343772500753403,
-0.31687548756599426,
0.19575904309749603,
-0.004685421474277973,
0.05420629680156708,
-0.10818272083997726,
-0.08933983743190765,
0.09966740012168884,
0.18951229751110077,
0.07874507457017899,
0.01677052676677704,
-0.07819472998380661,
-0.15499557554721832,
-0.0941038727760315,
0.06901169568300247,
0.00966087356209755,
0.10098208487033844,
0.08944477140903473,
-0.006863707210868597,
0.03729243949055672,
0.04764259606599808,
0.03916769102215767,
-0.2042059302330017,
-0.024950899183750153,
-0.0015949865337461233,
0.11353194713592529,
-0.09105049073696136,
-0.04638590291142464,
-0.1266859620809555,
0.051615409553050995,
0.09820954501628876,
-0.06948267668485641,
-0.07859895378351212,
-0.06719829887151718,
0.09209045022726059,
0.007181910332292318,
-0.07802382111549377,
-0.06911037862300873,
-0.0742897018790245,
0.08510614186525345,
-0.09184455126523972,
-0.10141214728355408,
0.1269567459821701,
-0.09193867444992065,
-0.16849899291992188,
-0.06459463387727737,
0.09946748614311218,
0.056734487414360046,
0.06449155509471893,
0.01476906705647707,
0.013222509995102882,
-0.062345411628484726,
-0.12856221199035645,
0.023777246475219727,
-0.10472104698419571,
0.1290629804134369,
0.05856778472661972,
-0.01276893075555563,
-0.18919143080711365,
-0.09766827523708344,
-0.02622832916676998,
0.10579285025596619,
0.2255098968744278,
-0.06662765145301819,
0.011032016947865486,
0.05275341868400574,
-0.031571291387081146,
-0.18616938591003418,
0.007883736863732338,
0.018904129043221474,
0.06286398321390152,
-0.035056810826063156,
-0.029776958748698235,
-0.004740552045404911,
0.07494399696588516,
-0.05216235667467117,
0.09276589751243591,
-0.07921817898750305,
-0.12050197273492813,
0.1717849224805832,
0.03539443388581276,
0.4732823073863983,
-0.12893995642662048,
0.027234192937612534,
-0.07480911165475845,
0.06473831832408905,
0.1291331797838211,
-0.08035913109779358,
0.09717728197574615,
-0.03589683771133423,
0.04974980279803276,
0.06651585549116135,
-0.04594554007053375,
0.1598915159702301,
-0.025028090924024582,
0.10517528653144836,
-0.05631064996123314,
-0.19399207830429077,
0.1027078852057457,
-0.018601631745696068,
0.04643665999174118,
-0.1337459236383438,
0.033708035945892334,
-0.10198953747749329,
-0.06990751624107361,
-0.07744846493005753,
0.09352798759937286,
-0.04476934298872948,
-0.05169925093650818,
-0.08436723798513412,
0.029544705525040627,
-0.012060120701789856,
-0.009343142621219158,
0.17525628209114075,
-0.030316444113850594,
0.05636970326304436,
0.1091369166970253,
0.1445901095867157,
-0.04310613498091698,
0.06333645433187485,
0.10479813814163208,
-0.028717301785945892,
0.09088262915611267,
-0.17424292862415314,
0.027767624706029892,
0.07430166751146317,
-0.06146802008152008,
0.0971638411283493,
0.06594907492399216,
-0.054218046367168427,
0.0859173908829689,
0.12549668550491333,
-0.22869530320167542,
-0.02875589020550251,
-0.03170317783951759,
-0.00043337506940588355,
-0.0731484442949295,
-0.01181503664702177,
0.11093197017908096,
-0.11006088554859161,
0.02328248880803585,
-0.054811812937259674,
-0.00011404442193452269,
0.03023776039481163,
0.06828027218580246,
0.0523977167904377,
0.010955482721328735,
-0.04269534349441528,
0.03163624927401543,
0.030400527641177177,
-0.08611934632062912,
0.02414722368121147,
-0.09351059794425964,
-0.13123364746570587,
-0.04526984319090843,
0.0025913401041179895,
0.17719091475009918,
-0.06136641651391983,
-0.1061793863773346,
-0.13744528591632843,
-0.14693817496299744,
0.03802109137177467,
-0.0020195834804326296,
0.10382450371980667,
0.006258244160562754,
-0.017282575368881226,
-0.06528156250715256,
-0.047502290457487106,
0.11318197101354599,
0.062372177839279175,
-0.012696030549705029,
-0.14155443012714386,
0.10732422769069672,
0.027538415044546127,
0.016270756721496582,
-0.07190624624490738,
0.0020802554208785295,
-0.06742682307958603,
-0.008208970539271832,
-0.1834855079650879,
0.05711720511317253,
-0.03878156840801239,
-0.014617209322750568,
-0.016268916428089142,
-0.07779694348573685,
-0.10862774401903152,
0.03219432011246681,
-0.06959941238164902,
0.06598703563213348,
0.023685472086071968,
0.027865450829267502,
-0.10472851246595383,
-0.08860929310321808,
0.02430432103574276,
-0.051194608211517334,
0.07257106155157089,
0.187749981880188,
-0.02213224209845066,
0.029845362529158592,
-0.20934222638607025,
0.06695816665887833,
0.0958772525191307,
0.061915092170238495,
-0.022551679983735085,
-0.08473150432109833,
0.09731493145227432,
0.060935284942388535,
0.08974920958280563,
0.06106514856219292,
0.12372047454118729,
-0.07683170586824417,
0.042044609785079956,
0.02028776705265045,
-0.10230840742588043,
-0.022362979128956795,
-0.0066797565668821335,
0.0013721834402531385,
0.05424528941512108,
0.2576233148574829,
-0.06525375694036484,
0.010292412713170052,
-0.21063102781772614,
0.021657219156622887,
0.0010482131037861109,
-0.13890209794044495,
-0.21470612287521362,
-0.032335035502910614,
0.06114606931805611,
0.012538189999759197,
0.1984848976135254,
0.057105131447315216,
0.02855861559510231,
0.02514415979385376,
0.0488937571644783,
0.11051349341869354,
-0.043995242565870285,
0.07876376807689667,
0.001445567817427218,
-0.02249387837946415,
-0.009451817721128464,
0.011640499345958233,
0.12179672718048096,
-0.04696226119995117,
0.20978812873363495,
0.09610377997159958,
0.05047370120882988,
0.07899192720651627,
-0.0633811429142952,
-0.10282060503959656,
-0.050867799669504166,
-0.06668008118867874,
-0.09564907848834991,
0.03410882130265236,
-0.00020576317911036313,
0.04224100708961487,
0.2919376790523529,
-0.11248859763145447,
-0.0064681582152843475,
-0.1566115915775299,
-0.07158738374710083,
-0.17603060603141785,
-0.042420342564582825,
-0.10189487040042877,
-0.09873443096876144,
0.0516616627573967,
-0.12333165854215622,
-0.065064437687397,
0.13142667710781097,
0.008817154914140701,
-0.07039783149957657,
0.08738715201616287,
-0.007305365987122059,
-0.03688604384660721,
0.059820082038640976,
-0.013388294726610184,
0.04226044565439224,
0.010574929416179657,
-0.050714511424303055,
0.07395091652870178,
-0.14089499413967133,
0.037618380039930344,
0.031189464032649994,
0.05416819080710411,
0.0013610597234219313,
-0.056069064885377884,
-0.09262743592262268,
-0.054362908005714417,
0.08104249089956284,
0.07537580281496048,
0.19453194737434387,
0.02185632288455963,
0.012773486785590649,
-0.015080582350492477,
0.1583700329065323,
0.04023508355021477,
0.08185593783855438,
-0.07479041814804077,
0.1447579264640808,
0.0058655329048633575,
0.0207938514649868,
0.05257958173751831,
-0.04531627520918846,
-0.0009002111037261784,
0.14865796267986298,
0.2050880789756775,
-0.0966794341802597,
-0.0047898003831505775,
-0.06967956572771072,
0.02985304221510887,
0.06442344933748245,
0.1464805155992508,
0.0678335651755333,
0.07837724685668945,
-0.11018944531679153,
0.049065571278333664,
-0.10506432503461838,
0.07368206977844238,
-0.015790142118930817,
0.08155185729265213,
0.03193715587258339,
-0.04405789449810982,
-0.07483624666929245,
0.08136305212974548,
0.05592040345072746,
-0.04738220199942589,
-0.010536751709878445,
-0.15179325640201569,
-0.09256621450185776,
0.015964007005095482,
0.03977997228503227,
-0.006917399819940329,
0.0831950455904007,
-0.07837598025798798,
0.002241437090560794,
-0.0577474869787693,
-0.028808854520320892,
-0.12044116854667664,
-0.016387348994612694,
0.05150676891207695,
0.0447547622025013,
0.1380234807729721,
0.05302157253026962,
0.1972813755273819,
0.09159598499536514,
-0.031007882207632065,
-0.05725003778934479,
0.11296075582504272,
-0.008159277029335499,
0.0773003026843071,
0.0740160197019577,
-0.03437440097332001,
-0.030593326315283775,
0.026661306619644165,
0.10221204161643982,
-0.021584581583738327,
0.0681798905134201,
0.015661602839827538,
-0.10631044209003448,
-0.06017537787556648,
0.17209051549434662,
-0.06504768133163452,
0.048089031130075455,
0.1450154185295105,
-0.06165831536054611,
-0.04411375895142555,
-0.01694653555750847,
0.03831583261489868,
0.031288012862205505,
-0.02898874692618847,
0.043708644807338715,
-0.18499372899532318,
0.06085766479372978,
0.16363731026649475,
-0.0003247875429224223,
-0.3055777847766876,
-0.008091281168162823,
-0.11473328620195389,
-0.00706044165417552,
-0.09006790071725845,
0.06756362318992615,
-0.11149051785469055,
0.020340722054243088,
-0.019133158028125763,
-0.024194132536649704,
-0.007808114867657423,
0.0808987244963646,
-0.07073521614074707,
-0.11453385651111603
] |
null | null |
transformers
|
This is a very small distilled version of the [bert-base-multilingual-cased](https://huggingface.co/bert-base-multilingual-cased) model for Russian and English (45 MB, 12M parameters). There is also an **updated version of this model**, [rubert-tiny2](https://huggingface.co/cointegrated/rubert-tiny2), with a larger vocabulary and better quality on practically all Russian NLU tasks.
This model is useful if you want to fine-tune it for a relatively simple Russian task (e.g. NER or sentiment classification), and you care more about speed and size than about accuracy. It is approximately x10 smaller and faster than a base-sized BERT. Its `[CLS]` embeddings can be used as a sentence representation aligned between Russian and English.
It was trained on the [Yandex Translate corpus](https://translate.yandex.ru/corpus), [OPUS-100](https://huggingface.co/datasets/opus100) and [Tatoeba](https://huggingface.co/datasets/tatoeba), using MLM loss (distilled from [bert-base-multilingual-cased](https://huggingface.co/bert-base-multilingual-cased)), translation ranking loss, and `[CLS]` embeddings distilled from [LaBSE](https://huggingface.co/sentence-transformers/LaBSE), [rubert-base-cased-sentence](https://huggingface.co/DeepPavlov/rubert-base-cased-sentence), Laser and USE.
There is a more detailed [description in Russian](https://habr.com/ru/post/562064/).
Sentence embeddings can be produced as follows:
```python
# pip install transformers sentencepiece
import torch
from transformers import AutoTokenizer, AutoModel
tokenizer = AutoTokenizer.from_pretrained("cointegrated/rubert-tiny")
model = AutoModel.from_pretrained("cointegrated/rubert-tiny")
# model.cuda() # uncomment it if you have a GPU
def embed_bert_cls(text, model, tokenizer):
t = tokenizer(text, padding=True, truncation=True, return_tensors='pt')
with torch.no_grad():
model_output = model(**{k: v.to(model.device) for k, v in t.items()})
embeddings = model_output.last_hidden_state[:, 0, :]
embeddings = torch.nn.functional.normalize(embeddings)
return embeddings[0].cpu().numpy()
print(embed_bert_cls('привет мир', model, tokenizer).shape)
# (312,)
```
|
{"language": ["ru", "en"], "license": "mit", "tags": ["russian", "fill-mask", "pretraining", "embeddings", "masked-lm", "tiny", "feature-extraction", "sentence-similarity"], "widget": [{"text": "\u041c\u0438\u043d\u0438\u0430\u0442\u044e\u0440\u043d\u0430\u044f \u043c\u043e\u0434\u0435\u043b\u044c \u0434\u043b\u044f [MASK] \u0440\u0430\u0437\u043d\u044b\u0445 \u0437\u0430\u0434\u0430\u0447."}], "pipeline_tag": "fill-mask"}
|
fill-mask
|
cointegrated/rubert-tiny
|
[
"transformers",
"pytorch",
"safetensors",
"bert",
"pretraining",
"russian",
"fill-mask",
"embeddings",
"masked-lm",
"tiny",
"feature-extraction",
"sentence-similarity",
"ru",
"en",
"license:mit",
"endpoints_compatible",
"has_space",
"region:us"
] |
2022-03-02T23:29:05+00:00
|
[] |
[
"ru",
"en"
] |
TAGS
#transformers #pytorch #safetensors #bert #pretraining #russian #fill-mask #embeddings #masked-lm #tiny #feature-extraction #sentence-similarity #ru #en #license-mit #endpoints_compatible #has_space #region-us
|
This is a very small distilled version of the bert-base-multilingual-cased model for Russian and English (45 MB, 12M parameters). There is also an updated version of this model, rubert-tiny2, with a larger vocabulary and better quality on practically all Russian NLU tasks.
This model is useful if you want to fine-tune it for a relatively simple Russian task (e.g. NER or sentiment classification), and you care more about speed and size than about accuracy. It is approximately x10 smaller and faster than a base-sized BERT. Its '[CLS]' embeddings can be used as a sentence representation aligned between Russian and English.
It was trained on the Yandex Translate corpus, OPUS-100 and Tatoeba, using MLM loss (distilled from bert-base-multilingual-cased), translation ranking loss, and '[CLS]' embeddings distilled from LaBSE, rubert-base-cased-sentence, Laser and USE.
There is a more detailed description in Russian.
Sentence embeddings can be produced as follows:
|
[] |
[
"TAGS\n#transformers #pytorch #safetensors #bert #pretraining #russian #fill-mask #embeddings #masked-lm #tiny #feature-extraction #sentence-similarity #ru #en #license-mit #endpoints_compatible #has_space #region-us \n"
] |
[
76
] |
[
"passage: TAGS\n#transformers #pytorch #safetensors #bert #pretraining #russian #fill-mask #embeddings #masked-lm #tiny #feature-extraction #sentence-similarity #ru #en #license-mit #endpoints_compatible #has_space #region-us \n"
] |
[
0.0294529739767313,
-0.09318549931049347,
-0.00811308529227972,
0.021202053874731064,
0.06254233419895172,
0.017430488020181656,
0.2060963213443756,
0.07613333314657211,
0.06484733521938324,
0.011605553328990936,
0.17437191307544708,
0.004993022885173559,
-0.03203437849879265,
0.03098919987678528,
0.02391885593533516,
-0.2591612935066223,
0.0928240418434143,
-0.027417004108428955,
-0.09145500510931015,
0.07698585093021393,
0.13220462203025818,
-0.0608036108314991,
0.032858870923519135,
-0.0011292726267129183,
-0.037075214087963104,
0.07204984128475189,
0.04288148507475853,
-0.07998824864625931,
0.1169523224234581,
0.029916519299149513,
0.14595861732959747,
0.03619689866900444,
-0.050909072160720825,
-0.14473016560077667,
0.04224299266934395,
-0.019759390503168106,
-0.12749959528446198,
0.009533283300697803,
-0.0023958589881658554,
-0.09073755890130997,
0.13691452145576477,
-0.08458574116230011,
-0.019015567377209663,
0.009373964741826057,
-0.15188486874103546,
-0.13285169005393982,
-0.0009749844903126359,
0.09668700397014618,
0.010407043620944023,
0.1415024697780609,
-0.0430939719080925,
0.10393892228603363,
-0.17257654666900635,
0.07123658806085587,
0.19644689559936523,
-0.3856591284275055,
-0.022727718576788902,
0.10846696048974991,
0.10254286229610443,
0.02395324967801571,
-0.04692423343658447,
0.10928086191415787,
0.028175443410873413,
-0.016515010967850685,
-0.013130667619407177,
-0.05495167896151543,
0.04128354787826538,
0.0742458626627922,
-0.13556145131587982,
-0.035338837653398514,
0.15111100673675537,
-0.035747162997722626,
0.08488054573535919,
-0.07204077392816544,
-0.031812530010938644,
-0.08760064840316772,
-0.014611017890274525,
0.05543239042162895,
-0.02344907820224762,
0.0510467067360878,
0.00040315015939995646,
-0.04607351869344711,
-0.16582632064819336,
-0.012269302271306515,
-0.15375590324401855,
0.2172538787126541,
0.017527779564261436,
0.03774461895227432,
-0.12012658268213272,
-0.03091678023338318,
-0.09079127013683319,
-0.11182163655757904,
0.07305531203746796,
-0.06610459089279175,
0.06372867524623871,
0.08878055959939957,
-0.1289425790309906,
-0.043422214686870575,
0.13871601223945618,
0.07293299585580826,
-0.05794935300946236,
0.035912465304136276,
0.05457935482263565,
0.20104077458381653,
-0.03794288635253906,
0.12068966776132584,
0.0004327041970100254,
0.0457896888256073,
-0.06997432559728622,
-0.031092306599020958,
0.0593220591545105,
-0.022344369441270828,
-0.18600264191627502,
-0.06594784557819366,
-0.002178944181650877,
0.07857132703065872,
0.021266620606184006,
0.09217417240142822,
-0.043239761143922806,
0.12014351040124893,
-0.03996889665722847,
-0.07059028744697571,
-0.007972309365868568,
-0.018739989027380943,
0.07019653171300888,
-0.05629682540893555,
-0.05174268037080765,
0.0030314286705106497,
-0.02036931924521923,
0.11134698241949081,
-0.044985122978687286,
0.051971592009067535,
-0.022519534453749657,
-0.1336168646812439,
0.04228448122739792,
-0.16094882786273956,
0.030979866161942482,
-0.16470366716384888,
0.034003179520368576,
0.022686628624796867,
0.05405079200863838,
0.011971757747232914,
0.05220995098352432,
-0.003894058521836996,
-0.11519161611795425,
0.025201674550771713,
-0.02085859701037407,
-0.13749203085899353,
-0.07614295929670334,
0.06433065235614777,
-0.1090470403432846,
0.1168954148888588,
-0.07759471982717514,
0.025438006967306137,
-0.17437604069709778,
-0.020459093153476715,
-0.09291068464517593,
-0.02492619678378105,
-0.09539413452148438,
0.08243899047374725,
0.030640214681625366,
-0.05697426199913025,
-0.13052979111671448,
0.1029261127114296,
-0.013553619384765625,
0.17397311329841614,
-0.19038322567939758,
-0.0984446108341217,
0.23983442783355713,
-0.1281014382839203,
-0.05508702993392944,
0.09918775409460068,
0.007201147265732288,
-0.03646495193243027,
0.03952331468462944,
0.32102352380752563,
-0.030635226517915726,
-0.12504121661186218,
0.026074189692735672,
0.10578479617834091,
-0.08838065713644028,
0.10163059085607529,
0.055027592927217484,
-0.010033154860138893,
0.018626432865858078,
0.009402061812579632,
-0.016823306679725647,
0.040292732417583466,
-0.037263013422489166,
-0.09365897625684738,
-0.011446429416537285,
0.0077375732362270355,
0.13770540058612823,
-0.017381135374307632,
0.03815111517906189,
-0.16393792629241943,
-0.11245238780975342,
-0.07564091682434082,
0.016192998737096786,
0.0577375665307045,
0.059653766453266144,
-0.09468772262334824,
0.09444121271371841,
0.11114375293254852,
0.0053581059910357,
-0.12706056237220764,
-0.0009623587247915566,
-0.05086313933134079,
0.09416486322879791,
0.0701233446598053,
0.15283122658729553,
0.08233146369457245,
-0.022531863301992416,
-0.0579310767352581,
-0.02345672994852066,
-0.04588041082024574,
0.025608930736780167,
0.0005642037722282112,
-0.21505720913410187,
0.03443531319499016,
-0.039179347455501556,
-0.04191238805651665,
0.012600809335708618,
0.01848197542130947,
0.036411117762327194,
0.06454284489154816,
-0.040578097105026245,
0.0803484246134758,
-0.08206723630428314,
0.04086984321475029,
-0.035201478749513626,
0.03741488978266716,
0.102263905107975,
-0.0180022232234478,
-0.10360479354858398,
0.21101942658424377,
-0.11759122461080551,
0.21716086566448212,
0.2192971259355545,
-0.21730217337608337,
-0.02232256904244423,
0.019165873527526855,
-0.05658883973956108,
0.07024180889129639,
0.08647411316633224,
-0.028060007840394974,
0.04519522190093994,
-0.04269814491271973,
0.054918766021728516,
-0.07617504894733429,
0.015071747824549675,
0.0033915620297193527,
-0.09741760790348053,
-0.1359664648771286,
0.12586402893066406,
0.017619382590055466,
-0.18094471096992493,
0.21083307266235352,
0.31167837977409363,
-0.02909819781780243,
0.263798326253891,
-0.028734594583511353,
0.019856709986925125,
-0.017051223665475845,
0.002689485438168049,
-0.05415794998407364,
0.16068588197231293,
-0.15077455341815948,
-0.05451521277427673,
0.02303003892302513,
0.006429945584386587,
0.0609130859375,
-0.16529692709445953,
-0.1180887371301651,
-0.008227689191699028,
-0.05133403092622757,
-0.10159029811620712,
0.12783768773078918,
0.005201528314501047,
0.1290557086467743,
-0.003018713556230068,
-0.10526376962661743,
0.05491065979003906,
-0.03063925728201866,
-0.03882725536823273,
0.11820848286151886,
-0.18893098831176758,
-0.2783110737800598,
-0.09669502824544907,
0.015917468816041946,
-0.0020205662585794926,
0.02795063890516758,
0.11263184249401093,
-0.1818424016237259,
0.006383538246154785,
-0.028612757101655006,
0.07164634764194489,
-0.08810188621282578,
0.01831996813416481,
-0.11962296813726425,
0.09869395196437836,
-0.06384292989969254,
-0.05897406488656998,
-0.10396240651607513,
-0.06743562966585159,
-0.01811513677239418,
0.12289299815893173,
-0.035939522087574005,
0.028049785643815994,
0.07250722497701645,
-0.01159582007676363,
0.03250420093536377,
-0.09487906843423843,
0.17657645046710968,
-0.09677888453006744,
-0.00450826296582818,
0.11515426635742188,
-0.005629432387650013,
0.06567104905843735,
0.19182589650154114,
0.025456126779317856,
-0.00808783806860447,
0.014255451038479805,
-0.023398783057928085,
-0.06738635152578354,
-0.1308189332485199,
-0.14816729724407196,
-0.09890241920948029,
0.07725415378808975,
-0.02574295923113823,
0.04542732238769531,
0.0457557737827301,
-0.010400152765214443,
-0.05301879718899727,
-0.16990824043750763,
0.05664638802409172,
0.016311587765812874,
0.17523694038391113,
-0.04930766299366951,
0.12824654579162598,
-0.04453960061073303,
-0.09523973613977432,
0.03169957175850868,
-0.08009487390518188,
0.11777248233556747,
0.12432380020618439,
-0.03762151673436165,
0.13028910756111145,
0.1575733870267868,
0.09852050244808197,
0.02957415208220482,
0.039932988584041595,
-0.06672438979148865,
0.006201677955687046,
-0.08788479119539261,
0.02851809561252594,
0.07881169021129608,
0.09093530476093292,
-0.09929458796977997,
-0.054819054901599884,
-0.07630559056997299,
0.13561971485614777,
0.10716904699802399,
0.1022944301366806,
-0.09245454519987106,
-0.043412692844867706,
0.048256538808345795,
0.054408811032772064,
-0.010820632800459862,
0.09601684659719467,
0.07190785557031631,
-0.05922336131334305,
0.06622271239757538,
0.010615406557917595,
0.062320269644260406,
0.21947166323661804,
0.1174083724617958,
-0.08782936632633209,
-0.1213502287864685,
0.00012059658911311999,
0.08307134360074997,
-0.30369362235069275,
0.3555869162082672,
0.004813613835722208,
-0.03426484018564224,
-0.04354683309793472,
-0.07164321094751358,
0.03551427274942398,
0.12705083191394806,
0.1674771010875702,
0.034838657826185226,
-0.13767820596694946,
-0.10764509439468384,
0.012190048582851887,
0.014963800087571144,
0.19552871584892273,
-0.0288244541734457,
0.025209058076143265,
-0.07151438295841217,
0.00025866777286864817,
0.02421386167407036,
0.17253035306930542,
-0.0776672512292862,
-0.13952834904193878,
0.02118852734565735,
0.08887428790330887,
-0.037116605788469315,
-0.07065609842538834,
-0.05604974552989006,
-0.14307324588298798,
0.08925698697566986,
-0.08477873355150223,
-0.038803063333034515,
-0.041068099439144135,
-0.0786856859922409,
0.08287554979324341,
-0.06328006088733673,
0.040156882256269455,
-0.04066474735736847,
0.032781220972537994,
-0.14711399376392365,
-0.10946188122034073,
0.11446019262075424,
-0.10361135005950928,
-0.058237768709659576,
-0.010994577780365944,
0.21083955466747284,
-0.006106965243816376,
0.10653259605169296,
0.008291554637253284,
0.09717313945293427,
-0.06528405100107193,
-0.045481689274311066,
0.04282957315444946,
-0.10916988551616669,
0.05045415833592415,
0.08539361506700516,
-0.1535346806049347,
-0.07335616648197174,
-0.06949980556964874,
-0.03072039783000946,
0.2118302583694458,
0.33442142605781555,
-0.10535891354084015,
0.1828584372997284,
0.09337631613016129,
-0.017045702785253525,
-0.3931156098842621,
-0.05905953794717789,
-0.1391054391860962,
0.05206108093261719,
0.0768764317035675,
-0.07553054392337799,
-0.056930817663669586,
-0.06844134628772736,
-0.05261685326695442,
0.03302806243300438,
-0.2520486116409302,
-0.11066965013742447,
0.1575646996498108,
-0.08676962554454803,
0.30040067434310913,
-0.10537581145763397,
-0.003302325028926134,
-0.03723609447479248,
0.008722656406462193,
0.060428790748119354,
-0.03498389571905136,
0.11932142078876495,
0.02677285112440586,
-0.032619841396808624,
0.03883455693721771,
-0.040447257459163666,
0.139405757188797,
-0.0794178694486618,
0.06221465393900871,
-0.10395395755767822,
-0.15258727967739105,
0.12051799148321152,
0.006164800375699997,
-0.04838710278272629,
-0.13904985785484314,
-0.0018160417675971985,
-0.004126050975173712,
-0.002478908048942685,
-0.1116444319486618,
0.12114791572093964,
-0.03578461334109306,
-0.09115376323461533,
-0.11076730489730835,
0.07324732840061188,
0.006303326226770878,
0.001672352897003293,
0.2692147493362427,
-0.0964600220322609,
0.1450759321451187,
0.01333522330969572,
0.029377764090895653,
-0.0764269232749939,
-0.03626706078648567,
0.053841281682252884,
-0.05224328488111496,
0.0796542689204216,
-0.06484632194042206,
0.013301113620400429,
0.07671301066875458,
-0.024250153452157974,
0.046654682606458664,
0.07990312576293945,
-0.021036185324192047,
-0.050986360758543015,
0.16962024569511414,
-0.19036486744880676,
-0.08804679661989212,
-0.04879939556121826,
-0.028125490993261337,
0.12059301137924194,
-0.020709682255983353,
0.10806460678577423,
-0.07526185363531113,
0.026986200362443924,
0.000027072430384578183,
0.004017670638859272,
-0.0958111435174942,
-0.00966791994869709,
0.034185174852609634,
0.04303546994924545,
-0.048295758664608,
0.06428726762533188,
-0.03766726702451706,
-0.20108969509601593,
0.04444994404911995,
0.08711118996143341,
-0.09817206859588623,
-0.1351630687713623,
-0.0655963346362114,
0.05411670356988907,
-0.004858679138123989,
-0.058566439896821976,
-0.05693114548921585,
-0.16797509789466858,
0.022292841225862503,
0.1861017644405365,
0.10728973150253296,
0.028200596570968628,
0.01737864315509796,
-0.011369291692972183,
0.07274360954761505,
0.03814461827278137,
-0.009756071493029594,
-0.04512213543057442,
-0.0548308864235878,
0.10821382701396942,
0.0013478718465194106,
0.11646588146686554,
-0.083304263651371,
0.013560493476688862,
-0.12380728870630264,
0.04523902386426926,
-0.008340783417224884,
-0.0713866725564003,
-0.06707607209682465,
-0.09622842818498611,
0.004860089160501957,
-0.07562501728534698,
-0.06261590868234634,
-0.03973414748907089,
-0.10829607397317886,
0.0023455829359591007,
-0.030956100672483444,
0.06738679856061935,
-0.06408979743719101,
-0.018627988174557686,
0.1097075492143631,
-0.03158343583345413,
0.06053193658590317,
0.14414101839065552,
-0.046524807810783386,
0.1350060999393463,
-0.14171846210956573,
-0.05669251084327698,
0.06574758142232895,
-0.008936984464526176,
0.0022987716365605593,
0.07040109485387802,
-0.012699241749942303,
-0.007302905432879925,
0.026195723563432693,
0.07277637720108032,
0.016334746032953262,
-0.0804481953382492,
0.02474706433713436,
0.019843917340040207,
-0.12126165628433228,
0.016137849539518356,
-0.053235482424497604,
0.11268254369497299,
0.004758684430271387,
0.18647333979606628,
-0.10234598070383072,
0.08005094528198242,
-0.05031333118677139,
0.05323293060064316,
-0.03983763977885246,
-0.1407131850719452,
-0.029870983213186264,
-0.09243184328079224,
0.023267824202775955,
-0.05678153038024902,
0.22764761745929718,
0.09619270265102386,
-0.10311698913574219,
0.0997348204255104,
0.018738076090812683,
-0.020144963636994362,
0.06775069236755371,
0.1613357812166214,
0.05255195498466492,
-0.06440937519073486,
-0.1718812882900238,
0.01534869335591793,
0.0035508032888174057,
-0.04458598792552948,
0.10706540197134018,
0.2230846881866455,
0.15353082120418549,
0.1275363266468048,
0.08184956014156342,
0.009301405400037766,
0.002285177353769541,
-0.07701844722032547,
0.028281355276703835,
0.04515703022480011,
-0.043188270181417465,
0.12116104364395142,
0.28543901443481445,
-0.056301385164260864,
0.09021462500095367,
-0.07685017585754395,
-0.02756800688803196,
-0.12546434998512268,
-0.11257550865411758,
-0.035041261464357376,
-0.08670534193515778,
-0.0019618819933384657,
-0.02210589312016964,
0.011469142511487007,
0.04375261813402176,
0.061280131340026855,
-0.04840006306767464,
0.16331687569618225,
-0.08338479697704315,
-0.0696028396487236,
0.08587997406721115,
-0.014638891443610191,
0.06435130536556244,
0.02327791042625904,
-0.10524473339319229,
-0.022246142849326134,
-0.11086568981409073,
-0.04446237161755562,
0.042735494673252106,
-0.0683346539735794,
-0.023158498108386993,
-0.13332310318946838,
-0.10300254821777344,
-0.0164942629635334,
0.030365686863660812,
0.05557131767272949,
0.10594628006219864,
0.02523411437869072,
0.006645182613283396,
0.004407694097608328,
0.20506413280963898,
-0.021899644285440445,
-0.1578494906425476,
0.026183253154158592,
0.10578592866659164,
0.05300421640276909,
0.13265469670295715,
-0.06451671570539474,
-0.003131189849227667,
-0.1095728874206543,
0.23554620146751404,
0.43917831778526306,
-0.04536691680550575,
0.08834067732095718,
0.01588863879442215,
0.05521196126937866,
0.03689192980527878,
0.03981926292181015,
0.0686955600976944,
0.18870750069618225,
-0.09855370223522186,
0.004838035441935062,
-0.16304905712604523,
0.02566416934132576,
-0.1431340128183365,
0.009681745432317257,
0.10505988448858261,
-0.09304831176996231,
-0.030380528420209885,
0.11512820422649384,
-0.13861680030822754,
0.0511416494846344,
0.049764033406972885,
-0.2511104643344879,
-0.03222732990980148,
0.029472216963768005,
0.2378189116716385,
0.04124085232615471,
0.15801125764846802,
-0.032993726432323456,
-0.06785460561513901,
-0.13900519907474518,
0.02866372838616371,
-0.09497296810150146,
-0.04798167571425438,
0.0627114400267601,
0.028059491887688637,
0.09957266598939896,
-0.037078432738780975,
0.06711684167385101,
0.1008722335100174,
0.07616238296031952,
0.062461007386446,
0.1070893257856369,
0.0968886986374855,
-0.03336702659726143,
-0.09161774814128876,
-0.06161775439977646,
-0.015824604779481888,
-0.07759368419647217,
0.11839549243450165,
-0.13390977680683136,
0.10072267055511475,
-0.053571127355098724,
-0.08343647420406342,
-0.0028454281855374575,
0.1510263830423355,
-0.09252306818962097,
-0.009425386786460876,
0.11908604204654694,
0.003442589193582535,
-0.10154320299625397,
-0.02272559329867363,
-0.04135967046022415,
0.0751667395234108,
-0.0949384793639183,
-0.06846294552087784,
-0.059987623244524,
-0.03099066950380802,
0.03350217640399933,
0.00013799667067360133,
-0.1609388291835785,
-0.05627515912055969,
-0.03717741370201111,
0.09521056711673737,
-0.11516966670751572,
0.03928569704294205,
0.07837042957544327,
0.0019441539188846946,
0.009551853872835636,
-0.17275118827819824,
0.11749708652496338,
0.05983627587556839,
-0.12060537189245224,
-0.09652476012706757
] |
null | null |
transformers
|
This is the [cointegrated/rubert-tiny2](https://huggingface.co/cointegrated/rubert-tiny2) model fine-tuned for classification of emotions in Russian sentences. The task is multilabel classification, because one sentence can contain multiple emotions.
The model on the [CEDR dataset](https://huggingface.co/datasets/cedr) described in the paper ["Data-Driven Model for Emotion Detection in Russian Texts"](https://doi.org/10.1016/j.procs.2021.06.075) by Sboev et al.
The model has been trained with Adam optimizer for 40 epochs with learning rate `1e-5` and batch size 64 [in this notebook](https://colab.research.google.com/drive/1AFW70EJaBn7KZKRClDIdDUpbD46cEsat?usp=sharing).
The quality of the predicted probabilities on the test dataset is the following:
| label | no emotion | joy |sadness |surprise| fear |anger | mean | mean (emotions) |
|----------|------------|--------|--------|--------|--------|--------| --------| ----------------|
| AUC | 0.9286 | 0.9512 | 0.9564 | 0.8908 | 0.8955 | 0.7511 | 0.8956 | 0.8890 |
| F1 micro | 0.8624 | 0.9389 | 0.9362 | 0.9469 | 0.9575 | 0.9261 | 0.9280 | 0.9411 |
| F1 macro | 0.8562 | 0.8962 | 0.9017 | 0.8366 | 0.8359 | 0.6820 | 0.8348 | 0.8305 |
|
{"language": ["ru"], "tags": ["russian", "classification", "sentiment", "emotion-classification", "multiclass"], "datasets": ["cedr"], "widget": [{"text": "\u0411\u0435\u0441\u0438\u0448\u044c \u043c\u0435\u043d\u044f, \u043f\u0430\u0434\u043b\u0430"}, {"text": "\u041a\u0430\u043a \u0437\u0434\u043e\u0440\u043e\u0432\u043e, \u0447\u0442\u043e \u0432\u0441\u0435 \u043c\u044b \u0437\u0434\u0435\u0441\u044c \u0441\u0435\u0433\u043e\u0434\u043d\u044f \u0441\u043e\u0431\u0440\u0430\u043b\u0438\u0441\u044c"}, {"text": "\u041a\u0430\u043a-\u0442\u043e \u0441\u0442\u0440\u0451\u043c\u043d\u043e, \u0434\u0430\u0432\u0430\u0439 \u0441\u0432\u0430\u043b\u0438\u043c \u043e\u0442\u0441\u044e\u0434\u0430?"}, {"text": "\u0413\u0440\u0443\u0441\u0442\u044c-\u0442\u043e\u0441\u043a\u0430 \u043c\u0435\u043d\u044f \u0441\u044a\u0435\u0434\u0430\u0435\u0442"}, {"text": "\u0414\u0430\u043d\u043d\u044b\u0439 \u0444\u0440\u0430\u0433\u043c\u0435\u043d\u0442 \u0442\u0435\u043a\u0441\u0442\u0430 \u043d\u0435 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u0430\u0431\u0441\u043e\u043b\u044e\u0442\u043d\u043e \u043d\u0438\u043a\u0430\u043a\u0438\u0445 \u044d\u043c\u043e\u0446\u0438\u0439"}, {"text": "\u041d\u0438\u0444\u0438\u0433\u0430 \u0441\u0435\u0431\u0435, \u043d\u0435\u0443\u0436\u0435\u043b\u0438 \u0442\u0430\u043a \u0442\u043e\u0436\u0435 \u0431\u044b\u0432\u0430\u0435\u0442!"}]}
|
text-classification
|
cointegrated/rubert-tiny2-cedr-emotion-detection
|
[
"transformers",
"pytorch",
"safetensors",
"bert",
"text-classification",
"russian",
"classification",
"sentiment",
"emotion-classification",
"multiclass",
"ru",
"dataset:cedr",
"autotrain_compatible",
"endpoints_compatible",
"has_space",
"region:us"
] |
2022-03-02T23:29:05+00:00
|
[] |
[
"ru"
] |
TAGS
#transformers #pytorch #safetensors #bert #text-classification #russian #classification #sentiment #emotion-classification #multiclass #ru #dataset-cedr #autotrain_compatible #endpoints_compatible #has_space #region-us
|
This is the cointegrated/rubert-tiny2 model fine-tuned for classification of emotions in Russian sentences. The task is multilabel classification, because one sentence can contain multiple emotions.
The model on the CEDR dataset described in the paper "Data-Driven Model for Emotion Detection in Russian Texts" by Sboev et al.
The model has been trained with Adam optimizer for 40 epochs with learning rate '1e-5' and batch size 64 in this notebook.
The quality of the predicted probabilities on the test dataset is the following:
|
[] |
[
"TAGS\n#transformers #pytorch #safetensors #bert #text-classification #russian #classification #sentiment #emotion-classification #multiclass #ru #dataset-cedr #autotrain_compatible #endpoints_compatible #has_space #region-us \n"
] |
[
71
] |
[
"passage: TAGS\n#transformers #pytorch #safetensors #bert #text-classification #russian #classification #sentiment #emotion-classification #multiclass #ru #dataset-cedr #autotrain_compatible #endpoints_compatible #has_space #region-us \n"
] |
[
-0.023122956976294518,
0.08613406121730804,
-0.007658700924366713,
0.0411333292722702,
0.17607581615447998,
0.057418182492256165,
0.11061707884073257,
0.045658037066459656,
0.10387127101421356,
0.026921812444925308,
0.10153473168611526,
0.04930337145924568,
-0.052774958312511444,
0.10656631737947464,
-0.09769540280103683,
-0.28199827671051025,
0.06929052621126175,
-0.003425204660743475,
0.01511396560817957,
0.09114184230566025,
0.11355730891227722,
-0.10710597783327103,
0.06895586103200912,
-0.0589267872273922,
-0.055328574031591415,
0.05829828977584839,
0.052780043333768845,
-0.08690504729747772,
0.10952496528625488,
0.014038917608559132,
0.15141421556472778,
0.0610908642411232,
-0.025089023634791374,
-0.1811000555753708,
0.052292097359895706,
-0.01537097617983818,
-0.11185795068740845,
0.03703105077147484,
0.08221977204084396,
-0.18468591570854187,
0.18511007726192474,
-0.0973808765411377,
0.006968976464122534,
0.020120803266763687,
-0.10665930062532425,
-0.1476403921842575,
-0.010542739182710648,
0.10543422400951385,
-0.0030953390523791313,
0.09595654904842377,
-0.05158437415957451,
0.13953061401844025,
-0.1433781385421753,
0.11962693184614182,
0.14922702312469482,
-0.22750572860240936,
-0.044875457882881165,
0.11957021057605743,
0.016263043507933617,
0.04543367028236389,
-0.09771489351987839,
0.057669498026371,
0.03811568394303322,
-0.02066122367978096,
0.018395017832517624,
-0.06306053698062897,
-0.0756659135222435,
0.02544017694890499,
-0.08124461770057678,
-0.021698083728551865,
0.1872038096189499,
0.004925842396914959,
0.1150367259979248,
-0.06564194709062576,
-0.047471918165683746,
-0.14651642739772797,
0.0045587108470499516,
0.031348951160907745,
-0.022949447855353355,
0.02265321835875511,
0.018977109342813492,
0.05832670256495476,
-0.14902061223983765,
0.06989233940839767,
-0.13836738467216492,
0.20946693420410156,
-0.034562744200229645,
0.052346762269735336,
-0.049403540790081024,
-0.026914749294519424,
-0.011868449859321117,
-0.08059339225292206,
0.09915618598461151,
-0.1275380253791809,
-0.0035315987188369036,
0.009299454279243946,
-0.11375494301319122,
0.02397983707487583,
0.09958002716302872,
0.035272955894470215,
-0.06053391098976135,
0.06656088680028915,
0.053048860281705856,
0.07463977485895157,
0.1402793824672699,
0.13473470509052277,
-0.004565430339425802,
-0.006292263511568308,
-0.09276656806468964,
-0.07996487617492676,
0.00026220123982056975,
-0.02797071449458599,
-0.12312119454145432,
-0.01288500428199768,
0.10276811569929123,
0.03897121921181679,
-0.09087727963924408,
0.14099429547786713,
-0.07479214668273926,
0.06568483263254166,
-0.03966597840189934,
-0.03731629624962807,
0.05311296507716179,
0.07094284147024155,
0.015657896175980568,
0.09201239794492722,
-0.09924817830324173,
-0.030445266515016556,
-0.006434557028114796,
0.06116916611790657,
0.019359605386853218,
0.05623599886894226,
-0.03600693121552467,
-0.13281987607479095,
0.085059255361557,
-0.16845984756946564,
0.057633399963378906,
-0.18890225887298584,
-0.023485597223043442,
-0.05778312683105469,
0.06378443539142609,
-0.037888363003730774,
0.04463741183280945,
-0.02030029334127903,
-0.04977124184370041,
0.08801265060901642,
-0.0295827928930521,
-0.16906891763210297,
-0.10369609296321869,
0.024232108145952225,
-0.1114467978477478,
0.1541275680065155,
-0.013518497347831726,
0.013092786073684692,
-0.13757680356502533,
-0.039980873465538025,
-0.05373680219054222,
0.04872969910502434,
-0.14280955493450165,
0.16322892904281616,
0.08027586340904236,
-0.06451205909252167,
0.005386466160416603,
0.038511283695697784,
-0.07695291191339493,
0.1801065355539322,
-0.2143547385931015,
-0.06893086433410645,
0.17090700566768646,
-0.11927630007266998,
-0.03194744884967804,
0.11259748041629791,
-0.04362960532307625,
-0.03788284212350845,
0.10516715049743652,
0.23196418583393097,
0.027725495398044586,
0.027004286646842957,
-0.11595362424850464,
0.07586674392223358,
-0.07515289634466171,
0.05625968426465988,
-0.005641987081617117,
0.15310461819171906,
-0.020110126584768295,
0.04913315549492836,
0.12192260473966599,
0.04958663508296013,
-0.0814913958311081,
-0.0815126895904541,
-0.013351701200008392,
-0.01567765325307846,
0.14330071210861206,
0.09112329035997391,
0.06427806615829468,
-0.17818890511989594,
-0.026496225968003273,
-0.11380891501903534,
0.05046388506889343,
0.014586267061531544,
0.005590671673417091,
-0.081757090985775,
0.08325546234846115,
0.09098325669765472,
0.02841039001941681,
-0.19634214043617249,
-0.019618960097432137,
-0.0547943115234375,
0.1705876737833023,
-0.02388778142631054,
0.17457382380962372,
0.07576189190149307,
-0.10193542391061783,
-0.06951629370450974,
-0.03584969416260719,
0.09837774932384491,
0.03161214664578438,
-0.02074143849313259,
-0.2459617555141449,
0.060123514384031296,
-0.09482404589653015,
0.04123501852154732,
-0.10976755619049072,
0.04359813779592514,
0.1541818231344223,
0.10275483131408691,
-0.02695154771208763,
0.10733620822429657,
-0.03315900266170502,
0.058170419186353683,
-0.09010540693998337,
0.007348545361310244,
0.10307995229959488,
-0.05300066992640495,
-0.09862956404685974,
0.15671490132808685,
-0.09015917032957077,
0.28055015206336975,
0.19642357528209686,
-0.18278442323207855,
-0.053284965455532074,
-0.0029071210883557796,
-0.02139597199857235,
0.10875692963600159,
0.07202797383069992,
0.10031013935804367,
0.030835503712296486,
-0.04976184666156769,
0.08065176755189896,
0.0020700700115412474,
0.02587640844285488,
0.02316157892346382,
-0.07387769222259521,
-0.13825228810310364,
0.15024782717227936,
-0.05052463710308075,
-0.19883427023887634,
0.21572987735271454,
0.24132516980171204,
-0.01936202310025692,
0.2757268249988556,
-0.012516036629676819,
0.08815349638462067,
0.019093817099928856,
-0.11029459536075592,
-0.09094073623418808,
0.07827834784984589,
-0.11724881827831268,
-0.08788833022117615,
0.0268692709505558,
0.0033974044490605593,
-0.012791271321475506,
-0.11096538603305817,
-0.08095012605190277,
-0.00615689205005765,
-0.003636540612205863,
-0.005468975752592087,
0.09520168602466583,
0.053755983710289,
0.16537921130657196,
-0.019512077793478966,
-0.059134241193532944,
0.040384888648986816,
-0.026063093915581703,
-0.06479880213737488,
0.15806403756141663,
-0.19931723177433014,
-0.30763572454452515,
-0.00940241664648056,
-0.05582175403833389,
-0.06105346605181694,
0.029145799577236176,
0.06046731397509575,
-0.26062750816345215,
0.0025059080217033625,
-0.02268141694366932,
0.06063598766922951,
-0.0383303202688694,
0.03471272438764572,
-0.04367513954639435,
0.10920756310224533,
-0.059051308780908585,
-0.019093791022896767,
-0.08365498483181,
-0.08162964880466461,
-0.017925240099430084,
0.19478076696395874,
-0.025240713730454445,
0.05830911546945572,
0.15720652043819427,
-0.03498401120305061,
-0.00009127298835664988,
-0.09560999274253845,
0.12211266905069351,
-0.13323812186717987,
-0.0016874043503776193,
0.062103912234306335,
-0.04111103713512421,
0.05049681290984154,
0.2072436809539795,
0.027576802298426628,
-0.06717047095298767,
0.050071340054273605,
0.01528909057378769,
-0.07764936983585358,
-0.16619132459163666,
-0.19604137539863586,
-0.04513871669769287,
0.1441941112279892,
-0.034182108938694,
0.05616331100463867,
0.013183142989873886,
0.054287139326334,
-0.020085686817765236,
-0.18948028981685638,
-0.023215308785438538,
0.025356439873576164,
0.167058527469635,
-0.03456033021211624,
0.11126408725976944,
-0.05366719514131546,
-0.07828693091869354,
0.11822172999382019,
-0.03909224271774292,
0.07938330620527267,
0.05144248902797699,
-0.07531179487705231,
0.02155192941427231,
0.1199025958776474,
0.0901242047548294,
0.05524647235870361,
0.058551959693431854,
-0.04901277646422386,
-0.024784892797470093,
0.0014558355323970318,
-0.07812098413705826,
0.07525026798248291,
0.05396581068634987,
-0.06035774201154709,
-0.1123833879828453,
-0.10892929136753082,
0.18562322854995728,
0.12731409072875977,
0.06684769690036774,
-0.15302573144435883,
-0.07040385156869888,
0.0945214331150055,
0.0063515715301036835,
-0.036316879093647,
0.056988079100847244,
0.03493216261267662,
-0.12440980225801468,
0.15417566895484924,
0.013495435938239098,
0.06334226578474045,
-0.02810419164597988,
0.10996687412261963,
-0.12194302678108215,
-0.15663747489452362,
-0.0022380901500582695,
0.09228350967168808,
-0.2275044322013855,
0.27444934844970703,
-0.008703945204615593,
-0.10545439273118973,
-0.10361683368682861,
-0.0828961655497551,
0.08816789090633392,
0.2117137610912323,
0.048811402171850204,
0.030318565666675568,
-0.10591393709182739,
-0.1956799030303955,
0.023532254621386528,
0.03431500867009163,
0.12177880853414536,
-0.027220601215958595,
0.020224440842866898,
-0.0276896134018898,
0.0039452374912798405,
-0.005875680595636368,
0.05243400111794472,
-0.0488629974424839,
-0.143671452999115,
-0.0036900790873914957,
0.09693345427513123,
-0.005963557865470648,
0.03398611396551132,
-0.11817977577447891,
-0.16478672623634338,
0.1327235996723175,
-0.0022858516313135624,
-0.01978626288473606,
-0.08919361978769302,
-0.03263409808278084,
0.01801184006035328,
-0.05041277036070824,
0.017200946807861328,
-0.03627471998333931,
0.07176089286804199,
-0.07246213406324387,
-0.17075881361961365,
0.11732155829668045,
-0.11542681604623795,
-0.13457666337490082,
-0.027641477063298225,
0.11197291314601898,
0.023754622787237167,
0.07275187969207764,
0.002682607853785157,
0.04684968292713165,
-0.06175432726740837,
-0.07368818670511246,
0.07908829301595688,
0.052761562168598175,
0.0006458846619352698,
0.1505427360534668,
-0.05668177828192711,
-0.21306709945201874,
-0.05276124179363251,
-0.028065741062164307,
0.20717884600162506,
0.25086984038352966,
-0.13368788361549377,
0.16818051040172577,
0.03720052167773247,
-0.019173337146639824,
-0.3741788864135742,
0.003913855645805597,
-0.07666970044374466,
0.024572828784585,
0.038260869681835175,
-0.10690011084079742,
0.029261508956551552,
-0.07732978463172913,
-0.0399828739464283,
-0.04535761848092079,
-0.04991413652896881,
-0.06490467488765717,
0.19429956376552582,
-0.0638200119137764,
0.339731901884079,
-0.13675712049007416,
0.021495066583156586,
-0.10120297968387604,
0.06921438127756119,
0.1802440583705902,
-0.0596880204975605,
0.06391743570566177,
0.003531314432621002,
0.06049667298793793,
0.06381088495254517,
0.001525817671790719,
0.13551706075668335,
-0.01911790855228901,
0.07093648612499237,
-0.148185133934021,
-0.11617113649845123,
0.04729335755109787,
-0.027510149404406548,
-0.022437524050474167,
-0.058341242372989655,
-0.016523068770766258,
-0.12563739717006683,
-0.02964191697537899,
-0.10627731680870056,
0.055836983025074005,
0.01485187653452158,
-0.04106990993022919,
-0.1234295666217804,
0.07807654142379761,
0.04871874302625656,
-0.03748437017202377,
0.21579040586948395,
-0.03474810719490051,
0.08846992999315262,
0.06799759715795517,
0.16296926140785217,
-0.04145456850528717,
0.07922480255365372,
0.011728481389582157,
-0.0395033061504364,
0.059918150305747986,
-0.1486446112394333,
0.025282034650444984,
0.10588148236274719,
-0.08614874631166458,
0.06271561235189438,
0.09668926894664764,
-0.00807269848883152,
-0.018046384677290916,
0.16982011497020721,
-0.2063538134098053,
-0.04415396600961685,
-0.035446926951408386,
-0.06786134839057922,
0.05160246044397354,
0.04741360992193222,
0.12154030799865723,
-0.05102718248963356,
-0.008315675891935825,
-0.029031334444880486,
0.004704764578491449,
0.029789457097649574,
0.0284479521214962,
0.03058147430419922,
0.003891267813742161,
-0.09750495851039886,
0.06305083632469177,
-0.015917424112558365,
-0.2450524866580963,
0.06579896062612534,
0.07525153458118439,
-0.14317069947719574,
-0.1535877138376236,
0.03588879480957985,
0.1600254476070404,
-0.07489757984876633,
-0.07309725135564804,
-0.03538773953914642,
-0.20345661044120789,
0.05469375476241112,
0.23007561266422272,
0.14005786180496216,
0.05705580860376358,
-0.03149717301130295,
-0.026981646195054054,
0.04551750794053078,
0.04633850231766701,
0.06674547493457794,
-0.07811180502176285,
-0.1565503478050232,
-0.011958938091993332,
-0.03012819215655327,
0.13082978129386902,
-0.102567158639431,
-0.02849099412560463,
-0.13800457119941711,
-0.020459387451410294,
-0.08466997742652893,
-0.0724777951836586,
-0.09358672797679901,
-0.010893805883824825,
0.017056521028280258,
-0.05914246290922165,
-0.01908109337091446,
-0.09503171592950821,
-0.11677650362253189,
0.07475236058235168,
-0.008235182613134384,
0.1107877716422081,
-0.06405717134475708,
-0.06935613602399826,
0.03479987755417824,
-0.02534090355038643,
0.15183961391448975,
0.1473231464624405,
-0.04343689605593681,
0.1274365484714508,
-0.2216620147228241,
-0.008522572927176952,
0.15850262343883514,
-0.027043424546718597,
0.05658666044473648,
0.09533853828907013,
-0.0015767206205055118,
0.011856804601848125,
0.03561460226774216,
0.10431168228387833,
0.08123057335615158,
-0.03066125325858593,
0.10763416439294815,
0.02372570149600506,
-0.12541605532169342,
-0.006586550734937191,
-0.021375354379415512,
0.08932583034038544,
-0.02454192563891411,
0.18170708417892456,
-0.11955109983682632,
0.0842071920633316,
-0.04759625345468521,
0.027653560042381287,
-0.027496477589011192,
-0.19626472890377045,
-0.17992201447486877,
-0.06101389601826668,
0.0608389712870121,
-0.02049662172794342,
0.2597685158252716,
0.14784987270832062,
-0.025694867596030235,
0.032348986715078354,
0.07885919511318207,
-0.026604022830724716,
0.0635014995932579,
0.029321134090423584,
0.06494710594415665,
-0.08949325978755951,
-0.05849374085664749,
0.05461444705724716,
0.051981329917907715,
-0.017699865624308586,
0.10009251534938812,
0.10670392215251923,
0.12434696406126022,
0.10072047263383865,
-0.015256163664162159,
0.002786079188808799,
0.05351629853248596,
-0.10081347823143005,
-0.17701919376850128,
0.0788368508219719,
-0.05224204435944557,
0.13719095289707184,
0.11330253630876541,
-0.014182520098984241,
0.0817771703004837,
-0.09274248033761978,
-0.025359777733683586,
-0.11799941956996918,
-0.11756283044815063,
-0.095359206199646,
-0.12933747470378876,
-0.01809891313314438,
-0.12653563916683197,
-0.04434576258063316,
0.024552209302783012,
0.0783664733171463,
-0.06177525967359543,
0.07157865166664124,
-0.02523965947329998,
-0.01597658172249794,
0.17377308011054993,
0.02527659386396408,
-0.031503766775131226,
-0.007269287947565317,
-0.06307193636894226,
-0.1016436368227005,
-0.05301017686724663,
-0.0469282791018486,
0.04436797276139259,
-0.09922590106725693,
-0.010857224464416504,
-0.12969066202640533,
-0.11607375741004944,
-0.012618781067430973,
0.038686949759721756,
0.019370989874005318,
0.06348291039466858,
-0.012351765297353268,
0.01612021215260029,
0.016245422884821892,
0.20772409439086914,
-0.013526477850973606,
0.04658390209078789,
-0.02822980470955372,
0.15082085132598877,
-0.012947804294526577,
0.12195040285587311,
-0.04867196083068848,
-0.032271042466163635,
-0.12379228323698044,
0.18139871954917908,
0.39677923917770386,
-0.04163849726319313,
0.09018319100141525,
-0.07728487253189087,
0.06502265483140945,
0.02247566170990467,
0.08274083584547043,
0.08787992596626282,
0.07300902158021927,
-0.09299197047948837,
0.027707356959581375,
-0.09762535244226456,
0.019060026854276657,
-0.055204231292009354,
0.008131437003612518,
0.11780447512865067,
-0.04049336165189743,
-0.06838403642177582,
0.10690349340438843,
-0.1690172255039215,
0.07744990289211273,
0.11494994908571243,
-0.2653614580631256,
-0.07652860134840012,
0.0298601221293211,
0.18730992078781128,
0.07994340360164642,
0.11428429931402206,
-0.00555579224601388,
-0.09143735468387604,
-0.002529626712203026,
0.022499719634652138,
-0.17556819319725037,
-0.01813136599957943,
0.08663085848093033,
-0.06177239120006561,
0.0471990630030632,
-0.08208402991294861,
0.04125862196087837,
0.1268921196460724,
0.011919190175831318,
0.01324231456965208,
0.060993652790784836,
0.049733664840459824,
-0.05358215793967247,
-0.03390341252088547,
0.04920297488570213,
-0.005888163112103939,
-0.0029395294841378927,
0.13671493530273438,
-0.22164279222488403,
0.06549149751663208,
-0.0723944753408432,
-0.04486258700489998,
-0.00896802730858326,
0.2042965292930603,
-0.08497434109449387,
0.0007908535189926624,
0.13745936751365662,
-0.005180402658879757,
-0.055067576467990875,
-0.027170998975634575,
-0.03499361872673035,
-0.041657909750938416,
-0.10026171058416367,
-0.03574908524751663,
-0.07513993233442307,
-0.040252603590488434,
0.10478822886943817,
0.02602762170135975,
-0.11959169059991837,
-0.027290932834148407,
-0.07292444258928299,
0.07865257561206818,
-0.12100325524806976,
0.04783566668629646,
-0.03540060669183731,
0.01970537193119526,
-0.005903915967792273,
-0.1000523716211319,
0.09096863120794296,
0.10753512382507324,
-0.07658941298723221,
-0.07988440245389938
] |
null | null |
sentence-transformers
|
This is an updated version of [cointegrated/rubert-tiny](https://huggingface.co/cointegrated/rubert-tiny): a small Russian BERT-based encoder with high-quality sentence embeddings. This [post in Russian](https://habr.com/ru/post/669674/) gives more details.
The differences from the previous version include:
- a larger vocabulary: 83828 tokens instead of 29564;
- larger supported sequences: 2048 instead of 512;
- sentence embeddings approximate LaBSE closer than before;
- meaningful segment embeddings (tuned on the NLI task)
- the model is focused only on Russian.
The model should be used as is to produce sentence embeddings (e.g. for KNN classification of short texts) or fine-tuned for a downstream task.
Sentence embeddings can be produced as follows:
```python
# pip install transformers sentencepiece
import torch
from transformers import AutoTokenizer, AutoModel
tokenizer = AutoTokenizer.from_pretrained("cointegrated/rubert-tiny2")
model = AutoModel.from_pretrained("cointegrated/rubert-tiny2")
# model.cuda() # uncomment it if you have a GPU
def embed_bert_cls(text, model, tokenizer):
t = tokenizer(text, padding=True, truncation=True, return_tensors='pt')
with torch.no_grad():
model_output = model(**{k: v.to(model.device) for k, v in t.items()})
embeddings = model_output.last_hidden_state[:, 0, :]
embeddings = torch.nn.functional.normalize(embeddings)
return embeddings[0].cpu().numpy()
print(embed_bert_cls('привет мир', model, tokenizer).shape)
# (312,)
```
Alternatively, you can use the model with `sentence_transformers`:
```Python
from sentence_transformers import SentenceTransformer
model = SentenceTransformer('cointegrated/rubert-tiny2')
sentences = ["привет мир", "hello world", "здравствуй вселенная"]
embeddings = model.encode(sentences)
print(embeddings)
```
|
{"language": ["ru"], "license": "mit", "tags": ["russian", "fill-mask", "pretraining", "embeddings", "masked-lm", "tiny", "feature-extraction", "sentence-similarity", "sentence-transformers", "transformers"], "pipeline_tag": "sentence-similarity", "widget": [{"text": "\u041c\u0438\u043d\u0438\u0430\u0442\u044e\u0440\u043d\u0430\u044f \u043c\u043e\u0434\u0435\u043b\u044c \u0434\u043b\u044f [MASK] \u0440\u0430\u0437\u043d\u044b\u0445 \u0437\u0430\u0434\u0430\u0447."}]}
|
sentence-similarity
|
cointegrated/rubert-tiny2
|
[
"sentence-transformers",
"pytorch",
"safetensors",
"bert",
"pretraining",
"russian",
"fill-mask",
"embeddings",
"masked-lm",
"tiny",
"feature-extraction",
"sentence-similarity",
"transformers",
"ru",
"license:mit",
"endpoints_compatible",
"has_space",
"region:us"
] |
2022-03-02T23:29:05+00:00
|
[] |
[
"ru"
] |
TAGS
#sentence-transformers #pytorch #safetensors #bert #pretraining #russian #fill-mask #embeddings #masked-lm #tiny #feature-extraction #sentence-similarity #transformers #ru #license-mit #endpoints_compatible #has_space #region-us
|
This is an updated version of cointegrated/rubert-tiny: a small Russian BERT-based encoder with high-quality sentence embeddings. This post in Russian gives more details.
The differences from the previous version include:
- a larger vocabulary: 83828 tokens instead of 29564;
- larger supported sequences: 2048 instead of 512;
- sentence embeddings approximate LaBSE closer than before;
- meaningful segment embeddings (tuned on the NLI task)
- the model is focused only on Russian.
The model should be used as is to produce sentence embeddings (e.g. for KNN classification of short texts) or fine-tuned for a downstream task.
Sentence embeddings can be produced as follows:
Alternatively, you can use the model with 'sentence_transformers':
|
[] |
[
"TAGS\n#sentence-transformers #pytorch #safetensors #bert #pretraining #russian #fill-mask #embeddings #masked-lm #tiny #feature-extraction #sentence-similarity #transformers #ru #license-mit #endpoints_compatible #has_space #region-us \n"
] |
[
80
] |
[
"passage: TAGS\n#sentence-transformers #pytorch #safetensors #bert #pretraining #russian #fill-mask #embeddings #masked-lm #tiny #feature-extraction #sentence-similarity #transformers #ru #license-mit #endpoints_compatible #has_space #region-us \n"
] |
[
0.04471803829073906,
-0.12260951101779938,
-0.008100032806396484,
0.00307775242254138,
0.07029436528682709,
0.01892952062189579,
0.18442761898040771,
0.09443358331918716,
0.03425421193242073,
0.011081271804869175,
0.16810555756092072,
0.013969140127301216,
-0.048345599323511124,
-0.02388901449739933,
0.024202732369303703,
-0.27368202805519104,
0.1153748407959938,
-0.046926796436309814,
-0.09655316919088364,
0.0798647552728653,
0.152854785323143,
-0.06126360222697258,
0.020274369046092033,
0.008712388575077057,
-0.04083957150578499,
0.07941009849309921,
0.03518354520201683,
-0.07500816136598587,
0.11902625113725662,
0.0520876981317997,
0.12285090982913971,
0.04181815683841705,
-0.07727845758199692,
-0.16830973327159882,
0.03678915649652481,
-0.01772262528538704,
-0.11563964933156967,
-0.003983690403401852,
-0.031212477013468742,
-0.09695197641849518,
0.12114186584949493,
-0.11944155395030975,
-0.016562670469284058,
0.0065805260092020035,
-0.14149659872055054,
-0.10699864476919174,
0.024560000747442245,
0.0768689215183258,
0.025484463199973106,
0.16082613170146942,
-0.07144574075937271,
0.09103094041347504,
-0.18710649013519287,
0.07964474707841873,
0.20711678266525269,
-0.37944310903549194,
-0.015427153557538986,
0.08341042697429657,
0.10717439651489258,
0.030702179297804832,
-0.05933544039726257,
0.10309455543756485,
0.010659507475793362,
-0.031681206077337265,
-0.015975456684827805,
-0.0626697689294815,
0.026568841189146042,
0.07048539072275162,
-0.14632709324359894,
-0.018177688121795654,
0.12252935022115707,
-0.027500245720148087,
0.08426562696695328,
-0.12130295485258102,
-0.02096196450293064,
-0.06504908204078674,
-0.03549150750041008,
0.06089817360043526,
-0.02397841587662697,
0.05839895084500313,
-0.007780744228512049,
-0.05578940361738205,
-0.17439568042755127,
-0.0016989342402666807,
-0.14821404218673706,
0.2070186734199524,
0.02081586979329586,
0.009760607965290546,
-0.11349942535161972,
-0.042447250336408615,
-0.08483627438545227,
-0.11195148527622223,
0.06793755292892456,
-0.06424049288034439,
0.027575382962822914,
0.0972006693482399,
-0.1510370820760727,
-0.07900875806808472,
0.15097753703594208,
0.040113773196935654,
-0.04151380434632301,
0.026021506637334824,
0.030679291114211082,
0.19203858077526093,
-0.03400234878063202,
0.13267214596271515,
-0.023770639672875404,
0.03087488003075123,
-0.08491013944149017,
-0.03642569109797478,
0.05493352934718132,
-0.018493635579943657,
-0.17938275635242462,
-0.04329776391386986,
-0.004370804876089096,
0.09565688669681549,
0.013157205656170845,
0.11512840539216995,
-0.02266380749642849,
0.1152019053697586,
-0.04983191192150116,
-0.06824024766683578,
-0.007795593701303005,
-0.005988036748021841,
0.06581095606088638,
-0.028163433074951172,
-0.06117352843284607,
0.024331172928214073,
-0.04088973626494408,
0.09213341772556305,
-0.04954013228416443,
0.05364983528852463,
-0.005095518194139004,
-0.1490243524312973,
0.03851095214486122,
-0.13633732497692108,
0.03022429160773754,
-0.1649511456489563,
0.05555161461234093,
0.007690436206758022,
0.02323319762945175,
0.004017350729554892,
0.04696420580148697,
-0.03516792505979538,
-0.10945727676153183,
0.03904275968670845,
-0.03400702774524689,
-0.13112008571624756,
-0.059490103274583817,
0.06979771703481674,
-0.10927585512399673,
0.10737977921962738,
-0.06568247079849243,
0.025539295747876167,
-0.19318875670433044,
-0.04453529790043831,
-0.07345014810562134,
0.023830249905586243,
-0.09044289588928223,
0.10096170753240585,
-0.0063402168452739716,
-0.04387277364730835,
-0.10114554315805435,
0.1169871836900711,
-0.04390537738800049,
0.1965176910161972,
-0.20798274874687195,
-0.10296136885881424,
0.2614876329898834,
-0.11926505714654922,
-0.05238943547010422,
0.12103961408138275,
-0.0007275206153281033,
-0.007116923574358225,
0.07645262032747269,
0.3227942883968353,
-0.03586241602897644,
-0.1101653203368187,
0.04761481657624245,
0.08527366071939468,
-0.07417255640029907,
0.14943499863147736,
0.0653713047504425,
-0.023184308782219887,
0.05207754299044609,
0.01325499452650547,
-0.048471082001924515,
0.046370916068553925,
-0.010181860998272896,
-0.09589461237192154,
-0.0008771942812018096,
0.01959294266998768,
0.1374870389699936,
-0.024177545681595802,
0.024898597970604897,
-0.16065943241119385,
-0.13246393203735352,
-0.042281024158000946,
0.026105474680662155,
0.018301410600543022,
0.07587943971157074,
-0.09283583611249924,
0.05222450569272041,
0.1350196897983551,
0.022373981773853302,
-0.13086071610450745,
-0.00992387905716896,
-0.06513813883066177,
0.11315643042325974,
0.07431002706289291,
0.12744399905204773,
0.08311308175325394,
-0.03537779301404953,
-0.055388193577528,
0.003138047643005848,
-0.008069418370723724,
0.04240662604570389,
-0.010381409898400307,
-0.20659351348876953,
0.04622761905193329,
-0.03661924600601196,
-0.013144249096512794,
0.022816115990281105,
0.01286281831562519,
0.06751921027898788,
0.03952105715870857,
-0.03331809490919113,
0.07405965030193329,
-0.08463333547115326,
0.023498041555285454,
-0.01966123841702938,
0.038541510701179504,
0.10912726074457169,
-0.019479671493172646,
-0.12372560799121857,
0.23527196049690247,
-0.14709322154521942,
0.11690165847539902,
0.21465536952018738,
-0.1977236121892929,
-0.016769250854849815,
-0.03148861974477768,
-0.06178136169910431,
0.07580669969320297,
0.08380357176065445,
-0.05592083930969238,
0.07904261350631714,
-0.03875274211168289,
0.05903974175453186,
-0.07343236356973648,
0.01643676683306694,
-0.006421235390007496,
-0.07608197629451752,
-0.13492953777313232,
0.14168180525302887,
-0.058943621814250946,
-0.19662372767925262,
0.19618567824363708,
0.2795707583427429,
-0.014098362065851688,
0.2662866711616516,
-0.030402150005102158,
0.012392350472509861,
-0.008261265233159065,
0.01610584743320942,
-0.05412796512246132,
0.10907409340143204,
-0.17531678080558777,
-0.06159676983952522,
0.021144678816199303,
0.015844082459807396,
0.062396105378866196,
-0.1426677405834198,
-0.11370888352394104,
-0.001632252591662109,
-0.05819451063871384,
-0.05201274901628494,
0.1312621831893921,
0.013062816113233566,
0.11626250296831131,
0.005654140375554562,
-0.08615729957818985,
0.0494815856218338,
-0.03302185237407684,
-0.047244857996702194,
0.12320531159639359,
-0.21071234345436096,
-0.324808806180954,
-0.07753036171197891,
0.020521754398941994,
0.0016669923206791282,
0.01815987192094326,
0.13694149255752563,
-0.19632193446159363,
0.009368996135890484,
-0.04591025412082672,
0.10664352029561996,
-0.08481106907129288,
0.005085605196654797,
-0.12582944333553314,
0.09635663032531738,
-0.0903509259223938,
-0.06638450175523758,
-0.09534262120723724,
-0.06249800696969032,
-0.02824990265071392,
0.09267827868461609,
-0.05695069953799248,
0.010601384565234184,
0.0929042249917984,
0.03856469318270683,
0.03506762534379959,
-0.11715184897184372,
0.17004995048046112,
-0.10268036276102066,
-0.006129149813205004,
0.1067158505320549,
-0.00974181480705738,
0.053562503308057785,
0.1835753619670868,
0.008652634918689728,
0.004697579890489578,
0.03489975258708,
0.0044588977470994,
-0.040946777909994125,
-0.11113377660512924,
-0.16770094633102417,
-0.09461887925863266,
0.06304337829351425,
-0.019927946850657463,
0.047574881464242935,
0.07052481919527054,
-0.02366524003446102,
-0.060253579169511795,
-0.195796936750412,
0.09909963607788086,
0.03485850617289543,
0.19795849919319153,
-0.05238618701696396,
0.1341494470834732,
-0.033496368676424026,
-0.11775869131088257,
0.01683918386697769,
-0.09882315993309021,
0.08523381501436234,
0.11646641045808792,
0.028638537973165512,
0.1201045885682106,
0.1268020123243332,
0.06347805261611938,
0.0020365326199680567,
0.02021908387541771,
-0.06616616249084473,
-0.008562104776501656,
-0.11362990736961365,
0.03739823400974274,
0.0834018886089325,
0.11673040688037872,
-0.0980224609375,
-0.07073958963155746,
-0.05238226428627968,
0.17310810089111328,
0.10280535370111465,
0.10262385755777359,
-0.0637083351612091,
-0.04941041022539139,
0.06107959896326065,
0.029733780771493912,
-0.013688279315829277,
0.10564359277486801,
0.05897348374128342,
-0.05402864143252373,
0.04995952174067497,
0.014995990321040154,
0.057034436613321304,
0.20289567112922668,
0.1288028359413147,
-0.10807466506958008,
-0.1268889307975769,
0.012525741942226887,
0.09102240204811096,
-0.3387412428855896,
0.322204053401947,
0.009563454426825047,
-0.045413270592689514,
-0.07087752968072891,
-0.06391911953687668,
0.021678810939192772,
0.09493013471364975,
0.20737846195697784,
0.02061707153916359,
-0.09982354193925858,
-0.06554362177848816,
0.00640885392203927,
-0.003311147214844823,
0.2037302404642105,
-0.03664185479283333,
0.019656002521514893,
-0.0897989571094513,
-0.0018218429759144783,
0.03326161578297615,
0.21193842589855194,
-0.06185179576277733,
-0.1656075268983841,
0.03646128624677658,
0.10022356361150742,
-0.010355924256145954,
-0.05832013115286827,
-0.05776245892047882,
-0.14455170929431915,
0.11790083348751068,
-0.10190626233816147,
-0.03512922301888466,
-0.06039535999298096,
-0.06003567576408386,
0.08906670659780502,
-0.07281746715307236,
0.01778777502477169,
-0.042126599699258804,
0.05118824169039726,
-0.1548081785440445,
-0.10157637298107147,
0.1258682757616043,
-0.08498519659042358,
-0.04239993542432785,
0.00927085243165493,
0.22657835483551025,
-0.01874074712395668,
0.11350785195827484,
0.02107449434697628,
0.0987786203622818,
-0.06238934397697449,
-0.04602919891476631,
0.007580151315778494,
-0.11488444358110428,
0.05082086846232414,
0.0859057754278183,
-0.17166531085968018,
-0.06612050533294678,
-0.09760993719100952,
-0.0346682146191597,
0.2831733524799347,
0.29472002387046814,
-0.10334857553243637,
0.20109960436820984,
0.10677418112754822,
-0.025657806545495987,
-0.38128191232681274,
-0.07009319961071014,
-0.11853247880935669,
0.04548953101038933,
0.05263873562216759,
-0.0696740373969078,
-0.07211600244045258,
-0.0660686269402504,
-0.03355722874403,
-0.03895541653037071,
-0.2882939875125885,
-0.1166214719414711,
0.17549128830432892,
-0.07623989135026932,
0.2764640152454376,
-0.14161813259124756,
-0.013384769670665264,
-0.052117183804512024,
0.0075032347813248634,
0.11549600958824158,
-0.059522975236177444,
0.13053669035434723,
0.0656518042087555,
-0.043834082782268524,
0.04172731190919876,
-0.033285148441791534,
0.13417550921440125,
-0.05423210933804512,
0.04566852003335953,
-0.09017720818519592,
-0.18599848449230194,
0.11451493203639984,
0.00830523855984211,
-0.0330999530851841,
-0.1458512544631958,
-0.011189649812877178,
-0.018086561933159828,
-0.004729553125798702,
-0.11676473915576935,
0.08823667466640472,
-0.042832568287849426,
-0.09210272878408432,
-0.10773032903671265,
0.09848339110612869,
0.045738585293293,
-0.00246791890822351,
0.2843543589115143,
-0.14291107654571533,
0.09919168055057526,
0.0006141237681731582,
0.02830531820654869,
-0.057238079607486725,
-0.058983199298381805,
0.05346795916557312,
-0.04442690685391426,
0.07699991762638092,
-0.06889954954385757,
0.042093049734830856,
0.0626104474067688,
-0.031732771545648575,
0.07784430682659149,
0.07061724364757538,
-0.017926396802067757,
-0.05948450416326523,
0.14968717098236084,
-0.1789207011461258,
-0.06220194697380066,
-0.05669105052947998,
-0.022361285984516144,
0.1209496557712555,
-0.046954136341810226,
0.14067889750003815,
-0.08023913949728012,
0.026910122483968735,
0.004870777018368244,
0.02010081522166729,
-0.08228999376296997,
-0.01139126904308796,
0.0206488948315382,
0.041289087384939194,
-0.06479846686124802,
0.059567831456661224,
-0.023690007627010345,
-0.21564176678657532,
0.06699325144290924,
0.11374512314796448,
-0.09603259712457657,
-0.13518837094306946,
-0.09562905877828598,
0.010696856305003166,
-0.01399269700050354,
-0.047324150800704956,
-0.051949337124824524,
-0.1793685257434845,
0.006584509275853634,
0.17214976251125336,
0.11116933822631836,
0.04399878904223442,
-0.002825878793373704,
-0.02630184404551983,
0.05496872588992119,
0.04689375311136246,
-0.0220011118799448,
-0.06816942989826202,
-0.012509329244494438,
0.14511573314666748,
-0.002098670694977045,
0.10201901197433472,
-0.07931968569755554,
-0.0025474734138697386,
-0.12171207368373871,
0.03612923249602318,
-0.005089323502033949,
-0.06265443563461304,
-0.08095201104879379,
-0.08986461907625198,
0.013950647786259651,
-0.04893632233142853,
-0.04600994288921356,
-0.05775059014558792,
-0.09120867401361465,
-0.004172769840806723,
-0.04231163486838341,
0.06376934796571732,
-0.06426574289798737,
-0.019779082387685776,
0.08659791946411133,
-0.02792583964765072,
0.0745377391576767,
0.12918226420879364,
-0.06317885965108871,
0.14877189695835114,
-0.13381533324718475,
-0.04958236962556839,
0.057123325765132904,
-0.03384392336010933,
0.00950154010206461,
0.034065037965774536,
-0.012870515696704388,
-0.0012903050519526005,
0.0504668653011322,
0.06666456907987595,
0.017763357609510422,
-0.08104918897151947,
0.014967736788094044,
0.007427651900798082,
-0.12307976186275482,
0.010526632890105247,
-0.06278301775455475,
0.07809865474700928,
-0.020497450605034828,
0.1895899474620819,
-0.11345795542001724,
0.09042774140834808,
-0.026115519925951958,
0.04493657872080803,
-0.03995194286108017,
-0.13278453052043915,
-0.030141327530145645,
-0.08874779939651489,
0.021631142124533653,
-0.050294920802116394,
0.21258436143398285,
0.0722140446305275,
-0.0695108026266098,
0.10914181172847748,
-0.007109779864549637,
0.012762583792209625,
0.06870226562023163,
0.16328206658363342,
0.07231350243091583,
-0.07024101912975311,
-0.17342104017734528,
0.011148388497531414,
0.011195621453225613,
-0.03146331012248993,
0.10516263544559479,
0.21633712947368622,
0.1938759684562683,
0.16262687742710114,
0.07962092012166977,
0.01697634533047676,
0.044258397072553635,
-0.05463153496384621,
0.025528069585561752,
0.03222021460533142,
-0.06262054294347763,
0.143310546875,
0.29298409819602966,
-0.06450887024402618,
0.09318547695875168,
-0.06084010750055313,
-0.042114295065402985,
-0.11448810994625092,
-0.10325267165899277,
-0.03854593634605408,
-0.08896749466657639,
-0.018809916451573372,
-0.043123822659254074,
0.013265561312437057,
0.010852550156414509,
0.07483931630849838,
-0.041707515716552734,
0.17223703861236572,
-0.06538685411214828,
-0.09413041919469833,
0.11352664977312088,
-0.020811816677451134,
0.10345011949539185,
0.06269792467355728,
-0.09038857370615005,
0.0016320316353812814,
-0.09623986482620239,
-0.028936341404914856,
0.06647959351539612,
-0.04348909854888916,
-0.030413752421736717,
-0.1503790318965912,
-0.10968463867902756,
-0.012980155646800995,
0.0472353994846344,
0.04969066008925438,
0.13129901885986328,
0.039449337869882584,
-0.005682739429175854,
0.0023237387649714947,
0.1976616084575653,
-0.023119812831282616,
-0.16367700695991516,
0.01012641191482544,
0.0968429371714592,
0.08804941922426224,
0.15253469347953796,
-0.07313031703233719,
-0.010333485901355743,
-0.12015891075134277,
0.26171889901161194,
0.4218996465206146,
-0.05987457558512688,
0.08579637110233307,
0.03651111572980881,
0.05808078125119209,
0.06436983495950699,
0.0479532890021801,
0.06145784258842468,
0.21287384629249573,
-0.07852184027433395,
0.01376101840287447,
-0.14552372694015503,
-0.005080627743154764,
-0.13937819004058838,
0.028635751456022263,
0.1100068986415863,
-0.08889719098806381,
-0.012274015694856644,
0.12562286853790283,
-0.12958239018917084,
0.04988517239689827,
0.015152032487094402,
-0.2452264130115509,
-0.035365957766771317,
0.028112493455410004,
0.25031763315200806,
0.0684741884469986,
0.16695758700370789,
0.004465658217668533,
-0.07239705324172974,
-0.12296058237552643,
0.03991599753499031,
-0.09150807559490204,
-0.04108242318034172,
0.05980788916349411,
0.01637795753777027,
0.05976186320185661,
-0.03749701753258705,
0.07635653764009476,
0.11003006994724274,
0.0743715912103653,
0.05634162947535515,
0.12020999938249588,
0.09275232255458832,
-0.0539347343146801,
-0.04301634803414345,
-0.04597151279449463,
-0.017044657841324806,
-0.07094693928956985,
0.1314713954925537,
-0.157445028424263,
0.11866281181573868,
-0.05075975880026817,
-0.09228409081697464,
0.0061423033475875854,
0.14831984043121338,
-0.09477020800113678,
-0.024078385904431343,
0.13502003252506256,
0.0016457780729979277,
-0.09201675653457642,
-0.03360224887728691,
-0.052805524319410324,
0.03860721364617348,
-0.0718940868973732,
-0.06840397417545319,
-0.0752016082406044,
-0.027736296877264977,
0.05628201365470886,
0.000041793853597482666,
-0.19723869860172272,
-0.05483530834317207,
-0.018990380689501762,
0.09315971285104752,
-0.10723348706960678,
0.06140962243080139,
0.08501048386096954,
-0.012084109708666801,
0.006400539539754391,
-0.19718138873577118,
0.1388051062822342,
0.06638822704553604,
-0.12767402827739716,
-0.09869987517595291
] |
null | null |
transformers
|
This is a model for abstractive Russian summarization, based on [cointegrated/rut5-base-multitask](https://huggingface.co/cointegrated/rut5-base-multitask) and fine-tuned on 4 datasets.
It can be used as follows:
```python
import torch
from transformers import T5ForConditionalGeneration, T5Tokenizer
MODEL_NAME = 'cointegrated/rut5-base-absum'
model = T5ForConditionalGeneration.from_pretrained(MODEL_NAME)
tokenizer = T5Tokenizer.from_pretrained(MODEL_NAME)
model.cuda();
model.eval();
def summarize(
text, n_words=None, compression=None,
max_length=1000, num_beams=3, do_sample=False, repetition_penalty=10.0,
**kwargs
):
"""
Summarize the text
The following parameters are mutually exclusive:
- n_words (int) is an approximate number of words to generate.
- compression (float) is an approximate length ratio of summary and original text.
"""
if n_words:
text = '[{}] '.format(n_words) + text
elif compression:
text = '[{0:.1g}] '.format(compression) + text
x = tokenizer(text, return_tensors='pt', padding=True).to(model.device)
with torch.inference_mode():
out = model.generate(
**x,
max_length=max_length, num_beams=num_beams,
do_sample=do_sample, repetition_penalty=repetition_penalty,
**kwargs
)
return tokenizer.decode(out[0], skip_special_tokens=True)
text = """Высота башни составляет 324 метра (1063 фута), примерно такая же высота, как у 81-этажного здания, и самое высокое сооружение в Париже. Его основание квадратно, размером 125 метров (410 футов) с любой стороны. Во время строительства Эйфелева башня превзошла монумент Вашингтона, став самым высоким искусственным сооружением в мире, и этот титул она удерживала в течение 41 года до завершения строительство здания Крайслер в Нью-Йорке в 1930 году. Это первое сооружение которое достигло высоты 300 метров. Из-за добавления вещательной антенны на вершине башни в 1957 году она сейчас выше здания Крайслер на 5,2 метра (17 футов). За исключением передатчиков, Эйфелева башня является второй самой высокой отдельно стоящей структурой во Франции после виадука Мийо."""
print(summarize(text))
# Эйфелева башня достигла высоты 300 метров.
print(summarize(text, n_words=10))
# Французская Эйфелева башня достигла высоты 300 метров.
```
|
{"language": ["ru"], "license": "mit", "tags": ["russian", "summarization"], "datasets": ["IlyaGusev/gazeta", "csebuetnlp/xlsum", "mlsum", "wiki_lingua"], "widget": [{"text": "\u0412\u044b\u0441\u043e\u0442\u0430 \u0431\u0430\u0448\u043d\u0438 \u0441\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 324 \u043c\u0435\u0442\u0440\u0430 (1063 \u0444\u0443\u0442\u0430), \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u0442\u0430\u043a\u0430\u044f \u0436\u0435 \u0432\u044b\u0441\u043e\u0442\u0430, \u043a\u0430\u043a \u0443 81-\u044d\u0442\u0430\u0436\u043d\u043e\u0433\u043e \u0437\u0434\u0430\u043d\u0438\u044f, \u0438 \u0441\u0430\u043c\u043e\u0435 \u0432\u044b\u0441\u043e\u043a\u043e\u0435 \u0441\u043e\u043e\u0440\u0443\u0436\u0435\u043d\u0438\u0435 \u0432 \u041f\u0430\u0440\u0438\u0436\u0435. \u0415\u0433\u043e \u043e\u0441\u043d\u043e\u0432\u0430\u043d\u0438\u0435 \u043a\u0432\u0430\u0434\u0440\u0430\u0442\u043d\u043e, \u0440\u0430\u0437\u043c\u0435\u0440\u043e\u043c 125 \u043c\u0435\u0442\u0440\u043e\u0432 (410 \u0444\u0443\u0442\u043e\u0432) \u0441 \u043b\u044e\u0431\u043e\u0439 \u0441\u0442\u043e\u0440\u043e\u043d\u044b. \u0412\u043e \u0432\u0440\u0435\u043c\u044f \u0441\u0442\u0440\u043e\u0438\u0442\u0435\u043b\u044c\u0441\u0442\u0432\u0430 \u042d\u0439\u0444\u0435\u043b\u0435\u0432\u0430 \u0431\u0430\u0448\u043d\u044f \u043f\u0440\u0435\u0432\u0437\u043e\u0448\u043b\u0430 \u043c\u043e\u043d\u0443\u043c\u0435\u043d\u0442 \u0412\u0430\u0448\u0438\u043d\u0433\u0442\u043e\u043d\u0430, \u0441\u0442\u0430\u0432 \u0441\u0430\u043c\u044b\u043c \u0432\u044b\u0441\u043e\u043a\u0438\u043c \u0438\u0441\u043a\u0443\u0441\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u043c \u0441\u043e\u043e\u0440\u0443\u0436\u0435\u043d\u0438\u0435\u043c \u0432 \u043c\u0438\u0440\u0435, \u0438 \u044d\u0442\u043e\u0442 \u0442\u0438\u0442\u0443\u043b \u043e\u043d\u0430 \u0443\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u043b\u0430 \u0432 \u0442\u0435\u0447\u0435\u043d\u0438\u0435 41 \u0433\u043e\u0434\u0430 \u0434\u043e \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u044f \u0441\u0442\u0440\u043e\u0438\u0442\u0435\u043b\u044c\u0441\u0442\u0432\u043e \u0437\u0434\u0430\u043d\u0438\u044f \u041a\u0440\u0430\u0439\u0441\u043b\u0435\u0440 \u0432 \u041d\u044c\u044e-\u0419\u043e\u0440\u043a\u0435 \u0432 1930 \u0433\u043e\u0434\u0443. \u042d\u0442\u043e \u043f\u0435\u0440\u0432\u043e\u0435 \u0441\u043e\u043e\u0440\u0443\u0436\u0435\u043d\u0438\u0435 \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0434\u043e\u0441\u0442\u0438\u0433\u043b\u043e \u0432\u044b\u0441\u043e\u0442\u044b 300 \u043c\u0435\u0442\u0440\u043e\u0432. \u0418\u0437-\u0437\u0430 \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0432\u0435\u0449\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0439 \u0430\u043d\u0442\u0435\u043d\u043d\u044b \u043d\u0430 \u0432\u0435\u0440\u0448\u0438\u043d\u0435 \u0431\u0430\u0448\u043d\u0438 \u0432 1957 \u0433\u043e\u0434\u0443 \u043e\u043d\u0430 \u0441\u0435\u0439\u0447\u0430\u0441 \u0432\u044b\u0448\u0435 \u0437\u0434\u0430\u043d\u0438\u044f \u041a\u0440\u0430\u0439\u0441\u043b\u0435\u0440 \u043d\u0430 5,2 \u043c\u0435\u0442\u0440\u0430 (17 \u0444\u0443\u0442\u043e\u0432). \u0417\u0430 \u0438\u0441\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435\u043c \u043f\u0435\u0440\u0435\u0434\u0430\u0442\u0447\u0438\u043a\u043e\u0432, \u042d\u0439\u0444\u0435\u043b\u0435\u0432\u0430 \u0431\u0430\u0448\u043d\u044f \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0432\u0442\u043e\u0440\u043e\u0439 \u0441\u0430\u043c\u043e\u0439 \u0432\u044b\u0441\u043e\u043a\u043e\u0439 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e \u0441\u0442\u043e\u044f\u0449\u0435\u0439 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u043e\u0439 \u0432\u043e \u0424\u0440\u0430\u043d\u0446\u0438\u0438 \u043f\u043e\u0441\u043b\u0435 \u0432\u0438\u0430\u0434\u0443\u043a\u0430 \u041c\u0438\u0439\u043e."}]}
|
summarization
|
cointegrated/rut5-base-absum
|
[
"transformers",
"pytorch",
"safetensors",
"t5",
"text2text-generation",
"russian",
"summarization",
"ru",
"dataset:IlyaGusev/gazeta",
"dataset:csebuetnlp/xlsum",
"dataset:mlsum",
"dataset:wiki_lingua",
"license:mit",
"autotrain_compatible",
"endpoints_compatible",
"has_space",
"text-generation-inference",
"region:us"
] |
2022-03-02T23:29:05+00:00
|
[] |
[
"ru"
] |
TAGS
#transformers #pytorch #safetensors #t5 #text2text-generation #russian #summarization #ru #dataset-IlyaGusev/gazeta #dataset-csebuetnlp/xlsum #dataset-mlsum #dataset-wiki_lingua #license-mit #autotrain_compatible #endpoints_compatible #has_space #text-generation-inference #region-us
|
This is a model for abstractive Russian summarization, based on cointegrated/rut5-base-multitask and fine-tuned on 4 datasets.
It can be used as follows:
|
[] |
[
"TAGS\n#transformers #pytorch #safetensors #t5 #text2text-generation #russian #summarization #ru #dataset-IlyaGusev/gazeta #dataset-csebuetnlp/xlsum #dataset-mlsum #dataset-wiki_lingua #license-mit #autotrain_compatible #endpoints_compatible #has_space #text-generation-inference #region-us \n"
] |
[
108
] |
[
"passage: TAGS\n#transformers #pytorch #safetensors #t5 #text2text-generation #russian #summarization #ru #dataset-IlyaGusev/gazeta #dataset-csebuetnlp/xlsum #dataset-mlsum #dataset-wiki_lingua #license-mit #autotrain_compatible #endpoints_compatible #has_space #text-generation-inference #region-us \n"
] |
[
-0.04426666721701622,
0.08153993636369705,
-0.006786643993109465,
-0.002136157127097249,
0.11306621134281158,
0.014486178755760193,
0.1975947916507721,
0.06803324073553085,
0.03769448399543762,
-0.02495671808719635,
0.15372967720031738,
0.059459809213876724,
-0.018734535202383995,
0.17033377289772034,
-0.05283820629119873,
-0.1949985921382904,
0.07746492326259613,
0.002759783761575818,
-0.061711523681879044,
0.1205005794763565,
0.14328159391880035,
-0.08361219614744186,
0.058716826140880585,
-0.05414976552128792,
-0.0700661763548851,
0.04612956568598747,
0.060195233672857285,
-0.13185091316699982,
0.0943937748670578,
0.03453696146607399,
0.08185551315546036,
0.1116446927189827,
-0.019219841808080673,
-0.10497839003801346,
0.03796640783548355,
-0.0016529791755601764,
-0.12356025725603104,
0.04201311990618706,
0.10411345958709717,
-0.08840934932231903,
0.19595323503017426,
-0.14188309013843536,
-0.06143776699900627,
0.02679474838078022,
-0.10062046349048615,
-0.0760616883635521,
-0.07050228863954544,
0.060513827949762344,
0.005877266172319651,
0.12389419227838516,
-0.03354790434241295,
0.17292520403862,
-0.0674680843949318,
0.12653936445713043,
0.12180820852518082,
-0.3510632812976837,
-0.02647274360060692,
0.07446428388357162,
0.008941222913563251,
0.07244975864887238,
0.007510027382522821,
0.11682476848363876,
0.029521269723773003,
-0.036771368235349655,
0.057614684104919434,
-0.047674037516117096,
-0.09086919575929642,
0.04141176491975784,
-0.09736156463623047,
-0.023802578449249268,
0.32006481289863586,
-0.028169091790914536,
0.07690020650625229,
-0.05778614804148674,
-0.06438623368740082,
-0.025340190157294273,
0.007171643432229757,
0.031338486820459366,
-0.03422320634126663,
-0.009829046204686165,
-0.029497161507606506,
-0.04759971424937248,
-0.1620236486196518,
0.019728943705558777,
-0.17238488793373108,
0.2009672075510025,
0.014955363236367702,
0.0622071735560894,
-0.10189877450466156,
0.0279844943434,
0.047056227922439575,
-0.1259872019290924,
0.0854467824101448,
-0.09867829829454422,
0.0019748066551983356,
0.04151305928826332,
-0.05446508899331093,
-0.11173301935195923,
0.1328417807817459,
0.0628456324338913,
-0.09579404443502426,
-0.012876016087830067,
0.031704287976026535,
0.09610680490732193,
0.04258018359541893,
0.04411839693784714,
-0.09155700355768204,
-0.0526663102209568,
0.012891748920083046,
-0.07657357305288315,
0.04118095710873604,
-0.022820981219410896,
-0.10837839543819427,
-0.07808812707662582,
0.05353504419326782,
0.07991451025009155,
0.04158516973257065,
0.11780450493097305,
-0.03785742074251175,
0.01985231228172779,
0.026332808658480644,
-0.07581634819507599,
-0.01107716839760542,
-0.009758813306689262,
-0.032644856721162796,
0.07742206752300262,
-0.02003171108663082,
0.0006572253187187016,
-0.0814906433224678,
0.08457869291305542,
-0.03315787389874458,
0.027472946792840958,
-0.0047110277228057384,
-0.1329602152109146,
0.05913686007261276,
-0.1298372894525528,
0.03301007300615311,
-0.18513891100883484,
-0.1161031648516655,
-0.0014211481902748346,
0.028963293880224228,
-0.02601744793355465,
0.011785226874053478,
-0.017783213406801224,
-0.07453818619251251,
0.030411045998334885,
-0.06537504494190216,
-0.03406074270606041,
-0.09654046595096588,
0.07789433747529984,
-0.11917470395565033,
0.10481416434049606,
-0.10955529659986496,
0.02560819499194622,
-0.1457013636827469,
-0.07161204516887665,
0.005289379972964525,
0.06006523221731186,
-0.09192527830600739,
0.0682683140039444,
-0.017790120095014572,
-0.03024713322520256,
-0.03544676676392555,
0.0391462966799736,
0.016251003369688988,
0.22283975780010223,
-0.18171368539333344,
-0.057953644543886185,
0.20087282359600067,
-0.13908091187477112,
-0.12747053802013397,
0.09926670789718628,
0.004211363382637501,
0.013860644772648811,
0.12095828354358673,
0.21896126866340637,
0.019116872921586037,
-0.07336480915546417,
-0.10089804232120514,
0.03422873467206955,
-0.09442557394504547,
-0.047791220247745514,
0.056523289531469345,
0.07239458709955215,
-0.013809983618557453,
0.04633651301264763,
0.05897665023803711,
0.03227623179554939,
-0.08180315792560577,
-0.06521879881620407,
-0.03338388353586197,
-0.039387695491313934,
0.11656112223863602,
0.0039208331145346165,
0.07018906623125076,
-0.12392180413007736,
-0.05106603354215622,
-0.04085683822631836,
0.0345265157520771,
0.017489317804574966,
0.038341693580150604,
-0.07787280529737473,
0.10146970301866531,
0.028359901160001755,
0.05793348699808121,
-0.13433623313903809,
-0.05714673548936844,
-0.03759950399398804,
0.17765550315380096,
0.014484897255897522,
0.05240591615438461,
0.05329963564872742,
-0.03855380788445473,
-0.06031513214111328,
-0.03287656977772713,
0.08534804731607437,
0.008277038112282753,
-0.025138752534985542,
-0.17664265632629395,
0.08025037497282028,
-0.060966141521930695,
0.03615209832787514,
-0.06399448961019516,
0.015156583860516548,
0.07565051317214966,
0.12820293009281158,
-0.007041731383651495,
0.09837978333234787,
-0.004197948612272739,
0.03939500078558922,
-0.08843344449996948,
0.03814377263188362,
0.07730358839035034,
-0.014329328201711178,
-0.11118482053279877,
0.20083117485046387,
-0.02907586097717285,
0.28827664256095886,
0.22171248495578766,
-0.102217897772789,
0.005160994362086058,
-0.04770582914352417,
-0.008509800769388676,
0.01918715611100197,
0.06866274774074554,
0.008651607669889927,
-0.07289755344390869,
-0.0037960221525281668,
0.10438346862792969,
-0.07338758558034897,
0.008878307417035103,
0.016787508502602577,
-0.06754491478204727,
-0.09542803466320038,
0.14552335441112518,
0.028679190203547478,
-0.21137943863868713,
0.18635165691375732,
0.18091757595539093,
0.054246969521045685,
0.2711884379386902,
-0.037998080253601074,
-0.02541406825184822,
0.023836074396967888,
-0.054566383361816406,
-0.056201640516519547,
0.10092028230428696,
-0.07020698487758636,
-0.01214092131704092,
0.08234251290559769,
-0.0021932770032435656,
0.05337541550397873,
-0.0986521765589714,
-0.08628106117248535,
-0.034634169191122055,
-0.05216624215245247,
-0.07439474761486053,
0.11398082971572876,
0.020686861127614975,
0.16711033880710602,
-0.06198972836136818,
-0.008846447803080082,
0.041608817875385284,
-0.015706736594438553,
-0.07475940883159637,
0.1461225301027298,
-0.1449923813343048,
-0.32148176431655884,
-0.05419349670410156,
-0.026732588186860085,
-0.07601471990346909,
0.0031602925155311823,
0.09917865693569183,
-0.14198434352874756,
-0.01637095771729946,
-0.04820842295885086,
0.021707849577069283,
-0.016237955540418625,
0.032044071704149246,
-0.056389737874269485,
0.08708102256059647,
-0.046315472573041916,
-0.07010414451360703,
-0.048933111131191254,
-0.039539892226457596,
-0.015409080311655998,
0.2029089778661728,
-0.04717699810862541,
0.11120779067277908,
0.03322292119264603,
-0.041436295956373215,
0.010553826577961445,
-0.08341295272111893,
0.1014094427227974,
-0.08700655400753021,
0.03290893882513046,
0.14532040059566498,
0.025265859439969063,
0.03612766042351723,
0.13684868812561035,
0.0011252143885940313,
-0.021569635719060898,
0.0376381017267704,
-0.04391754791140556,
-0.05182560533285141,
-0.2619238793849945,
-0.20825812220573425,
-0.05995258688926697,
0.10170793533325195,
-0.01398633886128664,
0.0005876370123587549,
0.005783699918538332,
0.06880451738834381,
-0.062140967696905136,
-0.12862645089626312,
0.03843587264418602,
0.04698675125837326,
0.17872254550457,
-0.029343921691179276,
0.15506646037101746,
-0.08457142859697342,
-0.03091653622686863,
0.11977978050708771,
-0.04481857270002365,
0.16892430186271667,
0.01608351431787014,
0.02017100527882576,
0.04937706142663956,
0.1353970617055893,
0.0734231024980545,
0.10634014755487442,
0.08977461606264114,
-0.03270812705159187,
0.015836885198950768,
-0.060387901961803436,
-0.007747163064777851,
0.0330955907702446,
-0.03565019369125366,
-0.10780221968889236,
-0.06547605991363525,
-0.000844026799313724,
0.16314849257469177,
0.09983068704605103,
0.0627521201968193,
-0.1662663370370865,
-0.061542756855487823,
0.03757478669285774,
0.026415446773171425,
-0.04653104767203331,
0.05184447020292282,
0.09224843978881836,
-0.07424114644527435,
0.14199598133563995,
-0.015411547385156155,
0.0795590877532959,
0.08514583110809326,
0.05023106187582016,
-0.06584104150533676,
-0.08041226863861084,
-0.02700834907591343,
0.10604512691497803,
-0.28555697202682495,
0.32077905535697937,
0.0029129309114068747,
-0.04105550795793533,
-0.08705650269985199,
-0.07824268192052841,
-0.0007190571050159633,
0.15740902721881866,
0.11884697526693344,
0.02410358190536499,
-0.07377266883850098,
-0.053774211555719376,
-0.09002179652452469,
0.05203358083963394,
0.08197052031755447,
0.009796114638447762,
0.06436967849731445,
-0.031143343076109886,
-0.010678321123123169,
-0.011187024414539337,
-0.0005080699920654297,
-0.10267561674118042,
-0.16727042198181152,
0.0240232665091753,
0.08942568302154541,
0.03397131338715553,
-0.02847631648182869,
-0.09027355164289474,
-0.11017853766679764,
0.12016100436449051,
-0.00030001305276528,
-0.1111469492316246,
-0.0833573192358017,
0.004988028202205896,
0.10160926729440689,
-0.08001450449228287,
0.03038598783314228,
-0.018507586792111397,
0.02860567346215248,
-0.07039910554885864,
-0.16015037894248962,
0.0440460741519928,
-0.0927959755063057,
-0.09009287506341934,
-0.0068955752067267895,
0.17581364512443542,
-0.002594146877527237,
0.0258172694593668,
0.0004505554970819503,
0.05307062342762947,
-0.062206704169511795,
-0.07329566776752472,
0.01620921865105629,
-0.014275066554546356,
0.08152846246957779,
0.09725288301706314,
-0.09314440190792084,
-0.23531250655651093,
-0.07152407616376877,
-0.09674011170864105,
0.21638774871826172,
0.2313913255929947,
-0.12160906940698624,
0.1755649596452713,
0.09370369464159012,
-0.035929612815380096,
-0.32371973991394043,
-0.058312151581048965,
-0.08801841735839844,
0.011236500926315784,
0.011485343798995018,
-0.13525177538394928,
-0.009012401103973389,
0.0021860855631530285,
-0.02587348408997059,
0.05682196840643883,
-0.20677760243415833,
-0.11307121068239212,
0.08672010898590088,
-0.05067434906959534,
0.25545400381088257,
-0.12667150795459747,
-0.0181276835501194,
-0.07024556398391724,
-0.018078932538628578,
0.1949002742767334,
-0.10915225744247437,
0.06207847222685814,
-0.024610217660665512,
0.03059522621333599,
0.048464350402355194,
-0.03196766600012779,
0.09912698715925217,
-0.06914059817790985,
0.023309962823987007,
-0.10079636424779892,
-0.045112401247024536,
0.14484809339046478,
0.006536669097840786,
0.05275283381342888,
-0.08995078504085541,
0.03706628084182739,
-0.08254096657037735,
-0.0296524316072464,
-0.06712054461240768,
0.06702306866645813,
-0.005466693080961704,
-0.06294701248407364,
-0.06216469779610634,
0.03421420231461525,
0.016183976083993912,
-0.032692037522792816,
0.23552489280700684,
-0.019725175574421883,
0.07299747318029404,
0.0757010206580162,
0.10245812684297562,
-0.1007305383682251,
0.11725682765245438,
-0.01468438096344471,
-0.05674346908926964,
0.04445594549179077,
-0.13800832629203796,
-0.010234140790998936,
0.12858666479587555,
-0.02523309551179409,
-0.0016697680111974478,
0.033771902322769165,
-0.023001324385404587,
-0.02289397455751896,
0.15755781531333923,
-0.27045923471450806,
-0.05936552956700325,
-0.053705163300037384,
-0.035406094044446945,
0.07681000232696533,
0.07965926826000214,
0.1674865186214447,
-0.06734185665845871,
-0.008994949981570244,
-0.00860563199967146,
0.025496026501059532,
0.0006971550756134093,
0.09980008751153946,
0.029604943469166756,
0.001990781631320715,
-0.10622724145650864,
0.11858440935611725,
0.004232220817357302,
-0.11114414781332016,
0.016938146203756332,
0.08555874973535538,
-0.15286467969417572,
-0.13198968768119812,
-0.03728857263922691,
0.05145659297704697,
-0.10015998780727386,
-0.08595114201307297,
-0.05212435498833656,
-0.11069630086421967,
0.05616070702672005,
0.1577693372964859,
0.08276578038930893,
0.021281788125634193,
0.03431719169020653,
-0.06466955691576004,
-0.012880847789347172,
0.09015090763568878,
0.10073481500148773,
-0.036252912133932114,
-0.13022322952747345,
0.0569874607026577,
-0.026295898482203484,
0.11534691601991653,
-0.08291643857955933,
0.017924312502145767,
-0.09205769747495651,
0.02456080913543701,
-0.118327297270298,
-0.03127744421362877,
-0.10961998999118805,
-0.0587959885597229,
-0.051181893795728683,
-0.09752213209867477,
-0.05290263891220093,
-0.03354297950863838,
-0.07787781208753586,
0.043011751025915146,
-0.020239079371094704,
0.08160459995269775,
-0.10217220336198807,
-0.0437239333987236,
0.0074897087179124355,
-0.004497378133237362,
0.117050901055336,
0.14713037014007568,
-0.062011487782001495,
0.13489310443401337,
-0.19484804570674896,
-0.015748994424939156,
0.08864617347717285,
0.02813011035323143,
0.04174014553427696,
0.03886880725622177,
0.003183718305081129,
0.0799204558134079,
0.021602144464850426,
0.08283240348100662,
0.014474241994321346,
-0.07387984544038773,
0.04577330872416496,
-0.03560150787234306,
-0.03699454292654991,
-0.01691560074687004,
0.01248608436435461,
0.08397030085325241,
0.02357521466910839,
0.19960705935955048,
-0.11775992810726166,
0.08408737927675247,
-0.08485344797372818,
0.052702587097883224,
-0.030200738459825516,
-0.19855569303035736,
-0.09617162495851517,
-0.04403149336576462,
0.05488080531358719,
-0.04555772989988327,
0.23664045333862305,
0.08729507774114609,
-0.06293625384569168,
0.048987679183483124,
0.04116002842783928,
-0.04204652085900307,
0.04399179667234421,
0.16882410645484924,
0.01928773708641529,
-0.01851920410990715,
-0.12595053017139435,
0.0391986183822155,
0.01984005607664585,
-0.009394641034305096,
0.09265945851802826,
0.1385418325662613,
0.05624239519238472,
0.056482378393411636,
-0.0030452634673565626,
-0.040805716067552567,
0.019086839631199837,
-0.1133306547999382,
-0.10728289186954498,
0.05533269792795181,
-0.025623472407460213,
0.10981534421443939,
0.1733243465423584,
-0.05385413020849228,
0.023330850526690483,
-0.03579137474298477,
-0.02327314205467701,
-0.08622812479734421,
-0.143581360578537,
-0.09057413041591644,
-0.09757164865732193,
-0.017867345362901688,
-0.12225503474473953,
0.01349727250635624,
0.015362189151346684,
0.0758524090051651,
-0.0723649337887764,
0.06290537118911743,
0.049161773175001144,
-0.09159690141677856,
0.11210335791110992,
0.012095684185624123,
-0.011668180115520954,
-0.01101579237729311,
-0.05518440529704094,
-0.0446244478225708,
-0.0056696245446801186,
-0.06899987161159515,
0.07291172444820404,
-0.043620090931653976,
0.03184976801276207,
-0.10232486575841904,
-0.09705320745706558,
-0.04365590587258339,
0.07431694120168686,
0.07269348949193954,
0.09714458137750626,
0.03521604835987091,
0.0010274278465658426,
0.02934284321963787,
0.27526476979255676,
0.016285188496112823,
-0.14005650579929352,
-0.01574595458805561,
0.09088772535324097,
0.021734701469540596,
0.07212451845407486,
0.01085623074322939,
-0.041037995368242264,
-0.06420969218015671,
0.23585128784179688,
0.4185590147972107,
-0.01113796140998602,
0.05614713206887245,
-0.08296855539083481,
0.04031875729560852,
0.047693055123090744,
0.07248661667108536,
0.05953070521354675,
0.19732952117919922,
-0.042680855840444565,
0.02257702872157097,
-0.11926500499248505,
0.05075429007411003,
-0.11133314669132233,
0.05565163120627403,
0.043849680572748184,
-0.10215706378221512,
-0.03866584971547127,
0.14131765067577362,
-0.13192760944366455,
0.016597721725702286,
-0.051645662635564804,
-0.20874714851379395,
-0.057555634528398514,
0.012154181487858295,
0.1459704488515854,
0.05623244866728783,
0.06097403168678284,
-0.0315861813724041,
-0.00030093055102042854,
-0.06049732118844986,
0.041899144649505615,
-0.13999043405056,
0.014752817340195179,
0.06797432899475098,
-0.07342785596847534,
0.07618202269077301,
-0.026941049844026566,
0.1241067424416542,
0.09212500602006912,
0.02341407537460327,
-0.07312093675136566,
0.0642758384346962,
0.047671739012002945,
-0.026229193434119225,
0.03521658107638359,
-0.05512446537613869,
0.009562167339026928,
-0.028494521975517273,
0.11270499229431152,
-0.06366673856973648,
0.049538541585206985,
0.008130083791911602,
-0.025618305429816246,
-0.016481392085552216,
0.1554311364889145,
-0.08018350601196289,
0.047311101108789444,
0.11913208663463593,
-0.04928773641586304,
-0.018151532858610153,
-0.05033069849014282,
0.003942206967622042,
0.013048387132585049,
-0.08276987075805664,
-0.0029211235232651234,
-0.12522482872009277,
-0.05656746029853821,
0.07741747796535492,
0.04609065130352974,
-0.15609979629516602,
0.0434340238571167,
-0.1369122564792633,
0.03817366808652878,
-0.12443281710147858,
0.07033506780862808,
0.08882308751344681,
-0.018603475764393806,
-0.0008218410657718778,
-0.021675724536180496,
0.06609468907117844,
0.06674966961145401,
-0.09172707051038742,
-0.08035185188055038
] |
null | null |
transformers
|
This is a smaller version of the [google/mt5-base](https://huggingface.co/google/mt5-base) with only some Rusian and English embeddings left.
More details are given in a Russian post: https://habr.com/ru/post/581932/
The model has been fine-tuned for several tasks with sentences or short paragraphs:
* translation (`translate ru-en` and `translate en-ru`)
* Paraphrasing (`paraphrase`)
* Filling gaps in a text (`fill`). The gaps can be denoted as `___` or `_3_`, where `3` is the approximate number of words that should be inserted.
* Restoring the text from a noisy bag of words (`assemble`)
* Simplification of texts (`simplify`)
* Dialogue response generation (`reply` based on fiction and `answer` based on online forums)
* Open-book question answering (`comprehend`)
* Asking questions about a text (`ask`)
* News title generation (`headline`)
For each task, the task name is joined with the input text by the ` | ` separator.
The model can be run with the following code:
```
# !pip install transformers sentencepiece
import torch
from transformers import T5ForConditionalGeneration, T5Tokenizer
tokenizer = T5Tokenizer.from_pretrained("cointegrated/rut5-base-multitask")
model = T5ForConditionalGeneration.from_pretrained("cointegrated/rut5-base-multitask")
def generate(text, **kwargs):
inputs = tokenizer(text, return_tensors='pt')
with torch.no_grad():
hypotheses = model.generate(**inputs, num_beams=5, **kwargs)
return tokenizer.decode(hypotheses[0], skip_special_tokens=True)
```
The model can be applied to each of the pretraining tasks:
```
print(generate('translate ru-en | Каждый охотник желает знать, где сидит фазан.'))
# Each hunter wants to know, where he is.
print(generate('paraphrase | Каждый охотник желает знать, где сидит фазан.',
encoder_no_repeat_ngram_size=1, repetition_penalty=0.5, no_repeat_ngram_size=1))
# В любом случае каждый рыбак мечтает познакомиться со своей фермой
print(generate('fill | Каждый охотник _3_, где сидит фазан.'))
# смотрит на озеро
print(generate('assemble | охотник каждый знать фазан сидит'))
# Каждый охотник знает, что фазан сидит.
print(generate('simplify | Местным продуктом-специалитетом с защищённым географическим наименованием по происхождению считается люнебургский степной барашек.', max_length=32))
# Местным продуктом-специалитетом считается люнебургский степной барашек.
print(generate('reply | Помогите мне закадрить девушку'))
# Что я хочу?
print(generate('answer | Помогите мне закадрить девушку'))
# я хочу познакомиться с девушкой!!!!!!!!
print(generate("comprehend | На фоне земельного конфликта между владельцами овец и ранчеро разворачивается история любви овцевода Моргана Лейна, "
"прибывшего в США из Австралии, и Марии Синглетон, владелицы богатого скотоводческого ранчо. Вопрос: откуда приехал Морган?"))
# из Австралии
print(generate("ask | На фоне земельного конфликта между владельцами овец и ранчеро разворачивается история любви овцевода Моргана Лейна, "
"прибывшего в США из Австралии, и Марии Синглетон, владелицы богатого скотоводческого ранчо.", max_length=32))
# Что разворачивается на фоне земельного конфликта между владельцами овец и ранчеро?
print(generate("headline | На фоне земельного конфликта между владельцами овец и ранчеро разворачивается история любви овцевода Моргана Лейна, "
"прибывшего в США из Австралии, и Марии Синглетон, владелицы богатого скотоводческого ранчо.", max_length=32))
# На фоне земельного конфликта разворачивается история любви овцевода Моргана Лейна и Марии Синглетон
```
However, it is strongly recommended that you fine tune the model for your own task.
|
{"language": ["ru", "en"], "license": "mit", "tags": ["russian"], "widget": [{"text": "fill | \u041f\u043e\u0447\u0435\u043c\u0443 \u043e\u043d\u0438 \u043d\u0435 ___ \u043d\u0430 \u043c\u0435\u043d\u044f?"}]}
|
text2text-generation
|
cointegrated/rut5-base-multitask
|
[
"transformers",
"pytorch",
"jax",
"safetensors",
"t5",
"text2text-generation",
"russian",
"ru",
"en",
"license:mit",
"autotrain_compatible",
"endpoints_compatible",
"has_space",
"text-generation-inference",
"region:us"
] |
2022-03-02T23:29:05+00:00
|
[] |
[
"ru",
"en"
] |
TAGS
#transformers #pytorch #jax #safetensors #t5 #text2text-generation #russian #ru #en #license-mit #autotrain_compatible #endpoints_compatible #has_space #text-generation-inference #region-us
|
This is a smaller version of the google/mt5-base with only some Rusian and English embeddings left.
More details are given in a Russian post: URL
The model has been fine-tuned for several tasks with sentences or short paragraphs:
* translation ('translate ru-en' and 'translate en-ru')
* Paraphrasing ('paraphrase')
* Filling gaps in a text ('fill'). The gaps can be denoted as '___' or '_3_', where '3' is the approximate number of words that should be inserted.
* Restoring the text from a noisy bag of words ('assemble')
* Simplification of texts ('simplify')
* Dialogue response generation ('reply' based on fiction and 'answer' based on online forums)
* Open-book question answering ('comprehend')
* Asking questions about a text ('ask')
* News title generation ('headline')
For each task, the task name is joined with the input text by the ' | ' separator.
The model can be run with the following code:
The model can be applied to each of the pretraining tasks:
However, it is strongly recommended that you fine tune the model for your own task.
|
[] |
[
"TAGS\n#transformers #pytorch #jax #safetensors #t5 #text2text-generation #russian #ru #en #license-mit #autotrain_compatible #endpoints_compatible #has_space #text-generation-inference #region-us \n"
] |
[
72
] |
[
"passage: TAGS\n#transformers #pytorch #jax #safetensors #t5 #text2text-generation #russian #ru #en #license-mit #autotrain_compatible #endpoints_compatible #has_space #text-generation-inference #region-us \n"
] |
[
0.03331319987773895,
-0.025312896817922592,
-0.0059615615755319595,
0.023973388597369194,
0.11786606162786484,
-0.010818194597959518,
0.2272149920463562,
0.07710298150777817,
0.037122536450624466,
-0.015125038102269173,
0.17864732444286346,
0.08882268518209457,
-0.04643123224377632,
0.15168441832065582,
-0.053377602249383926,
-0.219934344291687,
0.07669186592102051,
-0.011747199110686779,
-0.006098354235291481,
0.10551927983760834,
0.13499586284160614,
-0.06966652721166611,
0.06868617236614227,
-0.04985976219177246,
-0.09663071483373642,
0.057327546179294586,
0.07458744198083878,
-0.13522875308990479,
0.09894918650388718,
0.03499488905072212,
0.10131286084651947,
0.09007050096988678,
-0.03899495676159859,
-0.1004699170589447,
0.030425526201725006,
-0.015509351156651974,
-0.13874348998069763,
0.02582721970975399,
0.11588668823242188,
-0.08471060544252396,
0.1866413950920105,
-0.04221690818667412,
-0.03564729914069176,
0.03439375385642052,
-0.12042684108018875,
-0.06774070113897324,
-0.05972428247332573,
0.1108105406165123,
0.030835041776299477,
0.13502369821071625,
-0.021796751767396927,
0.16364531219005585,
-0.07690798491239548,
0.12538190186023712,
0.16227388381958008,
-0.41752347350120544,
-0.02618985064327717,
0.08801776170730591,
0.06258205324411392,
0.12618380784988403,
0.006182380486279726,
0.09281206130981445,
0.03840873762965202,
-0.0213718730956316,
0.056564997881650925,
-0.04839872941374779,
-0.12356173247098923,
0.03549228236079216,
-0.09467890113592148,
-0.04054364562034607,
0.2576676905155182,
-0.043983232229948044,
0.0904705673456192,
-0.0528111457824707,
-0.062214430421590805,
-0.08247329294681549,
0.006761444266885519,
0.017492445185780525,
-0.03991300240159035,
0.04667853191494942,
0.02451193332672119,
-0.05679099261760712,
-0.1864236444234848,
0.01413795631378889,
-0.14375023543834686,
0.15691335499286652,
0.007997308857738972,
0.0744757354259491,
-0.15998952090740204,
0.025657594203948975,
-0.011165480129420757,
-0.13299831748008728,
0.07979286462068558,
-0.10441692918539047,
0.0802937000989914,
0.02813429944217205,
-0.07758107036352158,
-0.09626234322786331,
0.11687824875116348,
0.09754803031682968,
-0.06071632727980614,
0.021096302196383476,
-0.009439121000468731,
0.12174659967422485,
-0.027576198801398277,
0.06298500299453735,
0.024627288803458214,
-0.00368294189684093,
0.04017896577715874,
-0.09952644258737564,
0.04565858840942383,
-0.037007249891757965,
-0.19389358162879944,
-0.0651361495256424,
0.08045028150081635,
0.0821540579199791,
0.008620956912636757,
0.11186332255601883,
-0.0036404666025191545,
0.06176081299781799,
0.06232502683997154,
-0.07095441967248917,
0.017740212380886078,
-0.01588870957493782,
0.035339031368494034,
0.02365073747932911,
-0.013887982815504074,
-0.002074951771646738,
-0.08737383782863617,
0.08520598709583282,
-0.01720767468214035,
0.021183079108595848,
-0.030105000361800194,
-0.13019812107086182,
0.06054340675473213,
-0.13000981509685516,
0.03170285001397133,
-0.22497166693210602,
-0.07978581637144089,
0.012244395911693573,
0.034048162400722504,
-0.018809622153639793,
-0.020336683839559555,
0.008957521058619022,
-0.10450674593448639,
0.05943937227129936,
-0.06860428303480148,
-0.04903028532862663,
-0.07370320707559586,
0.07722721993923187,
-0.09937106817960739,
0.0794343650341034,
-0.134086012840271,
0.029688028618693352,
-0.14163202047348022,
-0.07384879887104034,
-0.03591374307870865,
0.0023189799394458532,
-0.06516317278146744,
0.13467323780059814,
0.021435461938381195,
-0.021711930632591248,
-0.05835524946451187,
0.0557824932038784,
-0.019722700119018555,
0.17352695763111115,
-0.12678995728492737,
-0.04750533029437065,
0.22085219621658325,
-0.14519061148166656,
-0.1684025377035141,
0.09117782115936279,
0.015982769429683685,
0.025856133550405502,
0.0920286551117897,
0.21653933823108673,
0.0273455660790205,
-0.0810515284538269,
0.009205401875078678,
0.05534907430410385,
-0.1165613979101181,
-0.06254974007606506,
0.01197874080389738,
0.031855687499046326,
-0.05072765424847603,
0.03854333236813545,
0.05238742753863335,
0.048867493867874146,
-0.03775256499648094,
-0.06136013939976692,
-0.04975898936390877,
-0.0224489513784647,
0.07730772346258163,
-0.020605353638529778,
0.11457556486129761,
-0.15099334716796875,
-0.08140096068382263,
-0.055217210203409195,
-0.023121090605854988,
0.04430316388607025,
0.038567498326301575,
-0.0622650571167469,
0.1243807002902031,
0.06359419971704483,
0.05554215610027313,
-0.13469989597797394,
-0.041351426392793655,
-0.0238110963255167,
0.16560694575309753,
0.017157582566142082,
0.09777342528104782,
0.07832168787717819,
-0.029718386009335518,
-0.037518445402383804,
-0.01986207440495491,
0.08714242279529572,
0.02083958312869072,
-0.04245460405945778,
-0.13853229582309723,
0.08013802766799927,
-0.0621371753513813,
-0.0340745709836483,
-0.0673319473862648,
0.027383239939808846,
0.06278534233570099,
0.1145142987370491,
-0.010492193512618542,
0.11121934652328491,
-0.06994636356830597,
0.02608186937868595,
-0.1048983782529831,
0.03740936890244484,
0.08834125846624374,
-0.00823198352009058,
-0.07867057621479034,
0.23514017462730408,
-0.13877969980239868,
0.30802491307258606,
0.2522670328617096,
-0.16164617240428925,
-0.028676766902208328,
-0.011641055345535278,
-0.01538148708641529,
0.033892542123794556,
0.08913061767816544,
0.019782654941082,
-0.038111455738544464,
-0.026852544397115707,
0.13563232123851776,
-0.0766596570611,
-0.01940998248755932,
0.03072558529675007,
-0.08304101228713989,
-0.08777915686368942,
0.09554875642061234,
0.03298589214682579,
-0.2217947542667389,
0.1908930540084839,
0.29069414734840393,
0.009443217888474464,
0.2520346939563751,
-0.031440988183021545,
0.006791613530367613,
0.056484661996364594,
-0.018245305866003036,
-0.034510016441345215,
0.03991623595356941,
-0.07631082832813263,
-0.035560764372348785,
0.06221871078014374,
0.022338157519698143,
0.042365651577711105,
-0.1198161169886589,
-0.07379982620477676,
-0.028218232095241547,
-0.03371734172105789,
-0.02598860301077366,
0.12168741226196289,
0.031172072514891624,
0.1595076322555542,
-0.047409746795892715,
-0.05148499086499214,
0.08857505768537521,
-0.0010236777598038316,
-0.09589660912752151,
0.14033091068267822,
-0.15583835542201996,
-0.2821676433086395,
-0.09508845210075378,
-0.06511624157428741,
-0.03477016091346741,
0.0331733338534832,
0.15702582895755768,
-0.12687969207763672,
-0.020899390801787376,
-0.05986073613166809,
0.0035535881761461496,
-0.04327969253063202,
0.04195927456021309,
-0.08680309355258942,
0.09786134958267212,
-0.0440281443297863,
-0.04281996935606003,
-0.07818242162466049,
-0.01786576583981514,
-0.043182432651519775,
0.1805805116891861,
-0.05369304493069649,
0.07775512337684631,
0.07306284457445145,
-0.06456105411052704,
0.0335179828107357,
-0.08537749946117401,
0.11969265341758728,
-0.06512004137039185,
0.03362414240837097,
0.1846822202205658,
0.006046902388334274,
0.07048150897026062,
0.17313145101070404,
-0.004907023161649704,
-0.02324099838733673,
0.05435403436422348,
-0.06920381635427475,
-0.08011452853679657,
-0.21728646755218506,
-0.1459028124809265,
-0.08522981405258179,
0.10071317851543427,
0.024277379736304283,
0.05238736793398857,
0.09338109195232391,
0.06349917501211166,
-0.05213239789009094,
-0.08684876561164856,
0.07635440677404404,
0.0971229076385498,
0.19054536521434784,
-0.001913820393383503,
0.16710102558135986,
-0.10165213793516159,
-0.0633411630988121,
0.10829217731952667,
-0.036434948444366455,
0.10941033810377121,
0.08031696081161499,
-0.02501252293586731,
0.04700411483645439,
0.14579567313194275,
0.12868481874465942,
0.10626735538244247,
0.09388066828250885,
-0.03592153266072273,
-0.0002667068620212376,
-0.07571537792682648,
0.010024836286902428,
0.0759928822517395,
-0.061655960977077484,
-0.14114193618297577,
-0.07005610316991806,
-0.048590537160634995,
0.11528090387582779,
0.10627543181180954,
0.04356013610959053,
-0.17663221061229706,
-0.04192245379090309,
0.0686764046549797,
0.021278249099850655,
-0.06828279793262482,
0.07546228170394897,
0.03911459445953369,
-0.0812225341796875,
0.11595108360052109,
-0.018103379756212234,
0.09792250394821167,
0.14805443584918976,
0.09579212963581085,
-0.0583341009914875,
-0.1215546503663063,
0.0054892897605896,
0.1088051050901413,
-0.3448213040828705,
0.27461639046669006,
-0.013534165918827057,
-0.039026957005262375,
-0.08255062252283096,
-0.05362721532583237,
-0.004538438282907009,
0.17227274179458618,
0.09945803135633469,
0.004579572007060051,
-0.16473734378814697,
-0.04815976321697235,
-0.00674022501334548,
0.02836097776889801,
0.12181814014911652,
0.006801396608352661,
0.03417729213833809,
-0.07051742821931839,
-0.009331657551229,
-0.003861675038933754,
0.04030606895685196,
-0.08093307167291641,
-0.17129561305046082,
0.022273492068052292,
0.07847760617733002,
0.06275556981563568,
-0.0305024441331625,
-0.05398821085691452,
-0.12855565547943115,
0.1343737244606018,
-0.04710256680846214,
-0.0951729565858841,
-0.08340085297822952,
-0.08924045413732529,
0.03725188598036766,
-0.07717854529619217,
0.05771154537796974,
-0.060800984501838684,
0.02202381193637848,
-0.10001373291015625,
-0.1865728348493576,
0.09206827729940414,
-0.10088358074426651,
-0.09007129818201065,
-0.015275332145392895,
0.16828040778636932,
-0.06701845675706863,
0.011417138390243053,
0.014550803229212761,
0.06091327965259552,
-0.10577370226383209,
-0.07987101376056671,
-0.0009054731926880777,
-0.04444710910320282,
0.056061696261167526,
-0.006651937961578369,
-0.11638475954532623,
-0.16944818198680878,
-0.04472053796052933,
-0.0664384663105011,
0.21842336654663086,
0.26191967725753784,
-0.13735753297805786,
0.20328709483146667,
0.08629801869392395,
-0.04951636493206024,
-0.32868942618370056,
-0.11136132478713989,
-0.1131192222237587,
-0.011099101044237614,
0.034944381564855576,
-0.0760696530342102,
-0.02040715515613556,
-0.05247235298156738,
-0.05756739526987076,
0.06635988503694534,
-0.16489005088806152,
-0.11827736347913742,
0.11794614791870117,
-0.03613753616809845,
0.32219600677490234,
-0.15168964862823486,
-0.03747555613517761,
-0.05492451414465904,
-0.06398274004459381,
0.16046611964702606,
-0.095421202480793,
0.0572880394756794,
-0.00951742846518755,
0.047670282423496246,
0.04085130989551544,
-0.04335493594408035,
0.06354039907455444,
-0.10894633829593658,
0.046232424676418304,
-0.14865708351135254,
-0.031217675656080246,
0.13443605601787567,
-0.024349622428417206,
0.02973984181880951,
-0.14074945449829102,
0.03146383911371231,
-0.051915835589170456,
-0.02443842403590679,
-0.0697014257311821,
0.08652815222740173,
-0.012452131137251854,
-0.07066577672958374,
-0.0388113297522068,
-0.02269403636455536,
0.005860076751559973,
-0.03401372581720352,
0.2898164689540863,
-0.03518490865826607,
0.17803499102592468,
0.156815767288208,
0.07988438755273819,
-0.11058049649000168,
0.13081927597522736,
-0.0026157533284276724,
-0.086858369410038,
0.058660395443439484,
-0.13318553566932678,
0.014429448172450066,
0.08788807690143585,
-0.06932725757360458,
0.0129496268928051,
0.06425901502370834,
-0.01670333743095398,
-0.03081456944346428,
0.1848585605621338,
-0.27888670563697815,
-0.04387109354138374,
-0.06021127104759216,
0.0264581348747015,
0.11492151767015457,
0.044488586485385895,
0.16103608906269073,
-0.0835331454873085,
-0.010246111080050468,
-0.012336081825196743,
0.009144086390733719,
-0.02803659811615944,
0.009399659931659698,
0.00942923966795206,
0.012024379335343838,
-0.07280762493610382,
0.06994173675775528,
0.030554216355085373,
-0.14433853328227997,
0.03629186749458313,
0.15868352353572845,
-0.15862126648426056,
-0.15202580392360687,
0.02267652563750744,
0.06873857229948044,
-0.12210657447576523,
-0.07429483532905579,
-0.04364234581589699,
-0.14349991083145142,
0.04763060063123703,
0.18580833077430725,
0.07641644775867462,
0.02556246891617775,
0.04708312079310417,
-0.03841576352715492,
0.010208211839199066,
0.05392571538686752,
-0.003728186711668968,
-0.012396832928061485,
-0.14422428607940674,
0.04803173243999481,
-0.02147020399570465,
0.0942862406373024,
-0.08847139030694962,
0.02263694442808628,
-0.12887904047966003,
-0.0011977152898907661,
-0.10441434383392334,
-0.03916117921471596,
-0.07231834530830383,
-0.05989416688680649,
-0.03330370783805847,
-0.07349731028079987,
-0.048600587993860245,
-0.03162167966365814,
-0.10408075153827667,
0.01946781575679779,
-0.04627908021211624,
0.07724262028932571,
-0.0989127978682518,
-0.03398177772760391,
0.037005405873060226,
0.0019131250446662307,
0.10960749536752701,
0.14113859832286835,
-0.07474421709775925,
0.13846330344676971,
-0.172075554728508,
-0.019353173673152924,
0.09115128964185715,
0.01947329193353653,
0.028717493638396263,
0.10039803385734558,
-0.00616463553160429,
0.07994602620601654,
0.02956213429570198,
0.07316426187753677,
0.0026087902951985598,
-0.10198811441659927,
0.03502505272626877,
-0.02053130604326725,
-0.09426973015069962,
-0.010370985604822636,
-0.01482335478067398,
0.06734860688447952,
-0.005610998719930649,
0.19992952048778534,
-0.12091310322284698,
0.08867834508419037,
-0.05809967219829559,
0.04268738999962807,
-0.015958329662680626,
-0.1876019984483719,
-0.1624603420495987,
-0.08618070930242538,
0.01996162347495556,
-0.03874921053647995,
0.22437235713005066,
0.11622372269630432,
-0.05032147839665413,
0.08459239453077316,
0.01698819361627102,
-0.01853751763701439,
0.04383154958486557,
0.20146380364894867,
0.01755274087190628,
-0.04411662742495537,
-0.15208250284194946,
0.023755818605422974,
-0.002218581037595868,
-0.06484565883874893,
0.11524191498756409,
0.1384076625108719,
0.005297364201396704,
0.07098843902349472,
0.04506850615143776,
-0.0007803014595992863,
-0.024315962567925453,
-0.14799733459949493,
-0.03625290468335152,
0.06976959109306335,
-0.06439270824193954,
0.10107818990945816,
0.24498577415943146,
-0.020544061437249184,
0.0058912551030516624,
-0.07004394382238388,
-0.009026366285979748,
-0.1310649961233139,
-0.13912998139858246,
-0.10064899176359177,
-0.13472051918506622,
-0.0033373392652720213,
-0.06414271146059036,
0.05837373435497284,
-0.006254878360778093,
0.06540198624134064,
-0.0875985398888588,
0.05125422403216362,
0.03444714844226837,
-0.08699511736631393,
0.07609474658966064,
-0.012836112640798092,
0.03683673217892647,
0.011581995524466038,
-0.05220416188240051,
-0.08464908599853516,
-0.07162574678659439,
-0.08611252903938293,
0.07441342622041702,
-0.046651534736156464,
0.006922938395291567,
-0.12020382285118103,
-0.09301678091287613,
-0.016132978722453117,
0.08392436802387238,
0.044398874044418335,
0.13378207385540009,
0.010283040814101696,
-0.02411651983857155,
0.02227541245520115,
0.2869952321052551,
-0.025899915024638176,
-0.1530889868736267,
0.028681570664048195,
0.18670077621936798,
0.04820295423269272,
0.10952039808034897,
-0.03061979077756405,
-0.0020538002718240023,
-0.0909603089094162,
0.26787883043289185,
0.39622268080711365,
-0.0027431182097643614,
0.07350611686706543,
-0.06596142053604126,
0.04001489281654358,
0.0646926611661911,
0.10619247704744339,
0.07368717342615128,
0.20598532259464264,
-0.04732625558972359,
0.05307699367403984,
-0.08828394114971161,
0.06891805678606033,
-0.166477233171463,
0.06642257422208786,
0.02075823023915291,
-0.10974036902189255,
-0.009861797094345093,
0.10335170477628708,
-0.13852499425411224,
0.09119220823049545,
-0.05891932174563408,
-0.1998778134584427,
-0.024946914985775948,
0.04650973156094551,
0.22093386948108673,
0.01139198150485754,
0.08703172206878662,
-0.021873438730835915,
-0.043696921318769455,
-0.054540522396564484,
0.014135573990643024,
-0.1373758614063263,
0.02753666788339615,
0.04189080744981766,
-0.09809718281030655,
0.04174468293786049,
-0.013860663399100304,
0.08795060217380524,
0.09378650039434433,
0.04309486597776413,
-0.05726228281855583,
0.09151482582092285,
0.0448831245303154,
-0.02947976626455784,
0.02273678220808506,
-0.058213453739881516,
-0.00020664460316766053,
-0.07624402642250061,
0.10121311992406845,
-0.12048719823360443,
0.04949110373854637,
-0.04461188614368439,
-0.04379674047231674,
-0.0026222197338938713,
0.12587852776050568,
-0.0652342140674591,
0.05065241456031799,
0.08742755651473999,
-0.04248766228556633,
-0.04082528129220009,
-0.04844653233885765,
-0.012232081033289433,
0.028763463720679283,
-0.12144360691308975,
-0.03627406060695648,
-0.08601769804954529,
-0.07914521545171738,
0.13013894855976105,
0.030477071180939674,
-0.19807149469852448,
0.014966470189392567,
-0.12083548307418823,
0.07649260759353638,
-0.19179469347000122,
0.06972263008356094,
0.1337616890668869,
-0.013317463919520378,
-0.00056232581846416,
-0.07005371898412704,
0.061374958604574203,
0.07716093957424164,
-0.08627313375473022,
-0.09184311330318451
] |
null | null |
transformers
|
This is a paraphraser for Russian sentences described [in this Habr post](https://habr.com/ru/post/564916/).
It is recommended to use the model with the `encoder_no_repeat_ngram_size` argument:
```
from transformers import T5ForConditionalGeneration, T5Tokenizer
MODEL_NAME = 'cointegrated/rut5-base-paraphraser'
model = T5ForConditionalGeneration.from_pretrained(MODEL_NAME)
tokenizer = T5Tokenizer.from_pretrained(MODEL_NAME)
model.cuda();
model.eval();
def paraphrase(text, beams=5, grams=4, do_sample=False):
x = tokenizer(text, return_tensors='pt', padding=True).to(model.device)
max_size = int(x.input_ids.shape[1] * 1.5 + 10)
out = model.generate(**x, encoder_no_repeat_ngram_size=grams, num_beams=beams, max_length=max_size, do_sample=do_sample)
return tokenizer.decode(out[0], skip_special_tokens=True)
print(paraphrase('Каждый охотник желает знать, где сидит фазан.'))
# Все охотники хотят знать где фазан сидит.
```
|
{"language": ["ru"], "license": "mit", "tags": ["russian", "paraphrasing", "paraphraser", "paraphrase"], "datasets": ["cointegrated/ru-paraphrase-NMT-Leipzig"], "widget": [{"text": "\u041a\u0430\u0436\u0434\u044b\u0439 \u043e\u0445\u043e\u0442\u043d\u0438\u043a \u0436\u0435\u043b\u0430\u0435\u0442 \u0437\u043d\u0430\u0442\u044c, \u0433\u0434\u0435 \u0441\u0438\u0434\u0438\u0442 \u0444\u0430\u0437\u0430\u043d."}]}
|
text2text-generation
|
cointegrated/rut5-base-paraphraser
|
[
"transformers",
"pytorch",
"safetensors",
"t5",
"text2text-generation",
"russian",
"paraphrasing",
"paraphraser",
"paraphrase",
"ru",
"dataset:cointegrated/ru-paraphrase-NMT-Leipzig",
"license:mit",
"autotrain_compatible",
"endpoints_compatible",
"has_space",
"text-generation-inference",
"region:us"
] |
2022-03-02T23:29:05+00:00
|
[] |
[
"ru"
] |
TAGS
#transformers #pytorch #safetensors #t5 #text2text-generation #russian #paraphrasing #paraphraser #paraphrase #ru #dataset-cointegrated/ru-paraphrase-NMT-Leipzig #license-mit #autotrain_compatible #endpoints_compatible #has_space #text-generation-inference #region-us
|
This is a paraphraser for Russian sentences described in this Habr post.
It is recommended to use the model with the 'encoder_no_repeat_ngram_size' argument:
|
[] |
[
"TAGS\n#transformers #pytorch #safetensors #t5 #text2text-generation #russian #paraphrasing #paraphraser #paraphrase #ru #dataset-cointegrated/ru-paraphrase-NMT-Leipzig #license-mit #autotrain_compatible #endpoints_compatible #has_space #text-generation-inference #region-us \n"
] |
[
99
] |
[
"passage: TAGS\n#transformers #pytorch #safetensors #t5 #text2text-generation #russian #paraphrasing #paraphraser #paraphrase #ru #dataset-cointegrated/ru-paraphrase-NMT-Leipzig #license-mit #autotrain_compatible #endpoints_compatible #has_space #text-generation-inference #region-us \n"
] |
[
0.02277558110654354,
-0.06047283485531807,
-0.006794464774429798,
0.020591944456100464,
0.0890084058046341,
-0.017298901453614235,
0.16721855103969574,
0.06742928922176361,
-0.05605432018637657,
-0.0032946658320724964,
0.17067083716392517,
0.08756600320339203,
-0.04799320176243782,
0.04485836625099182,
-0.01626104861497879,
-0.22441412508487701,
0.0836554616689682,
-0.034313179552555084,
0.00016245564620476216,
0.13116297125816345,
0.14865173399448395,
-0.03891181945800781,
0.07394248247146606,
-0.008313263766467571,
-0.030725805088877678,
0.0744105651974678,
0.051996417343616486,
-0.09650252759456635,
0.11621958762407303,
0.028913268819451332,
0.08956057578325272,
0.06135553866624832,
-0.03043455258011818,
-0.10463541746139526,
0.03336457535624504,
0.019599178805947304,
-0.1241987943649292,
0.016063768416643143,
0.10202441364526749,
-0.11212576925754547,
0.21789072453975677,
-0.06918574124574661,
-0.025465771555900574,
0.04328535124659538,
-0.12581628561019897,
-0.06801147013902664,
-0.0659841001033783,
0.07413496822118759,
0.051229193806648254,
0.15650144219398499,
-0.05688009783625603,
0.18873456120491028,
-0.0925765112042427,
0.12255728244781494,
0.1442650407552719,
-0.4293753206729889,
-0.03048674203455448,
0.0024378218222409487,
0.0537179559469223,
0.08579304814338684,
0.026991866528987885,
0.06937213242053986,
0.012148081324994564,
0.007543564774096012,
0.014054003171622753,
-0.06253588944673538,
-0.09269214421510696,
0.027327125892043114,
-0.1523708701133728,
-0.004994186572730541,
0.23949769139289856,
-0.04506414011120796,
0.08320750296115875,
-0.055648934096097946,
-0.08933385461568832,
-0.020151566714048386,
-0.0030466162133961916,
0.004355831071734428,
-0.06643799692392349,
0.041562922298908234,
0.004817021545022726,
-0.07694483548402786,
-0.16923227906227112,
0.014918063767254353,
-0.1514531522989273,
0.10153275728225708,
0.026345793157815933,
0.033128418028354645,
-0.09802539646625519,
0.04115799069404602,
-0.0009211359429173172,
-0.10164360702037811,
0.08672701567411423,
-0.11663959175348282,
0.044610921293497086,
0.03857557848095894,
-0.09597881138324738,
-0.1517418771982193,
0.10456088185310364,
0.1216445118188858,
-0.021917644888162613,
-0.00901604164391756,
0.01567060500383377,
0.1197533905506134,
-0.028613001108169556,
0.042145173996686935,
-0.11317264288663864,
0.005043115932494402,
0.019220246002078056,
-0.10231435298919678,
0.03994588181376457,
-0.0010273767402395606,
-0.13268645107746124,
-0.04430888593196869,
0.08822737634181976,
0.07600745558738708,
0.012101755477488041,
0.13129404187202454,
-0.013722119852900505,
0.04991350695490837,
0.04793151840567589,
-0.05665583163499832,
-0.006541264709085226,
-0.025214020162820816,
0.025476692244410515,
0.023643858730793,
-0.0016515671741217375,
0.026211023330688477,
-0.11159919202327728,
0.0529899038374424,
-0.04082963615655899,
0.028610212728381157,
0.01991637423634529,
-0.13062478601932526,
0.05099468305706978,
-0.12661072611808777,
0.018731961026787758,
-0.22715897858142853,
-0.0663749948143959,
-0.004669169895350933,
-0.004584730602800846,
-0.020434733480215073,
0.027933550998568535,
-0.02616001106798649,
-0.06446143984794617,
0.025310834869742393,
-0.05283157899975777,
-0.06002775952219963,
-0.07858913391828537,
0.0667056068778038,
-0.16568993031978607,
0.07032011449337006,
-0.09612281620502472,
0.013343735598027706,
-0.1834648847579956,
-0.053500253707170486,
-0.05166400223970413,
0.03450090065598488,
-0.049206774681806564,
0.06882507354021072,
-0.04383306950330734,
-0.044446978718042374,
-0.0869201198220253,
0.021051255986094475,
0.01972319930791855,
0.18846678733825684,
-0.17477844655513763,
-0.058490730822086334,
0.2356598824262619,
-0.1255141943693161,
-0.1151890680193901,
0.13150669634342194,
0.01698320545256138,
0.025111474096775055,
0.08825095742940903,
0.23376142978668213,
0.00038057449273765087,
-0.09600894898176193,
-0.04460788145661354,
0.02715960703790188,
-0.13877946138381958,
0.013138442300260067,
0.053565144538879395,
0.011809146963059902,
-0.027585390955209732,
0.014230174012482166,
0.07656090706586838,
0.042080674320459366,
-0.04453654587268829,
-0.0696387067437172,
-0.03540831431746483,
-0.01575045846402645,
0.07238965481519699,
-0.01232439000159502,
0.05303548648953438,
-0.14807018637657166,
-0.11014056950807571,
-0.03014468401670456,
-0.010135061107575893,
0.023805974051356316,
0.06296851485967636,
-0.0686357319355011,
0.08145671337842941,
0.08195843547582626,
0.05532049015164375,
-0.13152411580085754,
-0.01978706382215023,
-0.06025274842977524,
0.19625066220760345,
0.05520505830645561,
0.06164661794900894,
0.08954931795597076,
-0.026068026199936867,
-0.05629592388868332,
-0.016645414754748344,
0.0723210871219635,
0.01892787218093872,
-0.068044014275074,
-0.13091284036636353,
0.09327088296413422,
-0.04557202756404877,
0.046123430132865906,
-0.011361923068761826,
0.025593750178813934,
0.0507536344230175,
0.13777722418308258,
-0.015679018571972847,
0.08483321964740753,
-0.027597863227128983,
0.045519713312387466,
-0.06763837486505508,
0.027926219627261162,
0.0924772173166275,
-0.012474619783461094,
-0.09335001558065414,
0.23393648862838745,
-0.1096465066075325,
0.2144201546907425,
0.2027873396873474,
-0.1404031366109848,
-0.054258499294519424,
-0.008421571925282478,
-0.04414984956383705,
0.023888837546110153,
0.0936535894870758,
0.00029424091917462647,
0.018658164888620377,
-0.0032000334467738867,
0.11427540332078934,
-0.08913952112197876,
-0.025196809321641922,
0.026857679709792137,
-0.10217656195163727,
-0.0823344811797142,
0.15614697337150574,
-0.013042408041656017,
-0.2370159924030304,
0.16708886623382568,
0.2706681787967682,
0.02665884979069233,
0.23055990040302277,
-0.004515969660133123,
-0.021950028836727142,
0.014119287952780724,
-0.009151865728199482,
-0.02684733085334301,
-0.006260680966079235,
-0.07256326079368591,
0.0007930895662866533,
0.060681916773319244,
0.02458900585770607,
0.06123483553528786,
-0.09919194132089615,
-0.08946055918931961,
-0.029455343261361122,
-0.015463484451174736,
-0.00321773043833673,
0.14249350130558014,
0.034729667007923126,
0.15661515295505524,
-0.040342576801776886,
-0.06505286693572998,
0.04202628508210182,
0.010795174166560173,
-0.10478362441062927,
0.1595114916563034,
-0.18856416642665863,
-0.28570571541786194,
-0.08648211508989334,
-0.027908580377697945,
-0.039971332997083664,
0.01889706961810589,
0.15258745849132538,
-0.12147070467472076,
-0.003281887387856841,
-0.07769458740949631,
0.04742126539349556,
-0.023154277354478836,
0.011105764657258987,
-0.12442904710769653,
0.06788580864667892,
-0.028742285445332527,
-0.045447878539562225,
-0.046544842422008514,
-0.02530968002974987,
-0.07859163731336594,
0.1491374522447586,
-0.07572218775749207,
0.08120811730623245,
0.07277937233448029,
-0.010509666986763477,
0.0009553999407216907,
-0.08492954820394516,
0.17163579165935516,
-0.08532928675413132,
0.051244743168354034,
0.15671835839748383,
0.00576113723218441,
0.05678136274218559,
0.1144467294216156,
-0.015068626031279564,
-0.01376342959702015,
0.055564116686582565,
-0.028592132031917572,
-0.055283963680267334,
-0.21703821420669556,
-0.17441926896572113,
-0.06219680234789848,
0.09874847531318665,
0.003451357129961252,
0.03882172703742981,
0.0494576096534729,
0.052453186362981796,
-0.05226677283644676,
-0.1539563685655594,
0.06323454529047012,
0.059540703892707825,
0.17989137768745422,
-0.03714193403720856,
0.1720941811800003,
-0.07472236454486847,
-0.10171901434659958,
0.10578709095716476,
-0.04346034303307533,
0.10348622500896454,
0.0552961602807045,
-0.05426725372672081,
0.08341885358095169,
0.15554054081439972,
0.06418559700250626,
0.0903577134013176,
0.05527900159358978,
-0.032129816710948944,
0.000715515052434057,
-0.07233254611492157,
0.03510957956314087,
0.06599394977092743,
-0.014426860958337784,
-0.14711540937423706,
-0.03554637357592583,
-0.022893646731972694,
0.1643041968345642,
0.16997598111629486,
0.09269765019416809,
-0.13378684222698212,
-0.04356071725487709,
0.010854841209948063,
-0.006368299014866352,
-0.039415374398231506,
0.07926883548498154,
0.021396776661276817,
-0.07349680364131927,
0.10639117658138275,
-0.018131865188479424,
0.06944052875041962,
0.12823405861854553,
0.08120175451040268,
-0.06637827306985855,
-0.10687698423862457,
-0.01973789930343628,
0.09799589961767197,
-0.2675909698009491,
0.28285619616508484,
0.007956537418067455,
-0.04366851598024368,
-0.07536017894744873,
-0.07140583544969559,
-0.00658011669293046,
0.14831958711147308,
0.1702447533607483,
0.024045469239354134,
-0.06676152348518372,
-0.06652216613292694,
-0.054894011467695236,
0.02096724323928356,
0.13517488539218903,
0.00034056935692206025,
0.03381631523370743,
-0.05830790102481842,
0.006144192069768906,
-0.0034041490871459246,
0.08656296133995056,
-0.07908724993467331,
-0.16650208830833435,
0.006196309812366962,
0.06606940180063248,
0.0038903120439499617,
-0.024984925985336304,
-0.04988407716155052,
-0.11271309107542038,
0.11322999000549316,
-0.08473104983568192,
-0.08871117234230042,
-0.07871890068054199,
-0.08436848968267441,
0.0728125274181366,
-0.08299531042575836,
0.04011637344956398,
-0.04530481621623039,
-0.0331096425652504,
-0.09892725944519043,
-0.16042150557041168,
0.08731478452682495,
-0.0755104124546051,
-0.0748315304517746,
0.021960824728012085,
0.19774819910526276,
-0.007510036695748568,
0.03447908163070679,
0.014433194883167744,
0.08030800521373749,
-0.10440384596586227,
-0.06025658920407295,
0.006067226175218821,
-0.10490091890096664,
0.1013442724943161,
0.03879503905773163,
-0.11365491151809692,
-0.0895351842045784,
-0.08449550718069077,
-0.05279732495546341,
0.24895629286766052,
0.26108065247535706,
-0.11620181798934937,
0.17139586806297302,
0.07904187589883804,
-0.014928191900253296,
-0.34162959456443787,
-0.13747327029705048,
-0.09583058208227158,
-0.02368290163576603,
0.02234039641916752,
-0.07458774745464325,
-0.002619757317006588,
0.05164608731865883,
-0.019879834726452827,
-0.0174926295876503,
-0.21169860661029816,
-0.1345335692167282,
0.16321882605552673,
-0.0722704604268074,
0.25744491815567017,
-0.11466452479362488,
-0.009639307856559753,
-0.04087202250957489,
0.029119862243533134,
0.12418440729379654,
-0.15943214297294617,
0.08877205848693848,
0.011067834682762623,
0.010828722268342972,
0.018464338034391403,
-0.023158464580774307,
0.06941088289022446,
-0.06097093224525452,
0.032838281244039536,
-0.10652842372655869,
-0.011227671056985855,
0.0896192118525505,
0.014857040718197823,
0.03315774351358414,
-0.09064463526010513,
0.037425391376018524,
-0.041965145617723465,
-0.01715395599603653,
-0.09061881899833679,
0.08965697139501572,
0.009672113694250584,
-0.08912678062915802,
-0.08536418527364731,
0.033649466931819916,
0.005454789847135544,
-0.03903936594724655,
0.23934060335159302,
-0.0715327188372612,
0.14465081691741943,
0.13940784335136414,
0.07563275098800659,
-0.09269433468580246,
0.10382041335105896,
0.0007423829520121217,
-0.08795908838510513,
0.042722854763269424,
-0.059478774666786194,
0.006567478179931641,
0.0885903462767601,
-0.06837204843759537,
0.018133345991373062,
0.04975680634379387,
-0.03201618790626526,
-0.03316812589764595,
0.16043542325496674,
-0.27358585596084595,
-0.10946464538574219,
-0.0633760541677475,
-0.012244981713593006,
0.10299038141965866,
0.06644141674041748,
0.21126073598861694,
-0.08361554145812988,
-0.016543377190828323,
0.008003097027540207,
0.012912767939269543,
-0.061443254351615906,
0.07106946408748627,
0.03452249988913536,
0.002665835665538907,
-0.07445451617240906,
0.07737798243761063,
0.019109848886728287,
-0.08011467754840851,
0.05400015041232109,
0.11972729861736298,
-0.15704688429832458,
-0.14076119661331177,
-0.06948889791965485,
0.03659983351826668,
-0.11383999139070511,
-0.060556404292583466,
-0.03675138205289841,
-0.10054236650466919,
0.06048557907342911,
0.17412516474723816,
0.08545196056365967,
0.04385093227028847,
0.018979031592607498,
-0.06359497457742691,
0.01350583229213953,
0.06422066688537598,
0.02842560037970543,
-0.042648717761039734,
-0.07330045104026794,
0.08206307888031006,
-0.02839953452348709,
0.11699318140745163,
-0.08573967963457108,
0.01692923903465271,
-0.10316575318574905,
0.011636004783213139,
-0.09410186856985092,
-0.09166280180215836,
-0.08474194258451462,
-0.07142319530248642,
-0.029413769021630287,
-0.04503722861409187,
-0.05467920005321503,
-0.051632095128297806,
-0.07161468267440796,
0.01537507213652134,
-0.03983353078365326,
0.07026170939207077,
-0.11068370193243027,
-0.026387354359030724,
0.033001530915498734,
-0.0016705174930393696,
0.1061428040266037,
0.14128154516220093,
-0.06206298619508743,
0.12774591147899628,
-0.1087614968419075,
-0.020757200196385384,
0.08701623231172562,
0.0033300374634563923,
0.02421475760638714,
0.07012007385492325,
-0.011870569549500942,
0.055894073098897934,
0.01780610717833042,
0.08703041076660156,
0.04142181575298309,
-0.08482331037521362,
0.08639939874410629,
-0.015822477638721466,
-0.06712570786476135,
-0.029029181227087975,
-0.011222454719245434,
0.020375201478600502,
0.02649748884141445,
0.20392176508903503,
-0.14107155799865723,
0.09133664518594742,
-0.0667826309800148,
0.03006996214389801,
0.00004473777153179981,
-0.1711658239364624,
-0.028128255158662796,
-0.05826929211616516,
0.01721363700926304,
-0.031105976551771164,
0.23033012449741364,
0.07960594445466995,
-0.03388375788927078,
0.0874960720539093,
0.07628623396158218,
-0.05310003086924553,
0.03562891110777855,
0.1066666841506958,
0.03338473662734032,
-0.06770752370357513,
-0.1756153106689453,
0.034589678049087524,
-0.0033717832993716,
-0.03068750724196434,
0.10341605544090271,
0.1600273996591568,
0.06188846379518509,
0.04373792186379433,
0.024086255580186844,
0.0008546749013476074,
0.010021854192018509,
-0.12324211001396179,
-0.028693171218037605,
0.058581702411174774,
-0.039699237793684006,
0.11357218772172928,
0.23015151917934418,
-0.026492303237318993,
0.009896560572087765,
-0.03614448010921478,
-0.0192866213619709,
-0.12771259248256683,
-0.12234717607498169,
-0.09001597762107849,
-0.10930226743221283,
-0.01984875649213791,
-0.07481782883405685,
-0.006692815572023392,
-0.0028945133090019226,
0.10059743374586105,
-0.048443589359521866,
0.1016988754272461,
0.014301986433565617,
-0.08334251493215561,
0.08849719166755676,
-0.009675727225840092,
0.028812412172555923,
0.0008282788912765682,
-0.06703327596187592,
-0.051018521189689636,
-0.04328956827521324,
-0.04435596242547035,
0.04566667601466179,
-0.04747924208641052,
0.0026382324285805225,
-0.13697977364063263,
-0.08934642374515533,
-0.02990400232374668,
0.10696849226951599,
0.022424818947911263,
0.10811665654182434,
0.03404124453663826,
-0.011591814458370209,
0.027557775378227234,
0.23444803059101105,
-0.0018948520300909877,
-0.16942673921585083,
-0.02341485023498535,
0.19623057544231415,
0.03769311308860779,
0.11571533977985382,
-0.011934946291148663,
-0.017245730385184288,
-0.061376191675662994,
0.2746374011039734,
0.39625802636146545,
-0.05665619298815727,
0.05695541948080063,
-0.04033338651061058,
0.04804627224802971,
0.0686982050538063,
0.06289180368185043,
0.0774492472410202,
0.17173554003238678,
-0.07954024523496628,
0.04363161697983742,
-0.11248725652694702,
0.048652175813913345,
-0.15466280281543732,
0.05955629423260689,
0.060092564672231674,
-0.08145156502723694,
-0.005960998125374317,
0.13368947803974152,
-0.16053879261016846,
0.07423064112663269,
-0.09911137819290161,
-0.14975926280021667,
-0.045979954302310944,
0.026034153997898102,
0.1403530091047287,
0.008411652408540249,
0.10939216613769531,
-0.006774041336029768,
-0.03647545352578163,
-0.08295953273773193,
0.04663753882050514,
-0.11306104063987732,
-0.004179602488875389,
0.0605228990316391,
-0.034208353608846664,
0.02458827942609787,
-0.033298641443252563,
0.04017990827560425,
0.09915562719106674,
0.033860307186841965,
-0.03608402609825134,
0.1100613921880722,
0.05037685111165047,
0.00907529704272747,
0.004522829316556454,
-0.0829683169722557,
0.009679021313786507,
-0.07625388354063034,
0.07492203265428543,
-0.152607724070549,
0.0678330808877945,
-0.013140333816409111,
-0.01923518069088459,
-0.02287476696074009,
0.14929358661174774,
-0.07022567093372345,
0.042691607028245926,
0.11541245877742767,
-0.04311390593647957,
-0.005786065477877855,
-0.05340893939137459,
-0.04306004196405411,
0.026427866891026497,
-0.09669795632362366,
-0.004732194356620312,
-0.08827125281095505,
-0.05348959565162659,
0.08109299838542938,
0.011221109889447689,
-0.18840761482715607,
0.010875248350203037,
-0.09508541971445084,
0.05215974152088165,
-0.14377658069133759,
0.08763741701841354,
0.07164357602596283,
-0.01729784719645977,
0.01149109285324812,
-0.05268491432070732,
0.069028340280056,
0.047512829303741455,
-0.05547241494059563,
-0.06800124049186707
] |
null | null |
transformers
|
This is a smaller version of the [google/mt5-base](https://huggingface.co/google/mt5-base) model with only Russian and some English embeddings left.
* The original model has 582M parameters, with 384M of them being input and output embeddings.
* After shrinking the `sentencepiece` vocabulary from 250K to 30K (top 10K English and top 20K Russian tokens) the number of model parameters reduced to 244M parameters, and model size reduced from 2.2GB to 0.9GB - 42% of the original one.
The creation of this model is described in the post [How to adapt a multilingual T5 model for a single language](https://cointegrated.medium.com/how-to-adapt-a-multilingual-t5-model-for-a-single-language-b9f94f3d9c90) along with the source code.
|
{"language": ["ru", "en", "multilingual"], "license": "mit", "tags": ["russian"]}
|
text2text-generation
|
cointegrated/rut5-base
|
[
"transformers",
"pytorch",
"jax",
"safetensors",
"t5",
"text2text-generation",
"russian",
"ru",
"en",
"multilingual",
"license:mit",
"autotrain_compatible",
"endpoints_compatible",
"text-generation-inference",
"region:us"
] |
2022-03-02T23:29:05+00:00
|
[] |
[
"ru",
"en",
"multilingual"
] |
TAGS
#transformers #pytorch #jax #safetensors #t5 #text2text-generation #russian #ru #en #multilingual #license-mit #autotrain_compatible #endpoints_compatible #text-generation-inference #region-us
|
This is a smaller version of the google/mt5-base model with only Russian and some English embeddings left.
* The original model has 582M parameters, with 384M of them being input and output embeddings.
* After shrinking the 'sentencepiece' vocabulary from 250K to 30K (top 10K English and top 20K Russian tokens) the number of model parameters reduced to 244M parameters, and model size reduced from 2.2GB to 0.9GB - 42% of the original one.
The creation of this model is described in the post How to adapt a multilingual T5 model for a single language along with the source code.
|
[] |
[
"TAGS\n#transformers #pytorch #jax #safetensors #t5 #text2text-generation #russian #ru #en #multilingual #license-mit #autotrain_compatible #endpoints_compatible #text-generation-inference #region-us \n"
] |
[
72
] |
[
"passage: TAGS\n#transformers #pytorch #jax #safetensors #t5 #text2text-generation #russian #ru #en #multilingual #license-mit #autotrain_compatible #endpoints_compatible #text-generation-inference #region-us \n"
] |
[
0.02175036258995533,
-0.02999703586101532,
-0.007684039417654276,
0.025860542431473732,
0.1374097764492035,
0.0027655537705868483,
0.2610008120536804,
0.07000591605901718,
0.04924510046839714,
-0.04978220537304878,
0.157948836684227,
0.09790466725826263,
-0.03945424035191536,
0.1251281350851059,
-0.04755900427699089,
-0.23460344970226288,
0.06039130687713623,
-0.02560967020690441,
0.0028924730140715837,
0.10704207420349121,
0.146908700466156,
-0.04139572009444237,
0.06224452331662178,
-0.05104881897568703,
-0.09363827109336853,
0.060031067579984665,
0.07905586808919907,
-0.12489721924066544,
0.10099117457866669,
0.05294325575232506,
0.08823177963495255,
0.08125239610671997,
-0.02773272432386875,
-0.13129325211048126,
0.02491196244955063,
-0.03484604135155678,
-0.13338293135166168,
0.0041925422847270966,
0.12178149819374084,
-0.10558610409498215,
0.1896974891424179,
-0.02773522026836872,
-0.03700914978981018,
0.05533193424344063,
-0.11394168436527252,
-0.049896206706762314,
-0.059231530874967575,
0.11438147723674774,
0.03710268810391426,
0.12658673524856567,
-0.014828981831669807,
0.15705566108226776,
-0.060008734464645386,
0.12528525292873383,
0.11121716350317001,
-0.4121277332305908,
-0.022148188203573227,
0.053323306143283844,
0.036755286157131195,
0.1252637505531311,
0.0076462156139314175,
0.10002443939447403,
0.03555499389767647,
-0.025341346859931946,
-0.00016187052824534476,
-0.06612632423639297,
-0.10665120929479599,
0.015260852873325348,
-0.0854841098189354,
-0.026855189353227615,
0.23292584717273712,
-0.05186093598604202,
0.06377933919429779,
-0.04346132650971413,
-0.04168710112571716,
-0.044724393635988235,
-0.0019609599839895964,
0.02197096310555935,
-0.04971461743116379,
0.05176309123635292,
0.032572489231824875,
-0.06861145794391632,
-0.1698109358549118,
0.00999261625111103,
-0.14149074256420135,
0.17743028700351715,
0.033319681882858276,
0.07314775884151459,
-0.15437543392181396,
0.021101271733641624,
0.00032272504176944494,
-0.1073145642876625,
0.07347720861434937,
-0.11721950769424438,
0.062417104840278625,
0.033675480633974075,
-0.05017376318573952,
-0.09489259123802185,
0.13344016671180725,
0.09283492714166641,
-0.05585511028766632,
0.034085869789123535,
-0.04085267707705498,
0.12486663460731506,
-0.03452007472515106,
0.04235498234629631,
0.04644041135907173,
-0.0030197955202311277,
0.05149972811341286,
-0.11572929471731186,
0.037762075662612915,
-0.015630636364221573,
-0.18863891065120697,
-0.05858239904046059,
0.04893261194229126,
0.12206121534109116,
-0.018898552283644676,
0.10916151851415634,
-0.006035056430846453,
0.05446915328502655,
0.02239539660513401,
-0.0787920281291008,
0.012021725997328758,
-0.012508682906627655,
0.04295497015118599,
0.06922653317451477,
-0.04054156318306923,
-0.008906105533242226,
-0.11684155464172363,
0.08793443441390991,
0.00554262101650238,
0.037605445832014084,
-0.02286526747047901,
-0.11101678758859634,
0.05666140466928482,
-0.11918864399194717,
0.03026473894715309,
-0.21089069545269012,
-0.10987511277198792,
0.015104665420949459,
0.03175894543528557,
-0.017082011327147484,
-0.0030572242103517056,
-0.02527029812335968,
-0.0746985524892807,
0.04205341264605522,
-0.06453946232795715,
-0.07521140575408936,
-0.0787823423743248,
0.07901567220687866,
-0.09132206439971924,
0.04859045147895813,
-0.12926770746707916,
0.022780055180191994,
-0.13480357825756073,
-0.08422461152076721,
-0.016444003209471703,
0.03625908121466637,
-0.07431108504533768,
0.13880620896816254,
0.01737166754901409,
-0.02160055935382843,
-0.030337974429130554,
0.06616557389497757,
-0.0345618799328804,
0.18746960163116455,
-0.13330474495887756,
-0.06163735315203667,
0.26982536911964417,
-0.15743699669837952,
-0.16631485521793365,
0.11586453020572662,
0.010186913423240185,
0.022365830838680267,
0.12142535299062729,
0.18531231582164764,
0.027671676129102707,
-0.07939237356185913,
0.04933307319879532,
0.05208318307995796,
-0.12073461711406708,
-0.050924189388751984,
0.009045745246112347,
0.017255669459700584,
-0.08462860435247421,
0.04049908369779587,
0.0422794446349144,
0.052068620920181274,
-0.04353431612253189,
-0.06485714763402939,
-0.03080446831882,
-0.017201637849211693,
0.06278114020824432,
-0.020278288051486015,
0.10244634002447128,
-0.1610160619020462,
-0.07248220592737198,
-0.07755908370018005,
-0.016768552362918854,
0.031983423978090286,
0.039761029183864594,
-0.08468858152627945,
0.08953584730625153,
0.09907763451337814,
0.06450022011995316,
-0.11937449127435684,
-0.037203796207904816,
-0.019501127302646637,
0.17290478944778442,
0.04450737684965134,
0.06436020135879517,
0.06354950368404388,
-0.014175275340676308,
-0.055473729968070984,
-0.01283842884004116,
0.10468548536300659,
-0.0037709411699324846,
-0.017403634265065193,
-0.15376852452754974,
0.10707802325487137,
-0.05271358788013458,
-0.020583851262927055,
-0.07007377594709396,
0.014875540509819984,
0.04540206491947174,
0.09524551779031754,
-0.01375372800976038,
0.12238241732120514,
-0.08004578202962875,
0.039495375007390976,
-0.09704872965812683,
0.032923534512519836,
0.10226501524448395,
-0.013196330517530441,
-0.09785434603691101,
0.23099485039710999,
-0.09823096543550491,
0.2882462441921234,
0.23157410323619843,
-0.15181659162044525,
-0.027174318209290504,
-0.0483558364212513,
-0.009240726940333843,
0.028528476133942604,
0.10357785224914551,
0.043052468448877335,
-0.011640279553830624,
-0.004329855088144541,
0.14027516543865204,
-0.07574354857206345,
-0.008331612683832645,
0.020920900627970695,
-0.08361926674842834,
-0.07832060009241104,
0.10557684302330017,
0.041020844131708145,
-0.2607860565185547,
0.1827922761440277,
0.23504793643951416,
0.026496564969420433,
0.26645249128341675,
-0.04859667271375656,
0.013428681530058384,
0.06136055290699005,
0.015034426003694534,
-0.017401861026883125,
0.02088909223675728,
-0.07923803478479385,
-0.0323067232966423,
0.049845900386571884,
0.025445736944675446,
0.03772664815187454,
-0.12016981840133667,
-0.0799483135342598,
-0.05956318974494934,
-0.05653934180736542,
-0.023353615775704384,
0.105241559445858,
0.024533644318580627,
0.1550576388835907,
-0.06969723105430603,
-0.05809419974684715,
0.10139435529708862,
-0.014656005427241325,
-0.09800978749990463,
0.14824816584587097,
-0.1650320142507553,
-0.27911680936813354,
-0.11838023364543915,
-0.10620763152837753,
-0.056182898581027985,
0.029156900942325592,
0.15027333796024323,
-0.12457624077796936,
-0.022004030644893646,
-0.02798289991915226,
0.022301139310002327,
-0.05085737258195877,
0.01396787166595459,
-0.08140239119529724,
0.11235801875591278,
-0.05762583389878273,
-0.039915211498737335,
-0.07792221009731293,
-0.014140438288450241,
-0.056856393814086914,
0.17775510251522064,
-0.08241325616836548,
0.0644395500421524,
0.06535525619983673,
-0.060653962194919586,
0.03472509607672691,
-0.10205893963575363,
0.08103392273187637,
-0.06847537308931351,
-0.0020149347838014364,
0.16102658212184906,
-0.005950213875621557,
0.07460754364728928,
0.15388642251491547,
0.010812097229063511,
-0.03825413063168526,
0.05710465833544731,
-0.05686601251363754,
-0.06446850299835205,
-0.2537177801132202,
-0.13927923142910004,
-0.07830172032117844,
0.10948660224676132,
0.00037947611417621374,
0.043672122061252594,
0.08221907913684845,
0.05335838720202446,
-0.06900502741336823,
-0.08702611923217773,
0.10260908305644989,
0.10694286972284317,
0.21255896985530853,
0.003163754241541028,
0.15112587809562683,
-0.10785885900259018,
-0.07375707477331161,
0.11050758510828018,
-0.03299030661582947,
0.11978164315223694,
0.09553889185190201,
-0.010851231403648853,
0.05836008861660957,
0.11701655387878418,
0.11721303313970566,
0.10860219597816467,
0.09953727573156357,
-0.02156396582722664,
0.002183749107643962,
-0.07410003989934921,
0.005515658762305975,
0.05694907531142235,
-0.056635115295648575,
-0.13584397733211517,
-0.07199113816022873,
-0.021733693778514862,
0.11798468232154846,
0.12083600461483002,
0.016630327329039574,
-0.141780823469162,
-0.03753094747662544,
0.06597911566495895,
0.010729681700468063,
-0.08608835190534592,
0.09445928037166595,
0.0026369462721049786,
-0.10342373698949814,
0.15950722992420197,
-0.036040157079696655,
0.10506149381399155,
0.10887321829795837,
0.0907924473285675,
-0.06338527053594589,
-0.10418090224266052,
0.0032758614979684353,
0.12828382849693298,
-0.3881560266017914,
0.2757527530193329,
-0.00004365903077996336,
-0.01319817453622818,
-0.07742320001125336,
-0.05048627778887749,
-0.0011938540264964104,
0.18504832684993744,
0.11843011528253555,
-0.0031696208752691746,
-0.12349198758602142,
-0.0349297821521759,
-0.0027556815184652805,
0.026578668504953384,
0.14226233959197998,
0.020816341042518616,
0.027512673288583755,
-0.07267200201749802,
-0.01704484038054943,
-0.029841523617506027,
-0.02183748222887516,
-0.10811176896095276,
-0.18347202241420746,
0.017195913940668106,
0.05362263321876526,
0.06544622778892517,
-0.0256093330681324,
-0.05581436678767204,
-0.1019330695271492,
0.14497721195220947,
-0.07555540651082993,
-0.1028960794210434,
-0.08225128799676895,
-0.09306330233812332,
0.024395449087023735,
-0.07787954062223434,
0.042987436056137085,
-0.058829475194215775,
-0.0013491433346644044,
-0.10134097933769226,
-0.1716299206018448,
0.08295576274394989,
-0.09713847935199738,
-0.08554721623659134,
-0.01798035390675068,
0.2015116661787033,
-0.04598416015505791,
-0.004838049877434969,
0.011168628931045532,
0.02144039236009121,
-0.06263607740402222,
-0.08413273096084595,
-0.0029564048163592815,
-0.033521734178066254,
0.03871556371450424,
0.02423197217285633,
-0.13924317061901093,
-0.17936310172080994,
-0.08378332853317261,
-0.0881364718079567,
0.23309391736984253,
0.2648667097091675,
-0.09306034445762634,
0.21210582554340363,
0.11884956806898117,
-0.0701478123664856,
-0.3035634756088257,
-0.1216278076171875,
-0.10819610953330994,
-0.01093265786767006,
0.003217902733013034,
-0.11106384545564651,
-0.030241966247558594,
-0.050743285566568375,
-0.03872347250580788,
0.07501327246427536,
-0.17177154123783112,
-0.11058183759450912,
0.114698626101017,
-0.014848005957901478,
0.3089599013328552,
-0.14823465049266815,
-0.05681825801730156,
-0.07541590929031372,
-0.05680115520954132,
0.17138279974460602,
-0.057613108307123184,
0.06296820193529129,
-0.007281024008989334,
0.04311029985547066,
0.03518149256706238,
-0.02085447870194912,
0.04834618419408798,
-0.09263867139816284,
0.04208767041563988,
-0.1339760571718216,
-0.01012592762708664,
0.1445908546447754,
0.010642049834132195,
0.026061754673719406,
-0.13634254038333893,
0.0232942383736372,
-0.03474001958966255,
-0.05220702290534973,
-0.05335088074207306,
0.07768864184617996,
-0.011914581060409546,
-0.07248693704605103,
-0.015712283551692963,
-0.017653020098805428,
-0.008002306334674358,
-0.033629972487688065,
0.28818875551223755,
-0.027369296178221703,
0.1422412097454071,
0.10231555998325348,
0.1297682821750641,
-0.09875282645225525,
0.14045575261116028,
-0.03708845004439354,
-0.081827312707901,
0.04970128834247589,
-0.0889848843216896,
0.004198899492621422,
0.09384864568710327,
-0.06694807857275009,
0.02724865823984146,
0.06082620844244957,
-0.02378731779754162,
-0.025369223207235336,
0.16943468153476715,
-0.2558816075325012,
-0.06851951777935028,
-0.06054685637354851,
0.024623438715934753,
0.14416378736495972,
0.07383204996585846,
0.16783897578716278,
-0.06849489361047745,
-0.011410882696509361,
-0.012966863811016083,
0.010339811444282532,
-0.021978503093123436,
0.01568741165101528,
-0.002982567762956023,
-0.0050965058617293835,
-0.08505748212337494,
0.09904571622610092,
0.019244099035859108,
-0.14505480229854584,
0.02816065400838852,
0.17798958718776703,
-0.15967319905757904,
-0.1410285383462906,
0.0159906055778265,
0.1030622124671936,
-0.14184269309043884,
-0.0928538367152214,
-0.04475010558962822,
-0.1549597531557083,
0.04687581956386566,
0.1813395619392395,
0.05918378010392189,
0.03019649162888527,
0.0175556018948555,
-0.04432603716850281,
0.013215170241892338,
0.05828208103775978,
0.0034674732014536858,
-0.029980182647705078,
-0.13050799071788788,
0.036809712648391724,
-0.014257101342082024,
0.09812857955694199,
-0.07608488202095032,
0.003809027373790741,
-0.11580560356378555,
0.01989542506635189,
-0.1199134886264801,
-0.01873522624373436,
-0.07630173861980438,
-0.037393223494291306,
-0.03176470100879669,
-0.07144850492477417,
-0.03081643208861351,
-0.034876156598329544,
-0.10366985201835632,
0.020015325397253036,
-0.03177583962678909,
0.0836043432354927,
-0.09743881970643997,
-0.02328840270638466,
0.02552688866853714,
0.0026798350736498833,
0.12772299349308014,
0.163103386759758,
-0.08230927586555481,
0.16803619265556335,
-0.21279320120811462,
0.0021313875913619995,
0.0941772535443306,
0.022009432315826416,
0.024913879111409187,
0.1002609133720398,
0.0015712392050772905,
0.09538045525550842,
0.024365173652768135,
0.07683243602514267,
0.011234316043555737,
-0.09728080779314041,
0.02150726318359375,
-0.01543714851140976,
-0.10442512482404709,
-0.0056091672740876675,
-0.006285344250500202,
0.05179126188158989,
0.0015090913511812687,
0.2068767100572586,
-0.13520491123199463,
0.09533939510583878,
-0.02936972677707672,
0.041297394782304764,
-0.003249588655307889,
-0.17985029518604279,
-0.1707472801208496,
-0.09927085787057877,
0.016457287594676018,
-0.027167096734046936,
0.2278745025396347,
0.08498408645391464,
-0.012270591221749783,
0.07171186804771423,
0.000692774192430079,
-0.022305287420749664,
0.0433957502245903,
0.1976643055677414,
0.008974187076091766,
-0.03986933454871178,
-0.16566340625286102,
0.00284631852991879,
-0.012712624855339527,
-0.07529005408287048,
0.12191726267337799,
0.12247327715158463,
-0.0005105702439323068,
0.0651155486702919,
0.05014009401202202,
0.014124465174973011,
0.006450654473155737,
-0.15574373304843903,
-0.013554206117987633,
0.04839476943016052,
-0.060109127312898636,
0.15427689254283905,
0.226510152220726,
-0.02214791625738144,
0.009707379154860973,
-0.05007198452949524,
-0.02726328745484352,
-0.13817395269870758,
-0.14566712081432343,
-0.09241082519292831,
-0.12372638285160065,
0.01542362105101347,
-0.06682191044092178,
0.06528355926275253,
-0.03529797121882439,
0.09224103391170502,
-0.1103857085108757,
0.032913096249103546,
0.036389242857694626,
-0.09394901990890503,
0.0925651267170906,
-0.005817360710352659,
0.048844579607248306,
0.029868697747588158,
-0.06002892926335335,
-0.09382365643978119,
-0.09148254245519638,
-0.08173301815986633,
0.07997609674930573,
-0.03438521921634674,
0.015307150781154633,
-0.12456407397985458,
-0.07669351249933243,
-0.0005716424784623086,
0.09074629843235016,
0.06187209486961365,
0.14090701937675476,
0.0239223875105381,
-0.032714612782001495,
0.0366925485432148,
0.2600024342536926,
0.007539462298154831,
-0.17432449758052826,
0.03487737849354744,
0.21162033081054688,
0.04908739775419235,
0.1198122650384903,
-0.017820771783590317,
0.012806685641407967,
-0.06873796880245209,
0.2570633292198181,
0.38568010926246643,
-0.007791992276906967,
0.05527649447321892,
-0.07415934652090073,
0.04570509120821953,
0.0756436362862587,
0.12025587260723114,
0.06127345561981201,
0.20210371911525726,
-0.03244743123650551,
0.0511692650616169,
-0.08563918620347977,
0.07696212083101273,
-0.17161820828914642,
0.0716765895485878,
0.01722881942987442,
-0.10609797388315201,
0.008089358918368816,
0.13106276094913483,
-0.15215612947940826,
0.09484190493822098,
-0.06576662510633469,
-0.1546899378299713,
-0.023564206436276436,
0.03233276680111885,
0.19285458326339722,
0.032797012478113174,
0.07678161561489105,
-0.014874543063342571,
-0.04690637066960335,
-0.04399567469954491,
0.028578532859683037,
-0.16005739569664001,
0.014408118091523647,
0.02971002273261547,
-0.09745332598686218,
0.02860684134066105,
-0.0008714787545613945,
0.11473463475704193,
0.08204863220453262,
0.05036574974656105,
-0.03445424512028694,
0.09839922189712524,
0.04074409604072571,
0.0003175476740580052,
0.04389827325940132,
-0.053399525582790375,
0.0028127729892730713,
-0.07288157194852829,
0.09939803928136826,
-0.06673943251371384,
0.061288245022296906,
-0.023286009207367897,
-0.06536759436130524,
-0.009181548841297626,
0.15438470244407654,
-0.1007855013012886,
0.025306498631834984,
0.10296562314033508,
-0.028110073879361153,
-0.029913321137428284,
-0.06259755045175552,
0.0017354957526549697,
0.033018577843904495,
-0.11965859681367874,
-0.03288891911506653,
-0.08953554183244705,
-0.08324691653251648,
0.13688194751739502,
0.04263911023736,
-0.19753849506378174,
0.02358664758503437,
-0.12981489300727844,
0.08820933103561401,
-0.21408767998218536,
0.07763674110174179,
0.11537258327007294,
-0.009795458987355232,
0.009649969637393951,
-0.11153824627399445,
0.06699321419000626,
0.07328668981790543,
-0.07697340846061707,
-0.08705023676156998
] |
null | null |
transformers
|
This is a version of the [cointegrated/rut5-small](https://huggingface.co/cointegrated/rut5-small) model fine-tuned on some Russian dialogue data. It is not very smart and creative, but it is small and fast, and can serve as a fallback response generator for some chatbot or can be fine-tuned to imitate the style of someone.
The input of the model is the previous dialogue utterances separated by `'\n\n'`, and the output is the next utterance.
The model can be used as follows:
```
# !pip install transformers sentencepiece
import torch
from transformers import T5ForConditionalGeneration, T5Tokenizer
tokenizer = T5Tokenizer.from_pretrained("cointegrated/rut5-small-chitchat")
model = T5ForConditionalGeneration.from_pretrained("cointegrated/rut5-small-chitchat")
text = 'Привет! Расскажи, как твои дела?'
inputs = tokenizer(text, return_tensors='pt')
with torch.no_grad():
hypotheses = model.generate(
**inputs,
do_sample=True, top_p=0.5, num_return_sequences=3,
repetition_penalty=2.5,
max_length=32,
)
for h in hypotheses:
print(tokenizer.decode(h, skip_special_tokens=True))
# Как обычно.
# Сейчас - в порядке.
# Хорошо.
# Wall time: 363 ms
```
|
{"language": "ru", "license": "mit", "tags": ["dialogue", "russian"]}
|
text2text-generation
|
cointegrated/rut5-small-chitchat
|
[
"transformers",
"pytorch",
"safetensors",
"t5",
"text2text-generation",
"dialogue",
"russian",
"ru",
"license:mit",
"autotrain_compatible",
"endpoints_compatible",
"text-generation-inference",
"region:us"
] |
2022-03-02T23:29:05+00:00
|
[] |
[
"ru"
] |
TAGS
#transformers #pytorch #safetensors #t5 #text2text-generation #dialogue #russian #ru #license-mit #autotrain_compatible #endpoints_compatible #text-generation-inference #region-us
|
This is a version of the cointegrated/rut5-small model fine-tuned on some Russian dialogue data. It is not very smart and creative, but it is small and fast, and can serve as a fallback response generator for some chatbot or can be fine-tuned to imitate the style of someone.
The input of the model is the previous dialogue utterances separated by ''\n\n'', and the output is the next utterance.
The model can be used as follows:
|
[] |
[
"TAGS\n#transformers #pytorch #safetensors #t5 #text2text-generation #dialogue #russian #ru #license-mit #autotrain_compatible #endpoints_compatible #text-generation-inference #region-us \n"
] |
[
67
] |
[
"passage: TAGS\n#transformers #pytorch #safetensors #t5 #text2text-generation #dialogue #russian #ru #license-mit #autotrain_compatible #endpoints_compatible #text-generation-inference #region-us \n"
] |
[
0.011981047689914703,
-0.027775658294558525,
-0.007318985182791948,
0.015135644003748894,
0.13465255498886108,
-0.022474337369203568,
0.2599214017391205,
0.0743771642446518,
0.07168416678905487,
-0.043448563665151596,
0.1475304365158081,
0.11342324316501617,
-0.033728115260601044,
0.16387565433979034,
-0.06881851702928543,
-0.22493481636047363,
0.07980366051197052,
-0.019044864922761917,
0.020784659311175346,
0.12230565398931503,
0.14346668124198914,
-0.06111488118767738,
0.04700079932808876,
-0.04033970460295677,
-0.08189371228218079,
0.05842965096235275,
0.07484792172908783,
-0.13268497586250305,
0.12722036242485046,
0.0479317307472229,
0.0678056925535202,
0.08871620148420334,
-0.0603802390396595,
-0.13633587956428528,
0.041483521461486816,
-0.03686126694083214,
-0.1243671327829361,
0.008767706342041492,
0.10326643288135529,
-0.0909903347492218,
0.20191213488578796,
-0.022885680198669434,
-0.015213512815535069,
0.08014032244682312,
-0.11892546713352203,
-0.049890194088220596,
-0.05578281357884407,
0.12589135766029358,
0.0755612850189209,
0.14266721904277802,
-0.03877832368016243,
0.16663092374801636,
-0.070209801197052,
0.1318797469139099,
0.10073567926883698,
-0.4230772852897644,
-0.010726175270974636,
0.05443522334098816,
0.02002411149442196,
0.12412753701210022,
-0.005705880466848612,
0.08706408739089966,
0.023596864193677902,
-0.036022987216711044,
-0.007867131382226944,
-0.043983545154333115,
-0.08914882689714432,
0.0025360416620969772,
-0.09451918303966522,
-0.025097129866480827,
0.23579072952270508,
-0.03332003578543663,
0.08929972350597382,
-0.08099357783794403,
-0.05325997993350029,
-0.06035914272069931,
-0.008645208552479744,
-0.009133214130997658,
-0.0691763162612915,
0.04423597827553749,
0.015946414321660995,
-0.06545522809028625,
-0.17787039279937744,
0.013666911981999874,
-0.1385069340467453,
0.17665746808052063,
0.03196612745523453,
0.06188282370567322,
-0.17245255410671234,
0.027992816641926765,
0.02499021589756012,
-0.11300518363714218,
0.0617992989718914,
-0.10587278753519058,
0.04038068652153015,
0.023794593289494514,
-0.04953258857131004,
-0.07833380997180939,
0.13517986238002777,
0.13185647130012512,
-0.0716729462146759,
0.03616778180003166,
-0.012866866774857044,
0.11040672659873962,
-0.024781158193945885,
0.04435095936059952,
0.055750031024217606,
-0.0013549663126468658,
0.04996255040168762,
-0.11244422197341919,
0.03346690163016319,
-0.01392501499503851,
-0.1823289692401886,
-0.06741072982549667,
0.0679117888212204,
0.11045309156179428,
0.002438188763335347,
0.12850090861320496,
-0.00794006884098053,
0.05501522123813629,
0.0621156170964241,
-0.06894555687904358,
0.005379016511142254,
0.021526874974370003,
0.02473156526684761,
0.052645113319158554,
-0.023003118112683296,
0.0018468524795025587,
-0.11408401280641556,
0.07289943844079971,
0.004047284834086895,
0.027077248319983482,
-0.019602971151471138,
-0.0946211889386177,
0.06401877105236053,
-0.09842485934495926,
0.0196966752409935,
-0.2138524353504181,
-0.09105736762285233,
0.0068132937885820866,
0.0097698038443923,
-0.017555633559823036,
-0.011802006512880325,
-0.03318287804722786,
-0.07209881395101547,
0.02252991497516632,
-0.07010027021169662,
-0.10723996162414551,
-0.06551235914230347,
0.08673520386219025,
-0.08659475296735764,
0.07487613707780838,
-0.10551367700099945,
0.026105646044015884,
-0.13980083167552948,
-0.08254415541887283,
-0.03990499675273895,
0.040832050144672394,
-0.07435969263315201,
0.12236680835485458,
0.014457806944847107,
-0.010943872854113579,
-0.05350254476070404,
0.04388326779007912,
-0.017058854922652245,
0.23932477831840515,
-0.11932483315467834,
-0.05606527999043465,
0.2707883417606354,
-0.15888002514839172,
-0.17539013922214508,
0.11572344601154327,
0.010359903797507286,
0.016341865062713623,
0.14495888352394104,
0.20668163895606995,
0.002431201282888651,
-0.0638369545340538,
0.007718584965914488,
0.05532721057534218,
-0.12960778176784515,
-0.03504696115851402,
0.008673408068716526,
0.025344431400299072,
-0.037929851561784744,
0.03578073903918266,
0.08403534442186356,
0.052689895033836365,
-0.05664310231804848,
-0.06719071418046951,
-0.026094382628798485,
-0.016789264976978302,
0.10123779624700546,
-0.02950477972626686,
0.08788686245679855,
-0.15845468640327454,
-0.08176164329051971,
-0.06994626671075821,
-0.007007946260273457,
0.031076252460479736,
0.03660101443529129,
-0.10492158681154251,
0.07786181569099426,
0.10581611096858978,
0.07151006907224655,
-0.11917592585086823,
-0.04071922227740288,
-0.04108218103647232,
0.18364273011684418,
0.04937032610177994,
0.07904744148254395,
0.08234182745218277,
-0.03415004536509514,
-0.04241495206952095,
-0.017259223386645317,
0.09148670732975006,
0.002932500559836626,
-0.03527792915701866,
-0.15741221606731415,
0.08947084099054337,
-0.05212540924549103,
0.029822802171111107,
-0.07298003137111664,
0.020713496953248978,
0.0762985572218895,
0.11544103920459747,
-0.0174216590821743,
0.09832555800676346,
-0.06800506263971329,
0.018444567918777466,
-0.0812312588095665,
0.036469727754592896,
0.09890853613615036,
-0.0036613261327147484,
-0.1094946339726448,
0.22374308109283447,
-0.14059069752693176,
0.2624177634716034,
0.2266293317079544,
-0.1511411964893341,
-0.03183755278587341,
-0.07113472372293472,
-0.03716022148728371,
0.028036292642354965,
0.12719129025936127,
0.026761582121253014,
0.026954077184200287,
0.002223138464614749,
0.13344615697860718,
-0.057911455631256104,
-0.032717298716306686,
0.010167594999074936,
-0.08615143597126007,
-0.06074576452374458,
0.10543840378522873,
0.026518721133470535,
-0.23123212158679962,
0.17857898771762848,
0.19308756291866302,
0.05877230688929558,
0.2726122736930847,
-0.03254864737391472,
0.017787499353289604,
0.06748604029417038,
0.013053477741777897,
-0.033822882920503616,
0.013686918653547764,
-0.1416574865579605,
-0.02726171724498272,
0.04949016496539116,
0.014594529755413532,
0.061696577817201614,
-0.1202620267868042,
-0.06497897207736969,
-0.03546426072716713,
-0.05782614275813103,
-0.015756314620375633,
0.11906429380178452,
0.017371345311403275,
0.16922709345817566,
-0.05193071812391281,
-0.04973854869604111,
0.08378666639328003,
-0.010162224993109703,
-0.11954092979431152,
0.15190176665782928,
-0.15225842595100403,
-0.30371400713920593,
-0.08215467631816864,
-0.08263867348432541,
-0.034773774445056915,
0.02845165506005287,
0.15798813104629517,
-0.15873125195503235,
-0.015945494174957275,
-0.012249940074980259,
0.034131769090890884,
-0.01376739889383316,
0.02447088249027729,
-0.04972470551729202,
0.0918293222784996,
-0.06298907101154327,
-0.05410182476043701,
-0.07759058475494385,
-0.023154251277446747,
-0.06757412850856781,
0.16364087164402008,
-0.07162482291460037,
0.05256881192326546,
0.09110168367624283,
-0.04554926976561546,
0.04024853557348251,
-0.10704214125871658,
0.13334323465824127,
-0.08641194552183151,
0.032843224704265594,
0.1868782937526703,
-0.03174179047346115,
0.06297080218791962,
0.16388486325740814,
-0.004615745972841978,
-0.037005480378866196,
0.07322518527507782,
-0.064937062561512,
-0.05725232511758804,
-0.26063743233680725,
-0.1612945944070816,
-0.07427912205457687,
0.12644611299037933,
-0.03391607105731964,
0.04192017391324043,
0.11869382113218307,
0.05209078639745712,
-0.086453378200531,
-0.14777950942516327,
0.1262233853340149,
0.0970817506313324,
0.2504257261753082,
-0.021600235253572464,
0.15330322086811066,
-0.09898251295089722,
-0.06821897625923157,
0.09800807386636734,
-0.0463983453810215,
0.09944354742765427,
0.10630291700363159,
-0.0020982909481972456,
0.055475592613220215,
0.10557353496551514,
0.10897719860076904,
0.08674026280641556,
0.09279461205005646,
-0.036594208329916,
0.014417302794754505,
-0.07929101586341858,
-0.012473301030695438,
0.05338142812252045,
-0.06254016607999802,
-0.1424192637205124,
-0.07900815457105637,
-0.005303896032273769,
0.13531431555747986,
0.09591208398342133,
0.028138235211372375,
-0.14156347513198853,
-0.08313732594251633,
0.04112355411052704,
-0.004373915493488312,
-0.06094491854310036,
0.08579729497432709,
0.0075607458129525185,
-0.10355875641107559,
0.12437847256660461,
-0.023714525625109673,
0.09722713381052017,
0.10229869931936264,
0.09782501310110092,
-0.08483025431632996,
-0.11907349526882172,
-0.010185658000409603,
0.12567228078842163,
-0.37406212091445923,
0.28374984860420227,
-0.011078893207013607,
-0.011522996239364147,
-0.10296043008565903,
-0.06048893555998802,
-0.01156698726117611,
0.16886283457279205,
0.10819342732429504,
-0.007952396757900715,
-0.07365250587463379,
-0.04486382007598877,
-0.023810701444745064,
0.03251971676945686,
0.1316099315881729,
0.01689956896007061,
0.02060842327773571,
-0.07184578478336334,
-0.01669990085065365,
-0.022109154611825943,
-0.01383216492831707,
-0.0980076864361763,
-0.17262184619903564,
0.023023152723908424,
0.0834866613149643,
0.09802502393722534,
-0.018808891996741295,
-0.04929254204034805,
-0.10279518365859985,
0.15706931054592133,
-0.07204896956682205,
-0.10127247869968414,
-0.08157327026128769,
-0.07090680301189423,
0.011515864171087742,
-0.08536335080862045,
0.0613304041326046,
-0.050476863980293274,
0.02125995047390461,
-0.11656505614519119,
-0.17821896076202393,
0.08964738994836807,
-0.10529486835002899,
-0.10006687045097351,
0.0042390222661197186,
0.22567762434482574,
-0.016835037618875504,
0.00913291797041893,
0.03217259421944618,
0.02088121324777603,
-0.06283020228147507,
-0.07768618315458298,
-0.011678989045321941,
-0.04884527251124382,
0.026049219071865082,
-0.0005086920573376119,
-0.09542140364646912,
-0.2072761207818985,
-0.10457222908735275,
-0.08373492956161499,
0.26509320735931396,
0.2559065818786621,
-0.10571569204330444,
0.2189188003540039,
0.1097361221909523,
-0.030683618038892746,
-0.29957374930381775,
-0.12011463195085526,
-0.09034912288188934,
-0.0296134315431118,
-0.0008312446880154312,
-0.10652831196784973,
-0.02366510219871998,
-0.06103392690420151,
-0.045647330582141876,
0.07376831769943237,
-0.18776148557662964,
-0.12604600191116333,
0.13350708782672882,
-0.03482802212238312,
0.3295362591743469,
-0.12398604303598404,
-0.04725794866681099,
-0.057019200176000595,
-0.07289908826351166,
0.15689747035503387,
-0.04544810950756073,
0.05725909769535065,
0.00896304938942194,
0.06402542442083359,
0.051013749092817307,
-0.021599505096673965,
0.04485735669732094,
-0.08441849797964096,
0.025897076353430748,
-0.1371864378452301,
-0.03515029326081276,
0.0842665508389473,
0.0024964683689177036,
0.03339929133653641,
-0.11014916002750397,
0.034306492656469345,
-0.047553058713674545,
-0.05498668923974037,
-0.06946534663438797,
0.0672944188117981,
-0.007813514210283756,
-0.07107572257518768,
-0.01888173073530197,
-0.028279844671487808,
-0.005817302968353033,
-0.019330833107233047,
0.2587714195251465,
-0.06402791291475296,
0.16806939244270325,
0.1067732498049736,
0.14601287245750427,
-0.10004310309886932,
0.11856251209974289,
-0.027805862948298454,
-0.08556854724884033,
0.04573994129896164,
-0.0781058669090271,
0.002104049315676093,
0.1021626815199852,
-0.06506653875112534,
0.03617637977004051,
0.05502668023109436,
-0.03097488544881344,
-0.025095662102103233,
0.15738441050052643,
-0.28559762239456177,
-0.09003545343875885,
-0.05863325297832489,
0.041240040212869644,
0.1289517879486084,
0.09218934923410416,
0.17518115043640137,
-0.07360631972551346,
-0.017431743443012238,
-0.008608694188296795,
0.020336538553237915,
-0.02874739095568657,
0.02614966221153736,
-0.007768233772367239,
0.0068126339465379715,
-0.09602107107639313,
0.0795489028096199,
0.0011869706213474274,
-0.1530928760766983,
0.05223895236849785,
0.17980998754501343,
-0.16068919003009796,
-0.1422910988330841,
-0.0063567860051989555,
0.08252038061618805,
-0.11433947831392288,
-0.08877219259738922,
-0.047779299318790436,
-0.1523759663105011,
0.05436775088310242,
0.21252092719078064,
0.06073818728327751,
0.04003443568944931,
0.022906100377440453,
-0.031217562034726143,
0.009622693061828613,
0.07256295531988144,
0.015896683558821678,
-0.05158095806837082,
-0.1176726371049881,
0.06890557706356049,
-0.021055353805422783,
0.08531837165355682,
-0.08509354293346405,
-0.015626559033989906,
-0.130788192152977,
0.02334149181842804,
-0.09900712966918945,
-0.05231092870235443,
-0.09396035224199295,
-0.05254584550857544,
-0.035597193986177444,
-0.08317457139492035,
-0.03162378445267677,
-0.03174075111746788,
-0.10002589225769043,
0.03910914808511734,
-0.030980143696069717,
0.06486043334007263,
-0.120843306183815,
-0.0014171800576150417,
0.027588624507188797,
-0.004780941642820835,
0.15134064853191376,
0.18169544637203217,
-0.10231974720954895,
0.14483512938022614,
-0.21791499853134155,
0.0072609554044902325,
0.10842026770114899,
0.012569447979331017,
0.03232651576399803,
0.10224977880716324,
-0.004789559170603752,
0.09056201577186584,
0.038663048297166824,
0.08061608672142029,
0.027661051601171494,
-0.09770592302083969,
0.04412543401122093,
-0.010436411015689373,
-0.09873262792825699,
-0.0027800172101706266,
-0.0251764003187418,
0.04222813993692398,
-0.016048576682806015,
0.20738092064857483,
-0.1438230574131012,
0.10527101904153824,
-0.06418133527040482,
0.046544432640075684,
0.005173601675778627,
-0.16033819317817688,
-0.16462063789367676,
-0.09231526404619217,
0.035760171711444855,
-0.03077864646911621,
0.18647544085979462,
0.07166264206171036,
-0.019975898787379265,
0.09647051244974136,
0.008527932688593864,
-0.03725871071219444,
0.03572466969490051,
0.1880839616060257,
0.018211301416158676,
-0.047982364892959595,
-0.14284706115722656,
0.018266957253217697,
-0.023057224228978157,
-0.1337127834558487,
0.148147314786911,
0.11447399854660034,
-0.01971498690545559,
0.058381322771310806,
0.056523408740758896,
0.016834313049912453,
-0.020361239090561867,
-0.1942286193370819,
-0.072970449924469,
0.029016662389039993,
-0.07580800354480743,
0.1561594158411026,
0.24145357310771942,
-0.02309230901300907,
0.008893885649740696,
-0.04446740075945854,
-0.020124685019254684,
-0.14348390698432922,
-0.15254968404769897,
-0.09500208497047424,
-0.14007660746574402,
0.01710496097803116,
-0.0790504440665245,
0.04636688530445099,
-0.04058108478784561,
0.09281695634126663,
-0.11607233434915543,
0.09332341700792313,
0.048866525292396545,
-0.0897630900144577,
0.08154524117708206,
-0.01293283049017191,
0.04970647394657135,
0.004728829022496939,
-0.05696084350347519,
-0.07090658694505692,
-0.056991979479789734,
-0.06556496024131775,
0.08253484219312668,
-0.06282101571559906,
0.007662590127438307,
-0.11353769153356552,
-0.08453527092933655,
-0.0012909139040857553,
0.09294354170560837,
0.06405004113912582,
0.16366071999073029,
0.015556197613477707,
-0.014016981236636639,
0.025758061558008194,
0.26821351051330566,
-0.00696670264005661,
-0.19168294966220856,
0.017340397462248802,
0.22423315048217773,
0.04888208210468292,
0.11394792050123215,
-0.021114341914653778,
0.002524921903386712,
-0.08014784753322601,
0.27055299282073975,
0.3682991862297058,
0.014728037640452385,
0.06184381991624832,
-0.09066232293844223,
0.06387757509946823,
0.06835374981164932,
0.12344752252101898,
0.07838521152734756,
0.24227449297904968,
-0.03811012953519821,
0.05349993705749512,
-0.07424107939004898,
0.05265779793262482,
-0.15237237513065338,
0.057514071464538574,
0.026419689878821373,
-0.09846664220094681,
0.0038939279038459063,
0.1401059627532959,
-0.16384156048297882,
0.07903552055358887,
-0.11871272325515747,
-0.18125206232070923,
-0.022709699347615242,
0.03439037501811981,
0.20684541761875153,
0.03595166653394699,
0.09494830667972565,
0.00270651001483202,
-0.06069188565015793,
-0.02796686813235283,
0.036945875734090805,
-0.14410269260406494,
0.01916646957397461,
0.05318412184715271,
-0.11193734407424927,
0.02307656779885292,
-0.014541991986334324,
0.1238335594534874,
0.08623085916042328,
0.052160561084747314,
-0.04359699413180351,
0.09989722073078156,
0.05088267847895622,
-0.025412095710635185,
0.028967494145035744,
-0.046242039650678635,
0.017824416980147362,
-0.07549374550580978,
0.0921575203537941,
-0.14237771928310394,
0.05978979170322418,
-0.009951861575245857,
-0.051432106643915176,
-0.00876113772392273,
0.17691455781459808,
-0.07691876590251923,
0.030404366552829742,
0.09099689871072769,
-0.051195789128541946,
-0.024717243388295174,
-0.04349310323596001,
-0.012466914020478725,
0.024066582322120667,
-0.13608795404434204,
-0.03571136295795441,
-0.129350945353508,
-0.07258971780538559,
0.10273177176713943,
0.03053804486989975,
-0.17553657293319702,
0.021641943603754044,
-0.13710527122020721,
0.08475295454263687,
-0.21031798422336578,
0.0667814314365387,
0.10404393821954727,
0.003119156463071704,
0.020992299541831017,
-0.07791978865861893,
0.07186800241470337,
0.08520552515983582,
-0.09834219515323639,
-0.07912960648536682
] |
null | null |
transformers
|
A version of https://huggingface.co/cointegrated/rut5-small-chitchat which is more dull but less toxic.
|
{}
|
text2text-generation
|
cointegrated/rut5-small-chitchat2
|
[
"transformers",
"pytorch",
"safetensors",
"t5",
"text2text-generation",
"autotrain_compatible",
"endpoints_compatible",
"text-generation-inference",
"region:us"
] |
2022-03-02T23:29:05+00:00
|
[] |
[] |
TAGS
#transformers #pytorch #safetensors #t5 #text2text-generation #autotrain_compatible #endpoints_compatible #text-generation-inference #region-us
|
A version of URL which is more dull but less toxic.
|
[] |
[
"TAGS\n#transformers #pytorch #safetensors #t5 #text2text-generation #autotrain_compatible #endpoints_compatible #text-generation-inference #region-us \n"
] |
[
53
] |
[
"passage: TAGS\n#transformers #pytorch #safetensors #t5 #text2text-generation #autotrain_compatible #endpoints_compatible #text-generation-inference #region-us \n"
] |
[
-0.03377141058444977,
-0.003745593596249819,
-0.007077177986502647,
0.015926474705338478,
0.15023984014987946,
-0.006476883310824633,
0.13943396508693695,
0.1118120327591896,
-0.025657059624791145,
-0.007798910140991211,
0.13136781752109528,
0.19958409667015076,
-0.016292328014969826,
0.11656646430492401,
-0.11345863342285156,
-0.2169826626777649,
0.06709560751914978,
0.028220243752002716,
0.0273275189101696,
0.13257019221782684,
0.0836888998746872,
-0.07632336765527725,
0.07239097356796265,
-0.05701868608593941,
-0.12992282211780548,
0.03771215304732323,
0.07136104255914688,
-0.14322081208229065,
0.12595289945602417,
0.024595588445663452,
0.1379586160182953,
0.057896729558706284,
-0.04695707932114601,
-0.1445016711950302,
0.031029798090457916,
0.040322113782167435,
-0.07234808802604675,
0.04754449427127838,
0.12798257172107697,
-0.1006346046924591,
0.05993106961250305,
0.02279851585626602,
-0.0012675796169787645,
0.05765450745820999,
-0.1387811154127121,
-0.017660411074757576,
-0.014391811564564705,
0.02860288880765438,
0.08773210644721985,
0.10433171689510345,
-0.014872987754642963,
0.17580358684062958,
-0.0955890417098999,
0.14439424872398376,
0.14725646376609802,
-0.3242788016796112,
0.00921033974736929,
0.031441859900951385,
0.05209527909755707,
0.07756508141756058,
-0.021807687357068062,
0.03653646260499954,
0.04334775358438492,
0.0211240965873003,
0.0557575598359108,
-0.0591321624815464,
-0.16579481959342957,
0.012252157554030418,
-0.09729479253292084,
-0.058271605521440506,
0.21409489214420319,
-0.0641733705997467,
0.04811033979058266,
-0.04527248442173004,
-0.13957974314689636,
-0.04318782687187195,
0.008726393803954124,
-0.008506997488439083,
-0.051836103200912476,
0.0440252460539341,
0.024450846016407013,
-0.021385038271546364,
-0.14759482443332672,
-0.013113442808389664,
-0.17653225362300873,
0.16041432321071625,
0.021397247910499573,
0.045559801161289215,
-0.21374231576919556,
0.09200634807348251,
0.0700211375951767,
-0.11899223923683167,
0.06871204078197479,
-0.1002940833568573,
0.042554739862680435,
-0.01666349545121193,
-0.039434049278497696,
-0.1532611846923828,
0.10591952502727509,
0.09575828909873962,
-0.0485340915620327,
0.021991245448589325,
-0.08767910301685333,
0.06913396716117859,
0.010197714902460575,
0.05146939307451248,
-0.0016133894678205252,
-0.00196287059225142,
0.08144555240869522,
-0.07096095383167267,
0.03532790020108223,
-0.052831899374723434,
-0.11256487667560577,
-0.03962046280503273,
0.12520207464694977,
0.1297004371881485,
0.020174702629446983,
0.10418291389942169,
-0.043683312833309174,
0.0024855867959558964,
0.05075690150260925,
-0.10369082540273666,
-0.028825540095567703,
0.020987121388316154,
0.03539382293820381,
0.0806262344121933,
0.017569126561284065,
0.0029038162901997566,
-0.15243157744407654,
0.06981374323368073,
-0.062352441251277924,
-0.01972038671374321,
-0.02050848677754402,
-0.08664821833372116,
0.03680708631873131,
-0.08990742266178131,
0.007737111300230026,
-0.19634804129600525,
-0.15592128038406372,
0.02203206717967987,
-0.01612916588783264,
0.006299854256212711,
-0.01979300007224083,
-0.0331198051571846,
-0.05133051797747612,
0.02613910846412182,
-0.06653366982936859,
-0.03274922072887421,
-0.049680791795253754,
0.11432015895843506,
-0.030299240723252296,
0.05496440827846527,
-0.0952409952878952,
0.04945831000804901,
-0.14913687109947205,
-0.016430683434009552,
-0.0818200409412384,
0.03994885832071304,
0.005096016451716423,
0.14260287582874298,
-0.0160849429666996,
-0.03095010668039322,
-0.07227818667888641,
0.039837975054979324,
-0.01044519990682602,
0.2175402194261551,
-0.09192696213722229,
-0.07830129563808441,
0.27362775802612305,
-0.13748562335968018,
-0.18670697510242462,
0.10951582342386246,
0.011312685906887054,
0.015411903150379658,
0.1050235778093338,
0.18298408389091492,
0.042651887983083725,
-0.033480484038591385,
0.06491848826408386,
0.08971593528985977,
-0.11891505122184753,
-0.07519280165433884,
-0.009287516586482525,
-0.015203967690467834,
-0.13781429827213287,
0.03626652806997299,
0.08409340679645538,
0.06735733896493912,
-0.05470786243677139,
-0.035051487386226654,
-0.05666583776473999,
-0.02510947734117508,
0.10491602122783661,
0.0024616559967398643,
0.09541375190019608,
-0.09413275122642517,
-0.022714493796229362,
-0.03655283525586128,
-0.018401356413960457,
-0.03490344434976578,
0.02756301686167717,
-0.04289869964122772,
0.12100216746330261,
-0.018408888950943947,
0.04620787501335144,
-0.18254144489765167,
-0.11201253533363342,
-0.0009167988901026547,
0.1318231225013733,
-0.03396829217672348,
0.03653242439031601,
0.06684734672307968,
0.01746862567961216,
-0.008063370361924171,
-0.0585893839597702,
0.1517564207315445,
0.005073773209005594,
-0.06464318186044693,
-0.07385889440774918,
0.07122418284416199,
-0.0743880495429039,
0.0027785112615674734,
-0.09104128181934357,
0.033032067120075226,
0.034626565873622894,
0.1190398558974266,
0.03599441424012184,
0.05477023497223854,
-0.00547143816947937,
0.019131546840071678,
-0.082149937748909,
-0.0002467703016009182,
0.09202005714178085,
-0.0013557724887505174,
-0.0658516138792038,
0.1816844642162323,
-0.2206447720527649,
0.27899327874183655,
0.1952611654996872,
-0.25086602568626404,
-0.0012796903029084206,
-0.05046873167157173,
-0.024302635341882706,
0.009012717753648758,
0.03184465691447258,
-0.0345887765288353,
0.027030693367123604,
0.001853116787970066,
0.18939761817455292,
-0.08032318949699402,
-0.054692208766937256,
0.01696394570171833,
-0.06572432816028595,
-0.00889666099101305,
0.07407653331756592,
0.02037988230586052,
-0.1779056042432785,
0.16426484286785126,
0.22829000651836395,
0.027782881632447243,
0.16066794097423553,
-0.028732746839523315,
-0.02422960102558136,
0.08590903878211975,
0.04938225448131561,
-0.01929461769759655,
-0.08733335882425308,
-0.14706960320472717,
-0.005799298640340567,
0.06671525537967682,
0.0331944115459919,
0.08133633434772491,
-0.1257777363061905,
-0.035219352692365646,
-0.006054159719496965,
-0.012105356901884079,
-0.003764690598472953,
0.0796225368976593,
0.06869948655366898,
0.14668452739715576,
-0.05436272919178009,
-0.03170657530426979,
0.11321033537387848,
0.00015288108261302114,
-0.12897004187107086,
0.2123214155435562,
-0.13112705945968628,
-0.3500449061393738,
-0.13757392764091492,
-0.11543409526348114,
-0.03425056114792824,
0.049044664949178696,
0.11867399513721466,
-0.10487551987171173,
-0.03322828188538551,
-0.04367593675851822,
0.05243159830570221,
-0.018740419298410416,
0.03871375694870949,
-0.07467611879110336,
0.06334592401981354,
-0.030497698113322258,
-0.08794684708118439,
-0.044612616300582886,
-0.014233731664717197,
-0.07277482002973557,
0.17241479456424713,
-0.09266693890094757,
0.0668841153383255,
0.18045181035995483,
-0.016993017867207527,
0.028631146997213364,
-0.05303109064698219,
0.14800941944122314,
-0.04461478441953659,
0.01375314686447382,
0.22711209952831268,
-0.08001486957073212,
0.08442170172929764,
0.13770505785942078,
-0.017544003203511238,
-0.06983531266450882,
0.06103195995092392,
-0.044184040278196335,
-0.07595254480838776,
-0.2756068706512451,
-0.11204160004854202,
-0.08640793710947037,
0.09454400837421417,
0.0423872135579586,
0.06168362498283386,
0.14293476939201355,
0.07982627302408218,
-0.026545649394392967,
-0.017556235194206238,
0.05370455980300903,
0.07733133435249329,
0.15720555186271667,
-0.005690626800060272,
0.1323367953300476,
-0.06866185367107391,
-0.1374557614326477,
0.07789924740791321,
0.03124650940299034,
0.1188078373670578,
0.030104506760835648,
0.008319568820297718,
0.023836743086576462,
0.10297903418540955,
0.13139384984970093,
0.1894381046295166,
0.026262784376740456,
-0.019559551030397415,
-0.004390801768749952,
-0.04527071490883827,
-0.04632410407066345,
0.005232527386397123,
-0.05393552780151367,
-0.09760570526123047,
-0.11102256178855896,
-0.04306785762310028,
0.10439226031303406,
0.11319441348314285,
0.06409615278244019,
-0.24357296526432037,
0.014975793659687042,
0.07834149152040482,
-0.024965938180685043,
-0.10637930035591125,
0.09881669282913208,
0.03594942018389702,
-0.100346140563488,
0.06649982929229736,
-0.05797400325536728,
0.09252319484949112,
-0.017963960766792297,
0.09135888516902924,
-0.06754805147647858,
-0.06569375842809677,
0.001795212971046567,
0.1027810350060463,
-0.30664128065109253,
0.21309952437877655,
-0.0037217072676867247,
-0.025047482922673225,
-0.09849151968955994,
-0.004999948665499687,
0.007853175513446331,
0.13927894830703735,
0.1269538551568985,
-0.008631451986730099,
-0.04300468787550926,
-0.09366187453269958,
-0.03393619880080223,
0.029339255765080452,
0.13599267601966858,
-0.003882002318277955,
0.024050777778029442,
-0.05330795422196388,
-0.020071966573596,
-0.011867654509842396,
-0.04880012571811676,
-0.04167436808347702,
-0.13399125635623932,
0.045096591114997864,
0.03687914088368416,
0.08018416166305542,
-0.029286285862326622,
-0.029924293980002403,
-0.08495460450649261,
0.18391413986682892,
-0.08039867132902145,
-0.10481857508420944,
-0.1130494549870491,
-0.07894527167081833,
0.038760870695114136,
-0.07807409018278122,
0.057537633925676346,
-0.06734679639339447,
0.038105323910713196,
-0.05970871075987816,
-0.21811847388744354,
0.12083312124013901,
-0.11055193096399307,
-0.08112946152687073,
-0.03567899018526077,
0.19915169477462769,
-0.08093933761119843,
-0.02490564063191414,
0.03287874907255173,
-0.0011195815168321133,
-0.06662339717149734,
-0.07380814850330353,
-0.004146885592490435,
-0.02036297880113125,
0.05965490639209747,
0.05569986626505852,
-0.09592974931001663,
-0.14444118738174438,
-0.03748392313718796,
0.004540481138974428,
0.29715046286582947,
0.1749718189239502,
-0.039292190223932266,
0.14324459433555603,
0.1646946221590042,
-0.06211446225643158,
-0.32555091381073,
-0.09436287730932236,
-0.11789409071207047,
-0.042933352291584015,
-0.004685397259891033,
-0.10199544578790665,
0.08977453410625458,
0.00903297122567892,
-0.015059919096529484,
0.09528990089893341,
-0.23658062517642975,
-0.09222576767206192,
0.17211642861366272,
0.057134486734867096,
0.3269825577735901,
-0.1469692587852478,
-0.08998095244169235,
-0.04387739673256874,
-0.10736225545406342,
0.15702003240585327,
-0.13732002675533295,
0.06546386331319809,
-0.0143206138163805,
0.051734741777181625,
0.05975619703531265,
-0.06288478523492813,
0.04381219297647476,
-0.024078678339719772,
0.042893778532743454,
-0.12052813917398453,
-0.027817687019705772,
0.07268507778644562,
-0.020974114537239075,
0.05706944316625595,
-0.0718645378947258,
0.06912804394960403,
-0.05739752948284149,
-0.034558650106191635,
-0.07966513186693192,
0.06899408251047134,
0.017969118431210518,
-0.06390142440795898,
0.034122876822948456,
-0.07273155450820923,
0.024045687168836594,
-0.007382215466350317,
0.1874428242444992,
-0.03458675369620323,
0.18709225952625275,
0.17667093873023987,
0.1510971337556839,
-0.10212135314941406,
0.07814952731132507,
-0.0556698814034462,
-0.08300277590751648,
0.06652552634477615,
-0.07258337736129761,
0.07576417177915573,
0.1046089380979538,
-0.03932522237300873,
0.05567764490842819,
0.10839525610208511,
0.01662464439868927,
-0.023773783817887306,
0.14955763518810272,
-0.28128793835639954,
-0.009873750619590282,
-0.07691800594329834,
-0.008703523315489292,
0.039052560925483704,
0.11223042756319046,
0.1777687966823578,
0.017956340685486794,
-0.025110214948654175,
-0.028430359438061714,
0.019110485911369324,
-0.03340765833854675,
0.08270938694477081,
0.024653973057866096,
0.03749255836009979,
-0.12081151455640793,
0.09678961336612701,
0.018579265102744102,
-0.15317969024181366,
0.012679996900260448,
0.17759168148040771,
-0.15349869430065155,
-0.1263720691204071,
0.017843790352344513,
0.11983443051576614,
-0.08611490577459335,
-0.057090166956186295,
-0.07028166949748993,
-0.1504032015800476,
0.057957135140895844,
0.23277345299720764,
0.05173589289188385,
0.09900384396314621,
-0.00882661622017622,
-0.04494570195674896,
-0.05560744181275368,
0.046427011489868164,
0.022703813388943672,
0.03152000531554222,
-0.12372815608978271,
0.09356994181871414,
-0.03043963573873043,
0.12374208122491837,
-0.09544230252504349,
-0.031899239867925644,
-0.15296372771263123,
0.027573807165026665,
-0.13555258512496948,
-0.0242990143597126,
-0.05913745239377022,
-0.03970114886760712,
-0.021438652649521828,
-0.008129797875881195,
-0.02464146539568901,
-0.03238646686077118,
-0.08965876698493958,
0.03521868586540222,
-0.025383181869983673,
0.019518161192536354,
-0.10164330899715424,
-0.028402304276823997,
0.05364561825990677,
-0.05343049392104149,
0.14074988663196564,
0.1147075891494751,
-0.1228610947728157,
0.1220439001917839,
-0.20692269504070282,
-0.09320499747991562,
0.1247253566980362,
0.0031567509286105633,
0.02877017855644226,
0.07406997680664062,
0.01803945004940033,
0.09038735181093216,
-0.0037275725044310093,
0.041068561375141144,
0.03904537111520767,
-0.10835062712430954,
0.0537957064807415,
-0.013691408559679985,
-0.13590946793556213,
-0.05937885120511055,
-0.06221901997923851,
0.03375997021794319,
-0.028628654778003693,
0.14162401854991913,
-0.08067537844181061,
0.10022095590829849,
-0.0844266265630722,
0.01348754670470953,
0.014811517670750618,
-0.17513328790664673,
-0.11433488130569458,
-0.043818533420562744,
0.04088956490159035,
-0.017380746081471443,
0.1929698884487152,
0.023067723959684372,
0.02692408859729767,
0.03216556832194328,
0.05076449364423752,
0.024071430787444115,
0.035377174615859985,
0.22308112680912018,
0.04262957721948624,
-0.07584645599126816,
-0.13304561376571655,
0.01831783913075924,
0.00927785225212574,
-0.03416908159852028,
0.16079497337341309,
0.07214422523975372,
-0.054697439074516296,
0.0820557251572609,
-0.006049701943993568,
0.03509305790066719,
-0.08891665935516357,
-0.1882639080286026,
-0.027205713093280792,
0.05019373074173927,
0.0023320061154663563,
0.07837031036615372,
0.1901959478855133,
0.010290713980793953,
0.004306815564632416,
-0.023898808285593987,
-0.05348346009850502,
-0.18366628885269165,
-0.13350901007652283,
-0.09239399433135986,
-0.09129210561513901,
0.003255362156778574,
-0.10872134566307068,
0.024390894919633865,
0.04455147311091423,
0.06646158546209335,
-0.06073542684316635,
0.1473955512046814,
0.08896403014659882,
-0.07801198959350586,
0.07117721438407898,
-0.01780334860086441,
0.06254850327968597,
0.03570236265659332,
-0.0328870564699173,
-0.07894306629896164,
0.0011720210313796997,
-0.03748229146003723,
0.04616250470280647,
-0.04737895354628563,
0.045220233500003815,
-0.14947400987148285,
-0.10546740889549255,
-0.01845165528357029,
0.06368082761764526,
-0.03925991803407669,
0.12999439239501953,
0.025686029344797134,
-0.03408705070614815,
0.03806775063276291,
0.22717328369617462,
-0.06706792861223221,
-0.12804058194160461,
-0.032084085047245026,
0.245566725730896,
0.04353565350174904,
0.09972580522298813,
0.008830278180539608,
-0.023777171969413757,
-0.053919486701488495,
0.32499855756759644,
0.27870017290115356,
-0.045939624309539795,
0.04848422110080719,
-0.02645430900156498,
0.02967064268887043,
0.08533251285552979,
0.15119066834449768,
0.09808921813964844,
0.27552706003189087,
-0.0556669645011425,
0.013453694991767406,
-0.0136133823543787,
0.007812326308339834,
-0.12184473872184753,
0.10684652626514435,
0.02503613755106926,
-0.05390141159296036,
-0.03650160878896713,
0.10169649124145508,
-0.19559593498706818,
0.12764312326908112,
-0.09891950339078903,
-0.14033344388008118,
-0.04259235039353371,
-0.007565367501229048,
0.1500301957130432,
-0.01375849824398756,
0.07171119004487991,
-0.014474024996161461,
-0.08438310772180557,
0.02329462207853794,
0.01825340837240219,
-0.17486833035945892,
0.02703937701880932,
0.02301861345767975,
-0.10156653076410294,
0.04294391721487045,
0.006778769660741091,
0.04868150129914284,
0.0723932534456253,
0.03916607424616814,
-0.06276191025972366,
0.09794819355010986,
0.0005644538905471563,
-0.021360531449317932,
0.0441475547850132,
0.038873087614774704,
0.014290844090282917,
-0.08564504981040955,
0.048733651638031006,
-0.15478314459323883,
0.03370216488838196,
-0.007873368449509144,
-0.052498213946819305,
-0.017468251287937164,
0.017448626458644867,
-0.027501827105879784,
0.04896531254053116,
0.07863836735486984,
-0.020524542778730392,
0.032693713903427124,
-0.0741741806268692,
-0.0125277079641819,
-0.005703784059733152,
-0.10463164001703262,
-0.050666071474552155,
-0.13572050631046295,
-0.06948401033878326,
0.1485082358121872,
0.005847989581525326,
-0.24800902605056763,
0.01754014566540718,
-0.12235534191131592,
0.041041694581508636,
-0.23508195579051971,
0.07975555956363678,
0.12098892033100128,
0.018161464482545853,
0.007574682589620352,
-0.011579309590160847,
0.03700852766633034,
0.11358796805143356,
-0.09846764802932739,
-0.09826955944299698
] |
null | null |
transformers
|
This is a small Russian denoising autoencoder. It can be used for restoring corrupted sentences.
This model was produced by fine-tuning the [rut5-small](https://huggingface.co/cointegrated/rut5-small) model on the task of reconstructing a sentence:
* restoring word positions (after slightly shuffling them)
* restoring dropped words and punctuation marks (after dropping some of them randomly)
* restoring inflection of words (after changing their inflection randomly using [natasha](https://github.com/natasha/natasha) and [pymorphy2](https://github.com/kmike/pymorphy2) packages)
The fine-tuning was performed on a [Leipzig web corpus](https://wortschatz.uni-leipzig.de/en/download/Russian) of Russian sentences.
The model can be applied as follows:
```
# !pip install transformers sentencepiece
import torch
from transformers import T5ForConditionalGeneration, T5Tokenizer
tokenizer = T5Tokenizer.from_pretrained("cointegrated/rut5-small-normalizer")
model = T5ForConditionalGeneration.from_pretrained("cointegrated/rut5-small-normalizer")
text = 'меня тобой не понимать'
inputs = tokenizer(text, return_tensors='pt')
with torch.no_grad():
hypotheses = model.generate(
**inputs,
do_sample=True, top_p=0.95,
num_return_sequences=5,
repetition_penalty=2.5,
max_length=32,
)
for h in hypotheses:
print(tokenizer.decode(h, skip_special_tokens=True))
```
A possible output is:
```
# Мне тебя не понимать.
# Если бы ты понимаешь меня?
# Я с тобой не понимаю.
# Я тебя не понимаю.
# Я не понимаю о чем ты.
```
|
{"language": "ru", "license": "mit", "tags": ["normalization", "denoising autoencoder", "russian"], "widget": [{"text": "\u043c\u0435\u043d\u044f \u0442\u043e\u0431\u043e\u0439 \u043d\u0435 \u043f\u043e\u043d\u0438\u043c\u0430\u0442\u044c"}]}
|
text2text-generation
|
cointegrated/rut5-small-normalizer
|
[
"transformers",
"pytorch",
"jax",
"safetensors",
"t5",
"text2text-generation",
"normalization",
"denoising autoencoder",
"russian",
"ru",
"license:mit",
"autotrain_compatible",
"endpoints_compatible",
"text-generation-inference",
"region:us"
] |
2022-03-02T23:29:05+00:00
|
[] |
[
"ru"
] |
TAGS
#transformers #pytorch #jax #safetensors #t5 #text2text-generation #normalization #denoising autoencoder #russian #ru #license-mit #autotrain_compatible #endpoints_compatible #text-generation-inference #region-us
|
This is a small Russian denoising autoencoder. It can be used for restoring corrupted sentences.
This model was produced by fine-tuning the rut5-small model on the task of reconstructing a sentence:
* restoring word positions (after slightly shuffling them)
* restoring dropped words and punctuation marks (after dropping some of them randomly)
* restoring inflection of words (after changing their inflection randomly using natasha and pymorphy2 packages)
The fine-tuning was performed on a Leipzig web corpus of Russian sentences.
The model can be applied as follows:
A possible output is:
|
[] |
[
"TAGS\n#transformers #pytorch #jax #safetensors #t5 #text2text-generation #normalization #denoising autoencoder #russian #ru #license-mit #autotrain_compatible #endpoints_compatible #text-generation-inference #region-us \n"
] |
[
76
] |
[
"passage: TAGS\n#transformers #pytorch #jax #safetensors #t5 #text2text-generation #normalization #denoising autoencoder #russian #ru #license-mit #autotrain_compatible #endpoints_compatible #text-generation-inference #region-us \n"
] |
[
0.010965581983327866,
0.00896645337343216,
-0.00771294254809618,
0.0022704750299453735,
0.12801066040992737,
-0.024192823097109795,
0.19167636334896088,
0.07509920001029968,
0.020359095185995102,
-0.029901674017310143,
0.16945180296897888,
0.14730441570281982,
-0.04016115143895149,
0.17186208069324493,
-0.0965040847659111,
-0.21464106440544128,
0.08401315659284592,
0.007384284399449825,
0.041850730776786804,
0.10799406468868256,
0.1379198282957077,
-0.06181227043271065,
0.06346247345209122,
-0.05233435705304146,
-0.08772929012775421,
0.06203974410891533,
0.09325066953897476,
-0.14408919215202332,
0.10340949147939682,
0.05437284708023071,
0.056689608842134476,
0.10755594819784164,
-0.013898171484470367,
-0.16042815148830414,
0.024154333397746086,
-0.020029451698064804,
-0.12850075960159302,
0.035290129482746124,
0.13141721487045288,
-0.044294215738773346,
0.17433400452136993,
-0.03660192713141441,
-0.024082398042082787,
0.06198319047689438,
-0.10114096105098724,
-0.06454325467348099,
-0.07157251983880997,
0.06876562535762787,
0.05621926113963127,
0.12240590900182724,
-0.03302197530865669,
0.15863922238349915,
-0.07832008600234985,
0.13122069835662842,
0.0842844769358635,
-0.38287338614463806,
-0.008570266887545586,
0.10557369142770767,
0.03277834877371788,
0.09204676002264023,
0.01619015634059906,
0.09421949833631516,
0.05741032958030701,
-0.02644755318760872,
0.04337925836443901,
-0.04273436218500137,
-0.028945188969373703,
-0.006222651340067387,
-0.06918338686227798,
-0.0350564643740654,
0.2145649492740631,
-0.04628231003880501,
0.060254357755184174,
-0.05703340843319893,
-0.07363574951887131,
-0.0610501654446125,
0.0004609651805367321,
0.018507545813918114,
-0.04599383473396301,
0.064946748316288,
0.029239047318696976,
-0.06553541123867035,
-0.1435970664024353,
0.009741323068737984,
-0.14481370151042938,
0.18177451193332672,
0.04469009116292,
0.035463374108076096,
-0.1287512332201004,
0.02050354704260826,
0.0222322978079319,
-0.11872686445713043,
0.0909716933965683,
-0.06891392916440964,
0.055078327655792236,
0.01790453866124153,
-0.05886261910200119,
-0.12027754634618759,
0.1288243979215622,
0.15460409224033356,
-0.0923493355512619,
0.042552828788757324,
-0.046214401721954346,
0.11215145885944366,
-0.03998154029250145,
0.058439355343580246,
0.030770456418395042,
0.030294198542833328,
0.06121872738003731,
-0.09017642587423325,
0.050104428082704544,
-0.027240166440606117,
-0.164537712931633,
-0.04827726632356644,
0.10447996854782104,
0.14427168667316437,
-0.0115432720631361,
0.11270520836114883,
-0.016255896538496017,
0.06183359771966934,
0.08084608614444733,
-0.0776963084936142,
-0.006691634654998779,
-0.026014277711510658,
0.0362665131688118,
0.032513052225112915,
-0.05722140148282051,
-0.0011529868934303522,
-0.11069593578577042,
0.13039489090442657,
-0.0054893484339118,
0.01606573536992073,
-0.01649269461631775,
-0.08781526982784271,
0.057213135063648224,
-0.13366171717643738,
0.03782259300351143,
-0.1856101155281067,
-0.12565037608146667,
0.016661327332258224,
0.019042223691940308,
-0.009952284395694733,
-0.030398275703191757,
-0.026164699345827103,
-0.09476704150438309,
0.03325318545103073,
-0.0771704763174057,
-0.07130853831768036,
-0.08259297907352448,
0.08741973340511322,
-0.06947970390319824,
0.049880702048540115,
-0.14172539114952087,
0.01543688215315342,
-0.16286085546016693,
-0.05444522947072983,
-0.002018677769228816,
0.015505433082580566,
-0.06293584406375885,
0.1137833446264267,
-0.003142265137284994,
-0.036666300147771835,
-0.01287735067307949,
0.0528663769364357,
-0.011499868705868721,
0.16292804479599,
-0.14611299335956573,
-0.06325546652078629,
0.27383995056152344,
-0.15118983387947083,
-0.10454795509576797,
0.11004070192575455,
0.007633638568222523,
-0.017925789579749107,
0.11493530124425888,
0.18355527520179749,
-0.05339435487985611,
-0.058238435536623,
0.023020992055535316,
0.026232361793518066,
-0.1234702616930008,
-0.021394964307546616,
-0.008856182917952538,
-0.0007826061919331551,
-0.11452057212591171,
0.05952221155166626,
0.05059034377336502,
0.0549573078751564,
-0.05261321738362312,
-0.0750156044960022,
-0.04540209099650383,
-0.00922047346830368,
0.10960152000188828,
-0.022041847929358482,
0.07812747359275818,
-0.14877507090568542,
-0.06215444207191467,
-0.1165848970413208,
-0.01441240031272173,
0.028800133615732193,
0.03315817564725876,
-0.09970375150442123,
0.0965469479560852,
0.04002225771546364,
0.08171484619379044,
-0.14405794441699982,
-0.03862033784389496,
-0.012502850964665413,
0.10119166225194931,
0.03792759031057358,
0.03892286866903305,
0.045085061341524124,
-0.014759923331439495,
-0.06286713480949402,
-0.07205107808113098,
0.11219222843647003,
-0.009312930516898632,
-0.020724883303046227,
-0.1341654360294342,
0.09483420848846436,
-0.05546922609210014,
-0.03273620456457138,
-0.08769677579402924,
0.030644482001662254,
0.03063313290476799,
0.095921590924263,
-0.0005637397989630699,
0.11235606670379639,
-0.07704127579927444,
0.046050406992435455,
-0.09242608398199081,
0.03548000007867813,
0.09000162035226822,
-0.016208458691835403,
-0.13146117329597473,
0.2284706085920334,
-0.15241025388240814,
0.3228023648262024,
0.2300606518983841,
-0.17300540208816528,
-0.012790590524673462,
-0.011609496548771858,
-0.0055417874827980995,
0.028538167476654053,
0.09959378838539124,
0.05580195039510727,
0.003922813571989536,
0.0058803316205739975,
0.1463303565979004,
-0.07388586550951004,
-0.007491983473300934,
0.02705981209874153,
-0.08538751304149628,
-0.08698928356170654,
0.08502473682165146,
0.08910199999809265,
-0.2479134052991867,
0.15643079578876495,
0.23801390826702118,
0.006928025279194117,
0.24073345959186554,
-0.058256883174180984,
0.019129019230604172,
0.07763443887233734,
0.002099603181704879,
-0.013463340699672699,
0.01974339969456196,
-0.031213808804750443,
-0.009531675837934017,
0.05033917352557182,
0.023388110101222992,
0.04845661669969559,
-0.10525073111057281,
-0.053429920226335526,
-0.054123371839523315,
-0.05768932029604912,
-0.0022784904576838017,
0.12486539036035538,
0.017744967713952065,
0.1588960438966751,
-0.07051675021648407,
-0.07707361876964569,
0.09929995238780975,
0.003592301858589053,
-0.0797690600156784,
0.14989551901817322,
-0.15196441113948822,
-0.2700207233428955,
-0.10747353732585907,
-0.045720312744379044,
-0.07738325744867325,
0.03563367947936058,
0.1364881545305252,
-0.1521727740764618,
-0.04350542277097702,
-0.03150007873773575,
0.001757695572450757,
-0.024336498230695724,
0.011603192426264286,
-0.07669536769390106,
0.08066786825656891,
-0.006899251602590084,
-0.055848799645900726,
-0.08083980530500412,
-0.010314355604350567,
-0.08474753051996231,
0.16990920901298523,
-0.05910313129425049,
0.09145765006542206,
0.0844266265630722,
-0.06352286040782928,
0.01300911046564579,
-0.08396023511886597,
0.08433009684085846,
-0.06229131296277046,
0.008491253480315208,
0.18168997764587402,
-0.024788685142993927,
0.06615334004163742,
0.16370701789855957,
-0.013752833008766174,
-0.06783893704414368,
0.06775074452161789,
-0.02317463979125023,
-0.06351323425769806,
-0.23915734887123108,
-0.16297326982021332,
-0.04998482018709183,
0.10257257521152496,
0.013896229676902294,
0.05629969760775566,
0.14088144898414612,
0.05221223831176758,
-0.07804961502552032,
-0.10710203647613525,
0.11273050308227539,
0.10396672785282135,
0.24393156170845032,
-0.008707965724170208,
0.1721181720495224,
-0.07236253470182419,
-0.0873434841632843,
0.09749267995357513,
-0.057519324123859406,
0.11707395315170288,
0.09108344465494156,
0.00556595716625452,
0.0348786897957325,
0.102473184466362,
0.09943415224552155,
0.11697737872600555,
0.10341848433017731,
-0.019068622961640358,
-0.010854646563529968,
-0.04889361187815666,
-0.009328817948698997,
0.0239628367125988,
-0.06274901330471039,
-0.1418735533952713,
-0.0726909339427948,
-0.012863216921687126,
0.132747083902359,
0.0676572173833847,
0.014989214949309826,
-0.16920024156570435,
-0.029386168345808983,
0.03357687592506409,
-0.0037127502728253603,
-0.0676487535238266,
0.09725829213857651,
-0.026799118146300316,
-0.07950375974178314,
0.12915322184562683,
-0.041653312742710114,
0.10643479973077774,
0.07928790152072906,
0.0952308177947998,
-0.08282914757728577,
-0.07185395807027817,
-0.0018075488042086363,
0.10111021995544434,
-0.3939216732978821,
0.25559431314468384,
0.0019550311844795942,
0.004078850150108337,
-0.08035746961832047,
-0.042035795748233795,
0.01673801615834236,
0.16598939895629883,
0.1048077717423439,
-0.014681071043014526,
-0.16540904343128204,
-0.06496890634298325,
-0.03240214288234711,
0.043796345591545105,
0.1268865168094635,
0.03581244498491287,
0.025039738044142723,
-0.06909500062465668,
-0.003795963479205966,
-0.02758781611919403,
-0.03742707893252373,
-0.131112739443779,
-0.14763088524341583,
0.01571636274456978,
0.09548968076705933,
0.07605524361133575,
-0.04750862717628479,
-0.055963821709156036,
-0.08761627227067947,
0.15862448513507843,
-0.007391524501144886,
-0.09794914722442627,
-0.08083990216255188,
-0.08253923058509827,
0.057025909423828125,
-0.07164712250232697,
0.05099844932556152,
-0.05371277406811714,
0.029555711895227432,
-0.10281471908092499,
-0.18777799606323242,
0.10705143213272095,
-0.08708816766738892,
-0.13917867839336395,
-0.005489591509103775,
0.19204643368721008,
-0.0588502511382103,
0.004340223036706448,
0.028058111667633057,
0.03685159236192703,
-0.03129200264811516,
-0.09373340755701065,
-0.007933476939797401,
-0.052347518503665924,
0.03048611246049404,
0.01418123859912157,
-0.09820036590099335,
-0.19032920897006989,
-0.08153264224529266,
-0.07541368156671524,
0.20332185924053192,
0.314113050699234,
-0.07696197926998138,
0.1657744199037552,
0.13540303707122803,
-0.06327162683010101,
-0.2941027283668518,
-0.1118520051240921,
-0.1322803795337677,
-0.04575980827212334,
0.006194275803864002,
-0.12535949051380157,
-0.021997621282935143,
-0.022517861798405647,
-0.055623818188905716,
0.07571280747652054,
-0.1392362415790558,
-0.11772863566875458,
0.13814011216163635,
-0.00416931789368391,
0.3470497727394104,
-0.10776380449533463,
-0.03806716948747635,
-0.09084393829107285,
-0.07114073634147644,
0.1419532746076584,
-0.02202473394572735,
0.0514814667403698,
-0.00814313255250454,
0.026278048753738403,
0.04982735961675644,
-0.0330340676009655,
0.049730751663446426,
-0.09443189203739166,
0.06780246645212173,
-0.13168393075466156,
-0.012689298018813133,
0.08832921832799911,
0.01832350715994835,
0.06043194606900215,
-0.18109357357025146,
0.041574232280254364,
0.01295316219329834,
-0.06285920739173889,
-0.060485731810331345,
0.07693419605493546,
-0.011925081722438335,
-0.07283614575862885,
-0.018533777445554733,
-0.009709765203297138,
0.010223884135484695,
-0.023166274651885033,
0.2613619863986969,
-0.03910916671156883,
0.12002862989902496,
0.10840260982513428,
0.11493939161300659,
-0.13840188086032867,
0.17979606986045837,
-0.009221118874847889,
-0.09260250627994537,
0.06601516902446747,
-0.05905047059059143,
0.0381467379629612,
0.10790286213159561,
-0.07848387956619263,
0.03413296863436699,
0.06445126235485077,
-0.010076499544084072,
-0.026577550917863846,
0.1433817744255066,
-0.2533264756202698,
-0.03869406506419182,
-0.037935346364974976,
0.022333230823278427,
0.14235493540763855,
0.07581324875354767,
0.1506204605102539,
-0.0497690849006176,
-0.009138040244579315,
-0.0030707307159900665,
0.03195471316576004,
-0.010589619167149067,
0.0483890101313591,
-0.015996616333723068,
-0.01444279681891203,
-0.09707856923341751,
0.10126861184835434,
0.015928152948617935,
-0.16467192769050598,
0.029229694977402687,
0.12058963626623154,
-0.16616550087928772,
-0.13802260160446167,
0.019427180290222168,
0.13319599628448486,
-0.1379045844078064,
-0.10042731463909149,
-0.06339671462774277,
-0.1514805555343628,
0.04203704744577408,
0.1442701369524002,
0.07815305888652802,
0.023512540385127068,
0.023879334330558777,
-0.052123088389635086,
-0.026387661695480347,
0.0577242448925972,
0.007251457776874304,
0.009027702733874321,
-0.1271137297153473,
0.04067958891391754,
-0.02224406972527504,
0.06408291310071945,
-0.08033523708581924,
0.028189221397042274,
-0.09685049951076508,
0.005519303027540445,
-0.11547473818063736,
-0.038826581090688705,
-0.08709129691123962,
-0.0356062576174736,
-0.022987287491559982,
-0.05141586810350418,
-0.007441519293934107,
-0.04236817732453346,
-0.09631303697824478,
-0.0036402703262865543,
-0.018358709290623665,
0.05601914972066879,
-0.09757207334041595,
-0.020048612728714943,
0.017238443717360497,
-0.002595281694084406,
0.1316874474287033,
0.10496598482131958,
-0.07210914045572281,
0.19797782599925995,
-0.20774070918560028,
0.003716208739206195,
0.11912216246128082,
0.014494734816253185,
0.0030559860169887543,
0.10377006232738495,
0.000705431797541678,
0.09611216187477112,
0.0026724517811089754,
0.0788949504494667,
0.0011096373200416565,
-0.10858070850372314,
0.028241479769349098,
-0.023790454491972923,
-0.10330681502819061,
-0.00157429208047688,
-0.010119602084159851,
0.049419254064559937,
-0.005297050811350346,
0.23972971737384796,
-0.1416773796081543,
0.0744759812951088,
-0.046859584748744965,
0.0530388243496418,
-0.010467770509421825,
-0.18516632914543152,
-0.13158032298088074,
-0.08707048743963242,
0.016891103237867355,
-0.04672427847981453,
0.22852762043476105,
0.06418079137802124,
-0.02151680551469326,
0.07262583076953888,
0.0060514346696436405,
-0.04506180062890053,
0.03696266561746597,
0.22090975940227509,
0.018227683380246162,
-0.04359747841954231,
-0.15959544479846954,
0.02633816935122013,
-0.010458343662321568,
-0.10120934247970581,
0.12243151664733887,
0.09711293876171112,
-0.020917989313602448,
0.05553067848086357,
0.007895303890109062,
-0.01503734104335308,
-0.025526925921440125,
-0.10924873501062393,
-0.049112219363451004,
0.07971485704183578,
0.0008820703369565308,
0.12177566438913345,
0.23470160365104675,
-0.028377573937177658,
0.00384518806822598,
-0.04000150039792061,
-0.004126728978008032,
-0.15297552943229675,
-0.15233011543750763,
-0.10724067687988281,
-0.10687977075576782,
0.017017506062984467,
-0.06323740631341934,
0.02558554708957672,
-0.051763664931058884,
0.06391177326440811,
-0.12522180378437042,
0.06265783309936523,
0.051528267562389374,
-0.07518219202756882,
0.09361067414283752,
-0.009400387294590473,
-0.004823189228773117,
0.030785730108618736,
-0.07157844305038452,
-0.08024860918521881,
-0.05386601760983467,
-0.06429353356361389,
0.07037080824375153,
-0.08802109211683273,
0.031326036900281906,
-0.12444226443767548,
-0.07267950475215912,
-0.0005029963213019073,
0.08286937326192856,
0.043999023735523224,
0.1553589105606079,
0.005172323435544968,
-0.01731395535171032,
0.03612525016069412,
0.24581782519817352,
0.007678291294723749,
-0.14818337559700012,
0.011000877246260643,
0.2024342566728592,
0.08560704439878464,
0.11617411673069,
0.00997295044362545,
0.0033169903326779604,
-0.05275384336709976,
0.2086450308561325,
0.3542114794254303,
0.0027642352506518364,
0.055195152759552,
-0.06919878721237183,
0.0373515710234642,
0.05024927109479904,
0.09829109907150269,
0.07549460232257843,
0.18148960173130035,
-0.04844550043344498,
0.05631737783551216,
-0.0897783637046814,
0.05916876345872879,
-0.1479068100452423,
0.055904846638441086,
0.030057460069656372,
-0.09697452932596207,
-0.01650816574692726,
0.10772983729839325,
-0.1512715369462967,
0.0963490754365921,
-0.0805736631155014,
-0.14041712880134583,
-0.0008660722523927689,
0.03506568819284439,
0.18443778157234192,
0.021284688264131546,
0.05832350254058838,
-0.021351370960474014,
-0.030144914984703064,
-0.06910522282123566,
0.013638903386890888,
-0.11106772720813751,
0.008185505867004395,
0.015099490992724895,
-0.035143859684467316,
0.08632723987102509,
0.016080016270279884,
0.09220965951681137,
0.09156249463558197,
0.0393463633954525,
-0.04385054484009743,
0.1562078893184662,
0.02249090187251568,
-0.0021552150137722492,
0.039885569363832474,
-0.053458601236343384,
0.020428482443094254,
-0.05413951352238655,
0.09341651201248169,
-0.10167388617992401,
0.07019971311092377,
-0.06672202795743942,
-0.07909654080867767,
-0.0018444210290908813,
0.17253048717975616,
-0.08945248275995255,
0.02616061642765999,
0.09908638149499893,
-0.02414064109325409,
-0.0024760011583566666,
-0.05820915102958679,
0.017851825803518295,
0.02985813096165657,
-0.12660643458366394,
-0.04730398580431938,
-0.08430368453264236,
-0.04729630798101425,
0.13072100281715393,
0.03000839427113533,
-0.18184217810630798,
0.044925257563591,
-0.16307419538497925,
0.07399579882621765,
-0.22198089957237244,
0.06635704636573792,
0.10518582165241241,
-0.018521232530474663,
0.008246440440416336,
-0.09891369938850403,
0.05533304810523987,
0.05402562767267227,
-0.10230250656604767,
-0.06742941588163376
] |
null | null |
transformers
|
This is a small Russian paraphraser based on the [google/mt5-small](https://huggingface.co/google/mt5-small) model.
It has rather poor paraphrasing performance, but can be fine tuned for this or other tasks.
This model was created by taking the [alenusch/mt5small-ruparaphraser](https://huggingface.co/alenusch/mt5small-ruparaphraser) model and stripping 96% of its vocabulary which is unrelated to the Russian language or infrequent.
* The original model has 300M parameters, with 256M of them being input and output embeddings.
* After shrinking the `sentencepiece` vocabulary from 250K to 20K the number of model parameters reduced to 65M parameters, and model size reduced from 1.1GB to 246MB.
* The first 5K tokens in the new vocabulary are taken from the original `mt5-small`.
* The next 15K tokens are the most frequent tokens obtained by tokenizing a Russian web corpus from the [Leipzig corpora collection](https://wortschatz.uni-leipzig.de/en/download/Russian).
The model can be used as follows:
```
# !pip install transformers sentencepiece
import torch
from transformers import T5ForConditionalGeneration, T5Tokenizer
tokenizer = T5Tokenizer.from_pretrained("cointegrated/rut5-small")
model = T5ForConditionalGeneration.from_pretrained("cointegrated/rut5-small")
text = 'Ехал Грека через реку, видит Грека в реке рак. '
inputs = tokenizer(text, return_tensors='pt')
with torch.no_grad():
hypotheses = model.generate(
**inputs,
do_sample=True, top_p=0.95, num_return_sequences=10,
repetition_penalty=2.5,
max_length=32,
)
for h in hypotheses:
print(tokenizer.decode(h, skip_special_tokens=True))
```
|
{"language": "ru", "license": "mit", "tags": ["paraphrasing", "russian"]}
|
text2text-generation
|
cointegrated/rut5-small
|
[
"transformers",
"pytorch",
"jax",
"safetensors",
"mt5",
"text2text-generation",
"paraphrasing",
"russian",
"ru",
"license:mit",
"autotrain_compatible",
"endpoints_compatible",
"text-generation-inference",
"region:us"
] |
2022-03-02T23:29:05+00:00
|
[] |
[
"ru"
] |
TAGS
#transformers #pytorch #jax #safetensors #mt5 #text2text-generation #paraphrasing #russian #ru #license-mit #autotrain_compatible #endpoints_compatible #text-generation-inference #region-us
|
This is a small Russian paraphraser based on the google/mt5-small model.
It has rather poor paraphrasing performance, but can be fine tuned for this or other tasks.
This model was created by taking the alenusch/mt5small-ruparaphraser model and stripping 96% of its vocabulary which is unrelated to the Russian language or infrequent.
* The original model has 300M parameters, with 256M of them being input and output embeddings.
* After shrinking the 'sentencepiece' vocabulary from 250K to 20K the number of model parameters reduced to 65M parameters, and model size reduced from 1.1GB to 246MB.
* The first 5K tokens in the new vocabulary are taken from the original 'mt5-small'.
* The next 15K tokens are the most frequent tokens obtained by tokenizing a Russian web corpus from the Leipzig corpora collection.
The model can be used as follows:
|
[] |
[
"TAGS\n#transformers #pytorch #jax #safetensors #mt5 #text2text-generation #paraphrasing #russian #ru #license-mit #autotrain_compatible #endpoints_compatible #text-generation-inference #region-us \n"
] |
[
71
] |
[
"passage: TAGS\n#transformers #pytorch #jax #safetensors #mt5 #text2text-generation #paraphrasing #russian #ru #license-mit #autotrain_compatible #endpoints_compatible #text-generation-inference #region-us \n"
] |
[
0.031227201223373413,
-0.046432074159383774,
-0.0071311816573143005,
0.017900798469781876,
0.15724056959152222,
-0.01302401814609766,
0.2370125651359558,
0.07320243865251541,
0.039284057915210724,
-0.04201745241880417,
0.18960517644882202,
0.13240401446819305,
-0.0468108095228672,
0.09284034371376038,
-0.040349286049604416,
-0.2290632426738739,
0.07206182181835175,
-0.027393897995352745,
0.03642319515347481,
0.10562226921319962,
0.13899517059326172,
-0.053769901394844055,
0.07850664854049683,
-0.033172812312841415,
-0.06824320554733276,
0.06732115149497986,
0.08116742223501205,
-0.1160132884979248,
0.09690514951944351,
0.05449102446436882,
0.06355313956737518,
0.06441190093755722,
-0.04140736162662506,
-0.13945138454437256,
0.026101140305399895,
-0.026322606950998306,
-0.13165389001369476,
0.022774148732423782,
0.13166579604148865,
-0.10916398465633392,
0.17724637687206268,
-0.0011247070506215096,
-0.0407358855009079,
0.055214349180459976,
-0.12432564049959183,
-0.03278568759560585,
-0.0660993829369545,
0.07382936775684357,
0.08817610889673233,
0.1554652601480484,
-0.0206557996571064,
0.15559864044189453,
-0.09192440658807755,
0.11465957760810852,
0.13272665441036224,
-0.41796472668647766,
-0.01022801361978054,
0.055971864610910416,
0.035296596586704254,
0.12136786431074142,
0.021340498700737953,
0.08716624230146408,
0.020370781421661377,
-0.01837778463959694,
0.015923472121357918,
-0.06134206801652908,
-0.06821304559707642,
0.019717203453183174,
-0.10389980673789978,
-0.04170648008584976,
0.22822794318199158,
-0.05408693477511406,
0.07001230865716934,
-0.058059971779584885,
-0.042625635862350464,
-0.034959737211465836,
-0.005380269605666399,
0.03880308195948601,
-0.059100501239299774,
0.05942642688751221,
0.014857285656034946,
-0.0717415139079094,
-0.1638287752866745,
-0.01599421165883541,
-0.12060674279928207,
0.09110569953918457,
0.020083682611584663,
0.06348204612731934,
-0.1542060226202011,
0.02590131387114525,
-0.035237547010183334,
-0.11130901426076889,
0.07098045945167542,
-0.1187770813703537,
0.09320610016584396,
0.027042554691433907,
-0.06718416512012482,
-0.10478048026561737,
0.10331173241138458,
0.11928577721118927,
0.0012263489188626409,
0.03557087108492851,
-0.006815128494054079,
0.139580637216568,
-0.03419866785407066,
0.04005666449666023,
0.02054060809314251,
0.014896437525749207,
0.04749678075313568,
-0.10885217040777206,
0.023018816486001015,
-0.012586412020027637,
-0.17880499362945557,
-0.039857469499111176,
0.06440957635641098,
0.1209273412823677,
-0.013574519194662571,
0.10364965349435806,
-0.00826187338680029,
0.05680515244603157,
0.06181798130273819,
-0.060421478003263474,
0.0118706738576293,
-0.011824279092252254,
0.030991990119218826,
0.03518720716238022,
-0.027310442179441452,
0.013255520723760128,
-0.1105680838227272,
0.10632972419261932,
-0.022168951109051704,
0.05147727578878403,
-0.0362638458609581,
-0.10038165003061295,
0.05607880279421806,
-0.09503552317619324,
0.03903390094637871,
-0.19493409991264343,
-0.12001440674066544,
-0.006414295639842749,
0.023686474189162254,
-0.006227605510503054,
0.006161861587315798,
-0.020572831854224205,
-0.06938613951206207,
0.03767670691013336,
-0.07571803778409958,
-0.05843208357691765,
-0.07815544307231903,
0.06984398514032364,
-0.11629075556993484,
0.047785092145204544,
-0.09631470590829849,
0.03139618784189224,
-0.1632227897644043,
-0.06416700035333633,
-0.0721961036324501,
0.024900391697883606,
-0.06831039488315582,
0.14712978899478912,
-0.013530620373785496,
-0.021373338997364044,
-0.046356961131095886,
0.04334862530231476,
-0.003860477590933442,
0.20744578540325165,
-0.10887594521045685,
-0.05729101970791817,
0.23261505365371704,
-0.1422276496887207,
-0.1471736580133438,
0.10546648502349854,
0.006408550776541233,
0.029845863580703735,
0.11814159154891968,
0.19368726015090942,
-0.0006482571479864419,
-0.07204729318618774,
0.04124216362833977,
0.04600309580564499,
-0.11860143393278122,
-0.0689716786146164,
0.020613884553313255,
0.0038505466654896736,
-0.09111575037240982,
0.03865092992782593,
0.046465758234262466,
0.04379824176430702,
-0.04737783968448639,
-0.06857175379991531,
-0.028518078848719597,
-0.008513226173818111,
0.019521424546837807,
-0.027205539867281914,
0.0996682196855545,
-0.1307278275489807,
-0.05681435391306877,
-0.042821843177080154,
-0.021193942055106163,
0.02248290553689003,
0.039412740617990494,
-0.07628967612981796,
0.06471355259418488,
0.05530223995447159,
0.06679582595825195,
-0.12531143426895142,
-0.005606173537671566,
-0.031814031302928925,
0.1445254236459732,
0.04478764533996582,
0.01828126609325409,
0.07176993042230606,
-0.014227599836885929,
-0.037849199026823044,
-0.019755033776164055,
0.10866017639636993,
0.0005325815873220563,
-0.06597252190113068,
-0.13736356794834137,
0.07051916420459747,
-0.03321228176355362,
-0.0307766143232584,
-0.04923361539840698,
0.030355237424373627,
0.024611864238977432,
0.08290800452232361,
-0.021616073325276375,
0.09911606460809708,
-0.062463875859975815,
0.032052092254161835,
-0.06940028816461563,
0.043703287839889526,
0.11046026647090912,
-0.018110262230038643,
-0.08595097064971924,
0.24665392935276031,
-0.12337596714496613,
0.26597461104393005,
0.23255665600299835,
-0.17434096336364746,
-0.00749192712828517,
-0.0592864528298378,
-0.016116326674818993,
0.023294391110539436,
0.08854696154594421,
0.037454117089509964,
-0.001646192860789597,
0.0011716048466041684,
0.13748638331890106,
-0.08328214287757874,
-0.020012514665722847,
0.01631142385303974,
-0.09866520017385483,
-0.07951384782791138,
0.122536800801754,
0.08524372428655624,
-0.24308010935783386,
0.1835077553987503,
0.2491244524717331,
0.019955851137638092,
0.23473286628723145,
-0.019821828231215477,
-0.010425681248307228,
0.05249856039881706,
-0.0029614646919071674,
-0.02204050123691559,
-0.011257127858698368,
-0.067267045378685,
-0.03231105953454971,
0.04970325529575348,
0.030437106266617775,
0.06892240047454834,
-0.11244649440050125,
-0.08187465369701385,
-0.045232705771923065,
-0.031931933015584946,
-0.03197795897722244,
0.09259141236543655,
0.01486914325505495,
0.14171649515628815,
-0.05411024019122124,
-0.04342493414878845,
0.09733054786920547,
-0.0136914337053895,
-0.11612512171268463,
0.15785829722881317,
-0.1673111766576767,
-0.2565150558948517,
-0.15031404793262482,
-0.0933757796883583,
-0.04927891865372658,
0.03837105259299278,
0.15219835937023163,
-0.11760637909173965,
-0.02500000223517418,
-0.044417839497327805,
0.018404645845294,
-0.034381017088890076,
0.00808648206293583,
-0.09971368312835693,
0.10387270897626877,
-0.04820219799876213,
-0.03569432720541954,
-0.07827214151620865,
-0.017550934106111526,
-0.07583282142877579,
0.15122383832931519,
-0.08209777623414993,
0.059543538838624954,
0.05401455610990524,
-0.021656297147274017,
0.023987460881471634,
-0.08308713883161545,
0.15071184933185577,
-0.0679432675242424,
-0.003660889808088541,
0.1983722448348999,
-0.015254314988851547,
0.07442514598369598,
0.13506346940994263,
0.005777107086032629,
-0.04441019147634506,
0.06587397307157516,
-0.0661633312702179,
-0.07229876518249512,
-0.24957267940044403,
-0.13237686455249786,
-0.07397127896547318,
0.10553087294101715,
0.03267116844654083,
0.04328358918428421,
0.09994380921125412,
0.08426918089389801,
-0.07160727679729462,
-0.1112862154841423,
0.11090771853923798,
0.10132401436567307,
0.17736560106277466,
0.0019272486679255962,
0.1635122448205948,
-0.08529537171125412,
-0.080014668405056,
0.08002349734306335,
-0.034500978887081146,
0.1288643479347229,
0.11418398469686508,
-0.015819836407899857,
0.06061708554625511,
0.1203538030385971,
0.12357211112976074,
0.12556210160255432,
0.0669097751379013,
-0.02977527678012848,
-0.005300124641507864,
-0.07113552838563919,
-0.01571081392467022,
0.0717153400182724,
-0.045979712158441544,
-0.14302781224250793,
-0.06986573338508606,
-0.025499671697616577,
0.12001023441553116,
0.15877340734004974,
0.02116483636200428,
-0.15704169869422913,
-0.04556795209646225,
0.0630713626742363,
-0.004983148537576199,
-0.06018219143152237,
0.1012241467833519,
-0.011773540638387203,
-0.11151459068059921,
0.10259979963302612,
-0.03358841314911842,
0.1156497597694397,
0.11485596001148224,
0.10213545709848404,
-0.07870713621377945,
-0.10422597080469131,
-0.0039058225229382515,
0.12950842082500458,
-0.38467198610305786,
0.24963653087615967,
0.01402180828154087,
-0.0016001181211322546,
-0.09833569824695587,
-0.047283291816711426,
-0.0011762018548324704,
0.144214928150177,
0.1398732215166092,
-0.0006072692340239882,
-0.14812487363815308,
-0.06694590300321579,
-0.039196524769067764,
0.022583700716495514,
0.12881319224834442,
0.0021648709662258625,
0.031303610652685165,
-0.06569500267505646,
-0.008203892037272453,
-0.030359335243701935,
-0.005752331577241421,
-0.0878567099571228,
-0.1826322227716446,
0.005974229425191879,
0.05183492600917816,
0.08600650727748871,
-0.025183498859405518,
-0.0264601930975914,
-0.08418703079223633,
0.11581341922283173,
-0.090701624751091,
-0.09946558624505997,
-0.08407649397850037,
-0.10570068657398224,
0.040237173438072205,
-0.080625019967556,
0.05694906786084175,
-0.04768173396587372,
0.0030783156398683786,
-0.10914003849029541,
-0.18247747421264648,
0.09620750695466995,
-0.10731193423271179,
-0.08188987523317337,
-0.0034955155570060015,
0.20944499969482422,
-0.024155210703611374,
0.022274384275078773,
0.021721741184592247,
0.05518944934010506,
-0.08613471686840057,
-0.0863088071346283,
-0.010379213839769363,
-0.051206208765506744,
0.06051984056830406,
0.020078403875231743,
-0.13363754749298096,
-0.10606204718351364,
-0.09469687193632126,
-0.07862834632396698,
0.2510237991809845,
0.2746242880821228,
-0.0909886285662651,
0.1988222301006317,
0.14441049098968506,
-0.06567398458719254,
-0.3383917212486267,
-0.11621776223182678,
-0.10520508885383606,
-0.02364726923406124,
0.022110888734459877,
-0.1227339655160904,
0.002046011621132493,
0.003009343985468149,
-0.044854454696178436,
0.07131423056125641,
-0.1792011708021164,
-0.12132509797811508,
0.1368478387594223,
-0.014826430939137936,
0.30580857396125793,
-0.13695548474788666,
-0.05568980053067207,
-0.08520018309354782,
-0.041498009115457535,
0.15624937415122986,
-0.06651202589273453,
0.07548113167285919,
0.010309481993317604,
0.034536197781562805,
0.026331255212426186,
-0.0419035404920578,
0.059197813272476196,
-0.060395050793886185,
0.06098489835858345,
-0.11193129420280457,
0.0007642479613423347,
0.09973827004432678,
0.012174516916275024,
0.035126570612192154,
-0.12592865526676178,
0.008897372521460056,
-0.05868654325604439,
-0.04326913133263588,
-0.06777452677488327,
0.07552066445350647,
-0.002058366546407342,
-0.06959462910890579,
-0.01026853360235691,
-0.013614271767437458,
-0.0015113798435777426,
-0.013122129254043102,
0.2945396602153778,
-0.06610637903213501,
0.14710696041584015,
0.14810241758823395,
0.11865291744470596,
-0.12918119132518768,
0.12474489957094193,
-0.005563920829445124,
-0.08578317612409592,
0.06332600861787796,
-0.08569236099720001,
0.03235553205013275,
0.08667709678411484,
-0.0741082951426506,
0.03386751189827919,
0.06905067712068558,
-0.01639273762702942,
-0.04034002870321274,
0.157898411154747,
-0.27079343795776367,
-0.04269355535507202,
-0.06074897199869156,
0.07756631821393967,
0.145468071103096,
0.05685338377952576,
0.1789345145225525,
-0.07730692625045776,
-0.027103204280138016,
-0.00644156476482749,
0.02857103943824768,
-0.035626642405986786,
0.05390119552612305,
0.006729764863848686,
0.003449991112574935,
-0.10505390167236328,
0.09154700487852097,
0.007004488259553909,
-0.1387966275215149,
0.03395228832960129,
0.16437916457653046,
-0.15667147934436798,
-0.14982686936855316,
-0.04392265900969505,
0.08485885709524155,
-0.1195095032453537,
-0.08505687862634659,
-0.048654794692993164,
-0.14237433671951294,
0.05305979400873184,
0.1365876942873001,
0.07653391361236572,
0.023182831704616547,
0.023251473903656006,
-0.057041410356760025,
-0.008812335319817066,
0.045885395258665085,
-0.015090658329427242,
-0.03724294528365135,
-0.10509301722049713,
0.0363791286945343,
-0.022381648421287537,
0.08916083723306656,
-0.08262970298528671,
0.005337324924767017,
-0.11961886286735535,
0.027648216113448143,
-0.08086111396551132,
-0.04877013340592384,
-0.09776598960161209,
-0.06042053923010826,
-0.029856577515602112,
-0.0423906184732914,
-0.046555619686841965,
-0.035887252539396286,
-0.11976713687181473,
0.00864232424646616,
-0.052804045379161835,
0.07129310071468353,
-0.08139912784099579,
-0.015420481562614441,
0.042201075702905655,
-0.00889668520539999,
0.10227413475513458,
0.18493136763572693,
-0.06461847573518753,
0.1492048054933548,
-0.1694372296333313,
-0.011575143784284592,
0.09641985595226288,
0.004089329391717911,
0.016705259680747986,
0.09667631983757019,
0.0015638080658391118,
0.09257376194000244,
0.019256506115198135,
0.06717713922262192,
0.014293263666331768,
-0.12090110778808594,
0.02792581170797348,
0.0010220273397862911,
-0.08356575667858124,
-0.012610606849193573,
-0.029246123507618904,
0.045773930847644806,
0.0037676747888326645,
0.23144851624965668,
-0.13499879837036133,
0.10854639858007431,
-0.04913154989480972,
0.04750913009047508,
-0.00699688121676445,
-0.18122877180576324,
-0.13782410323619843,
-0.10169084370136261,
0.013560845516622066,
-0.02584884501993656,
0.25382256507873535,
0.08002132177352905,
-0.020650610327720642,
0.0864013135433197,
0.04336452856659889,
-0.020594021305441856,
0.048369042575359344,
0.17466574907302856,
0.0371515192091465,
-0.03687339648604393,
-0.14708930253982544,
0.04411039128899574,
-0.003604960860684514,
-0.07658209651708603,
0.10830958187580109,
0.1343669891357422,
0.0369388721883297,
0.0704185962677002,
0.04632003977894783,
0.031005458906292915,
0.018479380756616592,
-0.14294177293777466,
-0.004244685173034668,
0.06313954293727875,
-0.04455947130918503,
0.11525285243988037,
0.25245240330696106,
-0.022654352709650993,
0.009865096770226955,
-0.05248652398586273,
-0.020706266164779663,
-0.15722644329071045,
-0.1438520848751068,
-0.09475497901439667,
-0.1264052540063858,
0.012159748002886772,
-0.06534348428249359,
0.028830403462052345,
0.001883809338323772,
0.08515333384275436,
-0.10156319290399551,
0.0604315809905529,
0.031491558998823166,
-0.08896005898714066,
0.07813376188278198,
-0.03162742406129837,
0.03900747373700142,
0.021421805024147034,
-0.06333539634943008,
-0.06396747380495071,
-0.09652243554592133,
-0.05851960554718971,
0.075005903840065,
-0.0543508343398571,
0.011059928685426712,
-0.10699494928121567,
-0.09795942902565002,
-0.0187019482254982,
0.10015895962715149,
0.02803511917591095,
0.14982198178768158,
0.0009337135124951601,
-0.018731893971562386,
0.031134754419326782,
0.2293444126844406,
-0.010300871916115284,
-0.15155617892742157,
0.022336816415190697,
0.2498861700296402,
0.07045096158981323,
0.13133354485034943,
-0.03370765224099159,
0.018453117460012436,
-0.05508771166205406,
0.2750980854034424,
0.39504116773605347,
-0.040599141269922256,
0.04382786527276039,
-0.0676267221570015,
0.0478937029838562,
0.0838741585612297,
0.10676643252372742,
0.07062296569347382,
0.18757738173007965,
-0.07257954031229019,
0.09012532234191895,
-0.09006503969430923,
0.047348689287900925,
-0.17014417052268982,
0.06635560095310211,
0.029046621173620224,
-0.08915435522794724,
0.014997215010225773,
0.12664072215557098,
-0.1784348040819168,
0.10651575028896332,
-0.10008136183023453,
-0.14798693358898163,
-0.013225671835243702,
0.03690784052014351,
0.17278224229812622,
0.03456655517220497,
0.09771468490362167,
-0.016550594940781593,
-0.043245717883110046,
-0.06829315423965454,
0.031616825610399246,
-0.1488647609949112,
-0.019480830058455467,
0.04342144355177879,
-0.0542096272110939,
0.02956300973892212,
-0.005549634341150522,
0.07239195704460144,
0.07669559866189957,
0.030778465792536736,
-0.04771774262189865,
0.10719470679759979,
0.04375503957271576,
-0.024898869916796684,
0.023382248356938362,
-0.06593867391347885,
0.010774212889373302,
-0.06778764724731445,
0.05924297869205475,
-0.1389549821615219,
0.06255893409252167,
-0.0747523084282875,
-0.04780397564172745,
0.009154216386377811,
0.12928982079029083,
-0.07733187079429626,
0.03449584171175957,
0.09720941632986069,
-0.03999682888388634,
-0.03276346996426582,
-0.048796188086271286,
-0.005060920026153326,
0.02729763090610504,
-0.13984359800815582,
-0.03968453034758568,
-0.11069443076848984,
-0.06490691751241684,
0.1138913482427597,
0.027643976733088493,
-0.20283657312393188,
0.03366813436150551,
-0.13487912714481354,
0.05944003537297249,
-0.20677079260349274,
0.058442387729883194,
0.10099664330482483,
-0.006717352662235498,
0.0008923860150389373,
-0.13828754425048828,
0.07084796577692032,
0.06315390765666962,
-0.07014402002096176,
-0.09499187767505646
] |
null | null |
transformers
|
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
should probably proofread and complete it, then remove this comment. -->
# chinese-address-ner
This model is a fine-tuned version of [hfl/chinese-roberta-wwm-ext](https://huggingface.co/hfl/chinese-roberta-wwm-ext) on an unkown dataset.
It achieves the following results on the evaluation set:
- Loss: 0.1080
- Precision: 0.9664
- Recall: 0.9774
- F1: 0.9719
- Accuracy: 0.9758
## Model description
输入一串地址中文信息,比如快递单:`北京市海淀区西北旺东路10号院(马连洼街道西北旺社区东北方向)`,按照行政级别(总有 7 级)抽取地址信息,返回每个 token 的类别。具体类别含义表示如下:
| 返回类别 | BIO 体系 | 解释 |
| ----------- | -------- | ---------------------- |
| **LABEL_0** | O | 忽略信息 |
| **LABEL_1** | B-A1 | 第一级地址(头) |
| **LABEL_2** | I-A1 | 第一级地址(其余部分) |
| ... | ... | ... |
More information needed
## Intended uses & limitations
More information needed
## Training and evaluation data
More information needed
## Training procedure
### Training hyperparameters
The following hyperparameters were used during training:
- learning_rate: 2e-05
- train_batch_size: 50
- eval_batch_size: 50
- seed: 42
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- num_epochs: 50
### Training results
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
|:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|
| 2.5055 | 1.0 | 7 | 1.6719 | 0.1977 | 0.2604 | 0.2248 | 0.5649 |
| 1.837 | 2.0 | 14 | 1.0719 | 0.4676 | 0.6 | 0.5256 | 0.7421 |
| 1.0661 | 3.0 | 21 | 0.7306 | 0.6266 | 0.7472 | 0.6816 | 0.8106 |
| 0.8373 | 4.0 | 28 | 0.5197 | 0.6456 | 0.8113 | 0.7191 | 0.8614 |
| 0.522 | 5.0 | 35 | 0.3830 | 0.7667 | 0.8679 | 0.8142 | 0.9001 |
| 0.4295 | 6.0 | 42 | 0.3104 | 0.8138 | 0.8906 | 0.8505 | 0.9178 |
| 0.3483 | 7.0 | 49 | 0.2453 | 0.8462 | 0.9132 | 0.8784 | 0.9404 |
| 0.2471 | 8.0 | 56 | 0.2081 | 0.8403 | 0.9132 | 0.8752 | 0.9428 |
| 0.2299 | 9.0 | 63 | 0.1979 | 0.8419 | 0.9245 | 0.8813 | 0.9420 |
| 0.1761 | 10.0 | 70 | 0.1823 | 0.8830 | 0.9396 | 0.9104 | 0.9500 |
| 0.1434 | 11.0 | 77 | 0.1480 | 0.9036 | 0.9547 | 0.9284 | 0.9629 |
| 0.134 | 12.0 | 84 | 0.1341 | 0.9173 | 0.9623 | 0.9392 | 0.9678 |
| 0.128 | 13.0 | 91 | 0.1365 | 0.9375 | 0.9623 | 0.9497 | 0.9694 |
| 0.0824 | 14.0 | 98 | 0.1159 | 0.9557 | 0.9774 | 0.9664 | 0.9734 |
| 0.0744 | 15.0 | 105 | 0.1092 | 0.9591 | 0.9736 | 0.9663 | 0.9766 |
| 0.0569 | 16.0 | 112 | 0.1117 | 0.9556 | 0.9736 | 0.9645 | 0.9742 |
| 0.0559 | 17.0 | 119 | 0.1040 | 0.9628 | 0.9774 | 0.9700 | 0.9790 |
| 0.0456 | 18.0 | 126 | 0.1052 | 0.9593 | 0.9774 | 0.9682 | 0.9782 |
| 0.0405 | 19.0 | 133 | 0.1133 | 0.9590 | 0.9698 | 0.9644 | 0.9718 |
| 0.0315 | 20.0 | 140 | 0.1060 | 0.9591 | 0.9736 | 0.9663 | 0.9750 |
| 0.0262 | 21.0 | 147 | 0.1087 | 0.9554 | 0.9698 | 0.9625 | 0.9718 |
| 0.0338 | 22.0 | 154 | 0.1183 | 0.9625 | 0.9698 | 0.9662 | 0.9726 |
| 0.0225 | 23.0 | 161 | 0.1080 | 0.9664 | 0.9774 | 0.9719 | 0.9758 |
| 0.028 | 24.0 | 168 | 0.1057 | 0.9591 | 0.9736 | 0.9663 | 0.9742 |
| 0.0202 | 25.0 | 175 | 0.1062 | 0.9628 | 0.9774 | 0.9700 | 0.9766 |
| 0.0168 | 26.0 | 182 | 0.1097 | 0.9664 | 0.9774 | 0.9719 | 0.9758 |
| 0.0173 | 27.0 | 189 | 0.1093 | 0.9628 | 0.9774 | 0.9700 | 0.9774 |
| 0.0151 | 28.0 | 196 | 0.1162 | 0.9628 | 0.9774 | 0.9700 | 0.9766 |
| 0.0135 | 29.0 | 203 | 0.1126 | 0.9483 | 0.9698 | 0.9590 | 0.9758 |
| 0.0179 | 30.0 | 210 | 0.1100 | 0.9449 | 0.9698 | 0.9572 | 0.9774 |
| 0.0161 | 31.0 | 217 | 0.1098 | 0.9449 | 0.9698 | 0.9572 | 0.9766 |
| 0.0158 | 32.0 | 224 | 0.1191 | 0.9483 | 0.9698 | 0.9590 | 0.9734 |
| 0.0151 | 33.0 | 231 | 0.1058 | 0.9483 | 0.9698 | 0.9590 | 0.9750 |
| 0.0121 | 34.0 | 238 | 0.0990 | 0.9593 | 0.9774 | 0.9682 | 0.9790 |
| 0.0092 | 35.0 | 245 | 0.1128 | 0.9519 | 0.9698 | 0.9607 | 0.9774 |
| 0.0097 | 36.0 | 252 | 0.1181 | 0.9627 | 0.9736 | 0.9681 | 0.9766 |
| 0.0118 | 37.0 | 259 | 0.1185 | 0.9591 | 0.9736 | 0.9663 | 0.9782 |
| 0.0118 | 38.0 | 266 | 0.1021 | 0.9557 | 0.9774 | 0.9664 | 0.9823 |
| 0.0099 | 39.0 | 273 | 0.1000 | 0.9559 | 0.9811 | 0.9683 | 0.9815 |
| 0.0102 | 40.0 | 280 | 0.1025 | 0.9559 | 0.9811 | 0.9683 | 0.9815 |
| 0.0068 | 41.0 | 287 | 0.1080 | 0.9522 | 0.9774 | 0.9646 | 0.9807 |
| 0.0105 | 42.0 | 294 | 0.1157 | 0.9449 | 0.9698 | 0.9572 | 0.9766 |
| 0.0083 | 43.0 | 301 | 0.1207 | 0.9380 | 0.9698 | 0.9536 | 0.9766 |
| 0.0077 | 44.0 | 308 | 0.1208 | 0.9483 | 0.9698 | 0.9590 | 0.9766 |
| 0.0077 | 45.0 | 315 | 0.1176 | 0.9483 | 0.9698 | 0.9590 | 0.9774 |
| 0.0071 | 46.0 | 322 | 0.1137 | 0.9483 | 0.9698 | 0.9590 | 0.9790 |
| 0.0075 | 47.0 | 329 | 0.1144 | 0.9483 | 0.9698 | 0.9590 | 0.9782 |
| 0.0084 | 48.0 | 336 | 0.1198 | 0.9483 | 0.9698 | 0.9590 | 0.9766 |
| 0.0103 | 49.0 | 343 | 0.1217 | 0.9519 | 0.9698 | 0.9607 | 0.9766 |
| 0.0087 | 50.0 | 350 | 0.1230 | 0.9519 | 0.9698 | 0.9607 | 0.9766 |
### Framework versions
- Transformers 4.8.2
- Pytorch 1.8.0
- Datasets 1.9.0
- Tokenizers 0.10.3
|
{"license": "apache-2.0", "tags": ["generated_from_trainer"], "metrics": ["precision", "recall", "f1", "accuracy"], "model_index": [{"name": "chinese-address-ner", "results": [{"task": {"name": "Token Classification", "type": "token-classification"}, "metric": {"name": "Accuracy", "type": "accuracy", "value": 0.975825946817083}}]}]}
|
token-classification
|
jiaqianjing/chinese-address-ner
|
[
"transformers",
"pytorch",
"bert",
"token-classification",
"generated_from_trainer",
"license:apache-2.0",
"autotrain_compatible",
"endpoints_compatible",
"region:us"
] |
2022-03-02T23:29:05+00:00
|
[] |
[] |
TAGS
#transformers #pytorch #bert #token-classification #generated_from_trainer #license-apache-2.0 #autotrain_compatible #endpoints_compatible #region-us
|
chinese-address-ner
===================
This model is a fine-tuned version of hfl/chinese-roberta-wwm-ext on an unkown dataset.
It achieves the following results on the evaluation set:
* Loss: 0.1080
* Precision: 0.9664
* Recall: 0.9774
* F1: 0.9719
* Accuracy: 0.9758
Model description
-----------------
输入一串地址中文信息,比如快递单:'北京市海淀区西北旺东路10号院(马连洼街道西北旺社区东北方向)',按照行政级别(总有 7 级)抽取地址信息,返回每个 token 的类别。具体类别含义表示如下:
返回类别: LABEL\_0, BIO 体系: O, 解释: 忽略信息
返回类别: LABEL\_1, BIO 体系: B-A1, 解释: 第一级地址(头)
返回类别: LABEL\_2, BIO 体系: I-A1, 解释: 第一级地址(其余部分)
返回类别: ..., BIO 体系: ..., 解释: ...
More information needed
Intended uses & limitations
---------------------------
More information needed
Training and evaluation data
----------------------------
More information needed
Training procedure
------------------
### Training hyperparameters
The following hyperparameters were used during training:
* learning\_rate: 2e-05
* train\_batch\_size: 50
* eval\_batch\_size: 50
* seed: 42
* optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
* lr\_scheduler\_type: linear
* num\_epochs: 50
### Training results
### Framework versions
* Transformers 4.8.2
* Pytorch 1.8.0
* Datasets 1.9.0
* Tokenizers 0.10.3
|
[
"### Training hyperparameters\n\n\nThe following hyperparameters were used during training:\n\n\n* learning\\_rate: 2e-05\n* train\\_batch\\_size: 50\n* eval\\_batch\\_size: 50\n* seed: 42\n* optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08\n* lr\\_scheduler\\_type: linear\n* num\\_epochs: 50",
"### Training results",
"### Framework versions\n\n\n* Transformers 4.8.2\n* Pytorch 1.8.0\n* Datasets 1.9.0\n* Tokenizers 0.10.3"
] |
[
"TAGS\n#transformers #pytorch #bert #token-classification #generated_from_trainer #license-apache-2.0 #autotrain_compatible #endpoints_compatible #region-us \n",
"### Training hyperparameters\n\n\nThe following hyperparameters were used during training:\n\n\n* learning\\_rate: 2e-05\n* train\\_batch\\_size: 50\n* eval\\_batch\\_size: 50\n* seed: 42\n* optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08\n* lr\\_scheduler\\_type: linear\n* num\\_epochs: 50",
"### Training results",
"### Framework versions\n\n\n* Transformers 4.8.2\n* Pytorch 1.8.0\n* Datasets 1.9.0\n* Tokenizers 0.10.3"
] |
[
52,
98,
4,
32
] |
[
"passage: TAGS\n#transformers #pytorch #bert #token-classification #generated_from_trainer #license-apache-2.0 #autotrain_compatible #endpoints_compatible #region-us \n### Training hyperparameters\n\n\nThe following hyperparameters were used during training:\n\n\n* learning\\_rate: 2e-05\n* train\\_batch\\_size: 50\n* eval\\_batch\\_size: 50\n* seed: 42\n* optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08\n* lr\\_scheduler\\_type: linear\n* num\\_epochs: 50### Training results### Framework versions\n\n\n* Transformers 4.8.2\n* Pytorch 1.8.0\n* Datasets 1.9.0\n* Tokenizers 0.10.3"
] |
[
-0.10663335025310516,
0.06753937900066376,
-0.0018276467453688383,
0.12363557517528534,
0.18823695182800293,
0.02737109735608101,
0.1034846231341362,
0.10914082080125809,
-0.10855422914028168,
-0.0017384758684784174,
0.12512719631195068,
0.19455181062221527,
-0.001005428610369563,
0.1197362020611763,
-0.054404351860284805,
-0.25241053104400635,
-0.00799564365297556,
0.04570353403687477,
-0.07709566503763199,
0.13799811899662018,
0.09983690083026886,
-0.14291244745254517,
0.0804252028465271,
0.00552028464153409,
-0.23812182247638702,
0.016141491010785103,
0.030294269323349,
-0.06793462485074997,
0.15215185284614563,
0.005649777594953775,
0.13353048264980316,
-0.010184168815612793,
0.09404687583446503,
-0.1697080135345459,
0.00497005321085453,
0.04636632278561592,
0.020508063957095146,
0.08452283591032028,
0.054174117743968964,
-0.0018367557786405087,
0.08923564851284027,
-0.06847035884857178,
0.055673714727163315,
0.020246246829628944,
-0.12211891263723373,
-0.26017332077026367,
-0.08467075973749161,
0.018907513469457626,
0.06828264147043228,
0.09749308228492737,
0.006006270181387663,
0.16474267840385437,
-0.11166407912969589,
0.08615294098854065,
0.2371951937675476,
-0.2899717390537262,
-0.06041010469198227,
0.030951660126447678,
-0.015509664081037045,
0.0611850768327713,
-0.10746794193983078,
-0.03163807466626167,
0.057179875671863556,
0.05021781101822853,
0.13677899539470673,
-0.04273039847612381,
-0.1156119555234909,
0.024805042892694473,
-0.1468660682439804,
-0.02482660301029682,
0.12597642838954926,
0.040018197149038315,
-0.04312535375356674,
-0.013993284665048122,
-0.05218074098229408,
-0.13809144496917725,
-0.03670165687799454,
-0.012210438027977943,
0.04989165440201759,
-0.0394190214574337,
-0.07170668244361877,
0.02221822924911976,
-0.09795890748500824,
-0.07354097813367844,
-0.07306865602731705,
0.17743347585201263,
0.043604571372270584,
0.023942161351442337,
-0.017433399334549904,
0.11213501542806625,
0.002446703379973769,
-0.1281672716140747,
0.028849264606833458,
0.021027233451604843,
0.0031054841820150614,
-0.05091061815619469,
-0.0819956585764885,
-0.03627531975507736,
0.012112746015191078,
0.1273934692144394,
-0.03743734583258629,
0.03383581340312958,
0.05397474020719528,
0.03598526865243912,
-0.10615314543247223,
0.2054709941148758,
-0.024597158655524254,
-0.019750310108065605,
0.016321206465363503,
0.0373925156891346,
0.000054585805628448725,
0.00030396206420846283,
-0.11572277545928955,
-0.0022584933321923018,
0.11910776048898697,
0.01649872027337551,
-0.09152132272720337,
0.06385816633701324,
-0.054447758942842484,
-0.027536338195204735,
-0.0030684354715049267,
-0.10376662760972977,
0.039199698716402054,
-0.014913084916770458,
-0.08028676360845566,
-0.0224223081022501,
0.007493346929550171,
0.021594315767288208,
-0.015389337204396725,
0.12891961634159088,
-0.08181940019130707,
0.040681079030036926,
-0.11245512217283249,
-0.09803047776222229,
-0.004129860550165176,
-0.05323464423418045,
0.03565269336104393,
-0.10624969750642776,
-0.15475453436374664,
-0.010993446223437786,
0.06206851825118065,
-0.015758799389004707,
-0.062039799988269806,
-0.033160071820020676,
-0.07053051888942719,
-0.004170028958469629,
-0.02452724799513817,
0.15762357413768768,
-0.05786449834704399,
0.11488476395606995,
0.04598931968212128,
0.05587628111243248,
-0.05613967031240463,
0.06418576836585999,
-0.11052465438842773,
-0.005599243100732565,
-0.1990451216697693,
0.03315072879195213,
-0.05497819930315018,
0.07651130110025406,
-0.08575742691755295,
-0.11767316609621048,
0.0482487715780735,
-0.017791980877518654,
0.07547970116138458,
0.08216818422079086,
-0.14260618388652802,
-0.07592301815748215,
0.13772472739219666,
-0.062003280967473984,
-0.11430198699235916,
0.1043756753206253,
-0.06609555333852768,
0.038960762321949005,
0.08184656500816345,
0.15232780575752258,
0.06389854103326797,
-0.057541314512491226,
0.04255329445004463,
-0.0035806752275675535,
0.06269653141498566,
-0.08369189500808716,
0.06273151189088821,
0.010277867317199707,
-0.045413170009851456,
0.04503856971859932,
-0.0620146170258522,
0.07695766538381577,
-0.10513521730899811,
-0.09451663494110107,
-0.043949928134679794,
-0.10584113001823425,
0.04729894548654556,
0.06949460506439209,
0.09283396601676941,
-0.09498509764671326,
-0.05966128036379814,
0.0863034650683403,
0.07724721729755402,
-0.040701571851968765,
0.02446611411869526,
-0.05081511661410332,
0.062418967485427856,
-0.042046912014484406,
-0.031266067177057266,
-0.19555360078811646,
-0.0007744650356471539,
0.018126673996448517,
-0.006750890519469976,
0.0212416909635067,
0.007008380722254515,
0.06318473070859909,
0.06331223994493484,
-0.056365177035331726,
-0.017558032646775246,
-0.04075289145112038,
0.002886056201532483,
-0.14262409508228302,
-0.18349741399288177,
-0.033171799033880234,
-0.011522307060658932,
0.09710223972797394,
-0.17447605729103088,
0.02805241383612156,
-0.050986532121896744,
0.0749012902379036,
-0.0021439651027321815,
-0.004171957261860371,
-0.059152085334062576,
0.09863237291574478,
-0.024685347452759743,
-0.04726133495569229,
0.07687836140394211,
-0.0005221436731517315,
-0.08127737790346146,
-0.060073867440223694,
-0.06022489815950394,
0.21136237680912018,
0.13494156301021576,
-0.1431560069322586,
-0.08383132517337799,
-0.0003659882058855146,
-0.058683156967163086,
-0.01951078325510025,
-0.05083185434341431,
0.05577114224433899,
0.18388697504997253,
-0.015131927095353603,
0.14957258105278015,
-0.06765808165073395,
-0.04425764083862305,
0.007894971407949924,
-0.031007569283246994,
0.055829159915447235,
0.10762826353311539,
0.12999431788921356,
-0.08318588882684708,
0.13896088302135468,
0.18764649331569672,
-0.10938092321157455,
0.08991454541683197,
-0.056706931442022324,
-0.06847042590379715,
-0.013681581243872643,
-0.035267215222120285,
-0.009697367437183857,
0.08929099142551422,
-0.11300250142812729,
-0.007262085564434528,
0.024706467986106873,
0.029341064393520355,
0.005973904859274626,
-0.2284756749868393,
-0.04493894428014755,
0.027267593890428543,
-0.026141105219721794,
-0.011266915127635002,
-0.021330732852220535,
0.011609185487031937,
0.10388025641441345,
0.0008525763405486941,
-0.10548801720142365,
0.046867161989212036,
0.011620760895311832,
-0.06720301508903503,
0.21573325991630554,
-0.08817872405052185,
-0.12041139602661133,
-0.11450198292732239,
-0.0771995335817337,
-0.053210508078336716,
0.012143755331635475,
0.0620654858648777,
-0.09656406939029694,
-0.031377892941236496,
-0.03390297666192055,
0.023907087743282318,
-0.006379157304763794,
0.05387955158948898,
-0.0037797410041093826,
-0.009816186502575874,
0.07776166498661041,
-0.1097961887717247,
-0.017155053094029427,
-0.05640191584825516,
-0.0752934068441391,
0.05555195361375809,
0.04528491944074631,
0.10252725332975388,
0.1497839242219925,
-0.028415348380804062,
0.0065191579051315784,
-0.026745492592453957,
0.25758233666419983,
-0.05725222826004028,
-0.045116718858480453,
0.1303083300590515,
0.00126343232113868,
0.05444923788309097,
0.1028473898768425,
0.08182045072317123,
-0.10420931130647659,
0.010863849893212318,
0.024425450712442398,
-0.02609657682478428,
-0.21001912653446198,
-0.040869854390621185,
-0.053511928766965866,
-0.06020672619342804,
0.09342153370380402,
0.022400321438908577,
0.03475995361804962,
0.07098200917243958,
0.05134260281920433,
0.09196006506681442,
-0.060605328530073166,
0.057531386613845825,
0.12451290339231491,
0.054314933717250824,
0.12935571372509003,
-0.033075425773859024,
-0.07565959542989731,
0.03435651212930679,
-0.03009912744164467,
0.22808998823165894,
0.015402550809085369,
0.08241599798202515,
0.05304223299026489,
0.20808622241020203,
-0.0025674488861113787,
0.09543116390705109,
0.003464308101683855,
-0.04031138867139816,
-0.018559137359261513,
-0.034008149057626724,
-0.047195546329021454,
0.010588194243609905,
-0.06684063374996185,
0.06544719636440277,
-0.11998361349105835,
-0.04828134924173355,
0.052652809768915176,
0.2666349411010742,
0.023719632998108864,
-0.31432440876960754,
-0.07793506979942322,
-0.007511038798838854,
-0.04381245747208595,
-0.017729217186570168,
0.019888821989297867,
0.05539628863334656,
-0.10911975800991058,
0.028098739683628082,
-0.06470157951116562,
0.10098028928041458,
-0.022250579670071602,
0.04793274775147438,
0.0589144192636013,
0.09514528512954712,
0.015705475583672523,
0.08469939976930618,
-0.33086010813713074,
0.27398282289505005,
-0.00004440347765921615,
0.07128868997097015,
-0.06732333451509476,
-0.0017427831189706922,
0.045148905366659164,
0.07834819704294205,
0.032519470900297165,
-0.007965323515236378,
-0.01694578491151333,
-0.2192872017621994,
-0.038003236055374146,
0.03956170380115509,
0.08751802146434784,
-0.03478298708796501,
0.07800837606191635,
-0.035125721246004105,
0.009227271191775799,
0.07554242759943008,
-0.0030740683432668447,
-0.06598087400197983,
-0.06817544996738434,
-0.02489323727786541,
0.02698938362300396,
-0.01342914067208767,
-0.0629974752664566,
-0.11219244450330734,
-0.12019997090101242,
0.14582940936088562,
0.004581111017614603,
-0.03343558683991432,
-0.1201571524143219,
0.09280615299940109,
0.07752851396799088,
-0.08245515823364258,
0.04696278274059296,
0.003648894838988781,
0.04793393984436989,
0.044971633702516556,
-0.07083595544099808,
0.10635910928249359,
-0.05880768224596977,
-0.15857425332069397,
-0.05562790483236313,
0.08788978308439255,
0.030022433027625084,
0.06582463532686234,
-0.008702489547431469,
0.020303111523389816,
-0.045135803520679474,
-0.10421624034643173,
0.01793503575026989,
-0.022580478340387344,
0.07536009699106216,
0.027326634153723717,
-0.06174897775053978,
0.023197833448648453,
-0.0664420872926712,
-0.02893957681953907,
0.17981664836406708,
0.2296810746192932,
-0.09910928457975388,
0.009009940549731255,
0.040574103593826294,
-0.05795816332101822,
-0.18608391284942627,
0.03957368806004524,
0.08023029565811157,
-0.005270861554890871,
0.04229066148400307,
-0.173451766371727,
0.16558566689491272,
0.10821466147899628,
-0.014244799502193928,
0.09518289566040039,
-0.29845935106277466,
-0.12378086149692535,
0.1339573860168457,
0.16156567633152008,
0.16526822745800018,
-0.13396529853343964,
-0.01570957712829113,
-0.030836615711450577,
-0.12801247835159302,
0.09712713211774826,
-0.05291296914219856,
0.11464259028434753,
-0.035947248339653015,
0.10021243989467621,
-0.0006249782163649797,
-0.0503045991063118,
0.11841386556625366,
0.0337868370115757,
0.11353335529565811,
-0.05553342029452324,
-0.035315290093421936,
0.026344045996665955,
-0.029396995902061462,
0.00874023325741291,
-0.07091823220252991,
0.037182021886110306,
-0.08975747972726822,
-0.016523482277989388,
-0.08615253120660782,
0.050821125507354736,
-0.02178015373647213,
-0.06861411780118942,
-0.02990526147186756,
0.016682129353284836,
0.042769547551870346,
-0.02527238428592682,
0.12280531972646713,
0.035893119871616364,
0.152740940451622,
0.08192290365695953,
0.04984963312745094,
-0.08931673318147659,
-0.07710018754005432,
-0.022040395066142082,
-0.020295780152082443,
0.07508957386016846,
-0.12432922422885895,
0.029326055198907852,
0.14049440622329712,
0.020982371643185616,
0.12636074423789978,
0.08682990819215775,
-0.009361212141811848,
-0.0020799448247998953,
0.0638214647769928,
-0.15636791288852692,
-0.04730468988418579,
-0.00018669427663553506,
-0.04465460777282715,
-0.09478924423456192,
0.059602051973342896,
0.0797070637345314,
-0.07249324023723602,
-0.02301190420985222,
-0.011297237128019333,
-0.011189251206815243,
-0.07573864609003067,
0.21387755870819092,
0.07268558442592621,
0.045930467545986176,
-0.11582811921834946,
0.06932800263166428,
0.05913747474551201,
-0.05436038598418236,
-0.01707250438630581,
0.050141505897045135,
-0.09479553252458572,
-0.03517976403236389,
0.13108724355697632,
0.183821439743042,
-0.08987848460674286,
-0.03502735123038292,
-0.12784381210803986,
-0.12327993661165237,
0.08016680181026459,
0.14024969935417175,
0.13538937270641327,
0.007195712998509407,
-0.05782550945878029,
0.007875324226915836,
-0.10405442118644714,
0.06472230702638626,
0.03628575801849365,
0.07972560822963715,
-0.14045804738998413,
0.16729086637496948,
0.011448913253843784,
0.052772242575883865,
-0.025461047887802124,
0.027946701273322105,
-0.09835907816886902,
0.022867798805236816,
-0.11772416532039642,
-0.040348079055547714,
-0.00040337967220693827,
0.009065897203981876,
0.004129389766603708,
-0.0856226235628128,
-0.05011216551065445,
0.025990445166826248,
-0.13699904084205627,
-0.024282680824398994,
0.03660239279270172,
0.0506463423371315,
-0.11600469052791595,
-0.04986472427845001,
0.031204912811517715,
-0.055899478495121,
0.05213361606001854,
0.061232347041368484,
0.015169319696724415,
0.07421877235174179,
-0.13988448679447174,
-0.019446954131126404,
0.07237698882818222,
0.014893146231770515,
0.0792720690369606,
-0.08876293152570724,
-0.006468517240136862,
0.012693597003817558,
0.07945890724658966,
0.01994718611240387,
0.08687064051628113,
-0.15310272574424744,
-0.023230882361531258,
-0.01948557235300541,
-0.09793216735124588,
-0.058826711028814316,
0.0029876006301492453,
0.0922309160232544,
0.016808995977044106,
0.205226331949234,
-0.06863394379615784,
0.0346938893198967,
-0.20310935378074646,
-0.004395189229398966,
-0.031422995030879974,
-0.1192532405257225,
-0.15866687893867493,
-0.06609312444925308,
0.06278780847787857,
-0.03665100410580635,
0.13885526359081268,
0.03670844808220863,
0.0660603940486908,
0.02414007857441902,
-0.010915153659880161,
0.02713005430996418,
0.020804308354854584,
0.2252362072467804,
0.05176663398742676,
-0.02839251048862934,
0.0748564600944519,
0.0652766153216362,
0.09294719994068146,
0.09721237421035767,
0.1879870891571045,
0.15124008059501648,
-0.01465671882033348,
0.07614163309335709,
0.014827900566160679,
-0.04561442881822586,
-0.16772964596748352,
-0.00938248261809349,
-0.031875401735305786,
0.09414108097553253,
-0.02341311052441597,
0.24102896451950073,
0.04323238506913185,
-0.16993515193462372,
0.05386912077665329,
-0.0494939424097538,
-0.07943848520517349,
-0.10859247297048569,
-0.016159851104021072,
-0.0816066563129425,
-0.15943273901939392,
0.002455427311360836,
-0.09630167484283447,
0.016232050955295563,
0.12725135684013367,
0.001701794913969934,
-0.019405430182814598,
0.1515009105205536,
0.023420874029397964,
0.02380916103720665,
0.05190631002187729,
-0.009445345029234886,
-0.038492750376462936,
-0.10150805115699768,
-0.07017438113689423,
-0.0344729945063591,
-0.015476921573281288,
0.0372634194791317,
-0.06923898309469223,
-0.0915265902876854,
0.023723328486084938,
-0.02774582989513874,
-0.09338342398405075,
0.0230758897960186,
0.012247622013092041,
0.06100042909383774,
0.04163850471377373,
-0.0001358813897240907,
0.026823703199625015,
-0.012388225644826889,
0.2279435247182846,
-0.0878329649567604,
-0.09390566498041153,
-0.09145263582468033,
0.30564743280410767,
0.05551457777619362,
-0.004264924209564924,
0.030529022216796875,
-0.057457808405160904,
-0.004085959866642952,
0.24669085443019867,
0.17732009291648865,
-0.09909772872924805,
-0.01274209562689066,
-0.0014298738678917289,
-0.019687211140990257,
-0.02292274497449398,
0.13416112959384918,
0.1432361751794815,
0.02080628275871277,
-0.10441940277814865,
-0.02310139499604702,
-0.06469468027353287,
-0.011424367316067219,
-0.05120818689465523,
0.05753103271126747,
0.0373871847987175,
-0.010620574466884136,
-0.05140279233455658,
0.05640169233083725,
-0.03863535821437836,
-0.10526909679174423,
0.07431527972221375,
-0.17390093207359314,
-0.1625184863805771,
-0.013778610154986382,
0.09323945641517639,
0.00706971762701869,
0.0628332793712616,
-0.02539774402976036,
0.011828800663352013,
0.06734376400709152,
-0.024658530950546265,
-0.08262760937213898,
-0.1134481430053711,
0.12670664489269257,
-0.11746061593294144,
0.19290804862976074,
-0.0313136912882328,
0.08448011428117752,
0.1154218465089798,
0.07230611890554428,
-0.0635179951786995,
0.06963993608951569,
0.04179931432008743,
-0.08657778799533844,
0.03273208811879158,
0.07651865482330322,
-0.02810344286262989,
0.04868561029434204,
0.019058356061577797,
-0.1240830197930336,
0.020386038348078728,
-0.062090761959552765,
-0.054560236632823944,
-0.045631952583789825,
-0.05037863552570343,
-0.057426102459430695,
0.11820655316114426,
0.21786566078662872,
-0.026963001117110252,
0.01034928485751152,
-0.0894479751586914,
0.015816178172826767,
0.05709933117032051,
-0.006196147762238979,
-0.09622596204280853,
-0.21761082112789154,
0.013012981973588467,
0.08400474488735199,
-0.030656952410936356,
-0.1875653713941574,
-0.09113838523626328,
0.0015503156464546919,
-0.07431986182928085,
-0.09285145252943039,
0.0834805816411972,
0.051970452070236206,
0.04232509806752205,
-0.05024426057934761,
-0.1106482595205307,
-0.08831329643726349,
0.14658595621585846,
-0.1497102528810501,
-0.0864546149969101
] |
null | null |
transformers
|
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
should probably proofread and complete it, then remove this comment. -->
# bert-base-uncased-issues-128
This model is a fine-tuned version of [bert-base-uncased](https://huggingface.co/bert-base-uncased) on the None dataset.
It achieves the following results on the evaluation set:
- Loss: 1.2500
## Model description
More information needed
## Intended uses & limitations
More information needed
## Training and evaluation data
More information needed
## Training procedure
### Training hyperparameters
The following hyperparameters were used during training:
- learning_rate: 5e-05
- train_batch_size: 32
- eval_batch_size: 8
- seed: 42
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- num_epochs: 16
### Training results
| Training Loss | Epoch | Step | Validation Loss |
|:-------------:|:-----:|:----:|:---------------:|
| 2.0975 | 1.0 | 291 | 1.7060 |
| 1.648 | 2.0 | 582 | 1.4280 |
| 1.4837 | 3.0 | 873 | 1.3980 |
| 1.3978 | 4.0 | 1164 | 1.4040 |
| 1.3314 | 5.0 | 1455 | 1.2032 |
| 1.2954 | 6.0 | 1746 | 1.2814 |
| 1.2448 | 7.0 | 2037 | 1.2635 |
| 1.1983 | 8.0 | 2328 | 1.2071 |
| 1.1849 | 9.0 | 2619 | 1.1675 |
| 1.1414 | 10.0 | 2910 | 1.2095 |
| 1.1314 | 11.0 | 3201 | 1.1858 |
| 1.0943 | 12.0 | 3492 | 1.1658 |
| 1.0838 | 13.0 | 3783 | 1.2336 |
| 1.0733 | 14.0 | 4074 | 1.1606 |
| 1.0627 | 15.0 | 4365 | 1.1188 |
| 1.055 | 16.0 | 4656 | 1.2500 |
### Framework versions
- Transformers 4.15.0
- Pytorch 1.10.0+cu111
- Datasets 1.17.0
- Tokenizers 0.10.3
|
{"license": "apache-2.0", "tags": ["generated_from_trainer"], "base_model": "bert-base-uncased", "model-index": [{"name": "bert-base-uncased-issues-128", "results": []}]}
|
fill-mask
|
coldfir3/bert-base-uncased-issues-128
|
[
"transformers",
"pytorch",
"bert",
"fill-mask",
"generated_from_trainer",
"base_model:bert-base-uncased",
"license:apache-2.0",
"autotrain_compatible",
"endpoints_compatible",
"region:us"
] |
2022-03-02T23:29:05+00:00
|
[] |
[] |
TAGS
#transformers #pytorch #bert #fill-mask #generated_from_trainer #base_model-bert-base-uncased #license-apache-2.0 #autotrain_compatible #endpoints_compatible #region-us
|
bert-base-uncased-issues-128
============================
This model is a fine-tuned version of bert-base-uncased on the None dataset.
It achieves the following results on the evaluation set:
* Loss: 1.2500
Model description
-----------------
More information needed
Intended uses & limitations
---------------------------
More information needed
Training and evaluation data
----------------------------
More information needed
Training procedure
------------------
### Training hyperparameters
The following hyperparameters were used during training:
* learning\_rate: 5e-05
* train\_batch\_size: 32
* eval\_batch\_size: 8
* seed: 42
* optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
* lr\_scheduler\_type: linear
* num\_epochs: 16
### Training results
### Framework versions
* Transformers 4.15.0
* Pytorch 1.10.0+cu111
* Datasets 1.17.0
* Tokenizers 0.10.3
|
[
"### Training hyperparameters\n\n\nThe following hyperparameters were used during training:\n\n\n* learning\\_rate: 5e-05\n* train\\_batch\\_size: 32\n* eval\\_batch\\_size: 8\n* seed: 42\n* optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08\n* lr\\_scheduler\\_type: linear\n* num\\_epochs: 16",
"### Training results",
"### Framework versions\n\n\n* Transformers 4.15.0\n* Pytorch 1.10.0+cu111\n* Datasets 1.17.0\n* Tokenizers 0.10.3"
] |
[
"TAGS\n#transformers #pytorch #bert #fill-mask #generated_from_trainer #base_model-bert-base-uncased #license-apache-2.0 #autotrain_compatible #endpoints_compatible #region-us \n",
"### Training hyperparameters\n\n\nThe following hyperparameters were used during training:\n\n\n* learning\\_rate: 5e-05\n* train\\_batch\\_size: 32\n* eval\\_batch\\_size: 8\n* seed: 42\n* optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08\n* lr\\_scheduler\\_type: linear\n* num\\_epochs: 16",
"### Training results",
"### Framework versions\n\n\n* Transformers 4.15.0\n* Pytorch 1.10.0+cu111\n* Datasets 1.17.0\n* Tokenizers 0.10.3"
] |
[
63,
98,
4,
33
] |
[
"passage: TAGS\n#transformers #pytorch #bert #fill-mask #generated_from_trainer #base_model-bert-base-uncased #license-apache-2.0 #autotrain_compatible #endpoints_compatible #region-us \n### Training hyperparameters\n\n\nThe following hyperparameters were used during training:\n\n\n* learning\\_rate: 5e-05\n* train\\_batch\\_size: 32\n* eval\\_batch\\_size: 8\n* seed: 42\n* optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08\n* lr\\_scheduler\\_type: linear\n* num\\_epochs: 16### Training results### Framework versions\n\n\n* Transformers 4.15.0\n* Pytorch 1.10.0+cu111\n* Datasets 1.17.0\n* Tokenizers 0.10.3"
] |
[
-0.12227120250463486,
0.07668773829936981,
-0.001402447815053165,
0.1252327561378479,
0.15950755774974823,
0.03988860920071602,
0.1263003796339035,
0.11360376328229904,
-0.08010421693325043,
0.023519957438111305,
0.13897494971752167,
0.13438765704631805,
0.009302777238190174,
0.14288975298404694,
-0.030102934688329697,
-0.23635876178741455,
0.0011968585895374417,
0.038159631192684174,
-0.08351235091686249,
0.12853243947029114,
0.0911303162574768,
-0.12202166765928268,
0.08842925727367401,
0.0013747650664299726,
-0.19482073187828064,
0.02016334980726242,
0.02032235637307167,
-0.04759141430258751,
0.14508280158042908,
0.020513297989964485,
0.12867936491966248,
-0.008296269923448563,
0.09891411662101746,
-0.16910554468631744,
0.008850697427988052,
0.05356243625283241,
-0.0011592622613534331,
0.0881764218211174,
0.018628239631652832,
0.014032539911568165,
0.1004820317029953,
-0.07948571443557739,
0.04911047965288162,
0.02541147731244564,
-0.13390712440013885,
-0.2365754246711731,
-0.07965779304504395,
0.04472021013498306,
0.06712255626916885,
0.10412990301847458,
-0.0014997334219515324,
0.12943486869335175,
-0.09227016568183899,
0.08118794113397598,
0.24518872797489166,
-0.3023018538951874,
-0.06545435637235641,
0.02110607549548149,
0.010511882603168488,
0.04010666534304619,
-0.09199492633342743,
-0.031061775982379913,
0.05665874853730202,
0.040095698088407516,
0.12845966219902039,
-0.028092680498957634,
-0.08313077688217163,
0.02019398845732212,
-0.1382376104593277,
-0.02890465408563614,
0.12725712358951569,
0.05296609550714493,
-0.04343823343515396,
-0.005079734139144421,
-0.07245493680238724,
-0.14727407693862915,
-0.04203222319483757,
-0.0006363593856804073,
0.04782157018780708,
-0.02678622677922249,
-0.08775730431079865,
-0.0025729858316481113,
-0.08619178831577301,
-0.08986902236938477,
-0.0692935585975647,
0.16732031106948853,
0.037976715713739395,
0.02034439891576767,
-0.014425150118768215,
0.11054451763629913,
-0.056003063917160034,
-0.14002978801727295,
0.020796244964003563,
0.03439553081989288,
0.006032399367541075,
-0.037536319345235825,
-0.07814023643732071,
-0.011567476205527782,
0.01665569096803665,
0.16713565587997437,
-0.02940594032406807,
0.030532056465744972,
0.055296313017606735,
0.04451220855116844,
-0.10733523219823837,
0.17948675155639648,
-0.06071442738175392,
-0.037247899919748306,
0.017612744122743607,
0.06200927123427391,
0.02571745403110981,
-0.0018674423918128014,
-0.11588330566883087,
-0.0015477808192372322,
0.0883263424038887,
0.0037111768033355474,
-0.06821992248296738,
0.061881598085165024,
-0.05989710986614227,
-0.0105203902348876,
0.023185860365629196,
-0.09072019904851913,
0.02323431521654129,
-0.008794916793704033,
-0.08265754580497742,
-0.03247366100549698,
0.04640651121735573,
0.006429957691580057,
0.002920471364632249,
0.09653963893651962,
-0.10576101392507553,
0.023803090676665306,
-0.10558158159255981,
-0.11683966964483261,
0.0014166849432513118,
-0.0736696645617485,
0.031890515238046646,
-0.09524431824684143,
-0.1858634352684021,
0.0007456213352270424,
0.07140201330184937,
-0.028741145506501198,
-0.05111251771450043,
-0.04240836948156357,
-0.06713265925645828,
0.005684463307261467,
-0.013050738722085953,
0.12324175983667374,
-0.06557223945856094,
0.10899101197719574,
0.06541857868432999,
0.08265969902276993,
-0.06902612000703812,
0.05584476515650749,
-0.1107839047908783,
0.012131035327911377,
-0.19731946289539337,
0.02102447673678398,
-0.05550708249211311,
0.0602867566049099,
-0.08277563750743866,
-0.10744436085224152,
0.011921267956495285,
0.00614539859816432,
0.09605291485786438,
0.10868820548057556,
-0.15767888724803925,
-0.08549115806818008,
0.1603471338748932,
-0.06370694190263748,
-0.11615446954965591,
0.11305739730596542,
-0.060111578553915024,
0.0495576336979866,
0.05833735316991806,
0.12811486423015594,
0.04517960920929909,
-0.10058663040399551,
0.02849336713552475,
0.015196654945611954,
0.06355223804712296,
-0.05580762401223183,
0.07381118088960648,
-0.011523792520165443,
-0.03246624395251274,
0.026812955737113953,
-0.0628008022904396,
0.07019829750061035,
-0.10814638435840607,
-0.09658421576023102,
-0.042360566556453705,
-0.1153179258108139,
0.0738939568400383,
0.05430734530091286,
0.06950590014457703,
-0.10661785304546356,
-0.10039067268371582,
0.0665072649717331,
0.09556598961353302,
-0.05064374953508377,
0.021395022049546242,
-0.0620805062353611,
0.07415053248405457,
-0.053274739533662796,
-0.02797417901456356,
-0.16894911229610443,
-0.028631633147597313,
0.00499730883166194,
0.0005424038390628994,
0.03079574555158615,
-0.00033826290746219456,
0.07880654186010361,
0.07734847813844681,
-0.05990348011255264,
-0.024479739367961884,
-0.06306732445955276,
0.00009303227125201374,
-0.1267443299293518,
-0.20584788918495178,
-0.06058815121650696,
-0.01244309265166521,
0.14183995127677917,
-0.18740509450435638,
0.032691553235054016,
-0.07223079353570938,
0.07333802431821823,
0.00254985224455595,
-0.009078096598386765,
-0.06098352372646332,
0.08871941268444061,
-0.02013339102268219,
-0.05585838854312897,
0.061656512320041656,
0.0036283466033637524,
-0.08872055262327194,
-0.07119105011224747,
-0.086294986307621,
0.18900489807128906,
0.1378897726535797,
-0.12163634598255157,
-0.09010065346956253,
0.027803266420960426,
-0.05374995619058609,
-0.033733442425727844,
-0.03110356070101261,
0.02795710787177086,
0.16189922392368317,
-0.015262985602021217,
0.14119970798492432,
-0.06442473083734512,
-0.02396520785987377,
0.021298058331012726,
-0.041033755987882614,
0.035868529230356216,
0.0952058881521225,
0.1387595385313034,
-0.06670193374156952,
0.14394493401050568,
0.17165347933769226,
-0.11352277547121048,
0.11597003042697906,
-0.03133367374539375,
-0.08211599290370941,
-0.02387988567352295,
-0.03582783043384552,
-0.009706072509288788,
0.1298755556344986,
-0.15094932913780212,
-0.0067422096617519855,
0.019736414775252342,
0.0037485272623598576,
0.01798425428569317,
-0.22299230098724365,
-0.04449326917529106,
0.03859446942806244,
-0.044295500963926315,
-0.05087241157889366,
-0.01576686091721058,
-0.008442096412181854,
0.09188293665647507,
0.014955081045627594,
-0.10077749192714691,
0.04532451555132866,
0.010863504372537136,
-0.06593672931194305,
0.20558270812034607,
-0.093469999730587,
-0.10626834630966187,
-0.12967294454574585,
-0.08102479577064514,
-0.046924300491809845,
0.019822893664240837,
0.059444352984428406,
-0.08299212157726288,
-0.035323239862918854,
-0.05197669193148613,
0.01532091572880745,
0.020238308236002922,
0.03835849463939667,
0.01975286938250065,
-0.024761905893683434,
0.0956432893872261,
-0.1121198832988739,
-0.014761376194655895,
-0.0458558052778244,
-0.08125105500221252,
0.03587951511144638,
0.03667955473065376,
0.1168314516544342,
0.13939084112644196,
-0.013270849362015724,
0.00399613194167614,
-0.016607407480478287,
0.2714054584503174,
-0.04918728768825531,
-0.03385646268725395,
0.14046630263328552,
0.0018465541070327163,
0.05056563392281532,
0.10887908935546875,
0.07592859119176865,
-0.0914791077375412,
0.010901915840804577,
0.033913034945726395,
-0.02818811871111393,
-0.19424262642860413,
-0.03548693656921387,
-0.054383981972932816,
-0.04816943779587746,
0.10300145298242569,
0.019158001989126205,
0.03233521059155464,
0.06933736056089401,
0.03596467152237892,
0.08931167423725128,
-0.06447693705558777,
0.05288514494895935,
0.09087551385164261,
0.04384757950901985,
0.12226103991270065,
-0.02888653427362442,
-0.05575893819332123,
0.03423537686467171,
-0.025318769738078117,
0.21075502038002014,
0.01130210142582655,
0.11634360998868942,
0.05887974426150322,
0.20774203538894653,
-0.016477497294545174,
0.09578106552362442,
-0.00663894833996892,
-0.04837535321712494,
-0.015222601592540741,
-0.05216844379901886,
-0.041573017835617065,
0.025534724816679955,
-0.06680737435817719,
0.07868245244026184,
-0.13098308444023132,
-0.01634371466934681,
0.043463125824928284,
0.2627952992916107,
0.0559440478682518,
-0.33824223279953003,
-0.10906968265771866,
-0.010416516102850437,
-0.01941925846040249,
-0.025712788105010986,
0.012318906374275684,
0.07139292359352112,
-0.07851409167051315,
0.015753725543618202,
-0.04825131967663765,
0.09431467950344086,
0.010661604814231396,
0.05521858111023903,
0.08232279121875763,
0.12717784941196442,
0.006820230279117823,
0.06969273835420609,
-0.2865530252456665,
0.2960555851459503,
0.004916338250041008,
0.07796100527048111,
-0.0637165904045105,
0.002358461730182171,
0.045384932309389114,
0.06338101625442505,
0.05440549552440643,
-0.006626315880566835,
0.003844436490908265,
-0.20924274623394012,
-0.046149659901857376,
0.04120646044611931,
0.08085421472787857,
-0.04133080318570137,
0.0948946475982666,
-0.026922862976789474,
-0.0023982261773198843,
0.08561975508928299,
0.03808119148015976,
-0.087580606341362,
-0.07524143904447556,
-0.014047417789697647,
0.025061195716261864,
-0.019047774374485016,
-0.07691337168216705,
-0.11670898646116257,
-0.11271551996469498,
0.15719980001449585,
0.011049026623368263,
-0.023472655564546585,
-0.10444630682468414,
0.07994979619979858,
0.09834598749876022,
-0.09105989336967468,
0.06647390127182007,
0.007019350305199623,
0.05000918731093407,
0.03377959504723549,
-0.0736696720123291,
0.129684180021286,
-0.07197299599647522,
-0.14801092445850372,
-0.0656915232539177,
0.09133253991603851,
0.041149649769067764,
0.065471351146698,
-0.016066301614046097,
0.011122852563858032,
-0.04223952442407608,
-0.07938205450773239,
0.019558701664209366,
-0.03153427690267563,
0.05675828829407692,
0.0389162041246891,
-0.060961540788412094,
0.028333252295851707,
-0.0542818084359169,
-0.013040152378380299,
0.15605244040489197,
0.2672000825405121,
-0.09731552749872208,
-0.0026538872625678778,
0.06059572845697403,
-0.053754761815071106,
-0.19157946109771729,
0.03232376649975777,
0.049348559230566025,
0.01914471760392189,
0.03681304305791855,
-0.1938571333885193,
0.12993597984313965,
0.10446840524673462,
-0.014777765609323978,
0.1183636486530304,
-0.3028359115123749,
-0.12505607306957245,
0.152156263589859,
0.13445717096328735,
0.16653470695018768,
-0.13690721988677979,
-0.015244830399751663,
-0.038316380232572556,
-0.1443435400724411,
0.07458056509494781,
-0.09033260494470596,
0.12570832669734955,
-0.030763959512114525,
0.09273317456245422,
-0.0015686983242630959,
-0.05847916752099991,
0.13810287415981293,
0.01389918103814125,
0.10574112087488174,
-0.05120781064033508,
-0.021679488942027092,
0.0328889861702919,
-0.033307213336229324,
0.016627486795186996,
-0.08474991470575333,
0.03912367299199104,
-0.05910344421863556,
-0.013031015172600746,
-0.07817038893699646,
0.05092109367251396,
-0.03197433799505234,
-0.06459919363260269,
-0.019729871302843094,
0.025127366185188293,
0.0297988411039114,
-0.012545700185000896,
0.10219285637140274,
0.024887479841709137,
0.15518854558467865,
0.08383931964635849,
0.02802463062107563,
-0.08210597932338715,
-0.0749908834695816,
-0.0003699949011206627,
-0.025520849972963333,
0.08419201523065567,
-0.12708701193332672,
0.021845858544111252,
0.12520532310009003,
0.03191542997956276,
0.13844767212867737,
0.08308997750282288,
-0.02969273366034031,
0.006074448116123676,
0.06345317512750626,
-0.16050106287002563,
-0.0442216619849205,
-0.006781588774174452,
-0.07448621094226837,
-0.1234736517071724,
0.04719117656350136,
0.09122606366872787,
-0.07801195234060287,
-0.010513893328607082,
-0.015657400712370872,
-0.002005140297114849,
-0.09471765160560608,
0.1991702914237976,
0.07034753262996674,
0.046081021428108215,
-0.10179425030946732,
0.06147034093737602,
0.031496670097112656,
-0.0437854640185833,
0.0011699512833729386,
0.05029371753334999,
-0.07140085846185684,
-0.03831229358911514,
0.0828106626868248,
0.1868482083082199,
-0.06841149181127548,
-0.03856359049677849,
-0.14308901131153107,
-0.10371461510658264,
0.07138119637966156,
0.1746155023574829,
0.11665118485689163,
0.003964114934206009,
-0.043894968926906586,
0.0250573568046093,
-0.10031349211931229,
0.0623735673725605,
0.05097324401140213,
0.06679787486791611,
-0.11984079331159592,
0.15818274021148682,
0.00388790899887681,
0.04497293382883072,
-0.023483313620090485,
0.03474272042512894,
-0.11575106531381607,
0.0077140755020082,
-0.14361147582530975,
-0.04489023610949516,
-0.025945670902729034,
0.0031218593940138817,
0.004976884927600622,
-0.06454329192638397,
-0.05840707942843437,
0.023947492241859436,
-0.1252385675907135,
-0.035565901547670364,
0.049554429948329926,
0.04257182776927948,
-0.12557275593280792,
-0.031065559014678,
0.04134014621376991,
-0.06546220928430557,
0.05628384277224541,
0.06809254735708237,
0.025189973413944244,
0.06713391095399857,
-0.17660106718540192,
-0.010962774977087975,
0.04773133248090744,
0.011719630099833012,
0.0758998841047287,
-0.07743760943412781,
-0.008726525120437145,
-0.015492460690438747,
0.06799837201833725,
0.001950621954165399,
0.09303434193134308,
-0.13671594858169556,
-0.0176369771361351,
-0.013214591890573502,
-0.07472021132707596,
-0.04946509003639221,
0.012156881392002106,
0.10508165508508682,
0.012328289449214935,
0.1873587816953659,
-0.092344731092453,
0.03578680381178856,
-0.2116195559501648,
0.0026985686272382736,
-0.025559578090906143,
-0.09327343851327896,
-0.12596184015274048,
-0.0687788799405098,
0.0640401765704155,
-0.0487794429063797,
0.13848789036273956,
0.0011286240769550204,
0.052978768944740295,
0.016730928793549538,
-0.025457201525568962,
0.031845126301050186,
0.011438624933362007,
0.24090629816055298,
0.040741074830293655,
-0.028506435453891754,
0.050908975303173065,
0.06895989924669266,
0.10443510115146637,
0.10723552107810974,
0.18103107810020447,
0.1447874903678894,
0.01317194476723671,
0.10247747600078583,
0.04375885799527168,
-0.06960652023553848,
-0.13529598712921143,
0.01473844051361084,
-0.01734054833650589,
0.09513144195079803,
-0.024850230664014816,
0.21249207854270935,
0.059260301291942596,
-0.1603700965642929,
0.042594604194164276,
-0.05086270719766617,
-0.08216681331396103,
-0.11245083808898926,
-0.028913021087646484,
-0.07520930469036102,
-0.16560259461402893,
0.003953135572373867,
-0.09731041640043259,
0.00949404388666153,
0.12022477388381958,
-0.006927347742021084,
-0.017994385212659836,
0.17608842253684998,
0.008317355997860432,
0.03355523198843002,
0.0399455726146698,
-0.0010445709340274334,
-0.03614211827516556,
-0.09866112470626831,
-0.08459428697824478,
-0.0048994203098118305,
-0.018127182498574257,
0.032231248915195465,
-0.06935810297727585,
-0.07049041986465454,
0.05308113992214203,
-0.0017630583606660366,
-0.10458764433860779,
0.00966976210474968,
0.012957196682691574,
0.05749586969614029,
0.06290831416845322,
0.002226545475423336,
0.02962345816195011,
-0.015189243480563164,
0.20403516292572021,
-0.09189855307340622,
-0.09262701869010925,
-0.10743696242570877,
0.27724677324295044,
0.03506745025515556,
-0.007057305425405502,
0.019485509023070335,
-0.06940247118473053,
0.0015981091419234872,
0.24087850749492645,
0.20870760083198547,
-0.10133704543113708,
-0.0014646671479567885,
0.00838407687842846,
-0.016169318929314613,
-0.04837844893336296,
0.10342779010534286,
0.13653862476348877,
0.020463116466999054,
-0.0946839302778244,
-0.0449700728058815,
-0.05943196266889572,
-0.013287924230098724,
-0.051693595945835114,
0.020328976213932037,
0.03791830688714981,
0.0012256724294275045,
-0.043492142111063004,
0.04344760999083519,
-0.04730723798274994,
-0.11454006284475327,
0.08543979376554489,
-0.1868891716003418,
-0.15903228521347046,
-0.022922327741980553,
0.09614817798137665,
0.026003766804933548,
0.07451431453227997,
-0.04000452905893326,
0.010072613134980202,
0.10407478362321854,
-0.019242027774453163,
-0.07609455287456512,
-0.13305363059043884,
0.10745052993297577,
-0.08105682581663132,
0.2211725264787674,
-0.03425385430455208,
0.06629540771245956,
0.123934306204319,
0.07731031626462936,
-0.06928108632564545,
0.07283344119787216,
0.043323006480932236,
-0.09373953193426132,
0.0076361452229321,
0.06957833468914032,
-0.04228055104613304,
0.07358325272798538,
0.023889992386102676,
-0.13222913444042206,
0.01726973056793213,
-0.05511513724923134,
-0.06383722275495529,
-0.04217216372489929,
-0.05002117529511452,
-0.0637345016002655,
0.12561580538749695,
0.21972838044166565,
-0.034834351390600204,
-0.004174240864813328,
-0.0726471021771431,
0.028692789375782013,
0.07884469628334045,
0.016883183270692825,
-0.08848204463720322,
-0.2125023603439331,
0.02497098036110401,
0.051355037838220596,
-0.02777772583067417,
-0.2384992241859436,
-0.08885884284973145,
0.00006021112130838446,
-0.06930427253246307,
-0.08071523904800415,
0.07483480125665665,
0.07585159689188004,
0.06101909652352333,
-0.04768340289592743,
-0.092709019780159,
-0.08121325820684433,
0.1503443568944931,
-0.1577795147895813,
-0.10326848924160004
] |
null | null |
transformers
|
<!-- 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.2175
- Accuracy: 0.922
- F1: 0.9222
## 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.8262 | 1.0 | 250 | 0.3073 | 0.904 | 0.9021 |
| 0.2484 | 2.0 | 500 | 0.2175 | 0.922 | 0.9222 |
### Framework versions
- Transformers 4.15.0
- Pytorch 1.10.0+cu111
- Datasets 1.17.0
- Tokenizers 0.10.3
|
{"license": "apache-2.0", "tags": ["generated_from_trainer"], "datasets": ["emotion"], "metrics": ["accuracy", "f1"], "base_model": "distilbert-base-uncased", "model-index": [{"name": "distilbert-base-uncased-finetuned-emotion", "results": [{"task": {"type": "text-classification", "name": "Text Classification"}, "dataset": {"name": "emotion", "type": "emotion", "args": "default"}, "metrics": [{"type": "accuracy", "value": 0.922, "name": "Accuracy"}, {"type": "f1", "value": 0.9222116474112371, "name": "F1"}]}]}]}
|
text-classification
|
coldfir3/distilbert-base-uncased-finetuned-emotion
|
[
"transformers",
"pytorch",
"tensorboard",
"distilbert",
"text-classification",
"generated_from_trainer",
"dataset:emotion",
"base_model:distilbert-base-uncased",
"license:apache-2.0",
"model-index",
"autotrain_compatible",
"endpoints_compatible",
"region:us"
] |
2022-03-02T23:29:05+00:00
|
[] |
[] |
TAGS
#transformers #pytorch #tensorboard #distilbert #text-classification #generated_from_trainer #dataset-emotion #base_model-distilbert-base-uncased #license-apache-2.0 #model-index #autotrain_compatible #endpoints_compatible #region-us
|
distilbert-base-uncased-finetuned-emotion
=========================================
This model is a fine-tuned version of distilbert-base-uncased on the emotion dataset.
It achieves the following results on the evaluation set:
* Loss: 0.2175
* Accuracy: 0.922
* F1: 0.9222
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
### Framework versions
* Transformers 4.15.0
* Pytorch 1.10.0+cu111
* Datasets 1.17.0
* Tokenizers 0.10.3
|
[
"### Training hyperparameters\n\n\nThe following hyperparameters were used during training:\n\n\n* learning\\_rate: 2e-05\n* train\\_batch\\_size: 64\n* eval\\_batch\\_size: 64\n* seed: 42\n* optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08\n* lr\\_scheduler\\_type: linear\n* num\\_epochs: 2",
"### Training results",
"### Framework versions\n\n\n* Transformers 4.15.0\n* Pytorch 1.10.0+cu111\n* Datasets 1.17.0\n* Tokenizers 0.10.3"
] |
[
"TAGS\n#transformers #pytorch #tensorboard #distilbert #text-classification #generated_from_trainer #dataset-emotion #base_model-distilbert-base-uncased #license-apache-2.0 #model-index #autotrain_compatible #endpoints_compatible #region-us \n",
"### Training hyperparameters\n\n\nThe following hyperparameters were used during training:\n\n\n* learning\\_rate: 2e-05\n* train\\_batch\\_size: 64\n* eval\\_batch\\_size: 64\n* seed: 42\n* optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08\n* lr\\_scheduler\\_type: linear\n* num\\_epochs: 2",
"### Training results",
"### Framework versions\n\n\n* Transformers 4.15.0\n* Pytorch 1.10.0+cu111\n* Datasets 1.17.0\n* Tokenizers 0.10.3"
] |
[
81,
98,
4,
33
] |
[
"passage: TAGS\n#transformers #pytorch #tensorboard #distilbert #text-classification #generated_from_trainer #dataset-emotion #base_model-distilbert-base-uncased #license-apache-2.0 #model-index #autotrain_compatible #endpoints_compatible #region-us \n### Training hyperparameters\n\n\nThe following hyperparameters were used during training:\n\n\n* learning\\_rate: 2e-05\n* train\\_batch\\_size: 64\n* eval\\_batch\\_size: 64\n* seed: 42\n* optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08\n* lr\\_scheduler\\_type: linear\n* num\\_epochs: 2### Training results### Framework versions\n\n\n* Transformers 4.15.0\n* Pytorch 1.10.0+cu111\n* Datasets 1.17.0\n* Tokenizers 0.10.3"
] |
[
-0.121954046189785,
0.14930349588394165,
-0.002344965934753418,
0.1394452452659607,
0.14480896294116974,
0.03064805082976818,
0.12355174124240875,
0.12901577353477478,
-0.04787106439471245,
0.031749412417411804,
0.12238392978906631,
0.14667315781116486,
0.02524852752685547,
0.11464933305978775,
-0.06889866292476654,
-0.25439542531967163,
-0.0027012270875275135,
0.06496953964233398,
-0.004632535856217146,
0.13827776908874512,
0.10049694776535034,
-0.10950668901205063,
0.10451870411634445,
0.006734144873917103,
-0.15593481063842773,
-0.005339460447430611,
0.002990939188748598,
-0.03751144930720329,
0.12945376336574554,
0.01881571300327778,
0.08339622616767883,
0.023002466186881065,
0.06316346675157547,
-0.1906057745218277,
0.01608281396329403,
0.0317668579518795,
0.0006484188488684595,
0.09407610446214676,
0.03348029777407646,
-0.025481585413217545,
0.10496822744607925,
-0.07940684258937836,
0.043646812438964844,
0.021651580929756165,
-0.12175294011831284,
-0.23396822810173035,
-0.07523755729198456,
0.067515067756176,
0.04568064957857132,
0.10762590914964676,
-0.020598599687218666,
0.12246090173721313,
-0.05109693109989166,
0.09510917216539383,
0.20150525867938995,
-0.25077638030052185,
-0.06679756939411163,
0.010417362675070763,
0.01897638663649559,
0.06426190584897995,
-0.11374056339263916,
-0.04242636263370514,
0.04092565178871155,
0.03855464607477188,
0.1375473588705063,
-0.03154647350311279,
-0.025397952646017075,
0.0018589638639241457,
-0.11893132328987122,
-0.05831310153007507,
0.19052162766456604,
0.08106262981891632,
-0.04094527289271355,
-0.07034153491258621,
-0.059617187827825546,
-0.1462712287902832,
-0.018371565267443657,
-0.00003435855614952743,
0.0424153208732605,
-0.007547329645603895,
-0.08183283358812332,
-0.017507418990135193,
-0.10461098700761795,
-0.03438737243413925,
-0.03388093411922455,
0.12772701680660248,
0.006949000060558319,
0.006941490340977907,
0.005330938845872879,
0.1076083853840828,
-0.0022129227872937918,
-0.15097837150096893,
0.02443014457821846,
0.011271136812865734,
0.02762153558433056,
-0.024370070546865463,
-0.0694224089384079,
-0.06065182387828827,
-0.021678725257515907,
0.10960865020751953,
-0.055981721729040146,
0.03344817832112312,
0.04040514677762985,
0.03286048769950867,
-0.06310288608074188,
0.20852452516555786,
-0.043592069298028946,
-0.038128968328237534,
-0.0035085196141153574,
0.1135375052690506,
0.042466793209314346,
-0.018861668184399605,
-0.12721019983291626,
0.022841937839984894,
0.11928673088550568,
-0.008222059346735477,
-0.06731390208005905,
0.07405810058116913,
-0.08997737616300583,
-0.05219048634171486,
0.024015234783291817,
-0.07993250340223312,
0.014907840639352798,
0.00993999745696783,
-0.07704154402017593,
-0.011262154206633568,
0.01746298000216484,
0.014751197770237923,
-0.014091914519667625,
0.06423287093639374,
-0.09351108968257904,
0.008857919834554195,
-0.074544258415699,
-0.09789447486400604,
0.009637394919991493,
-0.08968495577573776,
0.033264633268117905,
-0.0902440994977951,
-0.21712525188922882,
-0.025742778554558754,
0.07130394876003265,
-0.026002688333392143,
-0.08003892749547958,
-0.07345368713140488,
-0.049198493361473083,
0.019005440175533295,
0.0002357501070946455,
0.06181362271308899,
-0.061467740684747696,
0.09642801433801651,
0.0393216498196125,
0.06723050773143768,
-0.05138362944126129,
0.05894036591053009,
-0.12557585537433624,
0.02497747913002968,
-0.12724894285202026,
0.07712908089160919,
-0.032418880611658096,
0.0854489877820015,
-0.07862827926874161,
-0.10699984431266785,
0.02150687202811241,
-0.02575409784913063,
0.06312722712755203,
0.10903064161539078,
-0.1622997224330902,
-0.09634525328874588,
0.14533695578575134,
-0.05507691949605942,
-0.12068039923906326,
0.13393208384513855,
-0.0628240779042244,
0.06702901422977448,
0.07076464593410492,
0.19906124472618103,
0.06946374475955963,
-0.0285891555249691,
-0.010829268954694271,
0.015347003936767578,
0.07492506504058838,
-0.024934152141213417,
0.08946887403726578,
0.011126120574772358,
0.005692398175597191,
0.03148229047656059,
-0.042626913636922836,
0.06643768399953842,
-0.07779403030872345,
-0.10461585968732834,
-0.032581232488155365,
-0.10157933086156845,
0.07586678862571716,
0.08341521769762039,
0.06343647092580795,
-0.0929315835237503,
-0.08969268202781677,
0.020761556923389435,
0.09679775685071945,
-0.08025574684143066,
0.02385679818689823,
-0.06607132405042648,
0.08243627846240997,
-0.03636424243450165,
-0.015091104432940483,
-0.17560942471027374,
0.039252739399671555,
0.019984960556030273,
0.020496845245361328,
0.011395989917218685,
0.01069127768278122,
0.06573798507452011,
0.03950575739145279,
-0.06410165131092072,
-0.049708977341651917,
-0.0531473383307457,
-0.003028593957424164,
-0.10227169096469879,
-0.2000337541103363,
-0.03683893010020256,
-0.024629369378089905,
0.20359283685684204,
-0.19930677115917206,
0.04601255804300308,
-0.001113347359932959,
0.06287960708141327,
0.01787305809557438,
-0.03145541623234749,
-0.01695173606276512,
0.054685600101947784,
-0.04437418654561043,
-0.057336851954460144,
0.08691097050905228,
0.027093682438135147,
-0.12389907240867615,
-0.03020462393760681,
-0.12033594399690628,
0.14129169285297394,
0.11778419464826584,
-0.07445406168699265,
-0.042928099632263184,
-0.009283054620027542,
-0.05240277573466301,
-0.017556509003043175,
-0.006909699644893408,
0.017846187576651573,
0.1872684210538864,
0.008266108110547066,
0.1542404443025589,
-0.07918247580528259,
-0.027661848813295364,
0.015584551729261875,
-0.0311624463647604,
-0.00525891687721014,
0.13284385204315186,
0.05007123574614525,
-0.11991182714700699,
0.14242997765541077,
0.16248930990695953,
-0.07661613821983337,
0.1542951762676239,
-0.03876284882426262,
-0.051380231976509094,
-0.042565152049064636,
-0.04120198264718056,
-0.01086657214909792,
0.09538961946964264,
-0.1491260528564453,
-0.0056500742211937904,
0.025492150336503983,
-0.005784493871033192,
0.0016501308418810368,
-0.19579914212226868,
-0.03574617952108383,
0.05891330912709236,
-0.04134444519877434,
-0.015005107037723064,
-0.003720345674082637,
-0.0067601632326841354,
0.08896657079458237,
0.013796837069094181,
-0.07955911755561829,
0.04919346049427986,
-0.002400150988250971,
-0.07353297621011734,
0.19264452159404755,
-0.08121345937252045,
-0.1874573975801468,
-0.13926450908184052,
-0.05116061866283417,
-0.08571357280015945,
0.021438632160425186,
0.05582347884774208,
-0.07613112032413483,
-0.013365606777369976,
-0.09346290677785873,
-0.005330679938197136,
-0.005990705452859402,
0.0070363618433475494,
0.05183187872171402,
-0.02905171550810337,
0.0758761540055275,
-0.09973613172769547,
-0.017300190404057503,
-0.02985069900751114,
-0.02609991654753685,
0.048352714627981186,
0.0007718768902122974,
0.11011897027492523,
0.15104295313358307,
-0.0011857113568112254,
0.013499167747795582,
-0.030855359509587288,
0.24809737503528595,
-0.06460607796907425,
-0.02240901254117489,
0.1496768593788147,
-0.02019731141626835,
0.07259636372327805,
0.12141191959381104,
0.05879689007997513,
-0.0863894447684288,
0.007979233749210835,
0.026884468272328377,
-0.02676490694284439,
-0.1912105828523636,
-0.03096291981637478,
-0.05347171425819397,
0.013131525367498398,
0.0954175814986229,
0.014179366640746593,
0.06223989278078079,
0.07570833712816238,
0.026197612285614014,
0.056602735072374344,
-0.04523281753063202,
0.06945012509822845,
0.1383732557296753,
0.031852446496486664,
0.11023210734128952,
-0.019909918308258057,
-0.04205944389104843,
0.053804121911525726,
-0.013999921269714832,
0.17555679380893707,
-0.016217220574617386,
0.19881924986839294,
0.03199959918856621,
0.1661170870065689,
-0.03133063390851021,
0.06642210483551025,
-0.02384423278272152,
-0.01749563217163086,
-0.03982941433787346,
-0.029853232204914093,
-0.08042866736650467,
0.027248330414295197,
-0.03191027045249939,
0.09531793743371964,
-0.13223253190517426,
-0.00832226313650608,
0.055553190410137177,
0.2834324836730957,
0.03930215537548065,
-0.337489515542984,
-0.12291588634252548,
0.01166145596653223,
-0.021669462323188782,
-0.024165218695998192,
0.00010422295599710196,
0.0862119272351265,
-0.08783973753452301,
0.03748306632041931,
-0.06976331770420074,
0.08968736231327057,
-0.08141804486513138,
0.062293991446495056,
0.03193001076579094,
0.07065419852733612,
0.008012369275093079,
0.0866851806640625,
-0.25364628434181213,
0.240678071975708,
0.0006558121531270444,
0.0523962676525116,
-0.07122036814689636,
-0.0041258325800299644,
0.06058145686984062,
0.0690656378865242,
0.06163083016872406,
0.004434084519743919,
0.04197695851325989,
-0.18183515965938568,
-0.05560014769434929,
0.020643187686800957,
0.04877650737762451,
-0.07551655918359756,
0.08713231980800629,
-0.03535410761833191,
0.011961648240685463,
0.06158465892076492,
0.047196485102176666,
-0.04124253988265991,
-0.11004060506820679,
0.013381586410105228,
0.04174334928393364,
-0.009841890074312687,
-0.06137699633836746,
-0.11748762428760529,
-0.0845385417342186,
0.14818233251571655,
0.00990026630461216,
-0.04577159881591797,
-0.10669633001089096,
0.074516162276268,
0.05406880006194115,
-0.09126576781272888,
0.011297781951725483,
-0.0055509270168840885,
0.09606776386499405,
0.020839784294366837,
-0.06369276344776154,
0.094410739839077,
-0.052189022302627563,
-0.16601893305778503,
-0.04459415376186371,
0.11075988411903381,
0.03355398029088974,
0.06464532017707825,
-0.005756792612373829,
-0.001369744772091508,
-0.06480727344751358,
-0.07322697341442108,
0.03823825716972351,
0.011654526926577091,
0.05209029093384743,
0.017729880288243294,
-0.015354679897427559,
0.02492167055606842,
-0.07976732403039932,
-0.023199412971735,
0.18358534574508667,
0.25379836559295654,
-0.07632933557033539,
0.013485079631209373,
0.04475177824497223,
-0.0558592863380909,
-0.16497550904750824,
0.022324658930301666,
0.055672310292720795,
0.021514493972063065,
0.04143994301557541,
-0.18247400224208832,
0.07715445011854172,
0.061589423567056656,
-0.012936423532664776,
0.0756266713142395,
-0.27143290638923645,
-0.11486821621656418,
0.12790492177009583,
0.12628543376922607,
0.129973903298378,
-0.13746857643127441,
-0.024642033502459526,
-0.03967009484767914,
-0.12594573199748993,
0.1159496158361435,
-0.06876826286315918,
0.12579287588596344,
-0.020976858213543892,
0.10572589188814163,
0.015192045830190182,
-0.03280918672680855,
0.14137789607048035,
0.015602108091115952,
0.08349058032035828,
-0.06180339306592941,
-0.029411889612674713,
0.05032888799905777,
-0.05430300161242485,
0.028254449367523193,
-0.1208377256989479,
0.03834172338247299,
-0.1471046507358551,
-0.03206834942102432,
-0.08809136599302292,
0.019923796877264977,
-0.03194575011730194,
-0.065050408244133,
-0.03388667851686478,
0.04299873858690262,
0.08146604150533676,
0.003972260747104883,
0.10262919962406158,
0.01185580249875784,
0.09941893070936203,
0.1360718011856079,
0.09574860334396362,
-0.05588696151971817,
-0.07020164281129837,
-0.03339032456278801,
-0.017572976648807526,
0.054725077003240585,
-0.14322811365127563,
0.024769151583313942,
0.13241511583328247,
0.017734767869114876,
0.17552584409713745,
0.06941164284944534,
-0.03051079250872135,
0.009764662943780422,
0.05146178975701332,
-0.16258640587329865,
-0.09780413657426834,
-0.04718494415283203,
-0.049232084304094315,
-0.15967509150505066,
0.01254943571984768,
0.10415062308311462,
-0.053269628435373306,
-0.010545928962528706,
-0.0076983715407550335,
0.009075459092855453,
-0.033094990998506546,
0.13895253837108612,
0.04958217963576317,
0.033182404935359955,
-0.1014927476644516,
0.08156446367502213,
0.04047170281410217,
-0.10086005181074142,
0.020636487752199173,
0.037853509187698364,
-0.08505897223949432,
-0.04642845690250397,
0.025391917675733566,
0.19135718047618866,
-0.07025257498025894,
-0.03707286715507507,
-0.15783537924289703,
-0.10738345980644226,
0.0773516297340393,
0.09969150274991989,
0.11132613569498062,
0.014779807068407536,
-0.08458345383405685,
0.0012206867104396224,
-0.09873554855585098,
0.0954446792602539,
0.07411585003137589,
0.04406054690480232,
-0.14533796906471252,
0.09421252459287643,
-0.010490872897207737,
0.04420821741223335,
-0.013469181023538113,
-0.00012183773651486263,
-0.08113469928503036,
-0.006253459956496954,
-0.12231627106666565,
-0.01936795748770237,
-0.0356096588075161,
0.018991054967045784,
-0.006372989155352116,
-0.055266860872507095,
-0.0374285951256752,
0.005794282536953688,
-0.11243557929992676,
-0.03382991999387741,
0.04178868606686592,
0.06647088378667831,
-0.10708046704530716,
-0.040818314999341965,
0.03364919126033783,
-0.07399454712867737,
0.09455905109643936,
0.04854387044906616,
0.008060078136622906,
0.031339891254901886,
-0.12001094222068787,
0.026788070797920227,
0.04935264587402344,
0.011274960823357105,
0.03325031325221062,
-0.08890268951654434,
-0.01439352985471487,
-0.00873839482665062,
0.021967295557260513,
0.01638486422598362,
0.09913045912981033,
-0.12094692885875702,
0.010477329604327679,
0.0220362339168787,
-0.052115242928266525,
-0.07729446142911911,
0.05281904339790344,
0.07141438871622086,
0.04140168055891991,
0.2132948637008667,
-0.06402420252561569,
0.030709803104400635,
-0.21629972755908966,
0.009720934554934502,
0.00412049749866128,
-0.11438510566949844,
-0.11599293351173401,
-0.08279405534267426,
0.04649737477302551,
-0.05118981748819351,
0.1014624685049057,
0.022615261375904083,
0.024737410247325897,
0.010941491462290287,
0.01638367399573326,
0.04576631262898445,
0.00046091899275779724,
0.20833611488342285,
0.02561229281127453,
-0.04764817655086517,
0.08145664632320404,
0.03879460319876671,
0.10334160923957825,
0.15872058272361755,
0.1543206423521042,
0.1414852738380432,
0.026120206341147423,
0.09144523739814758,
0.017116965726017952,
-0.0009995229775086045,
-0.16111092269420624,
0.03269876539707184,
-0.021782346069812775,
0.1155383288860321,
-0.006039196625351906,
0.2530505955219269,
0.054724421352148056,
-0.1669296771287918,
0.06255647540092468,
-0.047276854515075684,
-0.08399410545825958,
-0.07442112267017365,
-0.10281403362751007,
-0.07555785030126572,
-0.14066246151924133,
-0.0038233541417866945,
-0.12533016502857208,
0.006120056379586458,
0.08342090994119644,
-0.00864753033965826,
-0.048586517572402954,
0.12113317102193832,
-0.004567093215882778,
0.0024917263071984053,
0.10269957780838013,
-0.007501813117414713,
-0.06869452446699142,
-0.0982217937707901,
-0.07072041183710098,
0.004884599708020687,
0.0072377994656562805,
0.050625987350940704,
-0.05373227596282959,
-0.04565339908003807,
0.01578054390847683,
-0.018592748790979385,
-0.1151808649301529,
0.005923513788729906,
0.013156162574887276,
0.0598379410803318,
0.0541398823261261,
-0.0009212255827151239,
0.01344700250774622,
-0.0003422498994041234,
0.20914429426193237,
-0.07199181616306305,
-0.01841123029589653,
-0.10828229039907455,
0.19061025977134705,
0.006380497477948666,
-0.03394486382603645,
0.03955639898777008,
-0.08250623196363449,
0.018720446154475212,
0.2137695699930191,
0.18472498655319214,
-0.10474175214767456,
-0.003598057432100177,
-0.007550272159278393,
0.0021737816277891397,
-0.029470175504684448,
0.07056602835655212,
0.11620287597179413,
-0.03649216145277023,
-0.09708605706691742,
0.0044239782728254795,
-0.06248302012681961,
-0.024634692817926407,
-0.012530647218227386,
0.05223553255200386,
0.048994433134794235,
0.0043136728927493095,
-0.0524902269244194,
0.046486303210258484,
-0.07492206245660782,
-0.08270739018917084,
0.0521036721765995,
-0.20712654292583466,
-0.15101255476474762,
-0.03970041126012802,
0.0717678964138031,
0.02891993336379528,
0.06602539867162704,
-0.010636691004037857,
0.017879677936434746,
0.10063032060861588,
-0.022228820249438286,
-0.09243181347846985,
-0.06521686166524887,
0.10488580912351608,
-0.12249602377414703,
0.1829182505607605,
-0.061370570212602615,
0.03658226132392883,
0.12130509316921234,
0.06170765683054924,
-0.06291835755109787,
0.061838630586862564,
0.04474766179919243,
-0.020505106076598167,
0.025646544992923737,
0.11258767545223236,
-0.020076636224985123,
0.09693983197212219,
0.04259680211544037,
-0.12869711220264435,
0.004169766325503588,
-0.032281164079904556,
-0.05795954167842865,
-0.04198624938726425,
-0.028958626091480255,
-0.056464098393917084,
0.13294357061386108,
0.2085583209991455,
-0.043330367654561996,
-0.02090180665254593,
-0.05708586797118187,
-0.000032275915145874023,
0.07089202851057053,
0.007590257562696934,
-0.05734940245747566,
-0.19412611424922943,
-0.0017115729860961437,
0.06317932903766632,
-0.002232849597930908,
-0.2769187390804291,
-0.10220548510551453,
-0.010605632327497005,
-0.058228712528944016,
-0.0691119059920311,
0.08552972227334976,
0.04700620844960213,
0.04830997809767723,
-0.045690130442380905,
-0.02052450366318226,
-0.07875964045524597,
0.1566741168498993,
-0.140731543302536,
-0.07662664353847504
] |
null | null |
transformers
|
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
should probably proofread and complete it, then remove this comment. -->
# xlm-roberta-base-finetuned-panx-all
This model is a fine-tuned version of [xlm-roberta-base](https://huggingface.co/xlm-roberta-base) on the None dataset.
It achieves the following results on the evaluation set:
- Loss: 0.1759
- F1: 0.8527
## Model description
More information needed
## Intended uses & limitations
More information needed
## Training and evaluation data
More information needed
## Training procedure
### Training hyperparameters
The following hyperparameters were used during training:
- learning_rate: 5e-05
- train_batch_size: 24
- eval_batch_size: 24
- seed: 42
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- num_epochs: 3
### Training results
| Training Loss | Epoch | Step | Validation Loss | F1 |
|:-------------:|:-----:|:----:|:---------------:|:------:|
| 0.3038 | 1.0 | 835 | 0.1922 | 0.8065 |
| 0.1559 | 2.0 | 1670 | 0.1714 | 0.8422 |
| 0.1002 | 3.0 | 2505 | 0.1759 | 0.8527 |
### Framework versions
- Transformers 4.15.0
- Pytorch 1.10.0+cu111
- Datasets 1.17.0
- Tokenizers 0.10.3
|
{"license": "mit", "tags": ["generated_from_trainer"], "metrics": ["f1"], "base_model": "xlm-roberta-base", "model-index": [{"name": "xlm-roberta-base-finetuned-panx-all", "results": []}]}
|
token-classification
|
coldfir3/xlm-roberta-base-finetuned-panx-all
|
[
"transformers",
"pytorch",
"xlm-roberta",
"token-classification",
"generated_from_trainer",
"base_model:xlm-roberta-base",
"license:mit",
"autotrain_compatible",
"endpoints_compatible",
"region:us"
] |
2022-03-02T23:29:05+00:00
|
[] |
[] |
TAGS
#transformers #pytorch #xlm-roberta #token-classification #generated_from_trainer #base_model-xlm-roberta-base #license-mit #autotrain_compatible #endpoints_compatible #region-us
|
xlm-roberta-base-finetuned-panx-all
===================================
This model is a fine-tuned version of xlm-roberta-base on the None dataset.
It achieves the following results on the evaluation set:
* Loss: 0.1759
* F1: 0.8527
Model description
-----------------
More information needed
Intended uses & limitations
---------------------------
More information needed
Training and evaluation data
----------------------------
More information needed
Training procedure
------------------
### Training hyperparameters
The following hyperparameters were used during training:
* learning\_rate: 5e-05
* train\_batch\_size: 24
* eval\_batch\_size: 24
* seed: 42
* optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
* lr\_scheduler\_type: linear
* num\_epochs: 3
### Training results
### Framework versions
* Transformers 4.15.0
* Pytorch 1.10.0+cu111
* Datasets 1.17.0
* Tokenizers 0.10.3
|
[
"### Training hyperparameters\n\n\nThe following hyperparameters were used during training:\n\n\n* learning\\_rate: 5e-05\n* train\\_batch\\_size: 24\n* eval\\_batch\\_size: 24\n* seed: 42\n* optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08\n* lr\\_scheduler\\_type: linear\n* num\\_epochs: 3",
"### Training results",
"### Framework versions\n\n\n* Transformers 4.15.0\n* Pytorch 1.10.0+cu111\n* Datasets 1.17.0\n* Tokenizers 0.10.3"
] |
[
"TAGS\n#transformers #pytorch #xlm-roberta #token-classification #generated_from_trainer #base_model-xlm-roberta-base #license-mit #autotrain_compatible #endpoints_compatible #region-us \n",
"### Training hyperparameters\n\n\nThe following hyperparameters were used during training:\n\n\n* learning\\_rate: 5e-05\n* train\\_batch\\_size: 24\n* eval\\_batch\\_size: 24\n* seed: 42\n* optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08\n* lr\\_scheduler\\_type: linear\n* num\\_epochs: 3",
"### Training results",
"### Framework versions\n\n\n* Transformers 4.15.0\n* Pytorch 1.10.0+cu111\n* Datasets 1.17.0\n* Tokenizers 0.10.3"
] |
[
65,
98,
4,
33
] |
[
"passage: TAGS\n#transformers #pytorch #xlm-roberta #token-classification #generated_from_trainer #base_model-xlm-roberta-base #license-mit #autotrain_compatible #endpoints_compatible #region-us \n### Training hyperparameters\n\n\nThe following hyperparameters were used during training:\n\n\n* learning\\_rate: 5e-05\n* train\\_batch\\_size: 24\n* eval\\_batch\\_size: 24\n* seed: 42\n* optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08\n* lr\\_scheduler\\_type: linear\n* num\\_epochs: 3### Training results### Framework versions\n\n\n* Transformers 4.15.0\n* Pytorch 1.10.0+cu111\n* Datasets 1.17.0\n* Tokenizers 0.10.3"
] |
[
-0.10365191847085953,
0.07670216262340546,
-0.0018550058593973517,
0.10992764681577682,
0.18237406015396118,
0.041572317481040955,
0.11528685688972473,
0.11737456917762756,
-0.0997425988316536,
0.025387775152921677,
0.1242707148194313,
0.17047132551670074,
0.0022590768057852983,
0.13496160507202148,
-0.05335966870188713,
-0.26368528604507446,
-0.0061048781499266624,
0.05206279829144478,
-0.06844709068536758,
0.12457772344350815,
0.10377088934183121,
-0.14034171402454376,
0.09604375064373016,
-0.001231395872309804,
-0.2361787110567093,
0.022736798971891403,
0.02658686973154545,
-0.052429378032684326,
0.14125797152519226,
0.036296546459198,
0.1355455070734024,
0.002284063957631588,
0.10202913731336594,
-0.1799425184726715,
0.009472403675317764,
0.03707962483167648,
-0.0002035434008575976,
0.08534657955169678,
0.028417471796274185,
-0.010057995095849037,
0.12341175228357315,
-0.0685943216085434,
0.05614744499325752,
0.02391381561756134,
-0.1357712745666504,
-0.22065654397010803,
-0.08128000050783157,
0.04560862109065056,
0.07295458763837814,
0.0920545682311058,
-0.0037719819229096174,
0.13913153111934662,
-0.09694607555866241,
0.09045259654521942,
0.2293812781572342,
-0.29482248425483704,
-0.07356517761945724,
0.058059677481651306,
0.023903917521238327,
0.05488172546029091,
-0.10812593996524811,
-0.024541769176721573,
0.06667675077915192,
0.0370166189968586,
0.11975207924842834,
-0.0407525859773159,
-0.07347186654806137,
0.028975581750273705,
-0.13811814785003662,
-0.017585529014468193,
0.15008226037025452,
0.04484435170888901,
-0.04272264242172241,
-0.024761321023106575,
-0.035244133323431015,
-0.17601265013217926,
-0.04027266055345535,
-0.01574966311454773,
0.04959888756275177,
-0.0443914532661438,
-0.08268912136554718,
0.013318066485226154,
-0.08906583487987518,
-0.08592107892036438,
-0.06588892638683319,
0.19393624365329742,
0.033494941890239716,
0.006859194487333298,
-0.012262932024896145,
0.1114281490445137,
-0.028172949329018593,
-0.11469374597072601,
0.009089648723602295,
0.02379230223596096,
-0.011524312198162079,
-0.06826392561197281,
-0.06428210437297821,
-0.015385939739644527,
0.004468230996280909,
0.152724489569664,
-0.047941744327545166,
0.03223271295428276,
0.06367657333612442,
0.03448474407196045,
-0.08439286053180695,
0.19716210663318634,
-0.045260943472385406,
-0.035516027361154556,
0.0004090824513696134,
0.04254268854856491,
-0.013081563636660576,
0.006046689581125975,
-0.12262404710054398,
-0.013228507712483406,
0.09193935245275497,
0.012152698822319508,
-0.09231636673212051,
0.07288426905870438,
-0.05247905105352402,
-0.02135094255208969,
-0.007785733323544264,
-0.08429960906505585,
0.03286173194646835,
-0.015260125510394573,
-0.08526240289211273,
-0.02707626484334469,
0.013798668049275875,
0.0109750060364604,
0.008679600432515144,
0.1050177812576294,
-0.11069806665182114,
0.03113425150513649,
-0.10793552547693253,
-0.12035688757896423,
-0.0056062182411551476,
-0.08528932929039001,
0.043557073920965195,
-0.09989441931247711,
-0.15884651243686676,
-0.024566683918237686,
0.04896029084920883,
-0.03055238164961338,
-0.053080588579177856,
-0.054163720458745956,
-0.06945127248764038,
0.0051865773275494576,
-0.004601568914949894,
0.11231695115566254,
-0.0605546236038208,
0.10199485719203949,
0.05816037580370903,
0.0709633007645607,
-0.050838351249694824,
0.055508650839328766,
-0.09871610999107361,
0.010910920798778534,
-0.19129079580307007,
0.03285273164510727,
-0.05617867410182953,
0.07714567333459854,
-0.07337339967489243,
-0.10936852544546127,
0.01767321117222309,
0.01545206643640995,
0.06792905926704407,
0.0811968594789505,
-0.13673372566699982,
-0.08695147186517715,
0.1552339643239975,
-0.06484175473451614,
-0.11966034024953842,
0.09002373367547989,
-0.07030674815177917,
0.06847194582223892,
0.062302689999341965,
0.14703960716724396,
0.07863980531692505,
-0.08075317740440369,
0.010589102283120155,
-0.007600434124469757,
0.03654934838414192,
-0.06847738474607468,
0.06583520770072937,
0.016343463212251663,
-0.01168226357549429,
0.02713252604007721,
-0.05314214527606964,
0.05557168647646904,
-0.11387937515974045,
-0.08965597301721573,
-0.03119923733174801,
-0.09711195528507233,
0.04591035842895508,
0.06625711172819138,
0.07744663208723068,
-0.1110863983631134,
-0.08054666966199875,
0.09122736006975174,
0.09393156319856644,
-0.050239719450473785,
0.011727427132427692,
-0.07016917318105698,
0.06640373170375824,
-0.05226113647222519,
-0.0352664589881897,
-0.17456640303134918,
-0.028192607685923576,
0.002390169305726886,
0.03791997581720352,
0.03210698813199997,
0.030613448470830917,
0.06208580359816551,
0.06469082832336426,
-0.05436484515666962,
-0.027943454682826996,
-0.04834539070725441,
-0.00003994610233348794,
-0.13128240406513214,
-0.19221730530261993,
-0.04396485909819603,
-0.021334663033485413,
0.13504338264465332,
-0.22156596183776855,
0.03554782643914223,
-0.03292584419250488,
0.0711386576294899,
0.020930888131260872,
-0.003704274073243141,
-0.05955364182591438,
0.09752169996500015,
-0.035464972257614136,
-0.04634476825594902,
0.06217757612466812,
0.0014608309138566256,
-0.07725632190704346,
-0.06393864750862122,
-0.09578534960746765,
0.201848566532135,
0.13091441988945007,
-0.1251222938299179,
-0.10892019420862198,
-0.012939782813191414,
-0.05520828813314438,
-0.02346026711165905,
-0.03602691739797592,
0.030350400134921074,
0.16182388365268707,
-0.031573228538036346,
0.1470966637134552,
-0.0635896623134613,
-0.03608209639787674,
0.02177201583981514,
-0.043366171419620514,
0.028390485793352127,
0.11494177579879761,
0.14266344904899597,
-0.08874699473381042,
0.14595367014408112,
0.12724944949150085,
-0.09370643645524979,
0.14338186383247375,
-0.03191405162215233,
-0.07120039314031601,
-0.03495924547314644,
-0.04192925989627838,
-0.007800827734172344,
0.1148277297616005,
-0.1257055550813675,
-0.01904924027621746,
0.014037775807082653,
0.011934919282793999,
0.02162901684641838,
-0.21483562886714935,
-0.049860090017318726,
0.04196614399552345,
-0.032714299857616425,
-0.011901241727173328,
-0.012150785885751247,
0.0021226226817816496,
0.10457347333431244,
0.01581769436597824,
-0.09514155983924866,
0.03336712345480919,
0.009987938217818737,
-0.07868693023920059,
0.20950019359588623,
-0.07514746487140656,
-0.10600816458463669,
-0.13558240234851837,
-0.07760655134916306,
-0.04073964059352875,
0.017190340906381607,
0.052186086773872375,
-0.08166195452213287,
-0.02821996621787548,
-0.04991137981414795,
0.025755014270544052,
-0.008004672825336456,
0.03420605510473251,
0.0055067515932023525,
0.011335215531289577,
0.05376739799976349,
-0.10361819714307785,
-0.01808810979127884,
-0.06345294415950775,
-0.07709328830242157,
0.045157939195632935,
0.019271472468972206,
0.12320825457572937,
0.15165123343467712,
-0.036432791501283646,
0.012391915544867516,
-0.03626502305269241,
0.2514060139656067,
-0.07062332332134247,
-0.044132377952337265,
0.12380087375640869,
0.01195808220654726,
0.03455664590001106,
0.1139158308506012,
0.07537666708230972,
-0.09567059576511383,
0.008775250986218452,
0.035008400678634644,
-0.027883142232894897,
-0.20513197779655457,
-0.04547559469938278,
-0.04782099649310112,
-0.03580952063202858,
0.08902444690465927,
0.019846731796860695,
0.04862790182232857,
0.07373340427875519,
0.04635251685976982,
0.0821474939584732,
-0.061890050768852234,
0.0713496208190918,
0.1072956994175911,
0.04893077164888382,
0.1310921311378479,
-0.044134389609098434,
-0.06694801151752472,
0.030207570642232895,
-0.009739373810589314,
0.23273015022277832,
0.029173454269766808,
0.10142743587493896,
0.062180958688259125,
0.16291391849517822,
0.004442292731255293,
0.06988313049077988,
0.005104662384837866,
-0.058123569935560226,
-0.009632546454668045,
-0.03401147201657295,
-0.033386193215847015,
0.03030245564877987,
-0.059486024081707,
0.06951260566711426,
-0.1427595168352127,
-0.013483470305800438,
0.05296959728002548,
0.23686258494853973,
0.032985620200634,
-0.33472955226898193,
-0.09945269674062729,
-0.0013871850678697228,
-0.032853949815034866,
-0.019398527219891548,
0.014029947109520435,
0.07306911796331406,
-0.09851622581481934,
0.008762595243752003,
-0.05398281663656235,
0.08980556577444077,
-0.03045847825706005,
0.04339537397027016,
0.07713447511196136,
0.10339275002479553,
-0.007573430892080069,
0.0721583142876625,
-0.2730657458305359,
0.2918216288089752,
0.009731865487992764,
0.07359915226697922,
-0.05221100524067879,
-0.0011086300946772099,
0.0315629243850708,
0.08854413777589798,
0.05968862026929855,
-0.018353110179305077,
-0.059257980436086655,
-0.24260437488555908,
-0.008928107097744942,
0.03265392780303955,
0.09656549990177155,
-0.04856696352362633,
0.11562302708625793,
-0.032718248665332794,
0.012166757136583328,
0.07654272019863129,
-0.010971788316965103,
-0.05397745966911316,
-0.07573750615119934,
-0.01900746300816536,
0.008775445632636547,
-0.015490171499550343,
-0.06767240166664124,
-0.10854202508926392,
-0.11141996085643768,
0.157454714179039,
-0.023408962413668633,
-0.02008928917348385,
-0.11298345774412155,
0.08541365712881088,
0.06848632544279099,
-0.09067163616418839,
0.054070983082056046,
0.015691759064793587,
0.0681590661406517,
0.034322090446949005,
-0.05530793219804764,
0.11376595497131348,
-0.0594358928501606,
-0.15162885189056396,
-0.060730256140232086,
0.094042107462883,
0.030000021681189537,
0.06222284585237503,
-0.004506899509578943,
0.014321220107376575,
-0.028468536213040352,
-0.0874573364853859,
0.026681460440158844,
-0.023698745295405388,
0.066159687936306,
0.03373761847615242,
-0.07349441945552826,
0.029377423226833344,
-0.059562671929597855,
-0.02111457660794258,
0.17494627833366394,
0.2584308981895447,
-0.10820640623569489,
-0.01120521780103445,
0.013739297166466713,
-0.07531624287366867,
-0.18658630549907684,
0.06648636609315872,
0.05480578914284706,
0.01988288387656212,
0.0354456789791584,
-0.18057972192764282,
0.12975646555423737,
0.11597495526075363,
-0.004814173094928265,
0.10426729917526245,
-0.29545584321022034,
-0.11860394477844238,
0.11895940452814102,
0.14717811346054077,
0.12768669426441193,
-0.13254909217357635,
-0.009507653303444386,
-0.023110100999474525,
-0.13833504915237427,
0.09502054005861282,
-0.05398071929812431,
0.1304643303155899,
-0.036054421216249466,
0.08793061971664429,
0.007728589233011007,
-0.0476229153573513,
0.1208462119102478,
0.024303294718265533,
0.1255044788122177,
-0.048902809619903564,
-0.06524189561605453,
0.03270823508501053,
-0.0352143719792366,
0.016225287690758705,
-0.057946182787418365,
0.025820134207606316,
-0.10512363165616989,
-0.0284106582403183,
-0.0738794282078743,
0.044195640832185745,
-0.03118988126516342,
-0.07354133576154709,
-0.04511934518814087,
0.039420705288648605,
0.01995498314499855,
-0.017904331907629967,
0.118282251060009,
-0.004502103663980961,
0.16370107233524323,
0.07842680811882019,
0.0708635076880455,
-0.07150271534919739,
-0.050099391490221024,
0.00182403065264225,
-0.019189389422535896,
0.06990783661603928,
-0.13673992455005646,
0.02345585636794567,
0.14415231347084045,
0.02408244088292122,
0.14870084822177887,
0.09065692126750946,
-0.01124117523431778,
0.015565470792353153,
0.07579110562801361,
-0.14210176467895508,
-0.0643947646021843,
-0.019138088449835777,
-0.0938197672367096,
-0.10740837454795837,
0.0605655312538147,
0.09757821261882782,
-0.07464387267827988,
-0.016866173595190048,
-0.017790865153074265,
-0.015347680076956749,
-0.07855112105607986,
0.18961022794246674,
0.0797664225101471,
0.04700665548443794,
-0.09131540358066559,
0.04995128884911537,
0.03892529755830765,
-0.03217123821377754,
-0.0045174770057201385,
0.061503179371356964,
-0.06984991580247879,
-0.04059324786067009,
0.05734139680862427,
0.19882306456565857,
-0.10108063369989395,
-0.030283113941550255,
-0.15415117144584656,
-0.1169453114271164,
0.07318378239870071,
0.18707004189491272,
0.11955912411212921,
0.010216716676950455,
-0.03996505215764046,
0.02046486735343933,
-0.1305936723947525,
0.07122217118740082,
0.0288973618298769,
0.0756831243634224,
-0.14669278264045715,
0.18682117760181427,
-0.0030287746340036392,
0.042264267802238464,
-0.024837305769324303,
0.02140319161117077,
-0.12871819734573364,
0.01139023620635271,
-0.10665692389011383,
-0.04810376092791557,
-0.03273143991827965,
0.011502517387270927,
0.00926794670522213,
-0.06104708090424538,
-0.06953097879886627,
0.01296543050557375,
-0.12144642323255539,
-0.016534872353076935,
0.048344288021326065,
0.06656469404697418,
-0.09726931899785995,
-0.030618490651249886,
0.019896982237696648,
-0.05257943645119667,
0.0542876161634922,
0.042973682284355164,
0.04494708776473999,
0.05973051115870476,
-0.14759598672389984,
0.02094360627233982,
0.061712585389614105,
0.0012032551458105445,
0.07319508492946625,
-0.09109744429588318,
0.005942395888268948,
-0.011963712982833385,
0.06889519095420837,
0.021765416488051414,
0.04601866006851196,
-0.13941407203674316,
-0.004547226708382368,
-0.029916541650891304,
-0.0821453332901001,
-0.06459508836269379,
0.02830365300178528,
0.10750102251768112,
0.008792293258011341,
0.18361450731754303,
-0.08009214699268341,
0.03210219368338585,
-0.21555736660957336,
-0.0031627702992409468,
-0.017849838361144066,
-0.09823542088270187,
-0.11926659196615219,
-0.08031828701496124,
0.05803505331277847,
-0.046810515224933624,
0.15030868351459503,
0.04188743606209755,
0.04053863510489464,
0.030317731201648712,
-0.03337877243757248,
0.038240134716033936,
0.021439284086227417,
0.2159602791070938,
0.04994799941778183,
-0.034861933439970016,
0.057199444621801376,
0.07155055552721024,
0.09827961027622223,
0.09751030057668686,
0.17431381344795227,
0.14828439056873322,
-0.014332749880850315,
0.08871518820524216,
0.055487826466560364,
-0.06102299317717552,
-0.13324564695358276,
0.033921319991350174,
-0.02364533767104149,
0.06851625442504883,
-0.029124921187758446,
0.19583682715892792,
0.08667617291212082,
-0.16895747184753418,
0.03844573721289635,
-0.04847146198153496,
-0.08073496073484421,
-0.11163308471441269,
-0.024652455002069473,
-0.09206683188676834,
-0.157795250415802,
0.013010995462536812,
-0.11917153000831604,
0.002860445762053132,
0.11123109608888626,
-0.00621734419837594,
-0.020967625081539154,
0.14477643370628357,
0.00876932218670845,
0.0342850387096405,
0.05246312543749809,
-0.0007963117095641792,
-0.02453133463859558,
-0.13071095943450928,
-0.05926022306084633,
-0.014507738873362541,
-0.038747675716876984,
0.025478363037109375,
-0.06873432546854019,
-0.07052960991859436,
0.02774965576827526,
-0.013515710830688477,
-0.09671611338853836,
0.015222576446831226,
0.02317003160715103,
0.055790968239307404,
0.032267797738313675,
-0.001261951751075685,
0.010938795283436775,
-0.014058087021112442,
0.21761009097099304,
-0.07747525721788406,
-0.06349796056747437,
-0.10986343026161194,
0.27211958169937134,
0.05771127715706825,
0.015211573801934719,
0.01976212114095688,
-0.06500497460365295,
0.02305017039179802,
0.22754515707492828,
0.19631463289260864,
-0.08027303218841553,
0.0018437881954014301,
0.006969536654651165,
-0.01412992738187313,
-0.02708747424185276,
0.1034364402294159,
0.12003517150878906,
0.031856928020715714,
-0.08941512554883957,
-0.043780941516160965,
-0.061203692108392715,
-0.0026016656775027514,
-0.01751069352030754,
0.04140007868409157,
0.054725877940654755,
0.010698290541768074,
-0.042011190205812454,
0.04956095665693283,
-0.05427578091621399,
-0.08056820929050446,
0.10276388376951218,
-0.19535019993782043,
-0.15592072904109955,
-0.015419336035847664,
0.0652519091963768,
0.005040405318140984,
0.07855278253555298,
-0.03993760421872139,
-0.014365892857313156,
0.07628912478685379,
-0.016651134938001633,
-0.09182459861040115,
-0.11461538076400757,
0.10497600585222244,
-0.07594567537307739,
0.2038739025592804,
-0.05443524941802025,
0.060538262128829956,
0.13035738468170166,
0.062331318855285645,
-0.06563761830329895,
0.07944660633802414,
0.04038674384355545,
-0.07785212993621826,
0.029171494767069817,
0.0797060877084732,
-0.03641544282436371,
0.10198184102773666,
0.03399909660220146,
-0.15567097067832947,
0.0331803597509861,
-0.08112072944641113,
-0.06648650765419006,
-0.0489174909889698,
-0.041409604251384735,
-0.056789521127939224,
0.13715596497058868,
0.22942481935024261,
-0.028041696175932884,
0.00035594450309872627,
-0.06470492482185364,
0.031834255903959274,
0.08055184036493301,
0.035168226808309555,
-0.0751306340098381,
-0.22585634887218475,
0.01943509839475155,
0.07535581290721893,
-0.03883828595280647,
-0.2375667244195938,
-0.09079118072986603,
-0.0012124204076826572,
-0.06780093163251877,
-0.07687170058488846,
0.08807836472988129,
0.09122109413146973,
0.06044958531856537,
-0.05771399661898613,
-0.10562928766012192,
-0.07560081779956818,
0.15977796912193298,
-0.1397736370563507,
-0.10320427268743515
] |
null | null |
transformers
|
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
should probably proofread and complete it, then remove this comment. -->
# xlm-roberta-base-finetuned-panx-de-fr
This model is a fine-tuned version of [xlm-roberta-base](https://huggingface.co/xlm-roberta-base) on the None dataset.
It achieves the following results on the evaluation set:
- Loss: 0.1667
- F1: 0.8582
## Model description
More information needed
## Intended uses & limitations
More information needed
## Training and evaluation data
More information needed
## Training procedure
### Training hyperparameters
The following hyperparameters were used during training:
- learning_rate: 5e-05
- train_batch_size: 24
- eval_batch_size: 24
- seed: 42
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- num_epochs: 3
### Training results
| Training Loss | Epoch | Step | Validation Loss | F1 |
|:-------------:|:-----:|:----:|:---------------:|:------:|
| 0.2885 | 1.0 | 715 | 0.1817 | 0.8287 |
| 0.1497 | 2.0 | 1430 | 0.1618 | 0.8442 |
| 0.0944 | 3.0 | 2145 | 0.1667 | 0.8582 |
### Framework versions
- Transformers 4.15.0
- Pytorch 1.10.0+cu111
- Datasets 1.17.0
- Tokenizers 0.10.3
|
{"license": "mit", "tags": ["generated_from_trainer"], "metrics": ["f1"], "base_model": "xlm-roberta-base", "model-index": [{"name": "xlm-roberta-base-finetuned-panx-de-fr", "results": []}]}
|
token-classification
|
coldfir3/xlm-roberta-base-finetuned-panx-de-fr
|
[
"transformers",
"pytorch",
"xlm-roberta",
"token-classification",
"generated_from_trainer",
"base_model:xlm-roberta-base",
"license:mit",
"autotrain_compatible",
"endpoints_compatible",
"region:us"
] |
2022-03-02T23:29:05+00:00
|
[] |
[] |
TAGS
#transformers #pytorch #xlm-roberta #token-classification #generated_from_trainer #base_model-xlm-roberta-base #license-mit #autotrain_compatible #endpoints_compatible #region-us
|
xlm-roberta-base-finetuned-panx-de-fr
=====================================
This model is a fine-tuned version of xlm-roberta-base on the None dataset.
It achieves the following results on the evaluation set:
* Loss: 0.1667
* F1: 0.8582
Model description
-----------------
More information needed
Intended uses & limitations
---------------------------
More information needed
Training and evaluation data
----------------------------
More information needed
Training procedure
------------------
### Training hyperparameters
The following hyperparameters were used during training:
* learning\_rate: 5e-05
* train\_batch\_size: 24
* eval\_batch\_size: 24
* seed: 42
* optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
* lr\_scheduler\_type: linear
* num\_epochs: 3
### Training results
### Framework versions
* Transformers 4.15.0
* Pytorch 1.10.0+cu111
* Datasets 1.17.0
* Tokenizers 0.10.3
|
[
"### Training hyperparameters\n\n\nThe following hyperparameters were used during training:\n\n\n* learning\\_rate: 5e-05\n* train\\_batch\\_size: 24\n* eval\\_batch\\_size: 24\n* seed: 42\n* optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08\n* lr\\_scheduler\\_type: linear\n* num\\_epochs: 3",
"### Training results",
"### Framework versions\n\n\n* Transformers 4.15.0\n* Pytorch 1.10.0+cu111\n* Datasets 1.17.0\n* Tokenizers 0.10.3"
] |
[
"TAGS\n#transformers #pytorch #xlm-roberta #token-classification #generated_from_trainer #base_model-xlm-roberta-base #license-mit #autotrain_compatible #endpoints_compatible #region-us \n",
"### Training hyperparameters\n\n\nThe following hyperparameters were used during training:\n\n\n* learning\\_rate: 5e-05\n* train\\_batch\\_size: 24\n* eval\\_batch\\_size: 24\n* seed: 42\n* optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08\n* lr\\_scheduler\\_type: linear\n* num\\_epochs: 3",
"### Training results",
"### Framework versions\n\n\n* Transformers 4.15.0\n* Pytorch 1.10.0+cu111\n* Datasets 1.17.0\n* Tokenizers 0.10.3"
] |
[
65,
98,
4,
33
] |
[
"passage: TAGS\n#transformers #pytorch #xlm-roberta #token-classification #generated_from_trainer #base_model-xlm-roberta-base #license-mit #autotrain_compatible #endpoints_compatible #region-us \n### Training hyperparameters\n\n\nThe following hyperparameters were used during training:\n\n\n* learning\\_rate: 5e-05\n* train\\_batch\\_size: 24\n* eval\\_batch\\_size: 24\n* seed: 42\n* optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08\n* lr\\_scheduler\\_type: linear\n* num\\_epochs: 3### Training results### Framework versions\n\n\n* Transformers 4.15.0\n* Pytorch 1.10.0+cu111\n* Datasets 1.17.0\n* Tokenizers 0.10.3"
] |
[
-0.10365191847085953,
0.07670216262340546,
-0.0018550058593973517,
0.10992764681577682,
0.18237406015396118,
0.041572317481040955,
0.11528685688972473,
0.11737456917762756,
-0.0997425988316536,
0.025387775152921677,
0.1242707148194313,
0.17047132551670074,
0.0022590768057852983,
0.13496160507202148,
-0.05335966870188713,
-0.26368528604507446,
-0.0061048781499266624,
0.05206279829144478,
-0.06844709068536758,
0.12457772344350815,
0.10377088934183121,
-0.14034171402454376,
0.09604375064373016,
-0.001231395872309804,
-0.2361787110567093,
0.022736798971891403,
0.02658686973154545,
-0.052429378032684326,
0.14125797152519226,
0.036296546459198,
0.1355455070734024,
0.002284063957631588,
0.10202913731336594,
-0.1799425184726715,
0.009472403675317764,
0.03707962483167648,
-0.0002035434008575976,
0.08534657955169678,
0.028417471796274185,
-0.010057995095849037,
0.12341175228357315,
-0.0685943216085434,
0.05614744499325752,
0.02391381561756134,
-0.1357712745666504,
-0.22065654397010803,
-0.08128000050783157,
0.04560862109065056,
0.07295458763837814,
0.0920545682311058,
-0.0037719819229096174,
0.13913153111934662,
-0.09694607555866241,
0.09045259654521942,
0.2293812781572342,
-0.29482248425483704,
-0.07356517761945724,
0.058059677481651306,
0.023903917521238327,
0.05488172546029091,
-0.10812593996524811,
-0.024541769176721573,
0.06667675077915192,
0.0370166189968586,
0.11975207924842834,
-0.0407525859773159,
-0.07347186654806137,
0.028975581750273705,
-0.13811814785003662,
-0.017585529014468193,
0.15008226037025452,
0.04484435170888901,
-0.04272264242172241,
-0.024761321023106575,
-0.035244133323431015,
-0.17601265013217926,
-0.04027266055345535,
-0.01574966311454773,
0.04959888756275177,
-0.0443914532661438,
-0.08268912136554718,
0.013318066485226154,
-0.08906583487987518,
-0.08592107892036438,
-0.06588892638683319,
0.19393624365329742,
0.033494941890239716,
0.006859194487333298,
-0.012262932024896145,
0.1114281490445137,
-0.028172949329018593,
-0.11469374597072601,
0.009089648723602295,
0.02379230223596096,
-0.011524312198162079,
-0.06826392561197281,
-0.06428210437297821,
-0.015385939739644527,
0.004468230996280909,
0.152724489569664,
-0.047941744327545166,
0.03223271295428276,
0.06367657333612442,
0.03448474407196045,
-0.08439286053180695,
0.19716210663318634,
-0.045260943472385406,
-0.035516027361154556,
0.0004090824513696134,
0.04254268854856491,
-0.013081563636660576,
0.006046689581125975,
-0.12262404710054398,
-0.013228507712483406,
0.09193935245275497,
0.012152698822319508,
-0.09231636673212051,
0.07288426905870438,
-0.05247905105352402,
-0.02135094255208969,
-0.007785733323544264,
-0.08429960906505585,
0.03286173194646835,
-0.015260125510394573,
-0.08526240289211273,
-0.02707626484334469,
0.013798668049275875,
0.0109750060364604,
0.008679600432515144,
0.1050177812576294,
-0.11069806665182114,
0.03113425150513649,
-0.10793552547693253,
-0.12035688757896423,
-0.0056062182411551476,
-0.08528932929039001,
0.043557073920965195,
-0.09989441931247711,
-0.15884651243686676,
-0.024566683918237686,
0.04896029084920883,
-0.03055238164961338,
-0.053080588579177856,
-0.054163720458745956,
-0.06945127248764038,
0.0051865773275494576,
-0.004601568914949894,
0.11231695115566254,
-0.0605546236038208,
0.10199485719203949,
0.05816037580370903,
0.0709633007645607,
-0.050838351249694824,
0.055508650839328766,
-0.09871610999107361,
0.010910920798778534,
-0.19129079580307007,
0.03285273164510727,
-0.05617867410182953,
0.07714567333459854,
-0.07337339967489243,
-0.10936852544546127,
0.01767321117222309,
0.01545206643640995,
0.06792905926704407,
0.0811968594789505,
-0.13673372566699982,
-0.08695147186517715,
0.1552339643239975,
-0.06484175473451614,
-0.11966034024953842,
0.09002373367547989,
-0.07030674815177917,
0.06847194582223892,
0.062302689999341965,
0.14703960716724396,
0.07863980531692505,
-0.08075317740440369,
0.010589102283120155,
-0.007600434124469757,
0.03654934838414192,
-0.06847738474607468,
0.06583520770072937,
0.016343463212251663,
-0.01168226357549429,
0.02713252604007721,
-0.05314214527606964,
0.05557168647646904,
-0.11387937515974045,
-0.08965597301721573,
-0.03119923733174801,
-0.09711195528507233,
0.04591035842895508,
0.06625711172819138,
0.07744663208723068,
-0.1110863983631134,
-0.08054666966199875,
0.09122736006975174,
0.09393156319856644,
-0.050239719450473785,
0.011727427132427692,
-0.07016917318105698,
0.06640373170375824,
-0.05226113647222519,
-0.0352664589881897,
-0.17456640303134918,
-0.028192607685923576,
0.002390169305726886,
0.03791997581720352,
0.03210698813199997,
0.030613448470830917,
0.06208580359816551,
0.06469082832336426,
-0.05436484515666962,
-0.027943454682826996,
-0.04834539070725441,
-0.00003994610233348794,
-0.13128240406513214,
-0.19221730530261993,
-0.04396485909819603,
-0.021334663033485413,
0.13504338264465332,
-0.22156596183776855,
0.03554782643914223,
-0.03292584419250488,
0.0711386576294899,
0.020930888131260872,
-0.003704274073243141,
-0.05955364182591438,
0.09752169996500015,
-0.035464972257614136,
-0.04634476825594902,
0.06217757612466812,
0.0014608309138566256,
-0.07725632190704346,
-0.06393864750862122,
-0.09578534960746765,
0.201848566532135,
0.13091441988945007,
-0.1251222938299179,
-0.10892019420862198,
-0.012939782813191414,
-0.05520828813314438,
-0.02346026711165905,
-0.03602691739797592,
0.030350400134921074,
0.16182388365268707,
-0.031573228538036346,
0.1470966637134552,
-0.0635896623134613,
-0.03608209639787674,
0.02177201583981514,
-0.043366171419620514,
0.028390485793352127,
0.11494177579879761,
0.14266344904899597,
-0.08874699473381042,
0.14595367014408112,
0.12724944949150085,
-0.09370643645524979,
0.14338186383247375,
-0.03191405162215233,
-0.07120039314031601,
-0.03495924547314644,
-0.04192925989627838,
-0.007800827734172344,
0.1148277297616005,
-0.1257055550813675,
-0.01904924027621746,
0.014037775807082653,
0.011934919282793999,
0.02162901684641838,
-0.21483562886714935,
-0.049860090017318726,
0.04196614399552345,
-0.032714299857616425,
-0.011901241727173328,
-0.012150785885751247,
0.0021226226817816496,
0.10457347333431244,
0.01581769436597824,
-0.09514155983924866,
0.03336712345480919,
0.009987938217818737,
-0.07868693023920059,
0.20950019359588623,
-0.07514746487140656,
-0.10600816458463669,
-0.13558240234851837,
-0.07760655134916306,
-0.04073964059352875,
0.017190340906381607,
0.052186086773872375,
-0.08166195452213287,
-0.02821996621787548,
-0.04991137981414795,
0.025755014270544052,
-0.008004672825336456,
0.03420605510473251,
0.0055067515932023525,
0.011335215531289577,
0.05376739799976349,
-0.10361819714307785,
-0.01808810979127884,
-0.06345294415950775,
-0.07709328830242157,
0.045157939195632935,
0.019271472468972206,
0.12320825457572937,
0.15165123343467712,
-0.036432791501283646,
0.012391915544867516,
-0.03626502305269241,
0.2514060139656067,
-0.07062332332134247,
-0.044132377952337265,
0.12380087375640869,
0.01195808220654726,
0.03455664590001106,
0.1139158308506012,
0.07537666708230972,
-0.09567059576511383,
0.008775250986218452,
0.035008400678634644,
-0.027883142232894897,
-0.20513197779655457,
-0.04547559469938278,
-0.04782099649310112,
-0.03580952063202858,
0.08902444690465927,
0.019846731796860695,
0.04862790182232857,
0.07373340427875519,
0.04635251685976982,
0.0821474939584732,
-0.061890050768852234,
0.0713496208190918,
0.1072956994175911,
0.04893077164888382,
0.1310921311378479,
-0.044134389609098434,
-0.06694801151752472,
0.030207570642232895,
-0.009739373810589314,
0.23273015022277832,
0.029173454269766808,
0.10142743587493896,
0.062180958688259125,
0.16291391849517822,
0.004442292731255293,
0.06988313049077988,
0.005104662384837866,
-0.058123569935560226,
-0.009632546454668045,
-0.03401147201657295,
-0.033386193215847015,
0.03030245564877987,
-0.059486024081707,
0.06951260566711426,
-0.1427595168352127,
-0.013483470305800438,
0.05296959728002548,
0.23686258494853973,
0.032985620200634,
-0.33472955226898193,
-0.09945269674062729,
-0.0013871850678697228,
-0.032853949815034866,
-0.019398527219891548,
0.014029947109520435,
0.07306911796331406,
-0.09851622581481934,
0.008762595243752003,
-0.05398281663656235,
0.08980556577444077,
-0.03045847825706005,
0.04339537397027016,
0.07713447511196136,
0.10339275002479553,
-0.007573430892080069,
0.0721583142876625,
-0.2730657458305359,
0.2918216288089752,
0.009731865487992764,
0.07359915226697922,
-0.05221100524067879,
-0.0011086300946772099,
0.0315629243850708,
0.08854413777589798,
0.05968862026929855,
-0.018353110179305077,
-0.059257980436086655,
-0.24260437488555908,
-0.008928107097744942,
0.03265392780303955,
0.09656549990177155,
-0.04856696352362633,
0.11562302708625793,
-0.032718248665332794,
0.012166757136583328,
0.07654272019863129,
-0.010971788316965103,
-0.05397745966911316,
-0.07573750615119934,
-0.01900746300816536,
0.008775445632636547,
-0.015490171499550343,
-0.06767240166664124,
-0.10854202508926392,
-0.11141996085643768,
0.157454714179039,
-0.023408962413668633,
-0.02008928917348385,
-0.11298345774412155,
0.08541365712881088,
0.06848632544279099,
-0.09067163616418839,
0.054070983082056046,
0.015691759064793587,
0.0681590661406517,
0.034322090446949005,
-0.05530793219804764,
0.11376595497131348,
-0.0594358928501606,
-0.15162885189056396,
-0.060730256140232086,
0.094042107462883,
0.030000021681189537,
0.06222284585237503,
-0.004506899509578943,
0.014321220107376575,
-0.028468536213040352,
-0.0874573364853859,
0.026681460440158844,
-0.023698745295405388,
0.066159687936306,
0.03373761847615242,
-0.07349441945552826,
0.029377423226833344,
-0.059562671929597855,
-0.02111457660794258,
0.17494627833366394,
0.2584308981895447,
-0.10820640623569489,
-0.01120521780103445,
0.013739297166466713,
-0.07531624287366867,
-0.18658630549907684,
0.06648636609315872,
0.05480578914284706,
0.01988288387656212,
0.0354456789791584,
-0.18057972192764282,
0.12975646555423737,
0.11597495526075363,
-0.004814173094928265,
0.10426729917526245,
-0.29545584321022034,
-0.11860394477844238,
0.11895940452814102,
0.14717811346054077,
0.12768669426441193,
-0.13254909217357635,
-0.009507653303444386,
-0.023110100999474525,
-0.13833504915237427,
0.09502054005861282,
-0.05398071929812431,
0.1304643303155899,
-0.036054421216249466,
0.08793061971664429,
0.007728589233011007,
-0.0476229153573513,
0.1208462119102478,
0.024303294718265533,
0.1255044788122177,
-0.048902809619903564,
-0.06524189561605453,
0.03270823508501053,
-0.0352143719792366,
0.016225287690758705,
-0.057946182787418365,
0.025820134207606316,
-0.10512363165616989,
-0.0284106582403183,
-0.0738794282078743,
0.044195640832185745,
-0.03118988126516342,
-0.07354133576154709,
-0.04511934518814087,
0.039420705288648605,
0.01995498314499855,
-0.017904331907629967,
0.118282251060009,
-0.004502103663980961,
0.16370107233524323,
0.07842680811882019,
0.0708635076880455,
-0.07150271534919739,
-0.050099391490221024,
0.00182403065264225,
-0.019189389422535896,
0.06990783661603928,
-0.13673992455005646,
0.02345585636794567,
0.14415231347084045,
0.02408244088292122,
0.14870084822177887,
0.09065692126750946,
-0.01124117523431778,
0.015565470792353153,
0.07579110562801361,
-0.14210176467895508,
-0.0643947646021843,
-0.019138088449835777,
-0.0938197672367096,
-0.10740837454795837,
0.0605655312538147,
0.09757821261882782,
-0.07464387267827988,
-0.016866173595190048,
-0.017790865153074265,
-0.015347680076956749,
-0.07855112105607986,
0.18961022794246674,
0.0797664225101471,
0.04700665548443794,
-0.09131540358066559,
0.04995128884911537,
0.03892529755830765,
-0.03217123821377754,
-0.0045174770057201385,
0.061503179371356964,
-0.06984991580247879,
-0.04059324786067009,
0.05734139680862427,
0.19882306456565857,
-0.10108063369989395,
-0.030283113941550255,
-0.15415117144584656,
-0.1169453114271164,
0.07318378239870071,
0.18707004189491272,
0.11955912411212921,
0.010216716676950455,
-0.03996505215764046,
0.02046486735343933,
-0.1305936723947525,
0.07122217118740082,
0.0288973618298769,
0.0756831243634224,
-0.14669278264045715,
0.18682117760181427,
-0.0030287746340036392,
0.042264267802238464,
-0.024837305769324303,
0.02140319161117077,
-0.12871819734573364,
0.01139023620635271,
-0.10665692389011383,
-0.04810376092791557,
-0.03273143991827965,
0.011502517387270927,
0.00926794670522213,
-0.06104708090424538,
-0.06953097879886627,
0.01296543050557375,
-0.12144642323255539,
-0.016534872353076935,
0.048344288021326065,
0.06656469404697418,
-0.09726931899785995,
-0.030618490651249886,
0.019896982237696648,
-0.05257943645119667,
0.0542876161634922,
0.042973682284355164,
0.04494708776473999,
0.05973051115870476,
-0.14759598672389984,
0.02094360627233982,
0.061712585389614105,
0.0012032551458105445,
0.07319508492946625,
-0.09109744429588318,
0.005942395888268948,
-0.011963712982833385,
0.06889519095420837,
0.021765416488051414,
0.04601866006851196,
-0.13941407203674316,
-0.004547226708382368,
-0.029916541650891304,
-0.0821453332901001,
-0.06459508836269379,
0.02830365300178528,
0.10750102251768112,
0.008792293258011341,
0.18361450731754303,
-0.08009214699268341,
0.03210219368338585,
-0.21555736660957336,
-0.0031627702992409468,
-0.017849838361144066,
-0.09823542088270187,
-0.11926659196615219,
-0.08031828701496124,
0.05803505331277847,
-0.046810515224933624,
0.15030868351459503,
0.04188743606209755,
0.04053863510489464,
0.030317731201648712,
-0.03337877243757248,
0.038240134716033936,
0.021439284086227417,
0.2159602791070938,
0.04994799941778183,
-0.034861933439970016,
0.057199444621801376,
0.07155055552721024,
0.09827961027622223,
0.09751030057668686,
0.17431381344795227,
0.14828439056873322,
-0.014332749880850315,
0.08871518820524216,
0.055487826466560364,
-0.06102299317717552,
-0.13324564695358276,
0.033921319991350174,
-0.02364533767104149,
0.06851625442504883,
-0.029124921187758446,
0.19583682715892792,
0.08667617291212082,
-0.16895747184753418,
0.03844573721289635,
-0.04847146198153496,
-0.08073496073484421,
-0.11163308471441269,
-0.024652455002069473,
-0.09206683188676834,
-0.157795250415802,
0.013010995462536812,
-0.11917153000831604,
0.002860445762053132,
0.11123109608888626,
-0.00621734419837594,
-0.020967625081539154,
0.14477643370628357,
0.00876932218670845,
0.0342850387096405,
0.05246312543749809,
-0.0007963117095641792,
-0.02453133463859558,
-0.13071095943450928,
-0.05926022306084633,
-0.014507738873362541,
-0.038747675716876984,
0.025478363037109375,
-0.06873432546854019,
-0.07052960991859436,
0.02774965576827526,
-0.013515710830688477,
-0.09671611338853836,
0.015222576446831226,
0.02317003160715103,
0.055790968239307404,
0.032267797738313675,
-0.001261951751075685,
0.010938795283436775,
-0.014058087021112442,
0.21761009097099304,
-0.07747525721788406,
-0.06349796056747437,
-0.10986343026161194,
0.27211958169937134,
0.05771127715706825,
0.015211573801934719,
0.01976212114095688,
-0.06500497460365295,
0.02305017039179802,
0.22754515707492828,
0.19631463289260864,
-0.08027303218841553,
0.0018437881954014301,
0.006969536654651165,
-0.01412992738187313,
-0.02708747424185276,
0.1034364402294159,
0.12003517150878906,
0.031856928020715714,
-0.08941512554883957,
-0.043780941516160965,
-0.061203692108392715,
-0.0026016656775027514,
-0.01751069352030754,
0.04140007868409157,
0.054725877940654755,
0.010698290541768074,
-0.042011190205812454,
0.04956095665693283,
-0.05427578091621399,
-0.08056820929050446,
0.10276388376951218,
-0.19535019993782043,
-0.15592072904109955,
-0.015419336035847664,
0.0652519091963768,
0.005040405318140984,
0.07855278253555298,
-0.03993760421872139,
-0.014365892857313156,
0.07628912478685379,
-0.016651134938001633,
-0.09182459861040115,
-0.11461538076400757,
0.10497600585222244,
-0.07594567537307739,
0.2038739025592804,
-0.05443524941802025,
0.060538262128829956,
0.13035738468170166,
0.062331318855285645,
-0.06563761830329895,
0.07944660633802414,
0.04038674384355545,
-0.07785212993621826,
0.029171494767069817,
0.0797060877084732,
-0.03641544282436371,
0.10198184102773666,
0.03399909660220146,
-0.15567097067832947,
0.0331803597509861,
-0.08112072944641113,
-0.06648650765419006,
-0.0489174909889698,
-0.041409604251384735,
-0.056789521127939224,
0.13715596497058868,
0.22942481935024261,
-0.028041696175932884,
0.00035594450309872627,
-0.06470492482185364,
0.031834255903959274,
0.08055184036493301,
0.035168226808309555,
-0.0751306340098381,
-0.22585634887218475,
0.01943509839475155,
0.07535581290721893,
-0.03883828595280647,
-0.2375667244195938,
-0.09079118072986603,
-0.0012124204076826572,
-0.06780093163251877,
-0.07687170058488846,
0.08807836472988129,
0.09122109413146973,
0.06044958531856537,
-0.05771399661898613,
-0.10562928766012192,
-0.07560081779956818,
0.15977796912193298,
-0.1397736370563507,
-0.10320427268743515
] |
null | null |
transformers
|
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
should probably proofread and complete it, then remove this comment. -->
# xlm-roberta-base-finetuned-panx-en
This model is a fine-tuned version of [xlm-roberta-base](https://huggingface.co/xlm-roberta-base) on the xtreme dataset.
It achieves the following results on the evaluation set:
- Loss: 0.3925
- F1: 0.7075
## Model description
More information needed
## Intended uses & limitations
More information needed
## Training and evaluation data
More information needed
## Training procedure
### Training hyperparameters
The following hyperparameters were used during training:
- learning_rate: 5e-05
- train_batch_size: 24
- eval_batch_size: 24
- seed: 42
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- num_epochs: 3
### Training results
| Training Loss | Epoch | Step | Validation Loss | F1 |
|:-------------:|:-----:|:----:|:---------------:|:------:|
| 1.1493 | 1.0 | 50 | 0.5884 | 0.4748 |
| 0.5135 | 2.0 | 100 | 0.4088 | 0.6623 |
| 0.3558 | 3.0 | 150 | 0.3925 | 0.7075 |
### Framework versions
- Transformers 4.15.0
- Pytorch 1.10.0+cu111
- Datasets 1.17.0
- Tokenizers 0.10.3
|
{"license": "mit", "tags": ["generated_from_trainer"], "datasets": ["xtreme"], "metrics": ["f1"], "model-index": [{"name": "xlm-roberta-base-finetuned-panx-en", "results": [{"task": {"type": "token-classification", "name": "Token Classification"}, "dataset": {"name": "xtreme", "type": "xtreme", "args": "PAN-X.en"}, "metrics": [{"type": "f1", "value": 0.7075365579302588, "name": "F1"}]}]}]}
|
token-classification
|
coldfir3/xlm-roberta-base-finetuned-panx-en
|
[
"transformers",
"pytorch",
"xlm-roberta",
"token-classification",
"generated_from_trainer",
"dataset:xtreme",
"license:mit",
"model-index",
"autotrain_compatible",
"endpoints_compatible",
"region:us"
] |
2022-03-02T23:29:05+00:00
|
[] |
[] |
TAGS
#transformers #pytorch #xlm-roberta #token-classification #generated_from_trainer #dataset-xtreme #license-mit #model-index #autotrain_compatible #endpoints_compatible #region-us
|
xlm-roberta-base-finetuned-panx-en
==================================
This model is a fine-tuned version of xlm-roberta-base on the xtreme dataset.
It achieves the following results on the evaluation set:
* Loss: 0.3925
* F1: 0.7075
Model description
-----------------
More information needed
Intended uses & limitations
---------------------------
More information needed
Training and evaluation data
----------------------------
More information needed
Training procedure
------------------
### Training hyperparameters
The following hyperparameters were used during training:
* learning\_rate: 5e-05
* train\_batch\_size: 24
* eval\_batch\_size: 24
* seed: 42
* optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
* lr\_scheduler\_type: linear
* num\_epochs: 3
### Training results
### Framework versions
* Transformers 4.15.0
* Pytorch 1.10.0+cu111
* Datasets 1.17.0
* Tokenizers 0.10.3
|
[
"### Training hyperparameters\n\n\nThe following hyperparameters were used during training:\n\n\n* learning\\_rate: 5e-05\n* train\\_batch\\_size: 24\n* eval\\_batch\\_size: 24\n* seed: 42\n* optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08\n* lr\\_scheduler\\_type: linear\n* num\\_epochs: 3",
"### Training results",
"### Framework versions\n\n\n* Transformers 4.15.0\n* Pytorch 1.10.0+cu111\n* Datasets 1.17.0\n* Tokenizers 0.10.3"
] |
[
"TAGS\n#transformers #pytorch #xlm-roberta #token-classification #generated_from_trainer #dataset-xtreme #license-mit #model-index #autotrain_compatible #endpoints_compatible #region-us \n",
"### Training hyperparameters\n\n\nThe following hyperparameters were used during training:\n\n\n* learning\\_rate: 5e-05\n* train\\_batch\\_size: 24\n* eval\\_batch\\_size: 24\n* seed: 42\n* optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08\n* lr\\_scheduler\\_type: linear\n* num\\_epochs: 3",
"### Training results",
"### Framework versions\n\n\n* Transformers 4.15.0\n* Pytorch 1.10.0+cu111\n* Datasets 1.17.0\n* Tokenizers 0.10.3"
] |
[
64,
98,
4,
33
] |
[
"passage: TAGS\n#transformers #pytorch #xlm-roberta #token-classification #generated_from_trainer #dataset-xtreme #license-mit #model-index #autotrain_compatible #endpoints_compatible #region-us \n### Training hyperparameters\n\n\nThe following hyperparameters were used during training:\n\n\n* learning\\_rate: 5e-05\n* train\\_batch\\_size: 24\n* eval\\_batch\\_size: 24\n* seed: 42\n* optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08\n* lr\\_scheduler\\_type: linear\n* num\\_epochs: 3### Training results### Framework versions\n\n\n* Transformers 4.15.0\n* Pytorch 1.10.0+cu111\n* Datasets 1.17.0\n* Tokenizers 0.10.3"
] |
[
-0.1135033592581749,
0.09309189021587372,
-0.0015930229565128684,
0.11712905764579773,
0.19375208020210266,
0.04497690498828888,
0.11674968898296356,
0.11664456129074097,
-0.09084507822990417,
0.009688281454145908,
0.12169075757265091,
0.18634167313575745,
0.0037238704971969128,
0.13137447834014893,
-0.05457618087530136,
-0.25815877318382263,
-0.006374909542500973,
0.05028655007481575,
-0.07280406355857849,
0.13327133655548096,
0.1052146926522255,
-0.1489899456501007,
0.10058166831731796,
0.0008570144418627024,
-0.240188330411911,
0.009650753811001778,
0.028398307040333748,
-0.05306623876094818,
0.14522182941436768,
0.03659842908382416,
0.1307799220085144,
0.005182985216379166,
0.10054145008325577,
-0.1797480434179306,
0.009295454248785973,
0.038701143115758896,
0.0022605503909289837,
0.08712706714868546,
0.040249213576316833,
-0.00934972520917654,
0.11450798809528351,
-0.07428893446922302,
0.05106121301651001,
0.02088034339249134,
-0.1337028294801712,
-0.22323332726955414,
-0.08142054826021194,
0.04422400891780853,
0.06425903737545013,
0.1023794561624527,
-0.004018275998532772,
0.1560022383928299,
-0.11128571629524231,
0.09127262979745865,
0.21194897592067719,
-0.2836439311504364,
-0.0651501789689064,
0.0423065684735775,
0.014217963442206383,
0.054951708763837814,
-0.10937640070915222,
-0.025043677538633347,
0.061251260340213776,
0.03770167753100395,
0.12415076792240143,
-0.03649395704269409,
-0.0835689827799797,
0.031625136733055115,
-0.1416463553905487,
-0.023514844477176666,
0.1629493683576584,
0.04848683625459671,
-0.03618142753839493,
-0.03601892292499542,
-0.03266036882996559,
-0.16257275640964508,
-0.03012317605316639,
-0.014660072512924671,
0.04790002107620239,
-0.04858856275677681,
-0.0861571878194809,
0.01999346911907196,
-0.09530796855688095,
-0.07401347905397415,
-0.07218000292778015,
0.18104754388332367,
0.03690667450428009,
0.008970623835921288,
-0.019603796303272247,
0.10791629552841187,
0.00765575934201479,
-0.11085499823093414,
0.015227186493575573,
0.018260113894939423,
-0.012947732582688332,
-0.0656748116016388,
-0.056618597358465195,
-0.017359111458063126,
0.001584757468663156,
0.12303508073091507,
-0.05353809520602226,
0.01768535189330578,
0.07023874670267105,
0.032080017030239105,
-0.07595527172088623,
0.19458015263080597,
-0.05431421101093292,
-0.02258956804871559,
-0.006698643788695335,
0.04258440434932709,
-0.019851485267281532,
0.0042859213426709175,
-0.11914482712745667,
-0.010962661355733871,
0.09558966010808945,
0.01734951324760914,
-0.0864713117480278,
0.07563552260398865,
-0.05879431217908859,
-0.03183067962527275,
-0.003003879217430949,
-0.08133909851312637,
0.03456129878759384,
-0.0116067323833704,
-0.08944647759199142,
-0.023128576576709747,
0.00341786234639585,
0.013812762685120106,
-0.0028195763006806374,
0.1039874404668808,
-0.11040230840444565,
0.03506780415773392,
-0.1024579182267189,
-0.12213508039712906,
-0.003207139205187559,
-0.08720454573631287,
0.04367419704794884,
-0.09417929500341415,
-0.1653572916984558,
-0.021618135273456573,
0.04081903025507927,
-0.01936781406402588,
-0.06088655814528465,
-0.05687316507101059,
-0.07089054584503174,
-0.00197691866196692,
-0.0070209321565926075,
0.11975336074829102,
-0.06306763738393784,
0.10591565072536469,
0.041326407343149185,
0.05868147313594818,
-0.04765870049595833,
0.06042072921991348,
-0.10256481915712357,
0.0009221644140779972,
-0.15675652027130127,
0.041916731745004654,
-0.047246284782886505,
0.06667298823595047,
-0.07172056287527084,
-0.11768592894077301,
0.037384990602731705,
0.01194145530462265,
0.059684980660676956,
0.08768428862094879,
-0.15379321575164795,
-0.08882007002830505,
0.1546194851398468,
-0.06195077300071716,
-0.12540625035762787,
0.10011980682611465,
-0.07288157194852829,
0.05806969106197357,
0.0730641633272171,
0.14527536928653717,
0.07579038292169571,
-0.08004941791296005,
0.001523317419923842,
-0.0025512338615953922,
0.027047770097851753,
-0.07738324254751205,
0.0746350958943367,
0.02599164843559265,
-0.0024151636753231287,
0.027071114629507065,
-0.05183877423405647,
0.06433235108852386,
-0.11908860504627228,
-0.09639985859394073,
-0.028699973598122597,
-0.09490345418453217,
0.04990393668413162,
0.07605478912591934,
0.07070580869913101,
-0.10256458818912506,
-0.07406909763813019,
0.09066168963909149,
0.09878519177436829,
-0.050439175218343735,
0.006317656021565199,
-0.0738394483923912,
0.062355030328035355,
-0.048322778195142746,
-0.03971307724714279,
-0.17170819640159607,
-0.030299074947834015,
-0.00040021020686253905,
0.04247407242655754,
0.016722500324249268,
0.04607459157705307,
0.05571131035685539,
0.06481629610061646,
-0.04903081804513931,
-0.029691539704799652,
-0.04556147754192352,
0.003179657505825162,
-0.13191406428813934,
-0.20035621523857117,
-0.03866586834192276,
-0.01599324680864811,
0.1489863097667694,
-0.2290051430463791,
0.032372940331697464,
-0.038892317563295364,
0.0701252669095993,
0.015372713096439838,
-0.004934653639793396,
-0.05335673689842224,
0.09331973642110825,
-0.036001306027173996,
-0.043815381824970245,
0.06952536106109619,
0.0013917076867073774,
-0.08250340074300766,
-0.049302246421575546,
-0.08810120075941086,
0.20526686310768127,
0.13267460465431213,
-0.1301552951335907,
-0.0950377956032753,
-0.010897268541157246,
-0.0605318583548069,
-0.02432876080274582,
-0.0500873439013958,
0.03882574662566185,
0.16313567757606506,
-0.024814555421471596,
0.14554940164089203,
-0.06353969126939774,
-0.0354437455534935,
0.022380398586392403,
-0.03570135682821274,
0.0278243999928236,
0.12679140269756317,
0.1446615308523178,
-0.10175079852342606,
0.15196236968040466,
0.12650707364082336,
-0.07166662067174911,
0.13818241655826569,
-0.03606415167450905,
-0.07039222121238708,
-0.035599544644355774,
-0.04881595820188522,
-0.01728433184325695,
0.11950503289699554,
-0.12019024789333344,
-0.009610762819647789,
0.02387900836765766,
0.015491263940930367,
0.01719522289931774,
-0.22044450044631958,
-0.05882396548986435,
0.040456704795360565,
-0.031967926770448685,
-0.03170990198850632,
-0.009380376897752285,
0.00923494715243578,
0.10638409107923508,
0.004549888428300619,
-0.10177193582057953,
0.04031966254115105,
0.010444052517414093,
-0.08317814767360687,
0.2085854858160019,
-0.07833162695169449,
-0.13115034997463226,
-0.12286138534545898,
-0.06877750903367996,
-0.04242449998855591,
0.006126550957560539,
0.0483819916844368,
-0.08328960835933685,
-0.027282925322651863,
-0.04532463476061821,
0.02481948956847191,
-0.016120703890919685,
0.02873344160616398,
-0.001945852069184184,
0.005057119764387608,
0.05083274841308594,
-0.1019272431731224,
-0.01555075217038393,
-0.0658508911728859,
-0.07401195913553238,
0.050965312868356705,
0.020285479724407196,
0.12147680670022964,
0.14686983823776245,
-0.032509997487068176,
0.014951094053685665,
-0.04080132395029068,
0.25292378664016724,
-0.07230005413293839,
-0.05195298790931702,
0.12435511499643326,
0.014675648882985115,
0.03257957845926285,
0.10785084962844849,
0.07447420805692673,
-0.09336800128221512,
-0.001385434647090733,
0.033024780452251434,
-0.024309134110808372,
-0.2128581404685974,
-0.05507585033774376,
-0.04815927520394325,
-0.033780038356781006,
0.08405931293964386,
0.015286381356418133,
0.04301954805850983,
0.07389473170042038,
0.041198473423719406,
0.06968314945697784,
-0.06665034592151642,
0.05958635360002518,
0.10607516020536423,
0.047704122960567474,
0.12958107888698578,
-0.040444113314151764,
-0.06785176694393158,
0.03490440547466278,
-0.022763816639780998,
0.2375328093767166,
0.017822982743382454,
0.10809614509344101,
0.06518884003162384,
0.17116495966911316,
0.0004764670738950372,
0.07107048481702805,
0.009959709830582142,
-0.051514752209186554,
-0.01134492177516222,
-0.030114952474832535,
-0.035732097923755646,
0.018552834168076515,
-0.04165422171354294,
0.06591195613145828,
-0.15189684927463531,
0.00042799959192052484,
0.05875048041343689,
0.22746813297271729,
0.03290678933262825,
-0.3378857970237732,
-0.0948474183678627,
-0.01366574876010418,
-0.028571665287017822,
-0.01458810456097126,
0.011706964112818241,
0.08034925907850266,
-0.10514744371175766,
0.011108316481113434,
-0.058525167405605316,
0.09103871881961823,
-0.04345535486936569,
0.04632680490612984,
0.07540331780910492,
0.09928344935178757,
-0.005063466727733612,
0.08380898088216782,
-0.2900860905647278,
0.2893221974372864,
0.006310959812253714,
0.07619239389896393,
-0.06461939215660095,
-0.014333833940327168,
0.02817576378583908,
0.09422913193702698,
0.06781556457281113,
-0.009084495715796947,
-0.0243894811719656,
-0.2350078672170639,
-0.024094875901937485,
0.03712831437587738,
0.08134127408266068,
-0.0381348542869091,
0.10590717196464539,
-0.03283481299877167,
0.013892974704504013,
0.08007752895355225,
-0.0029670291114598513,
-0.04791378974914551,
-0.07709665596485138,
-0.017821937799453735,
0.014517528004944324,
-0.024603620171546936,
-0.0611097551882267,
-0.11878673732280731,
-0.1262698620557785,
0.14141331613063812,
-0.01959831826388836,
-0.02568514458835125,
-0.11178134381771088,
0.09738177806138992,
0.06485158950090408,
-0.09105738252401352,
0.037903793156147,
0.021627211943268776,
0.06567080318927765,
0.04074432700872421,
-0.052777018398046494,
0.10433831065893173,
-0.06097373738884926,
-0.15672193467617035,
-0.05806167051196098,
0.08991345018148422,
0.038807034492492676,
0.06622837483882904,
-0.004300578963011503,
0.012585262767970562,
-0.037082739174366,
-0.08747606724500656,
0.026146993041038513,
-0.013315719552338123,
0.0775449201464653,
0.04086225479841232,
-0.0647796019911766,
0.03227585181593895,
-0.0667988657951355,
-0.031644903123378754,
0.18582946062088013,
0.24372757971286774,
-0.10841657221317291,
-0.001213105977512896,
0.011292709968984127,
-0.0742371454834938,
-0.1870260238647461,
0.06540553271770477,
0.05150361359119415,
0.021911736577749252,
0.04092032089829445,
-0.1808866560459137,
0.129245325922966,
0.11198892444372177,
0.0014431580202654004,
0.09452268481254578,
-0.3104232847690582,
-0.11735421419143677,
0.11862987279891968,
0.14816272258758545,
0.12783090770244598,
-0.11872199177742004,
0.00007138071669032797,
-0.0187571682035923,
-0.12898577749729156,
0.12145718187093735,
-0.053480569273233414,
0.12667442858219147,
-0.03532511740922928,
0.08818480372428894,
0.010566506534814835,
-0.04935009405016899,
0.11541268229484558,
0.03690512105822563,
0.12072113156318665,
-0.044115860015153885,
-0.07053907960653305,
0.03189275786280632,
-0.027415091171860695,
0.013173000887036324,
-0.06365807354450226,
0.028235705569386482,
-0.11729861795902252,
-0.027680234983563423,
-0.08388619869947433,
0.04292561486363411,
-0.03400320187211037,
-0.0735132098197937,
-0.03974875062704086,
0.044736944139003754,
0.042307015508413315,
-0.01911420188844204,
0.11215347796678543,
0.011350390501320362,
0.14441537857055664,
0.06103184446692467,
0.07799483835697174,
-0.07306533306837082,
-0.07129711657762527,
-0.01673593372106552,
-0.013540172018110752,
0.06655854731798172,
-0.12067066133022308,
0.024982724338769913,
0.14987270534038544,
0.026051856577396393,
0.15589098632335663,
0.09108893573284149,
-0.009835631586611271,
0.002817725297063589,
0.06766968965530396,
-0.1451399177312851,
-0.08253402262926102,
-0.01826443523168564,
-0.09297440946102142,
-0.10535867512226105,
0.05549021065235138,
0.09075746685266495,
-0.07676126062870026,
-0.017974739894270897,
-0.019005581736564636,
-0.008414234966039658,
-0.07042233645915985,
0.19642134010791779,
0.07992006838321686,
0.04651147499680519,
-0.10519512742757797,
0.05169125273823738,
0.03866245597600937,
-0.03917428106069565,
-0.006466770078986883,
0.04843546822667122,
-0.07850481569766998,
-0.04499459266662598,
0.06902634352445602,
0.20340777933597565,
-0.10825850814580917,
-0.0416797436773777,
-0.14746612310409546,
-0.11810702085494995,
0.07708010822534561,
0.15867754817008972,
0.12157832086086273,
0.01729552075266838,
-0.04478602483868599,
0.0016097691841423512,
-0.13602206110954285,
0.07779098302125931,
0.03175312653183937,
0.06383320689201355,
-0.15636135637760162,
0.19843630492687225,
-0.000401591561967507,
0.05411115288734436,
-0.023585986346006393,
0.021109214052557945,
-0.11944111436605453,
0.014022531919181347,
-0.10041653364896774,
-0.040366798639297485,
-0.03426007553935051,
0.011979524977505207,
0.004920331295579672,
-0.06307517737150192,
-0.06395556032657623,
0.014838376082479954,
-0.1219596192240715,
-0.014308278448879719,
0.05585354566574097,
0.07212910056114197,
-0.09980055689811707,
-0.03725297376513481,
0.011337107047438622,
-0.04662976413965225,
0.06183738261461258,
0.04897409304976463,
0.0349404402077198,
0.05914364382624626,
-0.1330917924642563,
0.014365069568157196,
0.05900254100561142,
0.010675386525690556,
0.08354134112596512,
-0.09644638001918793,
0.007909341715276241,
-0.0024508533533662558,
0.057824935764074326,
0.026149313896894455,
0.043834440410137177,
-0.13205473124980927,
-0.005810935515910387,
-0.01823493465781212,
-0.07101546972990036,
-0.06774350255727768,
0.03494542837142944,
0.09284806251525879,
0.015667960047721863,
0.2019364833831787,
-0.07140009850263596,
0.03806544840335846,
-0.21436159312725067,
-0.0022440236061811447,
-0.020685074850916862,
-0.10253701359033585,
-0.11994275450706482,
-0.07316906005144119,
0.06515967100858688,
-0.05062844231724739,
0.156651109457016,
0.053732555359601974,
0.03955301269888878,
0.024853011593222618,
-0.02148468606173992,
0.019571874290704727,
0.016133509576320648,
0.20780916512012482,
0.04143625870347023,
-0.031463731080293655,
0.06875357031822205,
0.06529507040977478,
0.09626774489879608,
0.11778116971254349,
0.1878182739019394,
0.1512976884841919,
-0.0038175624795258045,
0.07678107172250748,
0.04844840243458748,
-0.07204083353281021,
-0.14263735711574554,
0.016991032287478447,
-0.03403789550065994,
0.0796252116560936,
-0.025576824322342873,
0.20195713639259338,
0.0640062764286995,
-0.17135362327098846,
0.04581969976425171,
-0.05631270259618759,
-0.08249755203723907,
-0.10952404886484146,
-0.02433559112250805,
-0.08635478466749191,
-0.14648374915122986,
0.008866219781339169,
-0.12111818790435791,
0.0033088435884565115,
0.11472407728433609,
0.000077718825195916,
-0.031103413552045822,
0.12746675312519073,
0.017571309581398964,
0.03258071094751358,
0.04916764423251152,
-0.001560139236971736,
-0.024962829425930977,
-0.14059984683990479,
-0.05028457194566727,
-0.01377308089286089,
-0.030963098630309105,
0.03311054781079292,
-0.07476862519979477,
-0.0674431174993515,
0.02993849664926529,
-0.01983635313808918,
-0.09676221758127213,
0.01471730601042509,
0.016945838928222656,
0.0583791509270668,
0.029360251501202583,
0.006268837954849005,
0.022105908021330833,
-0.013757220469415188,
0.21491119265556335,
-0.06573834270238876,
-0.06680647283792496,
-0.10939861834049225,
0.27877315878868103,
0.05721501633524895,
0.0014059222303330898,
0.04071440175175667,
-0.061265431344509125,
0.019612768664956093,
0.2277141958475113,
0.2127731442451477,
-0.09741418808698654,
-0.00012914017133880407,
-0.0010023247450590134,
-0.013161415234208107,
-0.02987741120159626,
0.10575173050165176,
0.11543087661266327,
0.03618839010596275,
-0.09212213009595871,
-0.029985642060637474,
-0.0750611275434494,
-0.001651668455451727,
-0.004120826721191406,
0.044114407151937485,
0.0601591095328331,
0.00676293158903718,
-0.04059283807873726,
0.0521203838288784,
-0.05856672301888466,
-0.08016890287399292,
0.09077037125825882,
-0.19715063273906708,
-0.1590009480714798,
-0.02194543182849884,
0.06776104122400284,
0.013377492316067219,
0.0749787911772728,
-0.03842129930853844,
-0.006717328447848558,
0.07138875126838684,
-0.01373134646564722,
-0.1031087264418602,
-0.0994066521525383,
0.11531857401132584,
-0.07476717978715897,
0.20131029188632965,
-0.05217200517654419,
0.07459510117769241,
0.12490653246641159,
0.06335554271936417,
-0.06972301006317139,
0.07298532873392105,
0.03763735666871071,
-0.06372007727622986,
0.03429720923304558,
0.07193513214588165,
-0.03224685788154602,
0.08222354203462601,
0.032250549644231796,
-0.14703187346458435,
0.03179606795310974,
-0.08188270777463913,
-0.06706637144088745,
-0.04267175495624542,
-0.034568533301353455,
-0.049182113260030746,
0.13548897206783295,
0.23360875248908997,
-0.029041066765785217,
0.0015387063613161445,
-0.06941290944814682,
0.023524345830082893,
0.07317311316728592,
0.027747301384806633,
-0.0717439204454422,
-0.22442585229873657,
0.013715383596718311,
0.07051901519298553,
-0.028698202222585678,
-0.2231052815914154,
-0.08258510380983353,
-0.0035476870834827423,
-0.08373226225376129,
-0.07562945038080215,
0.08709941804409027,
0.08280251920223236,
0.0609838142991066,
-0.05839614197611809,
-0.06765162199735641,
-0.0781145840883255,
0.15505008399486542,
-0.1354166716337204,
-0.09820840507745743
] |
null | null |
transformers
|
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
should probably proofread and complete it, then remove this comment. -->
# xlm-roberta-base-finetuned-panx-fr
This model is a fine-tuned version of [xlm-roberta-base](https://huggingface.co/xlm-roberta-base) on the xtreme dataset.
It achieves the following results on the evaluation set:
- Loss: 0.2651
- F1: 0.8355
## Model description
More information needed
## Intended uses & limitations
More information needed
## Training and evaluation data
More information needed
## Training procedure
### Training hyperparameters
The following hyperparameters were used during training:
- learning_rate: 5e-05
- train_batch_size: 24
- eval_batch_size: 24
- seed: 42
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- num_epochs: 3
### Training results
| Training Loss | Epoch | Step | Validation Loss | F1 |
|:-------------:|:-----:|:----:|:---------------:|:------:|
| 0.5954 | 1.0 | 191 | 0.3346 | 0.7975 |
| 0.2689 | 2.0 | 382 | 0.2900 | 0.8347 |
| 0.1821 | 3.0 | 573 | 0.2651 | 0.8355 |
### Framework versions
- Transformers 4.15.0
- Pytorch 1.10.0+cu111
- Datasets 1.17.0
- Tokenizers 0.10.3
|
{"license": "mit", "tags": ["generated_from_trainer"], "datasets": ["xtreme"], "metrics": ["f1"], "base_model": "xlm-roberta-base", "model-index": [{"name": "xlm-roberta-base-finetuned-panx-fr", "results": [{"task": {"type": "token-classification", "name": "Token Classification"}, "dataset": {"name": "xtreme", "type": "xtreme", "args": "PAN-X.fr"}, "metrics": [{"type": "f1", "value": 0.8354854938789199, "name": "F1"}]}]}]}
|
token-classification
|
coldfir3/xlm-roberta-base-finetuned-panx-fr
|
[
"transformers",
"pytorch",
"xlm-roberta",
"token-classification",
"generated_from_trainer",
"dataset:xtreme",
"base_model:xlm-roberta-base",
"license:mit",
"model-index",
"autotrain_compatible",
"endpoints_compatible",
"region:us"
] |
2022-03-02T23:29:05+00:00
|
[] |
[] |
TAGS
#transformers #pytorch #xlm-roberta #token-classification #generated_from_trainer #dataset-xtreme #base_model-xlm-roberta-base #license-mit #model-index #autotrain_compatible #endpoints_compatible #region-us
|
xlm-roberta-base-finetuned-panx-fr
==================================
This model is a fine-tuned version of xlm-roberta-base on the xtreme dataset.
It achieves the following results on the evaluation set:
* Loss: 0.2651
* F1: 0.8355
Model description
-----------------
More information needed
Intended uses & limitations
---------------------------
More information needed
Training and evaluation data
----------------------------
More information needed
Training procedure
------------------
### Training hyperparameters
The following hyperparameters were used during training:
* learning\_rate: 5e-05
* train\_batch\_size: 24
* eval\_batch\_size: 24
* seed: 42
* optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
* lr\_scheduler\_type: linear
* num\_epochs: 3
### Training results
### Framework versions
* Transformers 4.15.0
* Pytorch 1.10.0+cu111
* Datasets 1.17.0
* Tokenizers 0.10.3
|
[
"### Training hyperparameters\n\n\nThe following hyperparameters were used during training:\n\n\n* learning\\_rate: 5e-05\n* train\\_batch\\_size: 24\n* eval\\_batch\\_size: 24\n* seed: 42\n* optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08\n* lr\\_scheduler\\_type: linear\n* num\\_epochs: 3",
"### Training results",
"### Framework versions\n\n\n* Transformers 4.15.0\n* Pytorch 1.10.0+cu111\n* Datasets 1.17.0\n* Tokenizers 0.10.3"
] |
[
"TAGS\n#transformers #pytorch #xlm-roberta #token-classification #generated_from_trainer #dataset-xtreme #base_model-xlm-roberta-base #license-mit #model-index #autotrain_compatible #endpoints_compatible #region-us \n",
"### Training hyperparameters\n\n\nThe following hyperparameters were used during training:\n\n\n* learning\\_rate: 5e-05\n* train\\_batch\\_size: 24\n* eval\\_batch\\_size: 24\n* seed: 42\n* optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08\n* lr\\_scheduler\\_type: linear\n* num\\_epochs: 3",
"### Training results",
"### Framework versions\n\n\n* Transformers 4.15.0\n* Pytorch 1.10.0+cu111\n* Datasets 1.17.0\n* Tokenizers 0.10.3"
] |
[
76,
98,
4,
33
] |
[
"passage: TAGS\n#transformers #pytorch #xlm-roberta #token-classification #generated_from_trainer #dataset-xtreme #base_model-xlm-roberta-base #license-mit #model-index #autotrain_compatible #endpoints_compatible #region-us \n### Training hyperparameters\n\n\nThe following hyperparameters were used during training:\n\n\n* learning\\_rate: 5e-05\n* train\\_batch\\_size: 24\n* eval\\_batch\\_size: 24\n* seed: 42\n* optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08\n* lr\\_scheduler\\_type: linear\n* num\\_epochs: 3### Training results### Framework versions\n\n\n* Transformers 4.15.0\n* Pytorch 1.10.0+cu111\n* Datasets 1.17.0\n* Tokenizers 0.10.3"
] |
[
-0.11001166701316833,
0.12461872398853302,
-0.00198324560187757,
0.12165836989879608,
0.1751059591770172,
0.03160824999213219,
0.12654170393943787,
0.12064682692289352,
-0.06551021337509155,
0.018686270341277122,
0.13177722692489624,
0.15631282329559326,
0.015012071467936039,
0.14589041471481323,
-0.0563143715262413,
-0.24933843314647675,
-0.006259174086153507,
0.05559410899877548,
-0.04474107548594475,
0.13067367672920227,
0.10566669702529907,
-0.13114400207996368,
0.10201966017484665,
0.00503260875120759,
-0.20746681094169617,
0.0027591444086283445,
0.025906145572662354,
-0.046904414892196655,
0.13873814046382904,
0.033048421144485474,
0.12478668987751007,
0.0030633886344730854,
0.09082158654928207,
-0.16339358687400818,
0.009305637329816818,
0.038196563720703125,
0.005633202847093344,
0.09579211473464966,
0.030406929552555084,
-0.008102186024188995,
0.07185018062591553,
-0.07228513062000275,
0.052805062383413315,
0.013983398675918579,
-0.14059670269489288,
-0.23027512431144714,
-0.08265580236911774,
0.03809395805001259,
0.08074033260345459,
0.0890546515583992,
-0.010942964814603329,
0.14967244863510132,
-0.06869354099035263,
0.08715878427028656,
0.18370510637760162,
-0.27916330099105835,
-0.07059694826602936,
0.043929118663072586,
0.021391412243247032,
0.07291999459266663,
-0.09769181162118912,
-0.029679449275135994,
0.047394346445798874,
0.037672221660614014,
0.13354997336864471,
-0.032553642988204956,
-0.026471078395843506,
0.013675028458237648,
-0.13191792368888855,
-0.032969556748867035,
0.17144259810447693,
0.0671691745519638,
-0.043154288083314896,
-0.0427054762840271,
-0.03847222402691841,
-0.14688928425312042,
-0.03249388560652733,
-0.00763497781008482,
0.042658399790525436,
-0.03844498097896576,
-0.08477675169706345,
0.0006730234599672258,
-0.0878862515091896,
-0.05619354546070099,
-0.05190412327647209,
0.15655827522277832,
0.02005186304450035,
0.0014183627208694816,
-0.014855410903692245,
0.1024579182267189,
-0.009053478017449379,
-0.12662933766841888,
0.026257703080773354,
0.022373346611857414,
-0.013221783563494682,
-0.06599628925323486,
-0.05357590690255165,
-0.03940378502011299,
-0.0070259785279631615,
0.13317349553108215,
-0.025561198592185974,
0.02765882946550846,
0.0409519262611866,
0.03151332959532738,
-0.07598844915628433,
0.20071665942668915,
-0.04957958310842514,
-0.05725312978029251,
0.002088849199935794,
0.07630311697721481,
0.0016881049377843738,
-0.00020507209410425276,
-0.1362016648054123,
-0.0011984925949946046,
0.10762131959199905,
0.00627894839271903,
-0.06877334415912628,
0.0637483224272728,
-0.060364216566085815,
-0.04768595099449158,
0.02539629302918911,
-0.07540851831436157,
0.02087404578924179,
-0.023281538859009743,
-0.0769273117184639,
-0.04108811914920807,
-0.00252239010296762,
0.027432430535554886,
0.016042621806263924,
0.08936911821365356,
-0.11648032069206238,
0.01694609969854355,
-0.08863823115825653,
-0.11641162633895874,
-0.008426717482507229,
-0.09310710430145264,
0.04315416142344475,
-0.09658098220825195,
-0.16939997673034668,
-0.022130083292722702,
0.0571775808930397,
-0.03325393795967102,
-0.07423943281173706,
-0.05628133937716484,
-0.05499665066599846,
0.001803273567929864,
-0.005163698457181454,
0.11267174780368805,
-0.06077887490391731,
0.10135934501886368,
0.04120718315243721,
0.05643870681524277,
-0.054643962532281876,
0.05630717799067497,
-0.10649309307336807,
0.02752801775932312,
-0.16252906620502472,
0.045808661729097366,
-0.03658844158053398,
0.07828374952077866,
-0.09492038935422897,
-0.09937915205955505,
0.02690768428146839,
-0.008270086720585823,
0.059862587600946426,
0.07947121560573578,
-0.14326751232147217,
-0.08011920750141144,
0.15209011733531952,
-0.04547441005706787,
-0.13066203892230988,
0.10952899605035782,
-0.07577519863843918,
0.07142715901136398,
0.066712386906147,
0.17709419131278992,
0.08542172610759735,
-0.06053059920668602,
0.022410923615098,
-0.01698961667716503,
0.06013365089893341,
-0.07034577429294586,
0.09227167814970016,
0.0127442991361022,
-0.00841538142412901,
0.01691662147641182,
-0.06431537866592407,
0.06843758374452591,
-0.09341756254434586,
-0.09531757980585098,
-0.013265310786664486,
-0.10224179178476334,
0.04974497854709625,
0.06296122819185257,
0.07251281291246414,
-0.09815313667058945,
-0.07709339261054993,
0.06844735145568848,
0.0903504490852356,
-0.049543172121047974,
0.006137843243777752,
-0.07305358350276947,
0.07658931612968445,
-0.08453116565942764,
-0.03677307814359665,
-0.16428609192371368,
-0.02464049495756626,
0.010981251485645771,
0.039620570838451385,
0.02305256389081478,
0.022058717906475067,
0.06049636751413345,
0.06343812495470047,
-0.05633210390806198,
-0.030143117532134056,
-0.029486915096640587,
0.008932659402489662,
-0.13141192495822906,
-0.17787399888038635,
-0.050231948494911194,
-0.02197430469095707,
0.1849868893623352,
-0.22168511152267456,
0.030137715861201286,
-0.049576643854379654,
0.07786248624324799,
0.028808051720261574,
-0.023070160299539566,
-0.04305669665336609,
0.07936157286167145,
-0.031662482768297195,
-0.057171475142240524,
0.07447101920843124,
0.007885463535785675,
-0.0935172513127327,
-0.04999908059835434,
-0.10637197643518448,
0.1860041320323944,
0.11683642864227295,
-0.07669226080179214,
-0.0884018987417221,
-0.01922619342803955,
-0.046050019562244415,
-0.022043297067284584,
-0.0315609872341156,
0.013411484658718109,
0.1620512306690216,
-0.010904988273978233,
0.1570616513490677,
-0.07160983979701996,
-0.033233560621738434,
0.026404228061437607,
-0.03346383571624756,
0.01264250185340643,
0.1252090334892273,
0.1121492087841034,
-0.14626570045948029,
0.14962393045425415,
0.146713986992836,
-0.06153377890586853,
0.13490547239780426,
-0.03127359226346016,
-0.06128848344087601,
-0.05019908770918846,
-0.04505192115902901,
-0.006129248533397913,
0.11641115695238113,
-0.0963050052523613,
-0.009402135387063026,
0.022401168942451477,
0.015047432854771614,
0.0052047185599803925,
-0.19652310013771057,
-0.05187040567398071,
0.05049917846918106,
-0.026310542598366737,
-0.0268921609967947,
-0.010552069172263145,
-0.002485875738784671,
0.0981811136007309,
0.025254417210817337,
-0.1010824516415596,
0.04152333736419678,
0.008750475943088531,
-0.07620681822299957,
0.19390515983104706,
-0.06619321554899216,
-0.13555876910686493,
-0.1375626176595688,
-0.08694630116224289,
-0.04864351823925972,
0.01970466412603855,
0.03986358270049095,
-0.06708633899688721,
-0.0202898271381855,
-0.06881129741668701,
-0.0053804973140358925,
-0.018732372671365738,
0.01598154380917549,
0.009276037104427814,
-0.009954642504453659,
0.0658540353178978,
-0.08759899437427521,
-0.01798301935195923,
-0.04470774158835411,
-0.034252557903528214,
0.04075498506426811,
-0.0005677890731021762,
0.11502528190612793,
0.13715949654579163,
-0.023090071976184845,
0.013364138081669807,
-0.035497795790433884,
0.27165883779525757,
-0.07452207803726196,
-0.03097928874194622,
0.13291721045970917,
-0.0024575248826295137,
0.04339976981282234,
0.12597011029720306,
0.06373453885316849,
-0.0898275300860405,
0.0008585636387579143,
0.02629278600215912,
-0.030232414603233337,
-0.1868624985218048,
-0.040114253759384155,
-0.0524333231151104,
-0.0408262275159359,
0.11008938401937485,
0.009035642258822918,
0.036372821778059006,
0.07441623508930206,
0.041019994765520096,
0.08372887969017029,
-0.057839009910821915,
0.07311683893203735,
0.10609138011932373,
0.05164284631609917,
0.13541586697101593,
-0.027669444680213928,
-0.06574718654155731,
0.026723114773631096,
0.01115806121379137,
0.21675322949886322,
0.030332505702972412,
0.13109004497528076,
0.0484766885638237,
0.15908245742321014,
-0.006625800393521786,
0.051451101899147034,
0.0030199093744158745,
-0.03604328632354736,
-0.028977572917938232,
-0.027072008699178696,
-0.04371721297502518,
0.023434417322278023,
-0.024473611265420914,
0.0598636269569397,
-0.12585510313510895,
-0.01922486163675785,
0.04053235426545143,
0.23009315133094788,
0.04421429708600044,
-0.3495210111141205,
-0.09776653349399567,
0.008254682645201683,
-0.030697649344801903,
-0.024841157719492912,
0.004434478934854269,
0.0743345245718956,
-0.10331746935844421,
0.009763318113982677,
-0.07203244417905807,
0.0932932049036026,
-0.0499701127409935,
0.04272427782416344,
0.06992454826831818,
0.08224595338106155,
-0.009788455441594124,
0.07416460663080215,
-0.25127795338630676,
0.29171934723854065,
0.011842861771583557,
0.05552126094698906,
-0.0575660802423954,
-0.008572551421821117,
0.02691507153213024,
0.07732444256544113,
0.07033007591962814,
-0.001984603703022003,
-0.025686323642730713,
-0.23943035304546356,
-0.03264292702078819,
0.028944483026862144,
0.06514065712690353,
-0.074142225086689,
0.11308728158473969,
-0.03513294458389282,
0.010563521645963192,
0.06723806262016296,
0.025024769827723503,
-0.032859113067388535,
-0.08645904809236526,
-0.003605147823691368,
0.029238073155283928,
-0.01898651011288166,
-0.06168271601200104,
-0.10467316210269928,
-0.109247125685215,
0.13083641231060028,
0.009355469606816769,
-0.035888686776161194,
-0.10916996747255325,
0.08145178854465485,
0.06769150495529175,
-0.09037046134471893,
0.029579075053334236,
0.004483927506953478,
0.07973796129226685,
0.026777684688568115,
-0.04444197565317154,
0.10534840077161789,
-0.053890522569417953,
-0.14237411320209503,
-0.06754816323518753,
0.10803648084402084,
0.027077967301011086,
0.06598405539989471,
0.0035081191454082727,
0.026519054546952248,
-0.03788033500313759,
-0.06428185850381851,
0.03660902753472328,
-0.032679006457328796,
0.07336287200450897,
0.018226316198706627,
-0.04325598105788231,
0.03905533626675606,
-0.0771743506193161,
-0.02825227752327919,
0.1719597429037094,
0.2627197504043579,
-0.09588544070720673,
-0.002359098754823208,
0.011196235194802284,
-0.06588032841682434,
-0.14892899990081787,
0.05327453091740608,
0.056964099407196045,
0.02042388916015625,
0.058924563229084015,
-0.1796046644449234,
0.09696885198354721,
0.09852530062198639,
-0.012977289967238903,
0.09389513731002808,
-0.28426748514175415,
-0.1132657527923584,
0.11115654557943344,
0.1411977857351303,
0.11818305402994156,
-0.12266714870929718,
-0.019533880054950714,
-0.022717906162142754,
-0.13119740784168243,
0.11822281777858734,
-0.03821542114019394,
0.12393427640199661,
-0.020514706149697304,
0.09624509513378143,
0.012332278303802013,
-0.04610446095466614,
0.13157233595848083,
0.02254236303269863,
0.10554788261651993,
-0.04578880965709686,
-0.06638416647911072,
0.032752539962530136,
-0.04213089495897293,
0.008054994978010654,
-0.07129060477018356,
0.02542051114141941,
-0.137614905834198,
-0.026927314698696136,
-0.08001812547445297,
0.023121507838368416,
-0.026847152039408684,
-0.07276728749275208,
-0.034169115126132965,
0.05887828394770622,
0.04825910925865173,
-0.014661827124655247,
0.1294996738433838,
0.003739659208804369,
0.15206411480903625,
0.08310509473085403,
0.07270614057779312,
-0.06132931634783745,
-0.05398983135819435,
-0.022060668095946312,
-0.02569395676255226,
0.05678393319249153,
-0.12466719001531601,
0.023070525377988815,
0.13603009283542633,
0.015543315559625626,
0.16031739115715027,
0.0722886398434639,
-0.01341322436928749,
0.009423686191439629,
0.05915842950344086,
-0.1424693614244461,
-0.08138670027256012,
-0.026719000190496445,
-0.065737284719944,
-0.13141579926013947,
0.02623719908297062,
0.11531971395015717,
-0.06677557528018951,
-0.02318894863128662,
-0.013870653696358204,
-0.0025832292158156633,
-0.05734715983271599,
0.17758113145828247,
0.07449807226657867,
0.05100854113698006,
-0.08808214962482452,
0.04292905330657959,
0.06647545099258423,
-0.034337855875492096,
0.0001458003098377958,
0.02744058147072792,
-0.08310970664024353,
-0.03850187733769417,
0.017599891871213913,
0.1864127218723297,
-0.09580381214618683,
-0.020693890750408173,
-0.15148009359836578,
-0.0990704670548439,
0.06302916258573532,
0.1367649883031845,
0.11097069084644318,
-0.0001747420901665464,
-0.04768264666199684,
-0.008398954756557941,
-0.11777784675359726,
0.08954089879989624,
0.0360417477786541,
0.07303822040557861,
-0.14771972596645355,
0.15514923632144928,
-0.012943191453814507,
0.0398557111620903,
-0.01589079573750496,
0.01770908012986183,
-0.11329104751348495,
0.008211747743189335,
-0.1030096486210823,
-0.035872623324394226,
-0.03158799558877945,
0.010609112679958344,
-0.005925752688199282,
-0.06685660034418106,
-0.06047932431101799,
0.0061293295584619045,
-0.11728982627391815,
-0.02384534664452076,
0.05147530511021614,
0.06482742726802826,
-0.08706625550985336,
-0.04112769290804863,
0.022255485877394676,
-0.0513334646821022,
0.058585550636053085,
0.02641437202692032,
0.038506489247083664,
0.03389408811926842,
-0.10609541088342667,
0.022979848086833954,
0.033477168530225754,
0.010620173998177052,
0.07013821601867676,
-0.11680996417999268,
0.001611941261216998,
-0.011223716661334038,
0.05174259841442108,
0.02710823528468609,
0.0680743008852005,
-0.12888431549072266,
-0.00629481440410018,
-0.007741696201264858,
-0.0659889206290245,
-0.06665904819965363,
0.0365205854177475,
0.08210106939077377,
0.028464272618293762,
0.20107518136501312,
-0.06628268212080002,
0.038596440106630325,
-0.2155337929725647,
-0.0060508945025503635,
-0.01811210624873638,
-0.11207690089941025,
-0.1072445809841156,
-0.0813743844628334,
0.05273083224892616,
-0.04967914894223213,
0.1342013031244278,
0.04661204293370247,
0.05672769248485565,
0.027684103697538376,
-0.009682745672762394,
0.045577455312013626,
0.010114298202097416,
0.19953836500644684,
0.04092921316623688,
-0.03972364589571953,
0.0778326615691185,
0.05394240841269493,
0.08525153249502182,
0.1295487880706787,
0.15216562151908875,
0.1552278995513916,
0.002395771211013198,
0.06470226496458054,
0.04138214886188507,
-0.043791741132736206,
-0.1557561606168747,
0.019462037831544876,
-0.010038411244750023,
0.08495752513408661,
-0.01432286947965622,
0.2075520008802414,
0.06652101874351501,
-0.17853188514709473,
0.03491073474287987,
-0.059712138026952744,
-0.07797707617282867,
-0.09211374819278717,
-0.06573215872049332,
-0.08569139987230301,
-0.12494423240423203,
0.0006075644632801414,
-0.11167225241661072,
-0.0001621413539396599,
0.12314224243164062,
-0.013038622215390205,
-0.030800893902778625,
0.12753023207187653,
0.0020686222705990076,
0.0172361359000206,
0.05381721630692482,
-0.0005930845509283245,
-0.02501915767788887,
-0.12064540386199951,
-0.06367824971675873,
-0.005327973514795303,
-0.018279217183589935,
0.034277547150850296,
-0.07611876726150513,
-0.04740774258971214,
0.01823476329445839,
-0.011721805669367313,
-0.11185019463300705,
0.007678253576159477,
0.02065412513911724,
0.05801750347018242,
0.03744373098015785,
0.004395721480250359,
0.026347259059548378,
-0.012233851477503777,
0.22249042987823486,
-0.06403791904449463,
-0.0409822091460228,
-0.11426033824682236,
0.25213921070098877,
0.02791343815624714,
-0.013322437182068825,
0.027113528922200203,
-0.06637269258499146,
0.03923562914133072,
0.21989376842975616,
0.19509969651699066,
-0.10819296538829803,
-0.00462777866050601,
0.0020162765868008137,
-0.012821456417441368,
-0.016298877075314522,
0.09822317957878113,
0.0960082858800888,
-0.00887680146843195,
-0.09066684544086456,
-0.021573303267359734,
-0.07519630342721939,
-0.004535452462732792,
-0.004887922201305628,
0.04930412396788597,
0.05234945937991142,
0.014245920814573765,
-0.04278792440891266,
0.06288578361272812,
-0.042147960513830185,
-0.09210807085037231,
0.06435711681842804,
-0.20589512586593628,
-0.16929921507835388,
-0.02533060871064663,
0.055388737469911575,
0.0094772819429636,
0.07089607417583466,
-0.037812039256095886,
0.012180734425783157,
0.06815077364444733,
-0.014388750307261944,
-0.06688057631254196,
-0.10431846976280212,
0.11439500749111176,
-0.07401128858327866,
0.20473800599575043,
-0.0521363765001297,
0.05446169525384903,
0.12548591196537018,
0.05535612255334854,
-0.07124339044094086,
0.06792790442705154,
0.05017197132110596,
-0.03004242293536663,
0.042587149888277054,
0.08422818779945374,
-0.027272623032331467,
0.11701089888811111,
0.04354193061590195,
-0.13806140422821045,
0.02088959701359272,
-0.07144247740507126,
-0.05921045318245888,
-0.042636677622795105,
-0.041269123554229736,
-0.052792344242334366,
0.153370201587677,
0.21872560679912567,
-0.04264235123991966,
-0.018765773624181747,
-0.06096486374735832,
0.015651734545826912,
0.0917234942317009,
0.0219439584761858,
-0.08190624415874481,
-0.21709062159061432,
-0.002399167511612177,
0.05493978410959244,
-0.023336634039878845,
-0.26197484135627747,
-0.08267273753881454,
-0.011721622198820114,
-0.07185442745685577,
-0.06106554716825485,
0.09653688967227936,
0.06735914200544357,
0.05419887229800224,
-0.06301788985729218,
-0.04983464628458023,
-0.07808773964643478,
0.1460978388786316,
-0.13412894308567047,
-0.08798971027135849
] |
null | null |
transformers
|
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
should probably proofread and complete it, then remove this comment. -->
# xlm-roberta-base-finetuned-panx-it
This model is a fine-tuned version of [xlm-roberta-base](https://huggingface.co/xlm-roberta-base) on the xtreme dataset.
It achieves the following results on the evaluation set:
- Loss: 0.2323
- F1: 0.8228
## Model description
More information needed
## Intended uses & limitations
More information needed
## Training and evaluation data
More information needed
## Training procedure
### Training hyperparameters
The following hyperparameters were used during training:
- learning_rate: 5e-05
- train_batch_size: 24
- eval_batch_size: 24
- seed: 42
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- num_epochs: 3
### Training results
| Training Loss | Epoch | Step | Validation Loss | F1 |
|:-------------:|:-----:|:----:|:---------------:|:------:|
| 0.8126 | 1.0 | 70 | 0.3361 | 0.7231 |
| 0.2995 | 2.0 | 140 | 0.2526 | 0.8079 |
| 0.1865 | 3.0 | 210 | 0.2323 | 0.8228 |
### Framework versions
- Transformers 4.15.0
- Pytorch 1.10.0+cu111
- Datasets 1.17.0
- Tokenizers 0.10.3
|
{"license": "mit", "tags": ["generated_from_trainer"], "datasets": ["xtreme"], "metrics": ["f1"], "base_model": "xlm-roberta-base", "model-index": [{"name": "xlm-roberta-base-finetuned-panx-it", "results": [{"task": {"type": "token-classification", "name": "Token Classification"}, "dataset": {"name": "xtreme", "type": "xtreme", "args": "PAN-X.it"}, "metrics": [{"type": "f1", "value": 0.822805578342904, "name": "F1"}]}]}]}
|
token-classification
|
coldfir3/xlm-roberta-base-finetuned-panx-it
|
[
"transformers",
"pytorch",
"xlm-roberta",
"token-classification",
"generated_from_trainer",
"dataset:xtreme",
"base_model:xlm-roberta-base",
"license:mit",
"model-index",
"autotrain_compatible",
"endpoints_compatible",
"region:us"
] |
2022-03-02T23:29:05+00:00
|
[] |
[] |
TAGS
#transformers #pytorch #xlm-roberta #token-classification #generated_from_trainer #dataset-xtreme #base_model-xlm-roberta-base #license-mit #model-index #autotrain_compatible #endpoints_compatible #region-us
|
xlm-roberta-base-finetuned-panx-it
==================================
This model is a fine-tuned version of xlm-roberta-base on the xtreme dataset.
It achieves the following results on the evaluation set:
* Loss: 0.2323
* F1: 0.8228
Model description
-----------------
More information needed
Intended uses & limitations
---------------------------
More information needed
Training and evaluation data
----------------------------
More information needed
Training procedure
------------------
### Training hyperparameters
The following hyperparameters were used during training:
* learning\_rate: 5e-05
* train\_batch\_size: 24
* eval\_batch\_size: 24
* seed: 42
* optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
* lr\_scheduler\_type: linear
* num\_epochs: 3
### Training results
### Framework versions
* Transformers 4.15.0
* Pytorch 1.10.0+cu111
* Datasets 1.17.0
* Tokenizers 0.10.3
|
[
"### Training hyperparameters\n\n\nThe following hyperparameters were used during training:\n\n\n* learning\\_rate: 5e-05\n* train\\_batch\\_size: 24\n* eval\\_batch\\_size: 24\n* seed: 42\n* optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08\n* lr\\_scheduler\\_type: linear\n* num\\_epochs: 3",
"### Training results",
"### Framework versions\n\n\n* Transformers 4.15.0\n* Pytorch 1.10.0+cu111\n* Datasets 1.17.0\n* Tokenizers 0.10.3"
] |
[
"TAGS\n#transformers #pytorch #xlm-roberta #token-classification #generated_from_trainer #dataset-xtreme #base_model-xlm-roberta-base #license-mit #model-index #autotrain_compatible #endpoints_compatible #region-us \n",
"### Training hyperparameters\n\n\nThe following hyperparameters were used during training:\n\n\n* learning\\_rate: 5e-05\n* train\\_batch\\_size: 24\n* eval\\_batch\\_size: 24\n* seed: 42\n* optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08\n* lr\\_scheduler\\_type: linear\n* num\\_epochs: 3",
"### Training results",
"### Framework versions\n\n\n* Transformers 4.15.0\n* Pytorch 1.10.0+cu111\n* Datasets 1.17.0\n* Tokenizers 0.10.3"
] |
[
76,
98,
4,
33
] |
[
"passage: TAGS\n#transformers #pytorch #xlm-roberta #token-classification #generated_from_trainer #dataset-xtreme #base_model-xlm-roberta-base #license-mit #model-index #autotrain_compatible #endpoints_compatible #region-us \n### Training hyperparameters\n\n\nThe following hyperparameters were used during training:\n\n\n* learning\\_rate: 5e-05\n* train\\_batch\\_size: 24\n* eval\\_batch\\_size: 24\n* seed: 42\n* optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08\n* lr\\_scheduler\\_type: linear\n* num\\_epochs: 3### Training results### Framework versions\n\n\n* Transformers 4.15.0\n* Pytorch 1.10.0+cu111\n* Datasets 1.17.0\n* Tokenizers 0.10.3"
] |
[
-0.11001166701316833,
0.12461872398853302,
-0.00198324560187757,
0.12165836989879608,
0.1751059591770172,
0.03160824999213219,
0.12654170393943787,
0.12064682692289352,
-0.06551021337509155,
0.018686270341277122,
0.13177722692489624,
0.15631282329559326,
0.015012071467936039,
0.14589041471481323,
-0.0563143715262413,
-0.24933843314647675,
-0.006259174086153507,
0.05559410899877548,
-0.04474107548594475,
0.13067367672920227,
0.10566669702529907,
-0.13114400207996368,
0.10201966017484665,
0.00503260875120759,
-0.20746681094169617,
0.0027591444086283445,
0.025906145572662354,
-0.046904414892196655,
0.13873814046382904,
0.033048421144485474,
0.12478668987751007,
0.0030633886344730854,
0.09082158654928207,
-0.16339358687400818,
0.009305637329816818,
0.038196563720703125,
0.005633202847093344,
0.09579211473464966,
0.030406929552555084,
-0.008102186024188995,
0.07185018062591553,
-0.07228513062000275,
0.052805062383413315,
0.013983398675918579,
-0.14059670269489288,
-0.23027512431144714,
-0.08265580236911774,
0.03809395805001259,
0.08074033260345459,
0.0890546515583992,
-0.010942964814603329,
0.14967244863510132,
-0.06869354099035263,
0.08715878427028656,
0.18370510637760162,
-0.27916330099105835,
-0.07059694826602936,
0.043929118663072586,
0.021391412243247032,
0.07291999459266663,
-0.09769181162118912,
-0.029679449275135994,
0.047394346445798874,
0.037672221660614014,
0.13354997336864471,
-0.032553642988204956,
-0.026471078395843506,
0.013675028458237648,
-0.13191792368888855,
-0.032969556748867035,
0.17144259810447693,
0.0671691745519638,
-0.043154288083314896,
-0.0427054762840271,
-0.03847222402691841,
-0.14688928425312042,
-0.03249388560652733,
-0.00763497781008482,
0.042658399790525436,
-0.03844498097896576,
-0.08477675169706345,
0.0006730234599672258,
-0.0878862515091896,
-0.05619354546070099,
-0.05190412327647209,
0.15655827522277832,
0.02005186304450035,
0.0014183627208694816,
-0.014855410903692245,
0.1024579182267189,
-0.009053478017449379,
-0.12662933766841888,
0.026257703080773354,
0.022373346611857414,
-0.013221783563494682,
-0.06599628925323486,
-0.05357590690255165,
-0.03940378502011299,
-0.0070259785279631615,
0.13317349553108215,
-0.025561198592185974,
0.02765882946550846,
0.0409519262611866,
0.03151332959532738,
-0.07598844915628433,
0.20071665942668915,
-0.04957958310842514,
-0.05725312978029251,
0.002088849199935794,
0.07630311697721481,
0.0016881049377843738,
-0.00020507209410425276,
-0.1362016648054123,
-0.0011984925949946046,
0.10762131959199905,
0.00627894839271903,
-0.06877334415912628,
0.0637483224272728,
-0.060364216566085815,
-0.04768595099449158,
0.02539629302918911,
-0.07540851831436157,
0.02087404578924179,
-0.023281538859009743,
-0.0769273117184639,
-0.04108811914920807,
-0.00252239010296762,
0.027432430535554886,
0.016042621806263924,
0.08936911821365356,
-0.11648032069206238,
0.01694609969854355,
-0.08863823115825653,
-0.11641162633895874,
-0.008426717482507229,
-0.09310710430145264,
0.04315416142344475,
-0.09658098220825195,
-0.16939997673034668,
-0.022130083292722702,
0.0571775808930397,
-0.03325393795967102,
-0.07423943281173706,
-0.05628133937716484,
-0.05499665066599846,
0.001803273567929864,
-0.005163698457181454,
0.11267174780368805,
-0.06077887490391731,
0.10135934501886368,
0.04120718315243721,
0.05643870681524277,
-0.054643962532281876,
0.05630717799067497,
-0.10649309307336807,
0.02752801775932312,
-0.16252906620502472,
0.045808661729097366,
-0.03658844158053398,
0.07828374952077866,
-0.09492038935422897,
-0.09937915205955505,
0.02690768428146839,
-0.008270086720585823,
0.059862587600946426,
0.07947121560573578,
-0.14326751232147217,
-0.08011920750141144,
0.15209011733531952,
-0.04547441005706787,
-0.13066203892230988,
0.10952899605035782,
-0.07577519863843918,
0.07142715901136398,
0.066712386906147,
0.17709419131278992,
0.08542172610759735,
-0.06053059920668602,
0.022410923615098,
-0.01698961667716503,
0.06013365089893341,
-0.07034577429294586,
0.09227167814970016,
0.0127442991361022,
-0.00841538142412901,
0.01691662147641182,
-0.06431537866592407,
0.06843758374452591,
-0.09341756254434586,
-0.09531757980585098,
-0.013265310786664486,
-0.10224179178476334,
0.04974497854709625,
0.06296122819185257,
0.07251281291246414,
-0.09815313667058945,
-0.07709339261054993,
0.06844735145568848,
0.0903504490852356,
-0.049543172121047974,
0.006137843243777752,
-0.07305358350276947,
0.07658931612968445,
-0.08453116565942764,
-0.03677307814359665,
-0.16428609192371368,
-0.02464049495756626,
0.010981251485645771,
0.039620570838451385,
0.02305256389081478,
0.022058717906475067,
0.06049636751413345,
0.06343812495470047,
-0.05633210390806198,
-0.030143117532134056,
-0.029486915096640587,
0.008932659402489662,
-0.13141192495822906,
-0.17787399888038635,
-0.050231948494911194,
-0.02197430469095707,
0.1849868893623352,
-0.22168511152267456,
0.030137715861201286,
-0.049576643854379654,
0.07786248624324799,
0.028808051720261574,
-0.023070160299539566,
-0.04305669665336609,
0.07936157286167145,
-0.031662482768297195,
-0.057171475142240524,
0.07447101920843124,
0.007885463535785675,
-0.0935172513127327,
-0.04999908059835434,
-0.10637197643518448,
0.1860041320323944,
0.11683642864227295,
-0.07669226080179214,
-0.0884018987417221,
-0.01922619342803955,
-0.046050019562244415,
-0.022043297067284584,
-0.0315609872341156,
0.013411484658718109,
0.1620512306690216,
-0.010904988273978233,
0.1570616513490677,
-0.07160983979701996,
-0.033233560621738434,
0.026404228061437607,
-0.03346383571624756,
0.01264250185340643,
0.1252090334892273,
0.1121492087841034,
-0.14626570045948029,
0.14962393045425415,
0.146713986992836,
-0.06153377890586853,
0.13490547239780426,
-0.03127359226346016,
-0.06128848344087601,
-0.05019908770918846,
-0.04505192115902901,
-0.006129248533397913,
0.11641115695238113,
-0.0963050052523613,
-0.009402135387063026,
0.022401168942451477,
0.015047432854771614,
0.0052047185599803925,
-0.19652310013771057,
-0.05187040567398071,
0.05049917846918106,
-0.026310542598366737,
-0.0268921609967947,
-0.010552069172263145,
-0.002485875738784671,
0.0981811136007309,
0.025254417210817337,
-0.1010824516415596,
0.04152333736419678,
0.008750475943088531,
-0.07620681822299957,
0.19390515983104706,
-0.06619321554899216,
-0.13555876910686493,
-0.1375626176595688,
-0.08694630116224289,
-0.04864351823925972,
0.01970466412603855,
0.03986358270049095,
-0.06708633899688721,
-0.0202898271381855,
-0.06881129741668701,
-0.0053804973140358925,
-0.018732372671365738,
0.01598154380917549,
0.009276037104427814,
-0.009954642504453659,
0.0658540353178978,
-0.08759899437427521,
-0.01798301935195923,
-0.04470774158835411,
-0.034252557903528214,
0.04075498506426811,
-0.0005677890731021762,
0.11502528190612793,
0.13715949654579163,
-0.023090071976184845,
0.013364138081669807,
-0.035497795790433884,
0.27165883779525757,
-0.07452207803726196,
-0.03097928874194622,
0.13291721045970917,
-0.0024575248826295137,
0.04339976981282234,
0.12597011029720306,
0.06373453885316849,
-0.0898275300860405,
0.0008585636387579143,
0.02629278600215912,
-0.030232414603233337,
-0.1868624985218048,
-0.040114253759384155,
-0.0524333231151104,
-0.0408262275159359,
0.11008938401937485,
0.009035642258822918,
0.036372821778059006,
0.07441623508930206,
0.041019994765520096,
0.08372887969017029,
-0.057839009910821915,
0.07311683893203735,
0.10609138011932373,
0.05164284631609917,
0.13541586697101593,
-0.027669444680213928,
-0.06574718654155731,
0.026723114773631096,
0.01115806121379137,
0.21675322949886322,
0.030332505702972412,
0.13109004497528076,
0.0484766885638237,
0.15908245742321014,
-0.006625800393521786,
0.051451101899147034,
0.0030199093744158745,
-0.03604328632354736,
-0.028977572917938232,
-0.027072008699178696,
-0.04371721297502518,
0.023434417322278023,
-0.024473611265420914,
0.0598636269569397,
-0.12585510313510895,
-0.01922486163675785,
0.04053235426545143,
0.23009315133094788,
0.04421429708600044,
-0.3495210111141205,
-0.09776653349399567,
0.008254682645201683,
-0.030697649344801903,
-0.024841157719492912,
0.004434478934854269,
0.0743345245718956,
-0.10331746935844421,
0.009763318113982677,
-0.07203244417905807,
0.0932932049036026,
-0.0499701127409935,
0.04272427782416344,
0.06992454826831818,
0.08224595338106155,
-0.009788455441594124,
0.07416460663080215,
-0.25127795338630676,
0.29171934723854065,
0.011842861771583557,
0.05552126094698906,
-0.0575660802423954,
-0.008572551421821117,
0.02691507153213024,
0.07732444256544113,
0.07033007591962814,
-0.001984603703022003,
-0.025686323642730713,
-0.23943035304546356,
-0.03264292702078819,
0.028944483026862144,
0.06514065712690353,
-0.074142225086689,
0.11308728158473969,
-0.03513294458389282,
0.010563521645963192,
0.06723806262016296,
0.025024769827723503,
-0.032859113067388535,
-0.08645904809236526,
-0.003605147823691368,
0.029238073155283928,
-0.01898651011288166,
-0.06168271601200104,
-0.10467316210269928,
-0.109247125685215,
0.13083641231060028,
0.009355469606816769,
-0.035888686776161194,
-0.10916996747255325,
0.08145178854465485,
0.06769150495529175,
-0.09037046134471893,
0.029579075053334236,
0.004483927506953478,
0.07973796129226685,
0.026777684688568115,
-0.04444197565317154,
0.10534840077161789,
-0.053890522569417953,
-0.14237411320209503,
-0.06754816323518753,
0.10803648084402084,
0.027077967301011086,
0.06598405539989471,
0.0035081191454082727,
0.026519054546952248,
-0.03788033500313759,
-0.06428185850381851,
0.03660902753472328,
-0.032679006457328796,
0.07336287200450897,
0.018226316198706627,
-0.04325598105788231,
0.03905533626675606,
-0.0771743506193161,
-0.02825227752327919,
0.1719597429037094,
0.2627197504043579,
-0.09588544070720673,
-0.002359098754823208,
0.011196235194802284,
-0.06588032841682434,
-0.14892899990081787,
0.05327453091740608,
0.056964099407196045,
0.02042388916015625,
0.058924563229084015,
-0.1796046644449234,
0.09696885198354721,
0.09852530062198639,
-0.012977289967238903,
0.09389513731002808,
-0.28426748514175415,
-0.1132657527923584,
0.11115654557943344,
0.1411977857351303,
0.11818305402994156,
-0.12266714870929718,
-0.019533880054950714,
-0.022717906162142754,
-0.13119740784168243,
0.11822281777858734,
-0.03821542114019394,
0.12393427640199661,
-0.020514706149697304,
0.09624509513378143,
0.012332278303802013,
-0.04610446095466614,
0.13157233595848083,
0.02254236303269863,
0.10554788261651993,
-0.04578880965709686,
-0.06638416647911072,
0.032752539962530136,
-0.04213089495897293,
0.008054994978010654,
-0.07129060477018356,
0.02542051114141941,
-0.137614905834198,
-0.026927314698696136,
-0.08001812547445297,
0.023121507838368416,
-0.026847152039408684,
-0.07276728749275208,
-0.034169115126132965,
0.05887828394770622,
0.04825910925865173,
-0.014661827124655247,
0.1294996738433838,
0.003739659208804369,
0.15206411480903625,
0.08310509473085403,
0.07270614057779312,
-0.06132931634783745,
-0.05398983135819435,
-0.022060668095946312,
-0.02569395676255226,
0.05678393319249153,
-0.12466719001531601,
0.023070525377988815,
0.13603009283542633,
0.015543315559625626,
0.16031739115715027,
0.0722886398434639,
-0.01341322436928749,
0.009423686191439629,
0.05915842950344086,
-0.1424693614244461,
-0.08138670027256012,
-0.026719000190496445,
-0.065737284719944,
-0.13141579926013947,
0.02623719908297062,
0.11531971395015717,
-0.06677557528018951,
-0.02318894863128662,
-0.013870653696358204,
-0.0025832292158156633,
-0.05734715983271599,
0.17758113145828247,
0.07449807226657867,
0.05100854113698006,
-0.08808214962482452,
0.04292905330657959,
0.06647545099258423,
-0.034337855875492096,
0.0001458003098377958,
0.02744058147072792,
-0.08310970664024353,
-0.03850187733769417,
0.017599891871213913,
0.1864127218723297,
-0.09580381214618683,
-0.020693890750408173,
-0.15148009359836578,
-0.0990704670548439,
0.06302916258573532,
0.1367649883031845,
0.11097069084644318,
-0.0001747420901665464,
-0.04768264666199684,
-0.008398954756557941,
-0.11777784675359726,
0.08954089879989624,
0.0360417477786541,
0.07303822040557861,
-0.14771972596645355,
0.15514923632144928,
-0.012943191453814507,
0.0398557111620903,
-0.01589079573750496,
0.01770908012986183,
-0.11329104751348495,
0.008211747743189335,
-0.1030096486210823,
-0.035872623324394226,
-0.03158799558877945,
0.010609112679958344,
-0.005925752688199282,
-0.06685660034418106,
-0.06047932431101799,
0.0061293295584619045,
-0.11728982627391815,
-0.02384534664452076,
0.05147530511021614,
0.06482742726802826,
-0.08706625550985336,
-0.04112769290804863,
0.022255485877394676,
-0.0513334646821022,
0.058585550636053085,
0.02641437202692032,
0.038506489247083664,
0.03389408811926842,
-0.10609541088342667,
0.022979848086833954,
0.033477168530225754,
0.010620173998177052,
0.07013821601867676,
-0.11680996417999268,
0.001611941261216998,
-0.011223716661334038,
0.05174259841442108,
0.02710823528468609,
0.0680743008852005,
-0.12888431549072266,
-0.00629481440410018,
-0.007741696201264858,
-0.0659889206290245,
-0.06665904819965363,
0.0365205854177475,
0.08210106939077377,
0.028464272618293762,
0.20107518136501312,
-0.06628268212080002,
0.038596440106630325,
-0.2155337929725647,
-0.0060508945025503635,
-0.01811210624873638,
-0.11207690089941025,
-0.1072445809841156,
-0.0813743844628334,
0.05273083224892616,
-0.04967914894223213,
0.1342013031244278,
0.04661204293370247,
0.05672769248485565,
0.027684103697538376,
-0.009682745672762394,
0.045577455312013626,
0.010114298202097416,
0.19953836500644684,
0.04092921316623688,
-0.03972364589571953,
0.0778326615691185,
0.05394240841269493,
0.08525153249502182,
0.1295487880706787,
0.15216562151908875,
0.1552278995513916,
0.002395771211013198,
0.06470226496458054,
0.04138214886188507,
-0.043791741132736206,
-0.1557561606168747,
0.019462037831544876,
-0.010038411244750023,
0.08495752513408661,
-0.01432286947965622,
0.2075520008802414,
0.06652101874351501,
-0.17853188514709473,
0.03491073474287987,
-0.059712138026952744,
-0.07797707617282867,
-0.09211374819278717,
-0.06573215872049332,
-0.08569139987230301,
-0.12494423240423203,
0.0006075644632801414,
-0.11167225241661072,
-0.0001621413539396599,
0.12314224243164062,
-0.013038622215390205,
-0.030800893902778625,
0.12753023207187653,
0.0020686222705990076,
0.0172361359000206,
0.05381721630692482,
-0.0005930845509283245,
-0.02501915767788887,
-0.12064540386199951,
-0.06367824971675873,
-0.005327973514795303,
-0.018279217183589935,
0.034277547150850296,
-0.07611876726150513,
-0.04740774258971214,
0.01823476329445839,
-0.011721805669367313,
-0.11185019463300705,
0.007678253576159477,
0.02065412513911724,
0.05801750347018242,
0.03744373098015785,
0.004395721480250359,
0.026347259059548378,
-0.012233851477503777,
0.22249042987823486,
-0.06403791904449463,
-0.0409822091460228,
-0.11426033824682236,
0.25213921070098877,
0.02791343815624714,
-0.013322437182068825,
0.027113528922200203,
-0.06637269258499146,
0.03923562914133072,
0.21989376842975616,
0.19509969651699066,
-0.10819296538829803,
-0.00462777866050601,
0.0020162765868008137,
-0.012821456417441368,
-0.016298877075314522,
0.09822317957878113,
0.0960082858800888,
-0.00887680146843195,
-0.09066684544086456,
-0.021573303267359734,
-0.07519630342721939,
-0.004535452462732792,
-0.004887922201305628,
0.04930412396788597,
0.05234945937991142,
0.014245920814573765,
-0.04278792440891266,
0.06288578361272812,
-0.042147960513830185,
-0.09210807085037231,
0.06435711681842804,
-0.20589512586593628,
-0.16929921507835388,
-0.02533060871064663,
0.055388737469911575,
0.0094772819429636,
0.07089607417583466,
-0.037812039256095886,
0.012180734425783157,
0.06815077364444733,
-0.014388750307261944,
-0.06688057631254196,
-0.10431846976280212,
0.11439500749111176,
-0.07401128858327866,
0.20473800599575043,
-0.0521363765001297,
0.05446169525384903,
0.12548591196537018,
0.05535612255334854,
-0.07124339044094086,
0.06792790442705154,
0.05017197132110596,
-0.03004242293536663,
0.042587149888277054,
0.08422818779945374,
-0.027272623032331467,
0.11701089888811111,
0.04354193061590195,
-0.13806140422821045,
0.02088959701359272,
-0.07144247740507126,
-0.05921045318245888,
-0.042636677622795105,
-0.041269123554229736,
-0.052792344242334366,
0.153370201587677,
0.21872560679912567,
-0.04264235123991966,
-0.018765773624181747,
-0.06096486374735832,
0.015651734545826912,
0.0917234942317009,
0.0219439584761858,
-0.08190624415874481,
-0.21709062159061432,
-0.002399167511612177,
0.05493978410959244,
-0.023336634039878845,
-0.26197484135627747,
-0.08267273753881454,
-0.011721622198820114,
-0.07185442745685577,
-0.06106554716825485,
0.09653688967227936,
0.06735914200544357,
0.05419887229800224,
-0.06301788985729218,
-0.04983464628458023,
-0.07808773964643478,
0.1460978388786316,
-0.13412894308567047,
-0.08798971027135849
] |
null | null |
transformers
|
# Harry Potter DialoGPT Model
|
{"tags": ["conversational"]}
|
text-generation
|
colochoplay/DialoGTP-small-harrypotter
|
[
"transformers",
"pytorch",
"gpt2",
"text-generation",
"conversational",
"autotrain_compatible",
"endpoints_compatible",
"text-generation-inference",
"region:us"
] |
2022-03-02T23:29:05+00:00
|
[] |
[] |
TAGS
#transformers #pytorch #gpt2 #text-generation #conversational #autotrain_compatible #endpoints_compatible #text-generation-inference #region-us
|
# Harry Potter DialoGPT Model
|
[
"# Harry Potter DialoGPT Model"
] |
[
"TAGS\n#transformers #pytorch #gpt2 #text-generation #conversational #autotrain_compatible #endpoints_compatible #text-generation-inference #region-us \n",
"# Harry Potter DialoGPT Model"
] |
[
51,
8
] |
[
"passage: TAGS\n#transformers #pytorch #gpt2 #text-generation #conversational #autotrain_compatible #endpoints_compatible #text-generation-inference #region-us \n# Harry Potter DialoGPT Model"
] |
[
-0.0009023238671943545,
0.07815738022327423,
-0.006546166725456715,
0.07792752981185913,
0.10655936598777771,
0.048972971737384796,
0.17639793455600739,
0.12185695022344589,
0.016568755730986595,
-0.04774167761206627,
0.11647630482912064,
0.2130284160375595,
-0.002118367003276944,
0.024608047679066658,
-0.05022026598453522,
-0.3065771162509918,
0.0474756620824337,
0.014356585219502449,
-0.07174845039844513,
0.11724270135164261,
0.09064973145723343,
-0.046179238706827164,
0.08330509811639786,
-0.009135239757597446,
-0.13198648393154144,
-0.039482954889535904,
0.019292812794446945,
-0.11745545268058777,
0.1662212759256363,
0.05298272892832756,
0.02469746209681034,
-0.008447164669632912,
-0.06598151475191116,
-0.15036040544509888,
0.037190426141023636,
-0.027472136542201042,
-0.01080626156181097,
0.05462246760725975,
0.023526115342974663,
-0.07521048933267593,
0.170567125082016,
0.17678891122341156,
0.0833497866988182,
0.0349111407995224,
-0.14917024970054626,
-0.045548245310783386,
0.008950977586209774,
0.05421316996216774,
-0.017893504351377487,
0.09349167346954346,
-0.019903047010302544,
0.11801653355360031,
-0.04491448402404785,
0.09210366010665894,
0.15255063772201538,
-0.4016275703907013,
-0.027563704177737236,
0.08920855820178986,
0.05989706888794899,
0.12076901644468307,
-0.10560955852270126,
0.03972794860601425,
-0.0039703017100691795,
0.01236654631793499,
-0.014540530741214752,
-0.08304883539676666,
-0.07308239489793777,
0.032504837960004807,
-0.1272556483745575,
0.008525865152478218,
0.23756256699562073,
-0.10643257945775986,
0.037069112062454224,
-0.09791990369558334,
-0.07414398342370987,
0.048336777836084366,
-0.053761593997478485,
-0.081727035343647,
-0.054839808493852615,
0.06347949057817459,
0.004366500303149223,
-0.06301609426736832,
-0.08326146006584167,
-0.0006536149303428829,
-0.12781435251235962,
0.17595994472503662,
0.061243366450071335,
0.041611745953559875,
-0.21322020888328552,
0.08940251916646957,
0.04477722570300102,
-0.04711297154426575,
0.007116159424185753,
-0.11796226352453232,
0.04023287072777748,
0.005483259446918964,
-0.03256071358919144,
-0.021854614838957787,
0.0393419973552227,
0.13909944891929626,
-0.01777748204767704,
0.03252175822854042,
0.006831915583461523,
0.05811219662427902,
0.08162496984004974,
0.02222144603729248,
0.019291909411549568,
-0.0818009302020073,
0.019385190680623055,
-0.08128736168146133,
-0.0030400939285755157,
-0.048940129578113556,
-0.17071883380413055,
-0.07477642595767975,
0.052610911428928375,
0.020047198981046677,
0.03746970370411873,
0.08054786175489426,
-0.0017944995779544115,
-0.05560554191470146,
0.03284840285778046,
0.01671096310019493,
-0.020622212439775467,
-0.010361049324274063,
-0.02412462793290615,
0.19123271107673645,
0.019619356840848923,
0.014111656695604324,
-0.12379156798124313,
0.10023640841245651,
-0.08179095387458801,
0.0037731381598860025,
0.02743307314813137,
-0.04204464703798294,
-0.004716555587947369,
0.02917117439210415,
0.023101668804883957,
-0.1252521574497223,
-0.1099385917186737,
-0.0030569476075470448,
-0.012054097838699818,
-0.036421261727809906,
-0.10490952432155609,
-0.08483029156923294,
-0.012153145857155323,
0.0449371263384819,
-0.013397793285548687,
0.007936403155326843,
-0.05143149942159653,
0.0985720232129097,
-0.0514979362487793,
0.09873400628566742,
-0.08342572301626205,
0.06359215080738068,
-0.09124887734651566,
-0.061886150389909744,
-0.11452563107013702,
0.05216052383184433,
0.012905281968414783,
0.066250741481781,
0.016998225823044777,
-0.044836658984422684,
-0.014836243353784084,
0.05253177136182785,
-0.07656687498092651,
0.1940697431564331,
-0.041674621403217316,
-0.12459053844213486,
0.24146439135074615,
-0.09138800948858261,
-0.1802034229040146,
0.12973085045814514,
-0.022254703566432,
0.08523941785097122,
0.12802475690841675,
0.20380465686321259,
-0.00019822151807602495,
-0.01302915159612894,
0.07281201332807541,
0.07031642645597458,
-0.09803894907236099,
0.06239739805459976,
0.029653839766979218,
-0.008071083575487137,
-0.08906278014183044,
0.05762826278805733,
0.046033453196287155,
-0.010650773532688618,
-0.035073768347501755,
-0.001896020956337452,
-0.012895751744508743,
-0.022185025736689568,
0.14126582443714142,
-0.02006692811846733,
0.1300428807735443,
-0.06926563382148743,
-0.03515486419200897,
-0.009500149637460709,
0.03533667325973511,
-0.04091939330101013,
0.08151165395975113,
-0.0436173714697361,
0.10586477071046829,
0.09034156054258347,
0.053724925965070724,
-0.13120363652706146,
0.00466286763548851,
-0.015246815048158169,
0.17014820873737335,
0.08964069187641144,
0.05222717300057411,
0.06265474855899811,
-0.0020888058934360743,
-0.06708643585443497,
0.045407816767692566,
0.13778303563594818,
-0.037020038813352585,
-0.12218865007162094,
-0.1755627691745758,
0.051157694309949875,
-0.045444171875715256,
0.10855234414339066,
-0.10010123997926712,
0.022670533508062363,
-0.055906031280756,
0.07772238552570343,
-0.024998966604471207,
0.020512236282229424,
-0.0013405600329861045,
-0.021700702607631683,
-0.08356887847185135,
-0.002377772703766823,
0.08597290515899658,
-0.02048647589981556,
-0.06707409024238586,
0.16556480526924133,
-0.16400809586048126,
0.1631954461336136,
0.2116095870733261,
-0.28542569279670715,
-0.005696662236005068,
-0.15163889527320862,
-0.0208092350512743,
0.019645055755972862,
0.07834604382514954,
0.026225795969367027,
0.2044338881969452,
-0.012928472831845284,
0.16565458476543427,
-0.05699567869305611,
-0.07730039209127426,
-0.06881127506494522,
-0.048101142048835754,
0.013522743247449398,
0.09095205366611481,
0.04542696103453636,
-0.11962861567735672,
0.13119758665561676,
0.1054433062672615,
0.06484298408031464,
0.12711186707019806,
0.1030748188495636,
-0.008113685995340347,
0.07252490520477295,
-0.03624548763036728,
-0.03462279960513115,
-0.09254947304725647,
-0.30446043610572815,
-0.04840317741036415,
0.0939924493432045,
0.007963384501636028,
0.09285714477300644,
-0.0919896736741066,
-0.03311870992183685,
0.006042704917490482,
0.009473444893956184,
0.028337622061371803,
0.09653715789318085,
0.013490920886397362,
0.15320514142513275,
-0.008011690340936184,
-0.03430786728858948,
0.05891305208206177,
0.017982570454478264,
-0.09147711098194122,
0.17280617356300354,
-0.17050009965896606,
-0.27190929651260376,
-0.06990014761686325,
-0.21745692193508148,
-0.013139115646481514,
0.05258983001112938,
0.0786920040845871,
-0.11818131804466248,
-0.018352627754211426,
-0.006239492911845446,
0.05685517191886902,
-0.2425733357667923,
0.0004911290016025305,
-0.1354890614748001,
0.0501418262720108,
-0.1974833607673645,
-0.09718500077724457,
-0.02271542325615883,
-0.013450481928884983,
-0.0464281290769577,
0.13365240395069122,
-0.1448695808649063,
-0.011572926305234432,
0.2329535037279129,
0.032479673624038696,
0.027794739231467247,
-0.05020907148718834,
0.19788463413715363,
-0.0958966314792633,
-0.023973820731043816,
0.11024576425552368,
-0.05038975924253464,
0.04834126681089401,
0.06649978458881378,
-0.012981836684048176,
-0.08557141572237015,
0.023789849132299423,
-0.068336620926857,
-0.03150583803653717,
-0.27926525473594666,
-0.0930178239941597,
-0.09319330751895905,
0.11305391043424606,
0.04079577326774597,
0.06421639025211334,
0.16545771062374115,
0.05191578343510628,
-0.024325082078576088,
-0.03006586618721485,
0.11609793454408646,
0.12905290722846985,
0.2277202159166336,
-0.06067761778831482,
0.10221996158361435,
0.009445492178201675,
-0.08203992247581482,
0.06062209978699684,
0.056782789528369904,
0.06324724853038788,
0.02584579586982727,
0.03694582358002663,
-0.030939655378460884,
0.1121687963604927,
0.12571842968463898,
0.05258069559931755,
0.0481170229613781,
0.0002127334737451747,
-0.0561506561934948,
-0.008168719708919525,
-0.05726633965969086,
0.06774696707725525,
0.061340972781181335,
-0.12918008863925934,
-0.08061543852090836,
0.0011613310780376196,
0.06660808622837067,
-0.016230419278144836,
0.06823775917291641,
-0.13560809195041656,
-0.03582429885864258,
0.0790911465883255,
-0.07693151384592056,
-0.14156894385814667,
0.11972879618406296,
-0.026570770889520645,
-0.19904157519340515,
0.05265914276242256,
0.007704653777182102,
0.0908159390091896,
-0.06360849738121033,
0.05343840271234512,
-0.13023801147937775,
-0.12935101985931396,
-0.018437571823596954,
0.07945099472999573,
-0.3450873792171478,
0.13536721467971802,
-0.013286802917718887,
-0.02876877970993519,
-0.06474969536066055,
-0.02640824392437935,
0.013905409723520279,
0.12719078361988068,
0.08667250722646713,
0.0008821099763736129,
0.0991629809141159,
0.03823768347501755,
0.04188435152173042,
-0.002011700300499797,
0.10950417071580887,
0.0050011589191854,
0.004797275178134441,
-0.04982118681073189,
0.007274609990417957,
-0.05164213851094246,
-0.07472953200340271,
0.08393982797861099,
-0.20678792893886566,
0.09087453782558441,
-0.03378438204526901,
0.08427679538726807,
0.04304937273263931,
-0.018965769559144974,
-0.1001204177737236,
0.19745583832263947,
-0.012206900864839554,
-0.11405988782644272,
-0.07517550885677338,
-0.02810264565050602,
0.09103139489889145,
-0.013817726634442806,
0.012886416167020798,
-0.045470476150512695,
0.032183047384023666,
-0.1263762265443802,
-0.1597503274679184,
0.08734500408172607,
-0.04441224783658981,
-0.10894393920898438,
-0.025462759658694267,
0.20382575690746307,
-0.007266622502356768,
0.08242089301347733,
0.01605331338942051,
0.010653935372829437,
-0.18066231906414032,
-0.04018142446875572,
0.02645772136747837,
-0.0016437612939625978,
0.005979063920676708,
0.047698814421892166,
0.019091911613941193,
0.06207629665732384,
-0.1069745197892189,
-0.013920160941779613,
0.3158324360847473,
0.15978319942951202,
-0.00912671908736229,
0.14943915605545044,
0.1093616932630539,
-0.08669080585241318,
-0.17238758504390717,
-0.1171615794301033,
-0.1210922971367836,
-0.08425768464803696,
-0.10681738704442978,
-0.1525043100118637,
0.09535340964794159,
-0.03392014652490616,
0.03498011827468872,
0.14615866541862488,
-0.280263751745224,
-0.10949636250734329,
0.13820378482341766,
0.010744688101112843,
0.3510635495185852,
-0.12303631007671356,
-0.044944874942302704,
-0.06214528530836105,
-0.16933435201644897,
0.08021392673254013,
-0.031203703954815865,
0.11581093072891235,
-0.0744495838880539,
0.19395925104618073,
0.01719796098768711,
0.014287159778177738,
0.0916559100151062,
0.05038322135806084,
-0.05808406323194504,
-0.07368700206279755,
-0.10248131304979324,
0.010812131687998772,
0.03546109423041344,
0.010252019390463829,
-0.008802837692201138,
0.0211968794465065,
-0.11341743916273117,
-0.050869911909103394,
-0.06302189081907272,
0.0072614275850355625,
-0.01001308299601078,
-0.042155615985393524,
-0.05533592775464058,
-0.022557416930794716,
-0.020093943923711777,
0.02266426384449005,
0.14185629785060883,
-0.07527699321508408,
0.18586260080337524,
0.02357078716158867,
0.1586609035730362,
-0.11956068128347397,
-0.06724818795919418,
-0.029193658381700516,
-0.05280323326587677,
0.06468886137008667,
-0.08884575963020325,
-0.027708567678928375,
0.1332162618637085,
-0.01903904788196087,
0.04655366763472557,
0.12936700880527496,
0.02046884410083294,
0.015383756719529629,
0.034968774765729904,
-0.2578005790710449,
-0.07463036477565765,
-0.03505445644259453,
-0.012416874058544636,
0.05272092670202255,
0.05525677278637886,
0.19735674560070038,
-0.03551921248435974,
-0.08521962910890579,
0.020131373777985573,
0.02735883742570877,
-0.02776256389915943,
0.10749414563179016,
0.019579345360398293,
-0.004837906453758478,
-0.16151933372020721,
0.08257976174354553,
-0.005964108742773533,
-0.08297000825405121,
0.028665626421570778,
0.2024049311876297,
-0.12141239643096924,
-0.10309756547212601,
-0.06804922968149185,
0.07315051555633545,
-0.09220825880765915,
0.016043387353420258,
-0.005091092549264431,
-0.1521538347005844,
0.06916408240795135,
0.07598215341567993,
0.04075418785214424,
0.06513199955224991,
-0.11743064224720001,
-0.015730571001768112,
-0.04170290008187294,
-0.002195435343310237,
0.03521120920777321,
0.01863143965601921,
-0.057492829859256744,
0.15846455097198486,
-0.0676199421286583,
0.08538917452096939,
-0.0744810476899147,
-0.1058846190571785,
-0.1395980566740036,
0.04660497233271599,
-0.08038312196731567,
-0.07247276604175568,
-0.12832807004451752,
-0.052204377949237823,
-0.0067099276930093765,
-0.03388519585132599,
0.006552806124091148,
-0.06627799570560455,
-0.10922821611166,
0.01822470687329769,
-0.00743203004822135,
-0.009385870769619942,
-0.06096754968166351,
0.026706209406256676,
0.06246216222643852,
-0.039788868278265,
0.15730851888656616,
0.22509248554706573,
-0.13591648638248444,
0.11564400047063828,
-0.09797432273626328,
-0.105463907122612,
0.046008042991161346,
0.009427277371287346,
0.03594303876161575,
0.0503489226102829,
-0.03594081476330757,
0.0044484552927315235,
0.03905477747321129,
0.08074651658535004,
0.08456914126873016,
-0.06776505708694458,
0.020801106467843056,
-0.05122765153646469,
-0.14904099702835083,
-0.016655439510941505,
-0.0464773029088974,
0.06876829266548157,
-0.006725262850522995,
0.11020535975694656,
-0.0515950471162796,
0.07739507406949997,
-0.07558431476354599,
0.050614211708307266,
0.021146971732378006,
-0.14688286185264587,
-0.006612539757043123,
-0.07093682140111923,
0.042144812643527985,
-0.008834975771605968,
0.20241086184978485,
-0.03228091076016426,
0.010342049412429333,
0.033811055123806,
0.06203942745923996,
-0.01957780309021473,
0.009357001632452011,
0.2014283686876297,
0.12640917301177979,
-0.08496357500553131,
-0.02679651789367199,
0.06793134659528732,
0.07248228788375854,
0.07093550264835358,
0.10807815194129944,
-0.015352966263890266,
0.028434239327907562,
0.07829629629850388,
-0.060215238481760025,
0.07576877623796463,
-0.08603982627391815,
-0.11668483167886734,
0.05793621391057968,
0.012955795042216778,
-0.055695828050374985,
0.20305177569389343,
0.19142870604991913,
-0.026278704404830933,
0.018410727381706238,
-0.0029499190859496593,
-0.10117456316947937,
-0.15619947016239166,
-0.05423750728368759,
-0.07170962542295456,
-0.1319410353899002,
-0.004549739416688681,
-0.16646917164325714,
0.022016216069459915,
-0.01132756657898426,
0.09506805986166,
-0.06855440139770508,
-0.01345991250127554,
0.1364889293909073,
-0.1055467277765274,
0.0847758799791336,
-0.024517204612493515,
0.07877567410469055,
-0.03746940940618515,
-0.018209461122751236,
-0.10342709720134735,
0.007514837197959423,
0.01131442841142416,
0.06840907037258148,
-0.10897937417030334,
0.02432350255548954,
-0.12208317965269089,
-0.08617185056209564,
-0.026142612099647522,
0.09279687702655792,
-0.0403008833527565,
0.15116846561431885,
0.02645145356655121,
-0.06710928678512573,
-0.004313822835683823,
0.2646709978580475,
-0.08046227693557739,
-0.08319197595119476,
-0.030799202620983124,
0.2152107208967209,
0.04053696244955063,
0.06396269053220749,
0.019140036776661873,
0.038027774542570114,
-0.07184682041406631,
0.2957373559474945,
0.34401440620422363,
-0.1318037211894989,
-0.007773484103381634,
0.04225075617432594,
0.04406323283910751,
0.14687567949295044,
0.07998795062303543,
0.11360671371221542,
0.2849363386631012,
-0.09197647124528885,
0.016657205298542976,
-0.04230864346027374,
-0.01424806285649538,
-0.06908884644508362,
0.045314885675907135,
0.08216670155525208,
-0.09241747111082077,
-0.022950593382120132,
0.08125471323728561,
-0.29741767048835754,
0.10791494697332382,
-0.15600289404392242,
-0.14948409795761108,
-0.05027429759502411,
-0.008771711029112339,
0.014683255925774574,
0.019041186198592186,
0.09663030505180359,
0.025651484727859497,
-0.07275258749723434,
0.07816889137029648,
0.024486342445015907,
-0.23020237684249878,
-0.01345184724777937,
0.1456068754196167,
-0.06789913028478622,
-0.025938833132386208,
-0.021313713863492012,
0.051610056310892105,
0.05763651058077812,
0.09027529507875443,
-0.03809558227658272,
-0.0746568813920021,
-0.007141788024455309,
-0.022818787023425102,
0.01914946548640728,
0.0597183033823967,
0.06841408461332321,
-0.0920223817229271,
0.1167774423956871,
-0.07350476831197739,
0.0650370642542839,
0.037623800337314606,
-0.022277191281318665,
0.0018526542698964477,
0.013183658011257648,
-0.06512464582920074,
0.05533479526638985,
0.1295643299818039,
-0.025459708645939827,
-0.002524374984204769,
-0.028180841356515884,
-0.0767761766910553,
-0.024015206843614578,
-0.04643676429986954,
-0.09101243317127228,
-0.18130090832710266,
-0.12738600373268127,
0.041754670441150665,
-0.03240608796477318,
-0.2046082615852356,
0.0060346988029778,
-0.1128578633069992,
0.03700976446270943,
-0.14154092967510223,
0.10004086047410965,
0.07216610759496689,
0.004716616589576006,
0.006774604320526123,
0.0675399899482727,
0.045677728950977325,
0.14796748757362366,
-0.16543124616146088,
-0.04919974133372307
] |
null | null |
transformers
|
# BERT base Japanese model
This repository contains a BERT base model trained on Japanese Wikipedia dataset.
## Training data
[Japanese Wikipedia](https://ja.wikipedia.org/wiki/Wikipedia:データベースダウンロード) dataset as of June 20, 2021 which is released under [Creative Commons Attribution-ShareAlike 3.0](https://creativecommons.org/licenses/by-sa/3.0/) is used for training.
The dataset is splitted into three subsets - train, valid and test. Both tokenizer and model are trained with the train split.
## Model description
The model architecture is the same as BERT base model (hidden_size: 768, num_hidden_layers: 12, num_attention_heads: 12, max_position_embeddings: 512) except for a vocabulary size.
The vocabulary size is set to 32,000 instead of an original size of 30,522.
For the model, `transformers.BertForPreTraining` is used.
## Tokenizer description
[SentencePiece](https://github.com/google/sentencepiece) tokenizer is used as a tokenizer for this model.
While training, the tokenizer model was trained with 1,000,000 samples which were extracted from the train split.
The vocabulary size is set to 32,000. A `add_dummy_prefix` option is set to `True` because words are not separated by whitespaces in Japanese.
After training, the model is imported to `transformers.DebertaV2Tokenizer` because it supports SentencePiece models and its behavior is consistent when `use_fast` option is set to `True` or `False`.
**Note:**
The meaning of "consistent" here is as follows.
For example, AlbertTokenizer provides AlbertTokenizer and AlbertTokenizerFast. Fast model is used as default. However, the tokenization behavior between them is different and a behavior this mdoel expects is the verions of not fast.
Although `use_fast=False` option passing to AutoTokenier or pipeline solves this problem to force to use not fast version of the tokenizer, this option cannot be passed to config.json or model card.
Therefore unexpected behavior happens when using Inference API. To avoid this kind of problems, `transformers.DebertaV2Tokenizer` is used in this model.
## Training
Training details are as follows.
* gradient update is every 256 samples (batch size: 8, accumulate_grad_batches: 32)
* gradient clip norm is 1.0
* Learning rate starts from 0 and linearly increased to 0.0001 in the first 10,000 steps
* The training set contains around 20M samples. Because 80k * 256 ~ 20M, 1 epochs has around 80k steps.
Trainind was conducted on Ubuntu 18.04.5 LTS with one RTX 2080 Ti.
The training continued until validation loss got worse. Totally the number of training steps were around 214k.
The test set loss was 2.80 .
Training code is available in [a GitHub repository](https://github.com/colorfulscoop/bert-ja).
## Usage
First, install dependecies.
```sh
$ pip install torch==1.8.0 transformers==4.8.2 sentencepiece==0.1.95
```
Then use `transformers.pipeline` to try mask fill task.
```sh
>>> import transformers
>>> pipeline = transformers.pipeline("fill-mask", "colorfulscoop/bert-base-ja", revision="v1.0")
>>> pipeline("専門として[MASK]を専攻しています")
[{'sequence': '専門として工学を専攻しています', 'score': 0.03630176931619644, 'token': 3988, 'token_str': '工学'}, {'sequence': '専門として政治学を専攻しています', 'score': 0.03547220677137375, 'token': 22307, 'token_str': '政治学'}, {'sequence': '専門として教育を専攻しています', 'score': 0.03162326663732529, 'token': 414, 'token_str': '教育'}, {'sequence': '専門として経済学を専攻しています', 'score': 0.026036914438009262, 'token': 6814, 'token_str': '経済学'}, {'sequence': '専門として法学を専攻しています', 'score': 0.02561848610639572, 'token': 10810, 'token_str': '法学'}]
```
Note: specifying a `revision` option is recommended to keep reproducibility when downloading a model via `transformers.pipeline` or `transformers.AutoModel.from_pretrained` .
## License
Copyright (c) 2021 Colorful Scoop
All the models included in this repository are licensed under [Creative Commons Attribution-ShareAlike 3.0](https://creativecommons.org/licenses/by-sa/3.0/).
**Disclaimer:** The model potentially has possibility that it generates similar texts in the training data, texts not to be true, or biased texts. Use of the model is at your sole risk. Colorful Scoop makes no warranty or guarantee of any outputs from the model. Colorful Scoop is not liable for any trouble, loss, or damage arising from the model output.
---
This model utilizes the following data as training data
* **Name:** ウィキペディア (Wikipedia): フリー百科事典
* **Credit:** https://ja.wikipedia.org/
* **License:** [Creative Commons Attribution-ShareAlike 3.0](https://creativecommons.org/licenses/by-sa/3.0/)
* **Link:** https://ja.wikipedia.org/
|
{"language": "ja", "license": "cc-by-sa-4.0", "datasets": "wikipedia", "pipeline_tag": "fill-mask", "widget": [{"text": "\u5f97\u610f\u306a\u79d1\u76ee\u306f[MASK]\u3067\u3059\u3002"}]}
|
fill-mask
|
colorfulscoop/bert-base-ja
|
[
"transformers",
"pytorch",
"tf",
"bert",
"pretraining",
"fill-mask",
"ja",
"dataset:wikipedia",
"license:cc-by-sa-4.0",
"endpoints_compatible",
"region:us"
] |
2022-03-02T23:29:05+00:00
|
[] |
[
"ja"
] |
TAGS
#transformers #pytorch #tf #bert #pretraining #fill-mask #ja #dataset-wikipedia #license-cc-by-sa-4.0 #endpoints_compatible #region-us
|
# BERT base Japanese model
This repository contains a BERT base model trained on Japanese Wikipedia dataset.
## Training data
Japanese Wikipedia dataset as of June 20, 2021 which is released under Creative Commons Attribution-ShareAlike 3.0 is used for training.
The dataset is splitted into three subsets - train, valid and test. Both tokenizer and model are trained with the train split.
## Model description
The model architecture is the same as BERT base model (hidden_size: 768, num_hidden_layers: 12, num_attention_heads: 12, max_position_embeddings: 512) except for a vocabulary size.
The vocabulary size is set to 32,000 instead of an original size of 30,522.
For the model, 'transformers.BertForPreTraining' is used.
## Tokenizer description
SentencePiece tokenizer is used as a tokenizer for this model.
While training, the tokenizer model was trained with 1,000,000 samples which were extracted from the train split.
The vocabulary size is set to 32,000. A 'add_dummy_prefix' option is set to 'True' because words are not separated by whitespaces in Japanese.
After training, the model is imported to 'transformers.DebertaV2Tokenizer' because it supports SentencePiece models and its behavior is consistent when 'use_fast' option is set to 'True' or 'False'.
Note:
The meaning of "consistent" here is as follows.
For example, AlbertTokenizer provides AlbertTokenizer and AlbertTokenizerFast. Fast model is used as default. However, the tokenization behavior between them is different and a behavior this mdoel expects is the verions of not fast.
Although 'use_fast=False' option passing to AutoTokenier or pipeline solves this problem to force to use not fast version of the tokenizer, this option cannot be passed to URL or model card.
Therefore unexpected behavior happens when using Inference API. To avoid this kind of problems, 'transformers.DebertaV2Tokenizer' is used in this model.
## Training
Training details are as follows.
* gradient update is every 256 samples (batch size: 8, accumulate_grad_batches: 32)
* gradient clip norm is 1.0
* Learning rate starts from 0 and linearly increased to 0.0001 in the first 10,000 steps
* The training set contains around 20M samples. Because 80k * 256 ~ 20M, 1 epochs has around 80k steps.
Trainind was conducted on Ubuntu 18.04.5 LTS with one RTX 2080 Ti.
The training continued until validation loss got worse. Totally the number of training steps were around 214k.
The test set loss was 2.80 .
Training code is available in a GitHub repository.
## Usage
First, install dependecies.
Then use 'transformers.pipeline' to try mask fill task.
Note: specifying a 'revision' option is recommended to keep reproducibility when downloading a model via 'transformers.pipeline' or 'transformers.AutoModel.from_pretrained' .
## License
Copyright (c) 2021 Colorful Scoop
All the models included in this repository are licensed under Creative Commons Attribution-ShareAlike 3.0.
Disclaimer: The model potentially has possibility that it generates similar texts in the training data, texts not to be true, or biased texts. Use of the model is at your sole risk. Colorful Scoop makes no warranty or guarantee of any outputs from the model. Colorful Scoop is not liable for any trouble, loss, or damage arising from the model output.
---
This model utilizes the following data as training data
* Name: ウィキペディア (Wikipedia): フリー百科事典
* Credit: URL
* License: Creative Commons Attribution-ShareAlike 3.0
* Link: URL
|
[
"# BERT base Japanese model\n\nThis repository contains a BERT base model trained on Japanese Wikipedia dataset.",
"## Training data\n\nJapanese Wikipedia dataset as of June 20, 2021 which is released under Creative Commons Attribution-ShareAlike 3.0 is used for training.\nThe dataset is splitted into three subsets - train, valid and test. Both tokenizer and model are trained with the train split.",
"## Model description\n\nThe model architecture is the same as BERT base model (hidden_size: 768, num_hidden_layers: 12, num_attention_heads: 12, max_position_embeddings: 512) except for a vocabulary size.\nThe vocabulary size is set to 32,000 instead of an original size of 30,522.\n\nFor the model, 'transformers.BertForPreTraining' is used.",
"## Tokenizer description\n\nSentencePiece tokenizer is used as a tokenizer for this model.\n\nWhile training, the tokenizer model was trained with 1,000,000 samples which were extracted from the train split.\nThe vocabulary size is set to 32,000. A 'add_dummy_prefix' option is set to 'True' because words are not separated by whitespaces in Japanese.\n\nAfter training, the model is imported to 'transformers.DebertaV2Tokenizer' because it supports SentencePiece models and its behavior is consistent when 'use_fast' option is set to 'True' or 'False'.\n\nNote:\nThe meaning of \"consistent\" here is as follows.\nFor example, AlbertTokenizer provides AlbertTokenizer and AlbertTokenizerFast. Fast model is used as default. However, the tokenization behavior between them is different and a behavior this mdoel expects is the verions of not fast.\nAlthough 'use_fast=False' option passing to AutoTokenier or pipeline solves this problem to force to use not fast version of the tokenizer, this option cannot be passed to URL or model card.\nTherefore unexpected behavior happens when using Inference API. To avoid this kind of problems, 'transformers.DebertaV2Tokenizer' is used in this model.",
"## Training\n\nTraining details are as follows.\n\n* gradient update is every 256 samples (batch size: 8, accumulate_grad_batches: 32)\n* gradient clip norm is 1.0\n* Learning rate starts from 0 and linearly increased to 0.0001 in the first 10,000 steps\n* The training set contains around 20M samples. Because 80k * 256 ~ 20M, 1 epochs has around 80k steps.\n\nTrainind was conducted on Ubuntu 18.04.5 LTS with one RTX 2080 Ti.\n\nThe training continued until validation loss got worse. Totally the number of training steps were around 214k.\nThe test set loss was 2.80 .\n\nTraining code is available in a GitHub repository.",
"## Usage\n\nFirst, install dependecies.\n\n\n\nThen use 'transformers.pipeline' to try mask fill task.\n\n\n\nNote: specifying a 'revision' option is recommended to keep reproducibility when downloading a model via 'transformers.pipeline' or 'transformers.AutoModel.from_pretrained' .",
"## License\n\nCopyright (c) 2021 Colorful Scoop\n\nAll the models included in this repository are licensed under Creative Commons Attribution-ShareAlike 3.0.\n\nDisclaimer: The model potentially has possibility that it generates similar texts in the training data, texts not to be true, or biased texts. Use of the model is at your sole risk. Colorful Scoop makes no warranty or guarantee of any outputs from the model. Colorful Scoop is not liable for any trouble, loss, or damage arising from the model output.\n\n---\n\nThis model utilizes the following data as training data\n\n* Name: ウィキペディア (Wikipedia): フリー百科事典\n* Credit: URL\n* License: Creative Commons Attribution-ShareAlike 3.0\n* Link: URL"
] |
[
"TAGS\n#transformers #pytorch #tf #bert #pretraining #fill-mask #ja #dataset-wikipedia #license-cc-by-sa-4.0 #endpoints_compatible #region-us \n",
"# BERT base Japanese model\n\nThis repository contains a BERT base model trained on Japanese Wikipedia dataset.",
"## Training data\n\nJapanese Wikipedia dataset as of June 20, 2021 which is released under Creative Commons Attribution-ShareAlike 3.0 is used for training.\nThe dataset is splitted into three subsets - train, valid and test. Both tokenizer and model are trained with the train split.",
"## Model description\n\nThe model architecture is the same as BERT base model (hidden_size: 768, num_hidden_layers: 12, num_attention_heads: 12, max_position_embeddings: 512) except for a vocabulary size.\nThe vocabulary size is set to 32,000 instead of an original size of 30,522.\n\nFor the model, 'transformers.BertForPreTraining' is used.",
"## Tokenizer description\n\nSentencePiece tokenizer is used as a tokenizer for this model.\n\nWhile training, the tokenizer model was trained with 1,000,000 samples which were extracted from the train split.\nThe vocabulary size is set to 32,000. A 'add_dummy_prefix' option is set to 'True' because words are not separated by whitespaces in Japanese.\n\nAfter training, the model is imported to 'transformers.DebertaV2Tokenizer' because it supports SentencePiece models and its behavior is consistent when 'use_fast' option is set to 'True' or 'False'.\n\nNote:\nThe meaning of \"consistent\" here is as follows.\nFor example, AlbertTokenizer provides AlbertTokenizer and AlbertTokenizerFast. Fast model is used as default. However, the tokenization behavior between them is different and a behavior this mdoel expects is the verions of not fast.\nAlthough 'use_fast=False' option passing to AutoTokenier or pipeline solves this problem to force to use not fast version of the tokenizer, this option cannot be passed to URL or model card.\nTherefore unexpected behavior happens when using Inference API. To avoid this kind of problems, 'transformers.DebertaV2Tokenizer' is used in this model.",
"## Training\n\nTraining details are as follows.\n\n* gradient update is every 256 samples (batch size: 8, accumulate_grad_batches: 32)\n* gradient clip norm is 1.0\n* Learning rate starts from 0 and linearly increased to 0.0001 in the first 10,000 steps\n* The training set contains around 20M samples. Because 80k * 256 ~ 20M, 1 epochs has around 80k steps.\n\nTrainind was conducted on Ubuntu 18.04.5 LTS with one RTX 2080 Ti.\n\nThe training continued until validation loss got worse. Totally the number of training steps were around 214k.\nThe test set loss was 2.80 .\n\nTraining code is available in a GitHub repository.",
"## Usage\n\nFirst, install dependecies.\n\n\n\nThen use 'transformers.pipeline' to try mask fill task.\n\n\n\nNote: specifying a 'revision' option is recommended to keep reproducibility when downloading a model via 'transformers.pipeline' or 'transformers.AutoModel.from_pretrained' .",
"## License\n\nCopyright (c) 2021 Colorful Scoop\n\nAll the models included in this repository are licensed under Creative Commons Attribution-ShareAlike 3.0.\n\nDisclaimer: The model potentially has possibility that it generates similar texts in the training data, texts not to be true, or biased texts. Use of the model is at your sole risk. Colorful Scoop makes no warranty or guarantee of any outputs from the model. Colorful Scoop is not liable for any trouble, loss, or damage arising from the model output.\n\n---\n\nThis model utilizes the following data as training data\n\n* Name: ウィキペディア (Wikipedia): フリー百科事典\n* Credit: URL\n* License: Creative Commons Attribution-ShareAlike 3.0\n* Link: URL"
] |
[
52,
25,
60,
98,
304,
157,
72,
160
] |
[
"passage: TAGS\n#transformers #pytorch #tf #bert #pretraining #fill-mask #ja #dataset-wikipedia #license-cc-by-sa-4.0 #endpoints_compatible #region-us \n# BERT base Japanese model\n\nThis repository contains a BERT base model trained on Japanese Wikipedia dataset.## Training data\n\nJapanese Wikipedia dataset as of June 20, 2021 which is released under Creative Commons Attribution-ShareAlike 3.0 is used for training.\nThe dataset is splitted into three subsets - train, valid and test. Both tokenizer and model are trained with the train split.## Model description\n\nThe model architecture is the same as BERT base model (hidden_size: 768, num_hidden_layers: 12, num_attention_heads: 12, max_position_embeddings: 512) except for a vocabulary size.\nThe vocabulary size is set to 32,000 instead of an original size of 30,522.\n\nFor the model, 'transformers.BertForPreTraining' is used."
] |
[
-0.06272267550230026,
0.12423135340213776,
0.0011197204003110528,
0.12483026087284088,
0.14641614258289337,
0.04902544990181923,
0.17598821222782135,
0.07971353083848953,
-0.05749264732003212,
0.024656813591718674,
-0.012080961838364601,
-0.0733257308602333,
0.05951261147856712,
0.1504562944173813,
0.027125241234898567,
-0.38238468766212463,
0.06142972409725189,
0.1384633630514145,
-0.1512274146080017,
0.026277616620063782,
0.10019709914922714,
-0.10711411386728287,
0.09837410598993301,
0.046025097370147705,
-0.2348620891571045,
0.036442164331674576,
0.006452088709920645,
-0.07853719592094421,
0.07145998626947403,
0.04806128889322281,
0.14592891931533813,
-0.03041497990489006,
0.09951820969581604,
0.05333307757973671,
0.014685998670756817,
0.0974789634346962,
-0.009486216120421886,
0.11616145074367523,
0.07570981234312057,
0.09973166137933731,
0.08438104391098022,
0.006403881590813398,
-0.0014428023714572191,
0.05302875116467476,
-0.05508023500442505,
-0.12310609966516495,
-0.01736552082002163,
0.1237027645111084,
0.036730505526065826,
0.03842684626579285,
0.010124259628355503,
-0.026241417974233627,
-0.09255234152078629,
0.0418766513466835,
0.13641494512557983,
-0.26586198806762695,
-0.09056403487920761,
0.10065945237874985,
-0.03388064354658127,
0.08319662511348724,
-0.08721748739480972,
-0.008820224553346634,
0.07911206781864166,
0.06824938952922821,
0.1087515577673912,
-0.014024784788489342,
0.011212749406695366,
-0.011555586010217667,
-0.08649126440286636,
0.04642988741397858,
0.24447543919086456,
0.04339298605918884,
-0.008041652850806713,
-0.010992409661412239,
-0.12048280239105225,
0.04905681312084198,
-0.030747724696993828,
0.006021171808242798,
0.03015599027276039,
-0.023570304736495018,
-0.07650697976350784,
-0.07692930102348328,
-0.07188615947961807,
-0.11853130161762238,
-0.13288135826587677,
0.11139490455389023,
0.04091694951057434,
0.06776434183120728,
-0.12190809845924377,
0.03246351331472397,
-0.13866253197193146,
-0.12900522351264954,
0.013237528502941132,
-0.09719253331422806,
-0.007617988158017397,
0.04416506364941597,
-0.03916504979133606,
-0.19311198592185974,
-0.027411743998527527,
-0.08280464261770248,
-0.020638303831219673,
-0.03256237506866455,
-0.011706938035786152,
0.03686974570155144,
0.020835841074585915,
0.18422195315361023,
-0.1389707773923874,
0.03828337788581848,
-0.02655285969376564,
0.036080002784729004,
-0.07079406827688217,
-0.00793742947280407,
-0.1407911777496338,
-0.08894199877977371,
0.07660790532827377,
-0.08583272248506546,
-0.058444686233997345,
0.09127774834632874,
0.02962275594472885,
-0.10365604609251022,
0.10353748500347137,
-0.08097100257873535,
0.025489462539553642,
0.012949701398611069,
-0.001892444328404963,
0.15952301025390625,
0.01323227770626545,
-0.07709791511297226,
-0.016790077090263367,
-0.005048129241913557,
-0.15969060361385345,
-0.08325217664241791,
-0.13243503868579865,
-0.14406253397464752,
-0.006263102404773235,
-0.11037388443946838,
0.007708628661930561,
-0.13212531805038452,
-0.14699722826480865,
0.033477671444416046,
0.07861350476741791,
-0.030244577676057816,
-0.025066062808036804,
0.011440304107964039,
-0.02780843898653984,
-0.04283794388175011,
-0.0018115349812433124,
0.087468720972538,
0.02501128427684307,
0.06382323056459427,
0.0015422372380271554,
0.0997568815946579,
-0.11044451594352722,
0.07422659546136856,
-0.06944762170314789,
0.06039409339427948,
-0.21750354766845703,
0.010877498425543308,
0.02409144677221775,
-0.023507362231612206,
-0.019968125969171524,
-0.09871462732553482,
-0.057105958461761475,
0.020414618775248528,
0.03306834399700165,
0.06432734429836273,
-0.16112707555294037,
-0.06079976633191109,
0.13966158032417297,
-0.14273355901241302,
-0.04056789353489876,
0.09223562479019165,
-0.037758853286504745,
0.07450423389673233,
0.0728612020611763,
0.1333189159631729,
0.06395157426595688,
0.05653366819024086,
-0.0598321259021759,
0.04049078747630119,
0.02687128819525242,
-0.16737467050552368,
0.0684884712100029,
0.06221022829413414,
-0.13473215699195862,
0.07700878381729126,
-0.10662921518087387,
0.028948040679097176,
-0.06919839233160019,
0.011205192655324936,
-0.03920723870396614,
-0.14148682355880737,
0.0921376571059227,
0.05722445249557495,
0.09000752121210098,
-0.04027724638581276,
-0.05753936246037483,
0.23236827552318573,
0.07140061259269714,
-0.12890304625034332,
-0.0487590916454792,
-0.04876505210995674,
0.042243365198373795,
-0.14717473089694977,
-0.012103964574635029,
-0.11487435549497604,
-0.03681109473109245,
0.06428822129964828,
0.026857763528823853,
-0.0288773812353611,
0.2595899999141693,
0.08488336950540543,
0.05967659503221512,
-0.11487112939357758,
0.004314690828323364,
-0.07643276453018188,
-0.004940773826092482,
-0.07952438294887543,
-0.03385288268327713,
-0.12654851377010345,
-0.022302841767668724,
-0.06575953960418701,
-0.04021633788943291,
0.04155993461608887,
-0.1160440742969513,
0.1439117044210434,
-0.02515437640249729,
0.00947882141917944,
-0.01428305171430111,
0.011466439813375473,
-0.0281226746737957,
-0.01619032584130764,
0.03695762902498245,
0.04596281424164772,
0.06751079112291336,
0.08410410583019257,
-0.06501225382089615,
0.06188744306564331,
0.11242993175983429,
0.08406633138656616,
0.008154921233654022,
0.03200552240014076,
-0.034119367599487305,
-0.0017425105907022953,
-0.07132026553153992,
-0.09672205150127411,
0.12652640044689178,
-0.06934431195259094,
0.15162241458892822,
-0.1261381059885025,
0.02043776772916317,
0.04602459818124771,
0.008702898398041725,
-0.06972798705101013,
0.0009837454417720437,
0.08341832458972931,
-0.09326619654893875,
0.15247897803783417,
0.042999520897865295,
-0.11051077395677567,
0.21945594251155853,
-0.008321692235767841,
-0.11060993373394012,
0.0005956250242888927,
-0.11608108133077621,
-0.01937725394964218,
0.17030993103981018,
-0.11055959761142731,
-0.06913397461175919,
0.06580255180597305,
0.039395350962877274,
0.06523509323596954,
-0.06488160043954849,
-0.016154391691088676,
0.03601383417844772,
-0.009652169421315193,
0.007062667049467564,
-0.023616867139935493,
-0.012293879874050617,
0.10537837445735931,
0.011213734745979309,
-0.04171160236001015,
-0.011591745540499687,
0.01901007629930973,
-0.04771479591727257,
0.11295827478170395,
-0.07131645083427429,
-0.23846058547496796,
-0.17343932390213013,
-0.05070421099662781,
-0.058382369577884674,
0.04567795619368553,
-0.012896460480988026,
-0.1449769139289856,
-0.062317173928022385,
-0.054791711270809174,
0.05691106617450714,
-0.05290564149618149,
0.05288885533809662,
0.054636985063552856,
0.01103424932807684,
0.017535636201500893,
-0.15310746431350708,
0.02114056423306465,
-0.02915811352431774,
-0.07724767178297043,
0.008702152408659458,
-0.13477995991706848,
0.055454231798648834,
0.12201008200645447,
-0.1189478188753128,
0.031802013516426086,
0.013707553036510944,
0.07754756510257721,
0.01956753432750702,
0.1228184700012207,
0.17525383830070496,
0.06159394979476929,
0.006862638983875513,
0.10424960404634476,
0.03253570571541786,
0.04480469599366188,
0.03655577450990677,
-0.008152676746249199,
-0.0702798068523407,
-0.18555809557437897,
-0.014850663021206856,
-0.07085146754980087,
0.052315790206193924,
0.13525953888893127,
0.03535778820514679,
0.039937879890203476,
0.13021191954612732,
-0.003551154164597392,
0.13488389551639557,
-0.05300470069050789,
0.02532549761235714,
-0.032557807862758636,
0.010530476458370686,
0.10361247509717941,
-0.02369830198585987,
-0.023651860654354095,
0.06978914886713028,
-0.03279488533735275,
0.16177232563495636,
-0.11442752182483673,
0.010301230475306511,
-0.014754926785826683,
0.0594506710767746,
0.1560426950454712,
0.19999141991138458,
-0.10015063732862473,
0.010948525741696358,
-0.040872834622859955,
-0.03379232808947563,
-0.038841988891363144,
0.05074469745159149,
-0.00818860437721014,
0.09267870336771011,
-0.10273708403110504,
-0.035846732556819916,
-0.037606559693813324,
0.25551801919937134,
0.15104861557483673,
-0.2720363140106201,
-0.08637169748544693,
0.005107532255351543,
0.009121083654463291,
-0.10962074995040894,
0.05277391895651817,
0.2552011013031006,
-0.049945324659347534,
-0.03286134451627731,
-0.029599545523524284,
0.10038489103317261,
0.027356967329978943,
0.0029567668680101633,
0.038391225039958954,
0.15163519978523254,
-0.02164646051824093,
0.06213501840829849,
-0.1582474559545517,
0.16103914380073547,
0.027043869718909264,
0.038836706429719925,
-0.04333475977182388,
-0.013742060400545597,
0.03470068424940109,
0.0767255499958992,
0.0181256290525198,
0.014581108465790749,
0.13306429982185364,
-0.06258048117160797,
-0.09779670089483261,
0.059572894126176834,
-0.01148988213390112,
-0.030268115922808647,
0.06336432695388794,
-0.05139249935746193,
-0.024786097928881645,
0.02789982408285141,
0.08687326312065125,
-0.0316804014146328,
-0.08048919588327408,
-0.0601627454161644,
0.006637678947299719,
0.00562329450622201,
-0.06329677253961563,
-0.10411398112773895,
-0.06570998579263687,
0.185212180018425,
0.1579838991165161,
-0.053964219987392426,
-0.10679855197668076,
0.05480048432946205,
0.1275319904088974,
-0.05610606074333191,
0.06756150722503662,
-0.07570941746234894,
0.1936735361814499,
-0.010471886955201626,
-0.1405067890882492,
0.024955010041594505,
-0.03514504060149193,
-0.05243760347366333,
-0.06083724647760391,
0.02901274524629116,
0.01758832111954689,
0.07280519604682922,
0.042354900389909744,
0.021848615258932114,
0.005163807887583971,
-0.04006919637322426,
-0.05439414829015732,
0.08849555999040604,
0.11255801469087601,
0.05911615863442421,
-0.19672144949436188,
-0.03556227311491966,
0.022618014365434647,
0.08089376240968704,
0.05505241081118584,
0.025158684700727463,
-0.09716463088989258,
-0.03206581249833107,
0.1576167494058609,
-0.0035938972141593695,
-0.2237820029258728,
0.02214536815881729,
0.05495013669133186,
0.13380923867225647,
-0.04630023613572121,
-0.15121705830097198,
0.14173397421836853,
0.11151681840419769,
0.01927044801414013,
-0.04357948899269104,
-0.09005693346261978,
-0.04182284325361252,
0.09930533915758133,
0.13217592239379883,
0.221983402967453,
-0.07861803472042084,
0.026800209656357765,
0.004568682983517647,
-0.09090901911258698,
0.06308377534151077,
-0.10348895937204361,
0.08883760869503021,
-0.07464750856161118,
-0.030118176713585854,
0.04678148031234741,
-0.04106364771723747,
0.08060470223426819,
-0.018950218334794044,
0.005203260108828545,
-0.04905324429273605,
-0.055043596774339676,
0.15566568076610565,
-0.07714592665433884,
0.14970660209655762,
-0.029153626412153244,
0.09825171530246735,
-0.00560259073972702,
-0.0795888602733612,
-0.12362068146467209,
0.009651401080191135,
0.011825554072856903,
-0.11680778861045837,
-0.029694046825170517,
0.08517445623874664,
-0.027622105553746223,
0.017025278881192207,
0.04896344244480133,
0.018685732036828995,
0.059892237186431885,
0.1420021802186966,
0.09780418127775192,
-0.02081020548939705,
-0.0785222128033638,
-0.026906060054898262,
-0.032985541969537735,
0.11434386670589447,
-0.15367883443832397,
0.030471641570329666,
0.053146447986364365,
0.02445559948682785,
0.0707283541560173,
0.07713786512613297,
-0.059346944093704224,
-0.0322079099714756,
0.09379618614912033,
-0.08238985389471054,
-0.14105360209941864,
-0.08552073687314987,
0.0016346188494935632,
-0.22183944284915924,
0.06985511630773544,
0.05631469562649727,
-0.09756926447153091,
-0.026944568380713463,
0.008471091277897358,
-0.0378308966755867,
-0.04118246212601662,
0.05863255262374878,
0.11726415902376175,
0.024881510064005852,
-0.05001305416226387,
0.008180267177522182,
0.07349825650453568,
0.06673412770032883,
0.030940506607294083,
0.03850475698709488,
-0.08311882615089417,
-0.004983178805559874,
0.11146677285432816,
0.09755054116249084,
0.046684324741363525,
-0.031862277537584305,
-0.09986219555139542,
-0.11991848051548004,
0.01747266575694084,
0.09335240721702576,
0.057269927114248276,
0.044527582824230194,
-0.07256661355495453,
0.01576460339128971,
-0.1498812586069107,
0.07183806598186493,
-0.04377661272883415,
0.10188702493906021,
-0.1416202336549759,
0.11983362585306168,
0.010499509982764721,
0.1086648553609848,
-0.059445884078741074,
-0.007305094040930271,
-0.10141473263502121,
-0.044464800506830215,
-0.22837992012500763,
-0.0520365871489048,
-0.06425262242555618,
-0.07760504633188248,
-0.07975919544696808,
-0.09809527546167374,
-0.06606616079807281,
-0.015581876039505005,
-0.04163635894656181,
-0.0032287065405398607,
0.0082920603454113,
0.020306657999753952,
-0.023031966760754585,
0.03429137542843819,
0.027387868613004684,
-0.06621205061674118,
0.013331064954400063,
-0.016025327146053314,
-0.031107602640986443,
0.07449878007173538,
0.06660223752260208,
-0.05008251592516899,
-0.02639402635395527,
0.03989436477422714,
0.11893287301063538,
0.02069721557199955,
0.02629457786679268,
0.018069008365273476,
0.06848182529211044,
-0.007359940093010664,
0.04858250543475151,
-0.07115060836076736,
0.06643787026405334,
-0.03545045480132103,
-0.048644695430994034,
-0.07483631372451782,
0.06807972490787506,
0.1137712150812149,
0.0775327980518341,
0.0929306298494339,
-0.031402505934238434,
0.019068613648414612,
-0.22889892756938934,
0.009114602580666542,
-0.015170976519584656,
-0.05431264638900757,
0.043025318533182144,
-0.02002398669719696,
0.0039640613831579685,
-0.002620948711410165,
0.10985402017831802,
0.11512776464223862,
-0.10197880119085312,
-0.003480085637420416,
-0.019145241007208824,
0.07760129868984222,
-0.00699086906388402,
0.3210000991821289,
0.003313522320240736,
-0.03639030084013939,
0.04958527907729149,
0.08555502444505692,
0.026734426617622375,
0.17290493845939636,
0.16351573169231415,
0.09537793695926666,
-0.07524208724498749,
0.0483887642621994,
0.085909903049469,
0.03683324530720711,
-0.08581217378377914,
-0.023257913067936897,
-0.05694931373000145,
0.05044577643275261,
-0.006233501248061657,
0.11436697095632553,
0.1538340300321579,
-0.14542092382907867,
0.09398182481527328,
0.04163258895277977,
-0.08066665381193161,
-0.06947722285985947,
-0.14355981349945068,
-0.09377288818359375,
-0.11184314638376236,
-0.00850243866443634,
-0.1276550590991974,
-0.06384511291980743,
0.11746232956647873,
-0.0011853377800434828,
-0.056187983602285385,
0.07771332561969757,
0.015412209555506706,
-0.004901356995105743,
0.05801920220255852,
0.017734283581376076,
0.04513361304998398,
-0.005580742843449116,
-0.04724550619721413,
0.00530731538310647,
0.10046284645795822,
0.035817310214042664,
-0.022146619856357574,
0.022250264883041382,
0.022527126595377922,
0.08282554149627686,
-0.08153366297483444,
-0.022822750732302666,
-0.068142369389534,
0.037694383412599564,
0.03420232608914375,
-0.002724130405113101,
-0.06589268147945404,
-0.007866458967328072,
0.09371068328619003,
-0.03236040845513344,
-0.020989615470170975,
-0.14518670737743378,
0.21444694697856903,
-0.0125691844150424,
-0.018846973776817322,
0.08351656794548035,
-0.11144980788230896,
-0.13338947296142578,
0.26662513613700867,
0.20905210077762604,
-0.03098691813647747,
-0.02635277807712555,
0.001177422353066504,
-0.036431070417165756,
-0.011082162149250507,
0.1375502496957779,
0.0478956438601017,
0.15427298843860626,
-0.021397694945335388,
0.027033815160393715,
-0.037056099623441696,
-0.008352456614375114,
-0.0295573677867651,
0.008529262617230415,
0.05630175769329071,
-0.05988052487373352,
-0.08796989917755127,
-0.02182852476835251,
0.0033073474187403917,
-0.03906617686152458,
-0.054150328040122986,
-0.029829850420355797,
-0.1254977136850357,
-0.0323791466653347,
-0.061202820390462875,
-0.0076870485208928585,
0.08972425013780594,
-0.06301877647638321,
0.12132659554481506,
0.13078230619430542,
-0.044356897473335266,
-0.09449358284473419,
-0.08534237742424011,
0.1501602679491043,
0.005337283946573734,
0.1325720101594925,
0.0038948191795498133,
-0.06359180063009262,
0.06914293020963669,
0.03153953328728676,
-0.0673985630273819,
0.01877216249704361,
-0.034312061965465546,
-0.04761407524347305,
-0.027204347774386406,
0.05489492788910866,
-0.05741647630929947,
-0.022770270705223083,
-0.02970513328909874,
-0.15838047862052917,
-0.016572002321481705,
-0.04765398055315018,
-0.04391510784626007,
-0.1156923919916153,
0.05022522807121277,
-0.0778980478644371,
0.11210581660270691,
0.28532105684280396,
-0.023766256868839264,
-0.12526769936084747,
-0.058561425656080246,
0.050103042274713516,
0.0636255219578743,
-0.01015127170830965,
-0.03276541456580162,
-0.11246193945407867,
-0.11648483574390411,
-0.07416899502277374,
-0.03384172543883324,
-0.3035750091075897,
-0.0056570228189229965,
-0.06507357209920883,
-0.0783926323056221,
-0.06028980761766434,
0.006527582183480263,
0.0899442806839943,
0.06949611753225327,
-0.04032990336418152,
0.09936454892158508,
-0.07482999563217163,
0.048963841050863266,
-0.15087172389030457,
-0.13509245216846466
] |
null | null |
transformers
|
# GPT-2 small Japanese model
This repository contains a GPT2-small model trained on Japanese Wikipedia dataset.
## Training data
[Japanese Wikipedia](https://ja.wikipedia.org/wiki/Wikipedia:データベースダウンロード) dataset as of Aug20, 2021 released under [Creative Commons Attribution-ShareAlike 3.0](https://creativecommons.org/licenses/by-sa/3.0/) is used for both tokenizer and GPT-2 model.
We splitted the dataset into three subsets - train, valid and test sets. Both tokenizer and model were trained on the train set.
Train set contains around 540M tokens.
## Model description
The model architecture is the same as GPT-2 small model (n_ctx: 1024, n_embd 768, n_head: 12, n_layer: 12) except for a vocabulary size.
The vocabulary size is set to 32,000 instead of an original size of 50,257.
`transformers.GPT2LMHeadModel` is used for training.
## Tokenizer description
[SentencePiece](https://github.com/google/sentencepiece) is used as a tokenizer for this model.
We utilized 1,000,000 sentences from train set.
The vocabulary size was 32,000.
A `add_dummy_prefix` option was set to `True` because Japanese words are not separated by whitespaces.
After training, the tokenizer model was imported as `transformers.BERTGenerationTokenizer`
because it supports SentencePiece models and it does not add any special tokens as default,
which is useful expecially for a text generation task.
## Training
The model was trained on the train set for 30 epochs with batch size 32. Each sample contained 1024 tokens.
We utilized Adam optimizer. Learning rate was linearly increased from `0` to `1e-4` during the first 10,000 steps.
A clip norm was set to `1.0`.
Test set perplexity of the trained model was 29.13.
Please refer to [GitHub](https://github.com/colorfulscoop/gpt-ja) for more training details.
## Usage
First, install dependecies.
```sh
$ pip install transformers==4.10.0 torch==1.8.1 sentencepiece==0.1.96
```
Then use pipeline to generate sentences.
```sh
>>> import transformers
>>> pipeline = transformers.pipeline("text-generation", "colorfulscoop/gpt2-small-ja")
>>> pipeline("統計的機械学習でのニューラルネットワーク", do_sample=True, top_p=0.95, top_k=50, num_return_sequences=3)
```
**Note:** The default model configuration `config.json` sets parameters for text generation with `do_sample=True`, `top_k=50`, `top_p=0.95`.
Please set these parameters when you need to use different parameters.
## Versions
We recommend to specify `revision` to load the model for reproducibility.
| Revision | Date of Wikipedia dump |
| --- | --- |
| 20210820.1.0 | Aug 20, 2021 |
| 20210301.1.0 | March 1, 2021 |
You can specify `revision` as follows.
```py
# Example of pipeline
>>> transformers.pipeline("text-generation", "colorfulscoop/gpt2-small-ja", revision="20210820.1.0")
# Example of AutoModel
>>> transformers.AutoModel.from_pretrained("colorfulscoop/gpt2-small-ja", revision="20210820.1.0")
```
## License
All the models included in this repository are licensed under [Creative Commons Attribution-ShareAlike 3.0](https://creativecommons.org/licenses/by-sa/3.0/).
**Disclaimer:** The model potentially has possibility that it generates similar texts in the training data, texts not to be true, or biased texts. Use of the model is at your sole risk. Colorful Scoop makes no warranty or guarantee of any outputs from the model. Colorful Scoop is not liable for any trouble, loss, or damage arising from the model output.
**Author:** Colorful Scoop
|
{"language": "ja", "license": "cc", "datasets": "wikipedia", "widget": [{"text": "\u7d71\u8a08\u7684\u6a5f\u68b0\u5b66\u7fd2\u3067\u306e\u30cb\u30e5\u30fc\u30e9\u30eb\u30cd\u30c3\u30c8\u30ef\u30fc\u30af"}]}
|
text-generation
|
colorfulscoop/gpt2-small-ja
|
[
"transformers",
"pytorch",
"tf",
"gpt2",
"text-generation",
"ja",
"dataset:wikipedia",
"license:cc",
"autotrain_compatible",
"endpoints_compatible",
"has_space",
"text-generation-inference",
"region:us"
] |
2022-03-02T23:29:05+00:00
|
[] |
[
"ja"
] |
TAGS
#transformers #pytorch #tf #gpt2 #text-generation #ja #dataset-wikipedia #license-cc #autotrain_compatible #endpoints_compatible #has_space #text-generation-inference #region-us
|
GPT-2 small Japanese model
==========================
This repository contains a GPT2-small model trained on Japanese Wikipedia dataset.
Training data
-------------
Japanese Wikipedia dataset as of Aug20, 2021 released under Creative Commons Attribution-ShareAlike 3.0 is used for both tokenizer and GPT-2 model.
We splitted the dataset into three subsets - train, valid and test sets. Both tokenizer and model were trained on the train set.
Train set contains around 540M tokens.
Model description
-----------------
The model architecture is the same as GPT-2 small model (n\_ctx: 1024, n\_embd 768, n\_head: 12, n\_layer: 12) except for a vocabulary size.
The vocabulary size is set to 32,000 instead of an original size of 50,257.
'transformers.GPT2LMHeadModel' is used for training.
Tokenizer description
---------------------
SentencePiece is used as a tokenizer for this model.
We utilized 1,000,000 sentences from train set.
The vocabulary size was 32,000.
A 'add\_dummy\_prefix' option was set to 'True' because Japanese words are not separated by whitespaces.
After training, the tokenizer model was imported as 'transformers.BERTGenerationTokenizer'
because it supports SentencePiece models and it does not add any special tokens as default,
which is useful expecially for a text generation task.
Training
--------
The model was trained on the train set for 30 epochs with batch size 32. Each sample contained 1024 tokens.
We utilized Adam optimizer. Learning rate was linearly increased from '0' to '1e-4' during the first 10,000 steps.
A clip norm was set to '1.0'.
Test set perplexity of the trained model was 29.13.
Please refer to GitHub for more training details.
Usage
-----
First, install dependecies.
Then use pipeline to generate sentences.
Note: The default model configuration 'URL' sets parameters for text generation with 'do\_sample=True', 'top\_k=50', 'top\_p=0.95'.
Please set these parameters when you need to use different parameters.
Versions
--------
We recommend to specify 'revision' to load the model for reproducibility.
You can specify 'revision' as follows.
License
-------
All the models included in this repository are licensed under Creative Commons Attribution-ShareAlike 3.0.
Disclaimer: The model potentially has possibility that it generates similar texts in the training data, texts not to be true, or biased texts. Use of the model is at your sole risk. Colorful Scoop makes no warranty or guarantee of any outputs from the model. Colorful Scoop is not liable for any trouble, loss, or damage arising from the model output.
Author: Colorful Scoop
|
[] |
[
"TAGS\n#transformers #pytorch #tf #gpt2 #text-generation #ja #dataset-wikipedia #license-cc #autotrain_compatible #endpoints_compatible #has_space #text-generation-inference #region-us \n"
] |
[
66
] |
[
"passage: TAGS\n#transformers #pytorch #tf #gpt2 #text-generation #ja #dataset-wikipedia #license-cc #autotrain_compatible #endpoints_compatible #has_space #text-generation-inference #region-us \n"
] |
[
-0.006109552923589945,
0.08166314661502838,
-0.004155330825597048,
0.04747108742594719,
0.1146869957447052,
0.0327884703874588,
0.11387913674116135,
0.15848369896411896,
0.004370247013866901,
-0.02853400446474552,
0.15539997816085815,
0.1816461831331253,
0.012095893733203411,
0.08614494651556015,
-0.0676097571849823,
-0.2770271301269531,
0.053739648312330246,
0.06567537784576416,
-0.04031987115740776,
0.11078231781721115,
0.12324488162994385,
-0.06590212136507034,
0.08885729312896729,
-0.022124525159597397,
-0.16989466547966003,
0.009923391975462437,
0.041868384927511215,
-0.13303376734256744,
0.13953764736652374,
0.06797187030315399,
0.05948320031166077,
0.07624906301498413,
-0.04210909083485603,
-0.09753674268722534,
0.035637564957141876,
0.02292812615633011,
-0.08782128989696503,
0.08597362786531448,
0.053179897367954254,
-0.011230074800550938,
0.131326362490654,
0.03527461737394333,
-0.03129230812191963,
0.04205765575170517,
-0.14546772837638855,
-0.13011296093463898,
-0.06568022072315216,
0.060930196195840836,
-0.010390275157988071,
0.06697167456150055,
0.00032773049315437675,
0.12113046646118164,
-0.08181305974721909,
0.07798982411623001,
0.1639888882637024,
-0.3456878960132599,
0.00032333272974938154,
0.1383691430091858,
0.07589084655046463,
0.036152906715869904,
-0.03998895362019539,
0.08666985481977463,
0.04170522093772888,
0.015062391757965088,
0.08663514256477356,
-0.07387126237154007,
-0.16307707130908966,
0.06385534256696701,
-0.0692087709903717,
-0.06646763533353806,
0.3114277124404907,
-0.04451233893632889,
0.07083511352539062,
-0.037803418934345245,
-0.08405221998691559,
-0.006029647774994373,
0.007396560162305832,
0.015352542512118816,
-0.026817286387085915,
0.07648776471614838,
0.032109200954437256,
-0.08736700564622879,
-0.1464175581932068,
-0.00011969123443122953,
-0.20836028456687927,
0.08124829828739166,
0.006294830236583948,
0.05321989580988884,
-0.14049075543880463,
0.09009917080402374,
-0.029220618307590485,
-0.11377806216478348,
0.0035408437252044678,
-0.07380548119544983,
0.056801896542310715,
-0.012608354911208153,
-0.060903847217559814,
-0.01152667123824358,
0.10100384801626205,
0.1338266283273697,
-0.040310993790626526,
-0.03778782859444618,
-0.0446116179227829,
0.11182884871959686,
0.04191393405199051,
0.033889904618263245,
-0.08262324333190918,
-0.02189846709370613,
0.08011607080698013,
-0.12316442281007767,
0.0013211352052167058,
-0.06333425641059875,
-0.16360798478126526,
-0.06526398658752441,
0.04705403372645378,
0.062065742909908295,
0.06427253782749176,
0.10408814996480942,
-0.018118150532245636,
-0.0017091998597607017,
0.1160392239689827,
-0.05414879322052002,
0.010976487770676613,
-0.004178463015705347,
0.014151088893413544,
0.06919017434120178,
0.03151284530758858,
0.012533961795270443,
-0.08514615893363953,
0.02615402638912201,
-0.08626217395067215,
-0.023226050660014153,
-0.015609915368258953,
-0.09272032231092453,
0.06964371353387833,
-0.09362457692623138,
0.029210161417722702,
-0.1608881652355194,
-0.15096290409564972,
0.023001357913017273,
0.02012641169130802,
-0.04007299989461899,
-0.09286633133888245,
0.046282824128866196,
-0.06130522862076759,
0.05812007933855057,
-0.07900548726320267,
0.03411216661334038,
-0.08137882500886917,
0.10330912470817566,
-0.10486554354429245,
0.07574044167995453,
-0.19522416591644287,
0.07406143844127655,
-0.10504365712404251,
-0.025091927498579025,
-0.0507739819586277,
0.019560037180781364,
-0.025101961567997932,
0.0758194550871849,
-0.0322561040520668,
-0.040060874074697495,
-0.05467313900589943,
0.04537083953619003,
-0.03631826862692833,
0.15580818057060242,
-0.14132310450077057,
-0.06761835515499115,
0.19824324548244476,
-0.07392444461584091,
-0.18858584761619568,
0.09577681869268417,
0.0034339537378400564,
0.07135959714651108,
0.05451899394392967,
0.18931758403778076,
0.03088485822081566,
-0.03830920532345772,
0.03587544709444046,
0.11513332277536392,
-0.051143113523721695,
-0.10779769718647003,
0.041536301374435425,
-0.011929606087505817,
-0.035380978137254715,
0.039462681859731674,
0.020793288946151733,
0.0580189973115921,
-0.038278963416814804,
-0.04133502021431923,
-0.0664776936173439,
-0.007386361714452505,
0.03322520852088928,
0.01459460612386465,
0.09692684561014175,
-0.057459428906440735,
-0.03260934725403786,
0.04768495634198189,
-0.00802601221948862,
0.0007353484397754073,
0.047677814960479736,
-0.014201461337506771,
0.14621560275554657,
-0.00044716510456055403,
0.041481863707304,
-0.14563387632369995,
-0.06747205555438995,
-0.019929276779294014,
0.13340118527412415,
0.027108021080493927,
0.1421894133090973,
0.018438288941979408,
-0.04552681744098663,
-0.021961728110909462,
0.033319175243377686,
0.11982724070549011,
0.03732840344309807,
-0.04761659726500511,
-0.10998722165822983,
0.04459063708782196,
-0.04382869601249695,
-0.012336558662354946,
-0.059255655854940414,
0.019335947930812836,
0.0993720293045044,
0.11358337104320526,
-0.028891850262880325,
0.06573321670293808,
-0.008803904056549072,
0.006687749642878771,
-0.11126181483268738,
-0.008009838871657848,
0.08310168981552124,
0.0127421785145998,
-0.04598524048924446,
0.24290744960308075,
-0.11884143203496933,
0.2539348900318146,
0.23097169399261475,
-0.2275083065032959,
0.0029232825618237257,
-0.03500881418585777,
-0.027665551751852036,
0.023806549608707428,
0.005390188656747341,
-0.05279847979545593,
0.007271104026585817,
-0.032584622502326965,
0.15595445036888123,
-0.0802125409245491,
-0.05227584019303322,
0.007093613967299461,
-0.03821052610874176,
-0.02612365037202835,
0.049185361713171005,
0.15323132276535034,
-0.1651613414287567,
0.22022107243537903,
0.235550194978714,
0.042914848774671555,
0.19651274383068085,
-0.016744539141654968,
-0.0075642443262040615,
0.04572366178035736,
-0.049747634679079056,
-0.047994889318943024,
0.021583430469036102,
-0.16371192038059235,
-0.015787215903401375,
0.11035225540399551,
0.030554726719856262,
0.06132042780518532,
-0.1403186023235321,
-0.05891299247741699,
-0.006630079820752144,
-0.025052037090063095,
-0.032009463757276535,
0.10699595510959625,
0.03829951584339142,
0.15588371455669403,
-0.013204116374254227,
-0.02710040658712387,
0.08913706988096237,
0.031801488250494,
-0.08850221335887909,
0.17624753713607788,
-0.13801191747188568,
-0.32697293162345886,
-0.10169647634029388,
-0.09575970470905304,
-0.03051806427538395,
0.027125133201479912,
0.12501226365566254,
-0.03299601003527641,
-0.0244268961250782,
-0.03696846216917038,
0.03363071009516716,
-0.07640767097473145,
0.02410273067653179,
-0.0928538516163826,
0.03769736737012863,
-0.07635952532291412,
-0.11310052871704102,
-0.061272505670785904,
0.012450858019292355,
-0.05173178017139435,
0.14558248221874237,
-0.065864197909832,
0.07439277321100235,
0.14498315751552582,
-0.006090993992984295,
0.037093956023454666,
-0.07076562941074371,
0.2063247263431549,
-0.08502177149057388,
0.07373366504907608,
0.2111659049987793,
0.01956643909215927,
0.04895877465605736,
0.14494885504245758,
0.027462733909487724,
-0.05779379978775978,
0.006557973567396402,
-0.03763434663414955,
-0.09882239252328873,
-0.21608039736747742,
-0.11893182247877121,
-0.14041592180728912,
0.053648050874471664,
0.06053246930241585,
0.07264793664216995,
0.13265664875507355,
0.0721864327788353,
-0.03945503383874893,
0.04516614228487015,
0.0073887077160179615,
0.06243733689188957,
0.24924880266189575,
-0.020296284928917885,
0.1399252563714981,
-0.07762742042541504,
-0.05963480845093727,
0.1281241625547409,
0.10164576768875122,
0.12536408007144928,
0.04342740774154663,
0.07026911526918411,
0.06261710822582245,
0.13364814221858978,
0.10362748801708221,
0.09366966784000397,
0.028867265209555626,
-0.0033414599020034075,
-0.04394390434026718,
-0.039903201162815094,
0.011588091030716896,
0.05093538761138916,
0.004337436053901911,
-0.17494143545627594,
-0.022296279668807983,
-0.15475952625274658,
0.07200929522514343,
0.09975658357143402,
0.0722423791885376,
-0.19612644612789154,
0.006037165876477957,
0.06681621819734573,
-0.012247481383383274,
-0.10488107055425644,
0.07290619611740112,
0.03136211633682251,
-0.10808864235877991,
0.07792564481496811,
-0.015871334820985794,
0.1151897981762886,
-0.011066058650612831,
0.048932164907455444,
-0.023112181574106216,
-0.11587148159742355,
0.014418411068618298,
0.10337277501821518,
-0.32373225688934326,
0.2414381057024002,
-0.009409166872501373,
-0.0670311227440834,
-0.11034023016691208,
-0.011299552395939827,
0.01657983846962452,
0.16999760270118713,
0.11059947311878204,
0.013691415078938007,
-0.03881043568253517,
-0.04534607008099556,
-0.00029323462513275445,
0.02299477905035019,
0.046512141823768616,
-0.03677169606089592,
-0.012352908961474895,
-0.04700180143117905,
0.02264973521232605,
0.013194035738706589,
0.07202167809009552,
-0.028480803593993187,
-0.1628323495388031,
0.08906641602516174,
0.05770174413919449,
0.05007742717862129,
0.00018206797540187836,
-0.044487059116363525,
-0.16022440791130066,
0.18979422748088837,
-0.07320196181535721,
-0.09916812181472778,
-0.14123371243476868,
-0.018791504204273224,
0.07357760518789291,
-0.05735040456056595,
0.05624252185225487,
-0.07641629129648209,
0.0247772429138422,
-0.07978963106870651,
-0.209451824426651,
0.11478497833013535,
-0.09320297837257385,
-0.06853155046701431,
-0.0397830605506897,
0.12166949361562729,
-0.1082969382405281,
0.03328659012913704,
0.04560954123735428,
0.052074532955884933,
-0.12139841169118881,
-0.10883673280477524,
0.016885489225387573,
-0.044332291930913925,
0.06294730305671692,
-0.034135401248931885,
-0.08121193945407867,
-0.03253752365708351,
0.03641395643353462,
-0.05241810157895088,
0.26501739025115967,
0.1796325147151947,
-0.09492075443267822,
0.17798197269439697,
0.0790848359465599,
-0.0894264355301857,
-0.331749826669693,
-0.09194126725196838,
-0.1473407745361328,
-0.03509341552853584,
-0.0036177821457386017,
-0.1697053760290146,
0.05217951908707619,
0.040211841464042664,
-0.046927209943532944,
0.1186709776520729,
-0.22500711679458618,
-0.10017009824514389,
0.1245497539639473,
-0.022496480494737625,
0.2849991023540497,
-0.16227930784225464,
-0.07260698825120926,
-0.03256216645240784,
-0.165907084941864,
0.22997498512268066,
-0.0954037755727768,
0.09140528738498688,
-0.03204548731446266,
0.07582711428403854,
0.014383682049810886,
-0.04215489700436592,
0.0997839942574501,
-0.02082812413573265,
0.00890092272311449,
-0.1142323687672615,
-0.037110064178705215,
0.11208625882863998,
0.00169406330678612,
0.05000654608011246,
-0.07743216305971146,
0.017145540565252304,
-0.13624469935894012,
-0.01255036424845457,
-0.10298389941453934,
0.09488052874803543,
-0.0044277869164943695,
-0.0874151811003685,
-0.061423443257808685,
-0.0041506970301270485,
0.004360383842140436,
-0.03328539803624153,
0.21476268768310547,
-0.03270168602466583,
0.1569112092256546,
0.13109558820724487,
0.0819026529788971,
-0.1418313831090927,
0.016709139570593834,
-0.03777702525258064,
-0.07214602828025818,
0.06153877079486847,
-0.1839480996131897,
0.02921753004193306,
0.09754008054733276,
-0.026790976524353027,
0.06627672165632248,
0.09265370666980743,
-0.012402502819895744,
-0.005428507458418608,
0.1389414668083191,
-0.23377633094787598,
-0.02461198717355728,
-0.05011071264743805,
-0.028051547706127167,
0.0756249725818634,
0.028983691707253456,
0.16863949596881866,
-0.02068614400923252,
-0.04266883805394173,
0.01832251064479351,
0.01608888804912567,
-0.040434207767248154,
0.053490303456783295,
0.0634031668305397,
0.013484655879437923,
-0.13161560893058777,
0.062153518199920654,
0.05227309465408325,
-0.08599001914262772,
0.012948315590620041,
0.12807691097259521,
-0.12522034347057343,
-0.14607007801532745,
-0.028128284960985184,
-0.011945273727178574,
-0.1778242588043213,
-0.03326720371842384,
-0.02863766811788082,
-0.1352980136871338,
0.06991056352853775,
0.14386792480945587,
0.06204758957028389,
0.0943756252527237,
-0.007025904953479767,
-0.06142215058207512,
-0.010748524218797684,
0.01594126597046852,
-0.06089935451745987,
0.026969920843839645,
-0.08330810815095901,
0.07896825671195984,
-0.025239460170269012,
0.12648572027683258,
-0.08472581207752228,
-0.0054589067585766315,
-0.14635348320007324,
-0.005922973155975342,
-0.09428711235523224,
-0.059574760496616364,
-0.09990561008453369,
-0.05853891372680664,
-0.007403005845844746,
-0.06964404135942459,
-0.05150747299194336,
-0.027294611558318138,
-0.11363334953784943,
0.0029167714528739452,
-0.04881215840578079,
0.07796093076467514,
-0.11513277143239975,
-0.03103567473590374,
0.06677712500095367,
-0.008407900109887123,
0.1345018446445465,
0.04330093041062355,
-0.08922869712114334,
0.0819113701581955,
-0.13412374258041382,
-0.07050637900829315,
0.08815592527389526,
0.035307351499795914,
0.054803408682346344,
0.03770867735147476,
0.022432968020439148,
0.07989819347858429,
0.01041125413030386,
0.062000177800655365,
-0.024917615577578545,
-0.11341281980276108,
-0.014055090956389904,
-0.05894864723086357,
-0.09764889627695084,
-0.013776401057839394,
-0.011909273453056812,
0.09898387640714645,
-0.0022678228560835123,
0.100005142390728,
-0.033386074006557465,
0.046802133321762085,
-0.11010879278182983,
0.02532399632036686,
-0.02368815988302231,
-0.1790274977684021,
-0.08169769495725632,
-0.0591326504945755,
0.019231945276260376,
0.008028377778828144,
0.2938874065876007,
0.09030017256736755,
-0.06947760283946991,
0.059038277715444565,
0.09321340918540955,
0.012735323049128056,
0.005794068798422813,
0.2404990941286087,
0.06207182630896568,
-0.040982749313116074,
-0.11003220081329346,
0.06839323043823242,
0.006520912051200867,
-0.006647026631981134,
0.1297786980867386,
0.06150311604142189,
0.036838728934526443,
0.03926459327340126,
0.04175020381808281,
-0.03497070074081421,
-0.06544049084186554,
-0.10574711114168167,
0.009728728793561459,
0.10669966787099838,
-0.04561373218894005,
0.027058705687522888,
0.16400368511676788,
-0.07249744236469269,
0.045608870685100555,
-0.03598369285464287,
-0.029050251469016075,
-0.15412582457065582,
-0.17028619349002838,
-0.07872574776411057,
-0.11120767146348953,
-0.011429128237068653,
-0.12250789999961853,
0.06356746703386307,
0.08848249167203903,
0.06093066930770874,
-0.06545651704072952,
0.007871256209909916,
0.06223438307642937,
-0.10434950143098831,
0.06573481857776642,
-0.005699662026017904,
0.045030493289232254,
-0.09203584492206573,
-0.018099065870046616,
-0.06893221288919449,
0.010978435166180134,
-0.035067640244960785,
0.05548626929521561,
-0.01296080369502306,
0.018585924059152603,
-0.1523635983467102,
-0.07883512228727341,
-0.05200432986021042,
0.04114355519413948,
-0.01367728877812624,
0.13805057108402252,
0.003981391899287701,
-0.0003692277823574841,
0.06558603793382645,
0.20921556651592255,
-0.0410274975001812,
-0.0912904366850853,
-0.03940707445144653,
0.14358514547348022,
0.030550912022590637,
0.06277059763669968,
0.0028691627085208893,
-0.00697721540927887,
-0.0594259612262249,
0.31953415274620056,
0.3404938876628876,
-0.06703458726406097,
0.03735116496682167,
0.01596601866185665,
0.01753171533346176,
0.10490787029266357,
0.13941118121147156,
0.09310079365968704,
0.22152571380138397,
-0.06555039435625076,
-0.034870799630880356,
-0.05816708132624626,
0.012189140543341637,
-0.09817038476467133,
0.09485390782356262,
0.047890231013298035,
-0.09268032759428024,
-0.015425162389874458,
0.08740977197885513,
-0.1642807573080063,
0.05108462646603584,
-0.035747043788433075,
-0.17448772490024567,
-0.058625172823667526,
0.0037067122757434845,
0.0763503909111023,
-0.004220783244818449,
0.04160359874367714,
-0.034846559166908264,
-0.02660496160387993,
0.061272524297237396,
0.01837337203323841,
-0.21020646393299103,
0.02367282286286354,
0.09005993604660034,
-0.05114280804991722,
0.04093815013766289,
-0.036234669387340546,
0.06356789916753769,
0.08960385620594025,
0.04187609627842903,
-0.07615970820188522,
0.05473824962973595,
0.03199167177081108,
-0.007998570799827576,
0.018637027591466904,
-0.03698952496051788,
0.0224661473184824,
-0.09320666640996933,
0.08888985216617584,
-0.08692602068185806,
0.04808703064918518,
-0.007893768139183521,
-0.04423266649246216,
-0.029676666483283043,
0.01804290898144245,
-0.06237177923321724,
0.08193105459213257,
0.05762837454676628,
-0.037132829427719116,
-0.028862008824944496,
-0.0871729701757431,
-0.02934877574443817,
0.01864769123494625,
-0.10652830451726913,
-0.07799415290355682,
-0.08278245478868484,
-0.0729435384273529,
0.056901413947343826,
0.0040403129532933235,
-0.1550866812467575,
0.005817045457661152,
-0.0925743356347084,
0.034268856048583984,
-0.16332590579986572,
0.09047245234251022,
0.09186708927154541,
-0.015911463648080826,
-0.01350309606641531,
-0.0003744415007531643,
0.02715585194528103,
0.05138428136706352,
-0.10926682502031326,
-0.06473471224308014
] |
null | null |
sentence-transformers
|
# Sentence BERT base Japanese model
This repository contains a Sentence BERT base model for Japanese.
## Pretrained model
This model utilizes a Japanese BERT model [colorfulscoop/bert-base-ja](https://huggingface.co/colorfulscoop/bert-base-ja) v1.0 released under [Creative Commons Attribution-ShareAlike 3.0](https://creativecommons.org/licenses/by-sa/3.0/) as a pretrained model.
## Training data
[Japanese SNLI dataset](https://nlp.ist.i.kyoto-u.ac.jp/index.php?%E6%97%A5%E6%9C%AC%E8%AA%9ESNLI%28JSNLI%29%E3%83%87%E3%83%BC%E3%82%BF%E3%82%BB%E3%83%83%E3%83%88) released under [Creative Commons Attribution-ShareAlike 4.0](https://creativecommons.org/licenses/by-sa/4.0/) is used for training.
Original training dataset is splitted into train/valid dataset. Finally, follwoing data is prepared.
* Train data: 523,005 samples
* Valid data: 10,000 samples
* Test data: 3,916 samples
## Model description
This model utilizes `SentenceTransformer` model from the [sentence-transformers](https://github.com/UKPLab/sentence-transformers) .
The model detail is as below.
```py
>>> from sentence_transformers import SentenceTransformer
>>> SentenceTransformer("colorfulscoop/sbert-base-ja")
SentenceTransformer(
(0): Transformer({'max_seq_length': 512, 'do_lower_case': False}) with Transformer model: BertModel
(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})
)
```
## Training
This model finetuned [colorfulscoop/bert-base-ja](https://huggingface.co/colorfulscoop/bert-base-ja) with Softmax classifier of 3 labels of SNLI. AdamW optimizer with learning rate of 2e-05 linearly warmed-up in 10% of train data was used. The model was trained in 1 epoch with batch size 8.
Note: in a original paper of [Sentence BERT](https://arxiv.org/abs/1908.10084), a batch size of the model trained on SNLI and Multi-Genle NLI was 16. In this model, the dataset is around half smaller than the origial one, therefore the batch size was set to half of the original batch size of 16.
Trainind was conducted on Ubuntu 18.04.5 LTS with one RTX 2080 Ti.
After training, test set accuracy reached to 0.8529.
Training code is available in [a GitHub repository](https://github.com/colorfulscoop/sbert-ja).
## Usage
First, install dependecies.
```sh
$ pip install sentence-transformers==2.0.0
```
Then initialize `SentenceTransformer` model and use `encode` method to convert to vectors.
```py
>>> from sentence_transformers import SentenceTransformer
>>> model = SentenceTransformer("colorfulscoop/sbert-base-ja")
>>> sentences = ["外をランニングするのが好きです", "海外旅行に行くのが趣味です"]
>>> model.encode(sentences)
```
## License
Copyright (c) 2021 Colorful Scoop
All the models included in this repository are licensed under [Creative Commons Attribution-ShareAlike 4.0](https://creativecommons.org/licenses/by-sa/4.0/).
**Disclaimer:** Use of this model is at your sole risk. Colorful Scoop makes no warranty or guarantee of any outputs from the model. Colorful Scoop is not liable for any trouble, loss, or damage arising from the model output.
---
This model utilizes the folllowing pretrained model.
* **Name:** bert-base-ja
* **Credit:** (c) 2021 Colorful Scoop
* **License:** [Creative Commons Attribution-ShareAlike 3.0](https://creativecommons.org/licenses/by-sa/3.0/)
* **Disclaimer:** The model potentially has possibility that it generates similar texts in the training data, texts not to be true, or biased texts. Use of the model is at your sole risk. Colorful Scoop makes no warranty or guarantee of any outputs from the model. Colorful Scoop is not liable for any trouble, loss, or damage arising from the model output.
* **Link:** https://huggingface.co/colorfulscoop/bert-base-ja
---
This model utilizes the following data for fine-tuning.
* **Name:** 日本語SNLI(JSNLI)データセット
* **Credit:** [https://nlp.ist.i.kyoto-u.ac.jp/index.php?日本語SNLI(JSNLI)データセット](https://nlp.ist.i.kyoto-u.ac.jp/index.php?%E6%97%A5%E6%9C%AC%E8%AA%9ESNLI%28JSNLI%29%E3%83%87%E3%83%BC%E3%82%BF%E3%82%BB%E3%83%83%E3%83%88)
* **License:** [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/)
* **Link:** [https://nlp.ist.i.kyoto-u.ac.jp/index.php?日本語SNLI(JSNLI)データセット](https://nlp.ist.i.kyoto-u.ac.jp/index.php?%E6%97%A5%E6%9C%AC%E8%AA%9ESNLI%28JSNLI%29%E3%83%87%E3%83%BC%E3%82%BF%E3%82%BB%E3%83%83%E3%83%88)
|
{"language": "ja", "license": "cc-by-sa-4.0", "tags": ["sentence-transformers", "feature-extraction", "sentence-similarity"], "pipeline_tag": "sentence-similarity", "widget": {"source_sentence": "\u8d70\u308b\u306e\u304c\u8da3\u5473\u3067\u3059", "sentences": ["\u5916\u3092\u30e9\u30f3\u30cb\u30f3\u30b0\u3059\u308b\u306e\u304c\u597d\u304d\u3067\u3059", "\u904b\u52d5\u306f\u305d\u3053\u305d\u3053\u3067\u3059", "\u8d70\u308b\u306e\u306f\u5acc\u3044\u3067\u3059"]}}
|
sentence-similarity
|
colorfulscoop/sbert-base-ja
|
[
"sentence-transformers",
"pytorch",
"bert",
"feature-extraction",
"sentence-similarity",
"ja",
"arxiv:1908.10084",
"license:cc-by-sa-4.0",
"endpoints_compatible",
"has_space",
"region:us"
] |
2022-03-02T23:29:05+00:00
|
[
"1908.10084"
] |
[
"ja"
] |
TAGS
#sentence-transformers #pytorch #bert #feature-extraction #sentence-similarity #ja #arxiv-1908.10084 #license-cc-by-sa-4.0 #endpoints_compatible #has_space #region-us
|
# Sentence BERT base Japanese model
This repository contains a Sentence BERT base model for Japanese.
## Pretrained model
This model utilizes a Japanese BERT model colorfulscoop/bert-base-ja v1.0 released under Creative Commons Attribution-ShareAlike 3.0 as a pretrained model.
## Training data
Japanese SNLI dataset released under Creative Commons Attribution-ShareAlike 4.0 is used for training.
Original training dataset is splitted into train/valid dataset. Finally, follwoing data is prepared.
* Train data: 523,005 samples
* Valid data: 10,000 samples
* Test data: 3,916 samples
## Model description
This model utilizes 'SentenceTransformer' model from the sentence-transformers .
The model detail is as below.
## Training
This model finetuned colorfulscoop/bert-base-ja with Softmax classifier of 3 labels of SNLI. AdamW optimizer with learning rate of 2e-05 linearly warmed-up in 10% of train data was used. The model was trained in 1 epoch with batch size 8.
Note: in a original paper of Sentence BERT, a batch size of the model trained on SNLI and Multi-Genle NLI was 16. In this model, the dataset is around half smaller than the origial one, therefore the batch size was set to half of the original batch size of 16.
Trainind was conducted on Ubuntu 18.04.5 LTS with one RTX 2080 Ti.
After training, test set accuracy reached to 0.8529.
Training code is available in a GitHub repository.
## Usage
First, install dependecies.
Then initialize 'SentenceTransformer' model and use 'encode' method to convert to vectors.
## License
Copyright (c) 2021 Colorful Scoop
All the models included in this repository are licensed under Creative Commons Attribution-ShareAlike 4.0.
Disclaimer: Use of this model is at your sole risk. Colorful Scoop makes no warranty or guarantee of any outputs from the model. Colorful Scoop is not liable for any trouble, loss, or damage arising from the model output.
---
This model utilizes the folllowing pretrained model.
* Name: bert-base-ja
* Credit: (c) 2021 Colorful Scoop
* License: Creative Commons Attribution-ShareAlike 3.0
* Disclaimer: The model potentially has possibility that it generates similar texts in the training data, texts not to be true, or biased texts. Use of the model is at your sole risk. Colorful Scoop makes no warranty or guarantee of any outputs from the model. Colorful Scoop is not liable for any trouble, loss, or damage arising from the model output.
* Link: URL
---
This model utilizes the following data for fine-tuning.
* Name: 日本語SNLI(JSNLI)データセット
* Credit: URL.i.URL?日本語SNLI(JSNLI)データセット
* License: CC BY-SA 4.0
* Link: URL.i.URL?日本語SNLI(JSNLI)データセット
|
[
"# Sentence BERT base Japanese model\n\nThis repository contains a Sentence BERT base model for Japanese.",
"## Pretrained model\n\nThis model utilizes a Japanese BERT model colorfulscoop/bert-base-ja v1.0 released under Creative Commons Attribution-ShareAlike 3.0 as a pretrained model.",
"## Training data\n\nJapanese SNLI dataset released under Creative Commons Attribution-ShareAlike 4.0 is used for training.\n\nOriginal training dataset is splitted into train/valid dataset. Finally, follwoing data is prepared.\n\n* Train data: 523,005 samples\n* Valid data: 10,000 samples\n* Test data: 3,916 samples",
"## Model description\n\nThis model utilizes 'SentenceTransformer' model from the sentence-transformers .\nThe model detail is as below.",
"## Training\n\nThis model finetuned colorfulscoop/bert-base-ja with Softmax classifier of 3 labels of SNLI. AdamW optimizer with learning rate of 2e-05 linearly warmed-up in 10% of train data was used. The model was trained in 1 epoch with batch size 8.\n\nNote: in a original paper of Sentence BERT, a batch size of the model trained on SNLI and Multi-Genle NLI was 16. In this model, the dataset is around half smaller than the origial one, therefore the batch size was set to half of the original batch size of 16.\n\nTrainind was conducted on Ubuntu 18.04.5 LTS with one RTX 2080 Ti.\n\nAfter training, test set accuracy reached to 0.8529.\n\nTraining code is available in a GitHub repository.",
"## Usage\n\nFirst, install dependecies.\n\n\n\nThen initialize 'SentenceTransformer' model and use 'encode' method to convert to vectors.",
"## License\n\nCopyright (c) 2021 Colorful Scoop\n\nAll the models included in this repository are licensed under Creative Commons Attribution-ShareAlike 4.0.\n\nDisclaimer: Use of this model is at your sole risk. Colorful Scoop makes no warranty or guarantee of any outputs from the model. Colorful Scoop is not liable for any trouble, loss, or damage arising from the model output.\n\n---\n\nThis model utilizes the folllowing pretrained model.\n\n* Name: bert-base-ja\n* Credit: (c) 2021 Colorful Scoop\n* License: Creative Commons Attribution-ShareAlike 3.0\n* Disclaimer: The model potentially has possibility that it generates similar texts in the training data, texts not to be true, or biased texts. Use of the model is at your sole risk. Colorful Scoop makes no warranty or guarantee of any outputs from the model. Colorful Scoop is not liable for any trouble, loss, or damage arising from the model output.\n* Link: URL\n\n---\n\nThis model utilizes the following data for fine-tuning.\n\n* Name: 日本語SNLI(JSNLI)データセット\n* Credit: URL.i.URL?日本語SNLI(JSNLI)データセット\n* License: CC BY-SA 4.0\n* Link: URL.i.URL?日本語SNLI(JSNLI)データセット"
] |
[
"TAGS\n#sentence-transformers #pytorch #bert #feature-extraction #sentence-similarity #ja #arxiv-1908.10084 #license-cc-by-sa-4.0 #endpoints_compatible #has_space #region-us \n",
"# Sentence BERT base Japanese model\n\nThis repository contains a Sentence BERT base model for Japanese.",
"## Pretrained model\n\nThis model utilizes a Japanese BERT model colorfulscoop/bert-base-ja v1.0 released under Creative Commons Attribution-ShareAlike 3.0 as a pretrained model.",
"## Training data\n\nJapanese SNLI dataset released under Creative Commons Attribution-ShareAlike 4.0 is used for training.\n\nOriginal training dataset is splitted into train/valid dataset. Finally, follwoing data is prepared.\n\n* Train data: 523,005 samples\n* Valid data: 10,000 samples\n* Test data: 3,916 samples",
"## Model description\n\nThis model utilizes 'SentenceTransformer' model from the sentence-transformers .\nThe model detail is as below.",
"## Training\n\nThis model finetuned colorfulscoop/bert-base-ja with Softmax classifier of 3 labels of SNLI. AdamW optimizer with learning rate of 2e-05 linearly warmed-up in 10% of train data was used. The model was trained in 1 epoch with batch size 8.\n\nNote: in a original paper of Sentence BERT, a batch size of the model trained on SNLI and Multi-Genle NLI was 16. In this model, the dataset is around half smaller than the origial one, therefore the batch size was set to half of the original batch size of 16.\n\nTrainind was conducted on Ubuntu 18.04.5 LTS with one RTX 2080 Ti.\n\nAfter training, test set accuracy reached to 0.8529.\n\nTraining code is available in a GitHub repository.",
"## Usage\n\nFirst, install dependecies.\n\n\n\nThen initialize 'SentenceTransformer' model and use 'encode' method to convert to vectors.",
"## License\n\nCopyright (c) 2021 Colorful Scoop\n\nAll the models included in this repository are licensed under Creative Commons Attribution-ShareAlike 4.0.\n\nDisclaimer: Use of this model is at your sole risk. Colorful Scoop makes no warranty or guarantee of any outputs from the model. Colorful Scoop is not liable for any trouble, loss, or damage arising from the model output.\n\n---\n\nThis model utilizes the folllowing pretrained model.\n\n* Name: bert-base-ja\n* Credit: (c) 2021 Colorful Scoop\n* License: Creative Commons Attribution-ShareAlike 3.0\n* Disclaimer: The model potentially has possibility that it generates similar texts in the training data, texts not to be true, or biased texts. Use of the model is at your sole risk. Colorful Scoop makes no warranty or guarantee of any outputs from the model. Colorful Scoop is not liable for any trouble, loss, or damage arising from the model output.\n* Link: URL\n\n---\n\nThis model utilizes the following data for fine-tuning.\n\n* Name: 日本語SNLI(JSNLI)データセット\n* Credit: URL.i.URL?日本語SNLI(JSNLI)データセット\n* License: CC BY-SA 4.0\n* Link: URL.i.URL?日本語SNLI(JSNLI)データセット"
] |
[
64,
24,
41,
72,
30,
186,
33,
290
] |
[
"passage: TAGS\n#sentence-transformers #pytorch #bert #feature-extraction #sentence-similarity #ja #arxiv-1908.10084 #license-cc-by-sa-4.0 #endpoints_compatible #has_space #region-us \n# Sentence BERT base Japanese model\n\nThis repository contains a Sentence BERT base model for Japanese.## Pretrained model\n\nThis model utilizes a Japanese BERT model colorfulscoop/bert-base-ja v1.0 released under Creative Commons Attribution-ShareAlike 3.0 as a pretrained model.## Training data\n\nJapanese SNLI dataset released under Creative Commons Attribution-ShareAlike 4.0 is used for training.\n\nOriginal training dataset is splitted into train/valid dataset. Finally, follwoing data is prepared.\n\n* Train data: 523,005 samples\n* Valid data: 10,000 samples\n* Test data: 3,916 samples## Model description\n\nThis model utilizes 'SentenceTransformer' model from the sentence-transformers .\nThe model detail is as below.## Training\n\nThis model finetuned colorfulscoop/bert-base-ja with Softmax classifier of 3 labels of SNLI. AdamW optimizer with learning rate of 2e-05 linearly warmed-up in 10% of train data was used. The model was trained in 1 epoch with batch size 8.\n\nNote: in a original paper of Sentence BERT, a batch size of the model trained on SNLI and Multi-Genle NLI was 16. In this model, the dataset is around half smaller than the origial one, therefore the batch size was set to half of the original batch size of 16.\n\nTrainind was conducted on Ubuntu 18.04.5 LTS with one RTX 2080 Ti.\n\nAfter training, test set accuracy reached to 0.8529.\n\nTraining code is available in a GitHub repository.## Usage\n\nFirst, install dependecies.\n\n\n\nThen initialize 'SentenceTransformer' model and use 'encode' method to convert to vectors."
] |
[
-0.08898651599884033,
0.14116893708705902,
-0.002490826416760683,
0.079475998878479,
0.10111678391695023,
-0.002020575338974595,
0.12328527867794037,
0.08280590921640396,
-0.15574683248996735,
0.04290761426091194,
0.04264890030026436,
0.005984428804367781,
0.04418676346540451,
0.09404910355806351,
0.041435882449150085,
-0.2939542233943939,
0.0603049136698246,
-0.01725952886044979,
-0.012652152217924595,
0.08058121800422668,
0.09866196662187576,
-0.06882709264755249,
0.06610754877328873,
0.03143548592925072,
-0.15834903717041016,
0.005028048064559698,
-0.006814903579652309,
-0.06420919299125671,
0.06942832469940186,
0.08319232612848282,
0.09671246260404587,
0.004914973862469196,
0.1085575520992279,
-0.10142394155263901,
0.018035318702459335,
0.0854400023818016,
0.01124942023307085,
0.08861347287893295,
0.024106066673994064,
0.012547161430120468,
0.19540761411190033,
-0.007065140176564455,
0.07267795503139496,
0.05741465091705322,
-0.0801863744854927,
-0.10340292751789093,
-0.04071687534451485,
0.058483514934778214,
0.06474272906780243,
0.11208760738372803,
-0.027510657906532288,
-0.007513531483709812,
-0.09093223512172699,
0.06555385142564774,
0.08021318167448044,
-0.20700643956661224,
-0.03931343927979469,
0.04849056899547577,
0.026385389268398285,
0.09407243877649307,
-0.1113765761256218,
-0.0012900297297164798,
0.04114054515957832,
0.009898063726723194,
0.1158822774887085,
-0.012993085198104382,
0.020548976957798004,
0.02455894649028778,
-0.1176491379737854,
0.024219661951065063,
0.06218724325299263,
0.01626184955239296,
-0.09936729073524475,
-0.12983223795890808,
-0.04714240878820419,
-0.04809581860899925,
0.018956737592816353,
-0.0050977799110114574,
0.028623851016163826,
0.026109494268894196,
-0.055687692016363144,
-0.10290848463773727,
-0.10572909563779831,
-0.07467067986726761,
-0.045628298074007034,
0.21431684494018555,
0.009827865287661552,
0.04446825012564659,
-0.044247474521398544,
0.06609898060560226,
-0.038805797696113586,
-0.08502892404794693,
-0.06633105129003525,
-0.03707687184214592,
-0.0897454023361206,
0.025836488232016563,
-0.08790439367294312,
-0.17191030085086823,
-0.0806763619184494,
0.04467998072504997,
-0.01598694548010826,
0.028628291562199593,
0.05442109331488609,
-0.004335103556513786,
0.05494248494505882,
0.16635891795158386,
-0.08270768821239471,
0.014432412572205067,
-0.00603523151949048,
0.02965245582163334,
-0.003126569325104356,
-0.05670665577054024,
-0.08895991742610931,
-0.009218797087669373,
0.0014399002538993955,
0.021086327731609344,
-0.06471775472164154,
0.01921052485704422,
0.012129704467952251,
-0.057340942323207855,
0.08069705963134766,
-0.09526119381189346,
0.005763162858784199,
0.01972694881260395,
-0.09801534563302994,
0.11527607589960098,
0.01628893055021763,
-0.051683828234672546,
-0.04020405933260918,
0.031065136194229126,
-0.11849621683359146,
-0.028682421892881393,
-0.10275275260210037,
-0.12204361706972122,
-0.012525434605777264,
-0.1404752880334854,
-0.01921982876956463,
-0.111023910343647,
-0.17168007791042328,
-0.06603289395570755,
0.035752370953559875,
-0.008364819921553135,
0.01682896539568901,
-0.10446161776781082,
-0.06559544801712036,
0.02619929052889347,
0.017086157575249672,
0.06028947979211807,
-0.005555459298193455,
0.0528031624853611,
-0.0951414406299591,
0.026602881029248238,
-0.026421086862683296,
0.03919299691915512,
-0.10316193103790283,
-0.012279286049306393,
-0.07239337265491486,
0.12332013994455338,
0.039745498448610306,
-0.0011823215754702687,
-0.0693015605211258,
-0.08205801993608475,
-0.010649142786860466,
0.019908973947167397,
0.043814320117235184,
0.1395304948091507,
-0.18102695047855377,
-0.06705603003501892,
0.11825697869062424,
-0.12135106325149536,
0.09003657102584839,
0.07036871463060379,
-0.06127849966287613,
0.06079735606908798,
0.11441896110773087,
0.13758227229118347,
0.10141939669847488,
-0.04498431459069252,
-0.06761258840560913,
-0.0007785488851368427,
-0.02476971596479416,
0.01524306833744049,
0.06890255212783813,
0.03005305305123329,
-0.03987970948219299,
0.041942745447158813,
-0.06732431054115295,
0.05307039991021156,
-0.03587796911597252,
-0.02923990786075592,
0.00038373106508515775,
-0.0671776533126831,
0.023666195571422577,
-0.00011891633039340377,
0.02941843867301941,
-0.007677378132939339,
-0.11882635205984116,
0.1231435164809227,
0.12889675796031952,
-0.12150402367115021,
0.02951439470052719,
-0.08173380047082901,
0.0005258089513517916,
-0.015382430516183376,
-0.001835618750192225,
-0.1538187563419342,
0.012734967283904552,
0.04914284124970436,
-0.0551130585372448,
0.024657011032104492,
0.003324549412354827,
0.07983529567718506,
0.09802929311990738,
-0.053525038063526154,
-0.03588304668664932,
-0.10177768766880035,
-0.03545438498258591,
-0.06307492405176163,
-0.12176840007305145,
-0.07410556077957153,
-0.038950078189373016,
0.1368459016084671,
-0.1558499038219452,
0.019632067531347275,
-0.0032567994203418493,
0.049535978585481644,
0.032189805060625076,
-0.08136583119630814,
0.031151622533798218,
-0.014420092105865479,
-0.012133014388382435,
-0.054522886872291565,
0.017002662643790245,
0.09048245847225189,
-0.08133506029844284,
0.11747249960899353,
-0.15595850348472595,
-0.12488818168640137,
0.04892715811729431,
0.1431540995836258,
-0.07440150529146194,
-0.05941156670451164,
-0.031091278418898582,
0.008226251229643822,
-0.08245640248060226,
-0.011669529601931572,
0.19388002157211304,
-0.0017050198512151837,
0.10788818448781967,
-0.09592492133378983,
-0.009525337256491184,
0.01651783101260662,
0.009891724213957787,
-0.0005313733709044755,
0.07446064800024033,
-0.04238208755850792,
-0.12666645646095276,
0.05572504922747612,
-0.023858508095145226,
-0.04567444697022438,
0.20996472239494324,
0.006281308364123106,
-0.10281254351139069,
-0.06121933460235596,
-0.05652005970478058,
-0.01516718603670597,
0.11386705189943314,
0.02670072764158249,
0.010390732437372208,
0.01832602731883526,
0.06416867673397064,
-0.002409612527117133,
-0.09678540378808975,
0.0034212786704301834,
0.053702086210250854,
-0.04346609115600586,
-0.034758053719997406,
-0.029750142246484756,
-0.05027894675731659,
0.0765075832605362,
0.010267812758684158,
0.03485536202788353,
-0.010311183519661427,
-0.012611445970833302,
-0.09064043313264847,
0.2043301910161972,
-0.12224739789962769,
-0.18306930363178253,
-0.16103564202785492,
0.057386260479688644,
-0.022330785170197487,
0.010869071818888187,
-0.0050787553191185,
-0.1300867199897766,
-0.05556881055235863,
-0.11385727673768997,
0.05702177807688713,
-0.047363247722387314,
0.007443045731633902,
-0.05969525873661041,
-0.0012537069851532578,
-0.028309524059295654,
-0.13582947850227356,
0.03501039370894432,
-0.04602006822824478,
-0.08135848492383957,
-0.005296008661389351,
-0.020868495106697083,
0.03852414712309837,
0.1699765920639038,
0.011867433786392212,
0.007514227647334337,
-0.011738265864551067,
0.14091475307941437,
-0.05135396495461464,
0.08051027357578278,
0.12708285450935364,
0.013139007613062859,
0.024878405034542084,
0.03175472095608711,
0.00911087915301323,
-0.02278740145266056,
0.04961426183581352,
0.026974372565746307,
-0.07158014923334122,
-0.18842554092407227,
-0.005585427395999432,
-0.022546112537384033,
-0.031729575246572495,
0.08602715283632278,
0.03128761053085327,
0.05309978127479553,
0.049381088465452194,
-0.005695677362382412,
0.008230981417000294,
0.037604786455631256,
0.0619620680809021,
0.0026655897963792086,
-0.00290295691229403,
0.08868268877267838,
-0.03353535011410713,
0.013506217859685421,
0.1108730137348175,
-0.09413450956344604,
0.21940606832504272,
-0.07387696206569672,
0.16127854585647583,
0.02093399502336979,
0.0407547801733017,
0.05993851646780968,
0.07395424693822861,
-0.01410022471100092,
0.007979161106050014,
-0.020673813298344612,
-0.0691412016749382,
-0.011314928531646729,
0.06899123638868332,
-0.013235952705144882,
0.041675418615341187,
-0.07565993070602417,
0.011746993288397789,
0.03476736694574356,
0.2260463833808899,
0.0632593110203743,
-0.25481829047203064,
-0.12680646777153015,
-0.009545472450554371,
-0.04119575023651123,
-0.05847785994410515,
0.022159762680530548,
0.237853541970253,
-0.08902478218078613,
-0.008907166309654713,
-0.029788069427013397,
0.08403799682855606,
-0.07619009166955948,
-0.03838582709431648,
0.015187562443315983,
0.15097203850746155,
-0.036902956664562225,
0.04440489783883095,
-0.1596517413854599,
0.10297137498855591,
0.011289801448583603,
0.1153886616230011,
-0.03478173539042473,
-0.019888319075107574,
0.033471740782260895,
0.035062000155448914,
0.10207214206457138,
0.023914052173495293,
-0.055780403316020966,
-0.046749137341976166,
-0.11242689192295074,
0.029342861846089363,
0.07809414714574814,
-0.04467706009745598,
0.0952974185347557,
-0.026297247037291527,
0.010719263926148415,
-0.0019678515382111073,
-0.00010347989882575348,
-0.04640844464302063,
-0.14832980930805206,
-0.025064406916499138,
0.0054389615543186665,
0.0722024142742157,
-0.05497987940907478,
-0.06505566090345383,
0.07287000864744186,
0.11119476705789566,
-0.012536730617284775,
-0.04970517382025719,
-0.15964330732822418,
0.03366641327738762,
0.11960802227258682,
-0.07292518019676208,
0.037728480994701385,
0.01620279625058174,
0.16081832349300385,
-0.0028414835687726736,
-0.08796070516109467,
-0.0013127342099323869,
-0.03560434281826019,
-0.09431886672973633,
-0.024515638127923012,
0.05386897549033165,
0.13193462789058685,
0.057829082012176514,
0.002206198638305068,
0.026864008978009224,
0.001997373066842556,
-0.10328996926546097,
-0.015521264635026455,
0.13552382588386536,
0.018848761916160583,
0.033768296241760254,
-0.07202543318271637,
0.04330142214894295,
-0.04824155569076538,
0.011942838318645954,
0.07286042720079422,
0.12846161425113678,
-0.0851815938949585,
0.06844412535429001,
0.14886564016342163,
-0.0893174558877945,
-0.16656772792339325,
0.0250793918967247,
0.0524040088057518,
0.10350508987903595,
-0.03687843307852745,
-0.23957398533821106,
0.021981704980134964,
0.07487118989229202,
0.013129710219800472,
-0.031999923288822174,
-0.31513476371765137,
-0.09949606657028198,
0.037612076848745346,
0.08531685918569565,
0.09982755780220032,
-0.06355280429124832,
0.0004050549177918583,
-0.006345357280224562,
0.01599990949034691,
0.1737952083349228,
-0.0927315279841423,
0.11851351708173752,
-0.00035206074244342744,
0.0017145487945526838,
0.06662525981664658,
-0.014998259022831917,
0.09873942285776138,
-0.00790644995868206,
0.05356111377477646,
-0.03569740056991577,
0.02037937566637993,
0.020097285509109497,
-0.04542679339647293,
0.12828217446804047,
-0.042884714901447296,
0.07335401326417923,
-0.05777626112103462,
-0.0694788247346878,
-0.08110535144805908,
-0.0004855498264078051,
-0.008796798065304756,
-0.0954567939043045,
-0.08144552260637283,
0.09799425303936005,
0.062262848019599915,
-0.0024681834038347006,
0.0038392459973692894,
-0.04386765509843826,
-0.025304540991783142,
0.06895028799772263,
0.06946941465139389,
0.019401583820581436,
-0.07728330790996552,
-0.01205119676887989,
0.004174630623310804,
0.10505546629428864,
-0.2020678073167801,
0.0034907918889075518,
0.07905551791191101,
0.04819561541080475,
0.161167174577713,
0.027455758303403854,
-0.10763406753540039,
0.001616345951333642,
0.05586254969239235,
-0.0930774137377739,
-0.08671485632658005,
-0.05006793141365051,
-0.011860093101859093,
-0.11077775061130524,
-0.018561702221632004,
0.12994465231895447,
-0.11294999718666077,
-0.0028743483126163483,
-0.001788067864254117,
0.04666678607463837,
-0.035514719784259796,
0.10413666069507599,
0.047527287155389786,
0.01096342597156763,
-0.07089695334434509,
0.1229114755988121,
0.06555138528347015,
-0.04624450206756592,
0.051537707448005676,
0.10219600796699524,
-0.08706430345773697,
0.0015561931068077683,
-0.0017205150797963142,
0.05037422478199005,
-0.08957947045564651,
-0.060520853847265244,
-0.0730823427438736,
-0.08228833973407745,
0.03380155190825462,
0.08633309602737427,
0.028068458661437035,
0.06420339643955231,
-0.1018417626619339,
0.022649947553873062,
-0.10838374495506287,
0.03493497520685196,
0.015562508255243301,
0.0006945775239728391,
-0.051517657935619354,
0.17678692936897278,
0.0286849532276392,
0.03051350638270378,
-0.031111249700188637,
-0.060660552233457565,
-0.09111626446247101,
-0.006997495424002409,
-0.05995001271367073,
-0.004504533018916845,
-0.0376378670334816,
-0.0250437930226326,
-0.04096856340765953,
-0.022200914099812508,
-0.011812056414783001,
0.018506139516830444,
-0.02564525417983532,
-0.03154939040541649,
-0.0253315269947052,
-0.003995318431407213,
-0.09414714574813843,
-0.0005922205746173859,
0.0026987825985997915,
-0.07800211757421494,
0.07376434653997421,
0.07064022868871689,
-0.02805890515446663,
0.08309246599674225,
-0.01847713626921177,
0.028868647292256355,
0.01110779494047165,
-0.010500586591660976,
0.005756302736699581,
-0.09296616911888123,
0.0010642878478392959,
-0.009379439055919647,
-0.005273850169032812,
-0.01604551263153553,
0.008446975611150265,
-0.04720703512430191,
0.03002343885600567,
-0.01827573962509632,
0.0075149983167648315,
-0.12194711714982986,
0.06513391435146332,
0.029649551957845688,
0.0825505405664444,
0.1342787742614746,
-0.03562497720122337,
0.051607776433229446,
-0.1374388486146927,
-0.011877661570906639,
0.01565365120768547,
-0.03443119302392006,
-0.0185773316770792,
-0.04040175676345825,
0.02098209783434868,
-0.013168095611035824,
0.02365521341562271,
0.007915157824754715,
-0.04795816168189049,
0.024375922977924347,
0.010641688480973244,
0.009012102149426937,
0.011528445407748222,
0.15214598178863525,
0.048599790781736374,
-0.027177851647138596,
0.0548095740377903,
0.05516812577843666,
0.028486352413892746,
0.11891641467809677,
0.14634132385253906,
0.04589732363820076,
0.06350575387477875,
0.13613615930080414,
-0.006685858126729727,
-0.003923329059034586,
-0.07134369760751724,
0.0904931128025055,
-0.06307718902826309,
0.042286258190870285,
-0.03043184243142605,
0.20024451613426208,
0.1385212540626526,
-0.16353115439414978,
0.11025132983922958,
0.07019973546266556,
-0.10072588175535202,
-0.10970738530158997,
-0.16377295553684235,
-0.05032327398657799,
-0.08017459511756897,
-0.013179061934351921,
-0.11737474799156189,
0.06858200579881668,
0.03728907182812691,
0.025090519338846207,
0.008738466538488865,
0.0824497863650322,
-0.0537046454846859,
-0.06362326443195343,
0.09049464017152786,
-0.01393677107989788,
0.014835715293884277,
-0.009123295545578003,
-0.0019923318177461624,
0.07286282628774643,
-0.009769932366907597,
0.08963511139154434,
0.024338869377970695,
0.08548688888549805,
0.061206575483083725,
0.003398507833480835,
-0.061659686267375946,
-0.0033223337959498167,
-0.0095326853916049,
0.054824065417051315,
0.07935881614685059,
0.07575760781764984,
-0.06844322383403778,
-0.015255036763846874,
0.22897055745124817,
-0.04158223047852516,
-0.034701719880104065,
-0.1881658285856247,
0.12305836379528046,
0.03259861096739769,
-0.01091955229640007,
0.042420003563165665,
-0.07601006329059601,
-0.026261258870363235,
0.21187633275985718,
0.07875491678714752,
-0.03692959249019623,
-0.0286092609167099,
-0.004238309804350138,
-0.02137475088238716,
0.01607699878513813,
0.11103028804063797,
-0.009579631499946117,
0.2006654292345047,
-0.053094252943992615,
0.07864920794963837,
-0.04742905870079994,
-0.037391453981399536,
0.0056220050901174545,
0.09983574599027634,
-0.04595854878425598,
-0.02364085428416729,
-0.06260422617197037,
0.029131967574357986,
-0.07321453094482422,
-0.15441332757472992,
0.01437733881175518,
-0.013942290097475052,
-0.07508012652397156,
-0.04615850746631622,
-0.04580802842974663,
0.0200825035572052,
0.095878466963768,
0.003743832465261221,
0.047104839235544205,
0.14759236574172974,
0.004811977036297321,
-0.05932459980249405,
-0.14174459874629974,
0.10205475240945816,
-0.03567191958427429,
0.14996479451656342,
0.0131772356107831,
0.0021706107072532177,
0.06385800987482071,
0.040273331105709076,
-0.11226296424865723,
0.03441965579986572,
-0.024151332676410675,
-0.09156861156225204,
-0.0017996457172557712,
0.13960251212120056,
-0.03304475173354149,
0.09031185507774353,
-0.01659344509243965,
-0.04321250692009926,
0.056895989924669266,
-0.03505556657910347,
-0.03383580595254898,
-0.06486400961875916,
0.010507406666874886,
-0.045348361134529114,
0.17755649983882904,
0.21114662289619446,
-0.023126980289816856,
-0.04259423539042473,
-0.05375190079212189,
0.03798249736428261,
0.02011382207274437,
-0.009640807285904884,
0.023140747100114822,
-0.13934746384620667,
-0.039778515696525574,
0.005661545321345329,
0.028171570971608162,
-0.22771519422531128,
-0.037604089826345444,
0.015158389694988728,
-0.06651779264211655,
-0.019288279116153717,
0.06347157806158066,
0.06407039612531662,
0.04711005836725235,
-0.034411702305078506,
0.03609459474682808,
0.012247363105416298,
0.0685662180185318,
-0.1050790548324585,
-0.10955195873975754
] |
null | null |
transformers
|
# Czech wav2vec2-xls-r-300m-cs-250
This model is a fine-tuned version of [facebook/wav2vec2-xls-r-300m](https://huggingface.co/facebook/wav2vec2-xls-r-300m) on the common_voice 8.0 dataset as well as other datasets listed below.
It achieves the following results on the evaluation set:
- Loss: 0.1271
- Wer: 0.1475
- Cer: 0.0329
The `eval.py` script results using a LM are:
- WER: 0.07274312090176113
- CER: 0.021207369275558875
## Model description
Fine-tuned [facebook/wav2vec2-large-xlsr-53](https://huggingface.co/facebook/wav2vec2-large-xlsr-53) on Czech using the [Common Voice](https://huggingface.co/datasets/common_voice) dataset.
When using this model, make sure that your speech input is sampled at 16kHz.
The model can be used directly (without a language model) as follows:
```python
import torch
import torchaudio
from datasets import load_dataset
from transformers import Wav2Vec2ForCTC, Wav2Vec2Processor
test_dataset = load_dataset("mozilla-foundation/common_voice_8_0", "cs", split="test[:2%]")
processor = Wav2Vec2Processor.from_pretrained("comodoro/wav2vec2-xls-r-300m-cs-250")
model = Wav2Vec2ForCTC.from_pretrained("comodoro/wav2vec2-xls-r-300m-cs-250")
resampler = torchaudio.transforms.Resample(48_000, 16_000)
# Preprocessing the datasets.
# We need to read the aduio files as arrays
def speech_file_to_array_fn(batch):
speech_array, sampling_rate = torchaudio.load(batch["path"])
batch["speech"] = resampler(speech_array).squeeze().numpy()
return batch
test_dataset = test_dataset.map(speech_file_to_array_fn)
inputs = processor(test_dataset[:2]["speech"], sampling_rate=16_000, return_tensors="pt", padding=True)
with torch.no_grad():
logits = model(inputs.input_values, attention_mask=inputs.attention_mask).logits
predicted_ids = torch.argmax(logits, dim=-1)
print("Prediction:", processor.batch_decode(predicted_ids))
print("Reference:", test_dataset[:2]["sentence"])
```
## Evaluation
The model can be evaluated using the attached `eval.py` script:
```
python eval.py --model_id comodoro/wav2vec2-xls-r-300m-cs-250 --dataset mozilla-foundation/common-voice_8_0 --split test --config cs
```
## Training and evaluation data
The Common Voice 8.0 `train` and `validation` datasets were used for training, as well as the following datasets:
- Šmídl, Luboš and Pražák, Aleš, 2013, OVM – Otázky Václava Moravce, LINDAT/CLARIAH-CZ digital library at the Institute of Formal and Applied Linguistics (ÚFAL), Faculty of Mathematics and Physics, Charles University, http://hdl.handle.net/11858/00-097C-0000-000D-EC98-3.
- Pražák, Aleš and Šmídl, Luboš, 2012, Czech Parliament Meetings, LINDAT/CLARIAH-CZ digital library at the Institute of Formal and Applied Linguistics (ÚFAL), Faculty of Mathematics and Physics, Charles University, http://hdl.handle.net/11858/00-097C-0000-0005-CF9C-4.
- Plátek, Ondřej; Dušek, Ondřej and Jurčíček, Filip, 2016, Vystadial 2016 – Czech data, LINDAT/CLARIAH-CZ digital library at the Institute of Formal and Applied Linguistics (ÚFAL), Faculty of Mathematics and Physics, Charles University, http://hdl.handle.net/11234/1-1740.
### Training hyperparameters
The following hyperparameters were used during training:
- learning_rate: 0.0001
- train_batch_size: 32
- eval_batch_size: 8
- seed: 42
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- lr_scheduler_warmup_steps: 800
- num_epochs: 5
- mixed_precision_training: Native AMP
### Training results
| Training Loss | Epoch | Step | Validation Loss | Wer | Cer |
|:-------------:|:-----:|:-----:|:---------------:|:------:|:------:|
| 3.4203 | 0.16 | 800 | 3.3148 | 1.0 | 1.0 |
| 2.8151 | 0.32 | 1600 | 0.8508 | 0.8938 | 0.2345 |
| 0.9411 | 0.48 | 2400 | 0.3335 | 0.3723 | 0.0847 |
| 0.7408 | 0.64 | 3200 | 0.2573 | 0.2840 | 0.0642 |
| 0.6516 | 0.8 | 4000 | 0.2365 | 0.2581 | 0.0595 |
| 0.6242 | 0.96 | 4800 | 0.2039 | 0.2433 | 0.0541 |
| 0.5754 | 1.12 | 5600 | 0.1832 | 0.2156 | 0.0482 |
| 0.5626 | 1.28 | 6400 | 0.1827 | 0.2091 | 0.0463 |
| 0.5342 | 1.44 | 7200 | 0.1744 | 0.2033 | 0.0468 |
| 0.4965 | 1.6 | 8000 | 0.1705 | 0.1963 | 0.0444 |
| 0.5047 | 1.76 | 8800 | 0.1604 | 0.1889 | 0.0422 |
| 0.4814 | 1.92 | 9600 | 0.1604 | 0.1827 | 0.0411 |
| 0.4471 | 2.09 | 10400 | 0.1566 | 0.1822 | 0.0406 |
| 0.4509 | 2.25 | 11200 | 0.1619 | 0.1853 | 0.0432 |
| 0.4415 | 2.41 | 12000 | 0.1513 | 0.1764 | 0.0397 |
| 0.4313 | 2.57 | 12800 | 0.1515 | 0.1739 | 0.0392 |
| 0.4163 | 2.73 | 13600 | 0.1445 | 0.1695 | 0.0377 |
| 0.4142 | 2.89 | 14400 | 0.1478 | 0.1699 | 0.0385 |
| 0.4184 | 3.05 | 15200 | 0.1430 | 0.1669 | 0.0376 |
| 0.3886 | 3.21 | 16000 | 0.1433 | 0.1644 | 0.0374 |
| 0.3795 | 3.37 | 16800 | 0.1426 | 0.1648 | 0.0373 |
| 0.3859 | 3.53 | 17600 | 0.1357 | 0.1604 | 0.0361 |
| 0.3762 | 3.69 | 18400 | 0.1344 | 0.1558 | 0.0349 |
| 0.384 | 3.85 | 19200 | 0.1379 | 0.1576 | 0.0359 |
| 0.3762 | 4.01 | 20000 | 0.1344 | 0.1539 | 0.0346 |
| 0.3559 | 4.17 | 20800 | 0.1339 | 0.1525 | 0.0351 |
| 0.3683 | 4.33 | 21600 | 0.1315 | 0.1518 | 0.0342 |
| 0.3572 | 4.49 | 22400 | 0.1307 | 0.1507 | 0.0342 |
| 0.3494 | 4.65 | 23200 | 0.1294 | 0.1491 | 0.0335 |
| 0.3476 | 4.81 | 24000 | 0.1287 | 0.1491 | 0.0336 |
| 0.3475 | 4.97 | 24800 | 0.1271 | 0.1475 | 0.0329 |
### Framework versions
- Transformers 4.16.2
- Pytorch 1.10.1+cu102
- Datasets 1.18.3
- Tokenizers 0.11.0
|
{"language": ["cs"], "license": "apache-2.0", "tags": ["automatic-speech-recognition", "generated_from_trainer", "hf-asr-leaderboard", "mozilla-foundation/common_voice_8_0", "robust-speech-event", "xlsr-fine-tuning-week"], "datasets": ["mozilla-foundation/common_voice_8_0", "ovm", "pscr", "vystadial2016"], "base_model": "facebook/wav2vec2-xls-r-300m", "model-index": [{"name": "Czech comodoro Wav2Vec2 XLSR 300M 250h data", "results": [{"task": {"type": "automatic-speech-recognition", "name": "Automatic Speech Recognition"}, "dataset": {"name": "Common Voice 8", "type": "mozilla-foundation/common_voice_8_0", "args": "cs"}, "metrics": [{"type": "wer", "value": 7.3, "name": "Test WER"}, {"type": "cer", "value": 2.1, "name": "Test CER"}]}, {"task": {"type": "automatic-speech-recognition", "name": "Automatic Speech Recognition"}, "dataset": {"name": "Robust Speech Event - Dev Data", "type": "speech-recognition-community-v2/dev_data", "args": "cs"}, "metrics": [{"type": "wer", "value": 43.44, "name": "Test WER"}]}, {"task": {"type": "automatic-speech-recognition", "name": "Automatic Speech Recognition"}, "dataset": {"name": "Robust Speech Event - Test Data", "type": "speech-recognition-community-v2/eval_data", "args": "cs"}, "metrics": [{"type": "wer", "value": 38.5, "name": "Test WER"}]}]}]}
|
automatic-speech-recognition
|
comodoro/wav2vec2-xls-r-300m-cs-250
|
[
"transformers",
"pytorch",
"safetensors",
"wav2vec2",
"automatic-speech-recognition",
"generated_from_trainer",
"hf-asr-leaderboard",
"mozilla-foundation/common_voice_8_0",
"robust-speech-event",
"xlsr-fine-tuning-week",
"cs",
"dataset:mozilla-foundation/common_voice_8_0",
"dataset:ovm",
"dataset:pscr",
"dataset:vystadial2016",
"base_model:facebook/wav2vec2-xls-r-300m",
"license:apache-2.0",
"model-index",
"endpoints_compatible",
"has_space",
"region:us"
] |
2022-03-02T23:29:05+00:00
|
[] |
[
"cs"
] |
TAGS
#transformers #pytorch #safetensors #wav2vec2 #automatic-speech-recognition #generated_from_trainer #hf-asr-leaderboard #mozilla-foundation/common_voice_8_0 #robust-speech-event #xlsr-fine-tuning-week #cs #dataset-mozilla-foundation/common_voice_8_0 #dataset-ovm #dataset-pscr #dataset-vystadial2016 #base_model-facebook/wav2vec2-xls-r-300m #license-apache-2.0 #model-index #endpoints_compatible #has_space #region-us
|
Czech wav2vec2-xls-r-300m-cs-250
================================
This model is a fine-tuned version of facebook/wav2vec2-xls-r-300m on the common\_voice 8.0 dataset as well as other datasets listed below.
It achieves the following results on the evaluation set:
* Loss: 0.1271
* Wer: 0.1475
* Cer: 0.0329
The 'URL' script results using a LM are:
* WER: 0.07274312090176113
* CER: 0.021207369275558875
Model description
-----------------
Fine-tuned facebook/wav2vec2-large-xlsr-53 on Czech using the Common Voice dataset.
When using this model, make sure that your speech input is sampled at 16kHz.
The model can be used directly (without a language model) as follows:
Evaluation
----------
The model can be evaluated using the attached 'URL' script:
Training and evaluation data
----------------------------
The Common Voice 8.0 'train' and 'validation' datasets were used for training, as well as the following datasets:
* Šmídl, Luboš and Pražák, Aleš, 2013, OVM – Otázky Václava Moravce, LINDAT/CLARIAH-CZ digital library at the Institute of Formal and Applied Linguistics (ÚFAL), Faculty of Mathematics and Physics, Charles University, URL
* Pražák, Aleš and Šmídl, Luboš, 2012, Czech Parliament Meetings, LINDAT/CLARIAH-CZ digital library at the Institute of Formal and Applied Linguistics (ÚFAL), Faculty of Mathematics and Physics, Charles University, URL
* Plátek, Ondřej; Dušek, Ondřej and Jurčíček, Filip, 2016, Vystadial 2016 – Czech data, LINDAT/CLARIAH-CZ digital library at the Institute of Formal and Applied Linguistics (ÚFAL), Faculty of Mathematics and Physics, Charles University, URL
### Training hyperparameters
The following hyperparameters were used during training:
* learning\_rate: 0.0001
* train\_batch\_size: 32
* eval\_batch\_size: 8
* seed: 42
* optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
* lr\_scheduler\_type: linear
* lr\_scheduler\_warmup\_steps: 800
* num\_epochs: 5
* mixed\_precision\_training: Native AMP
### Training results
### Framework versions
* Transformers 4.16.2
* Pytorch 1.10.1+cu102
* Datasets 1.18.3
* Tokenizers 0.11.0
|
[
"### Training hyperparameters\n\n\nThe following hyperparameters were used during training:\n\n\n* learning\\_rate: 0.0001\n* train\\_batch\\_size: 32\n* eval\\_batch\\_size: 8\n* seed: 42\n* optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08\n* lr\\_scheduler\\_type: linear\n* lr\\_scheduler\\_warmup\\_steps: 800\n* num\\_epochs: 5\n* mixed\\_precision\\_training: Native AMP",
"### Training results",
"### Framework versions\n\n\n* Transformers 4.16.2\n* Pytorch 1.10.1+cu102\n* Datasets 1.18.3\n* Tokenizers 0.11.0"
] |
[
"TAGS\n#transformers #pytorch #safetensors #wav2vec2 #automatic-speech-recognition #generated_from_trainer #hf-asr-leaderboard #mozilla-foundation/common_voice_8_0 #robust-speech-event #xlsr-fine-tuning-week #cs #dataset-mozilla-foundation/common_voice_8_0 #dataset-ovm #dataset-pscr #dataset-vystadial2016 #base_model-facebook/wav2vec2-xls-r-300m #license-apache-2.0 #model-index #endpoints_compatible #has_space #region-us \n",
"### Training hyperparameters\n\n\nThe following hyperparameters were used during training:\n\n\n* learning\\_rate: 0.0001\n* train\\_batch\\_size: 32\n* eval\\_batch\\_size: 8\n* seed: 42\n* optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08\n* lr\\_scheduler\\_type: linear\n* lr\\_scheduler\\_warmup\\_steps: 800\n* num\\_epochs: 5\n* mixed\\_precision\\_training: Native AMP",
"### Training results",
"### Framework versions\n\n\n* Transformers 4.16.2\n* Pytorch 1.10.1+cu102\n* Datasets 1.18.3\n* Tokenizers 0.11.0"
] |
[
169,
130,
4,
35
] |
[
"passage: TAGS\n#transformers #pytorch #safetensors #wav2vec2 #automatic-speech-recognition #generated_from_trainer #hf-asr-leaderboard #mozilla-foundation/common_voice_8_0 #robust-speech-event #xlsr-fine-tuning-week #cs #dataset-mozilla-foundation/common_voice_8_0 #dataset-ovm #dataset-pscr #dataset-vystadial2016 #base_model-facebook/wav2vec2-xls-r-300m #license-apache-2.0 #model-index #endpoints_compatible #has_space #region-us \n### Training hyperparameters\n\n\nThe following hyperparameters were used during training:\n\n\n* learning\\_rate: 0.0001\n* train\\_batch\\_size: 32\n* eval\\_batch\\_size: 8\n* seed: 42\n* optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08\n* lr\\_scheduler\\_type: linear\n* lr\\_scheduler\\_warmup\\_steps: 800\n* num\\_epochs: 5\n* mixed\\_precision\\_training: Native AMP### Training results### Framework versions\n\n\n* Transformers 4.16.2\n* Pytorch 1.10.1+cu102\n* Datasets 1.18.3\n* Tokenizers 0.11.0"
] |
[
-0.12395204603672028,
0.1510740965604782,
-0.005098341964185238,
0.04849298670887947,
0.09757443517446518,
0.01765071600675583,
0.10119006037712097,
0.13421033322811127,
-0.053685035556554794,
0.11057110130786896,
0.09977273643016815,
0.0959077924489975,
0.07033662497997284,
0.14895488321781158,
-0.02489815093576908,
-0.2346048653125763,
0.02791975438594818,
-0.04162817448377609,
-0.11627247929573059,
0.1123737320303917,
0.07972322404384613,
-0.09524722397327423,
0.04597907513380051,
0.017589719966053963,
-0.07706049084663391,
-0.011430404148995876,
-0.04873090237379074,
-0.04415734484791756,
0.0771188735961914,
0.029639488086104393,
0.005323539953678846,
0.044130027294158936,
0.07637050002813339,
-0.24789650738239288,
0.009839707985520363,
0.0562635101377964,
0.0077039520256221294,
0.06167078763246536,
0.11541222780942917,
0.0020051496103405952,
0.0948440432548523,
-0.07095534354448318,
0.04472802206873894,
0.06061414256691933,
-0.11120148003101349,
-0.24234774708747864,
-0.08800412714481354,
0.0492117702960968,
0.12307420372962952,
0.08640412241220474,
-0.038790252059698105,
0.08124445378780365,
-0.08310118317604065,
0.0815286785364151,
0.19678333401679993,
-0.22038015723228455,
-0.06339722126722336,
-0.04536108672618866,
0.038684699684381485,
0.0455111563205719,
-0.08978271484375,
-0.023820072412490845,
0.00673589576035738,
-0.0006932668620720506,
0.10324983298778534,
0.0073880827985703945,
0.06241229176521301,
-0.020279549062252045,
-0.14592786133289337,
-0.07477407902479172,
0.1367805302143097,
0.1174868494272232,
-0.0038703279569745064,
-0.1288459151983261,
-0.03979494795203209,
-0.15701763331890106,
-0.05178837478160858,
0.024910112842917442,
0.02427438646554947,
-0.03857437148690224,
-0.0270009133964777,
0.04994376748800278,
-0.042364198714494705,
-0.05247560888528824,
0.09188498556613922,
0.13630449771881104,
0.05009042099118233,
-0.04252888634800911,
0.012778223492205143,
0.08208062499761581,
0.11166683584451675,
-0.17319466173648834,
-0.027478380128741264,
0.032963499426841736,
-0.09455843269824982,
0.0005457185325212777,
-0.004479565192013979,
0.062296658754348755,
0.075020432472229,
0.1586747169494629,
0.014350750483572483,
0.08860434591770172,
0.05633479729294777,
0.0013046411331743002,
-0.07534310221672058,
0.1414484828710556,
-0.06447494775056839,
-0.08411521464586258,
-0.025116443634033203,
0.15716934204101562,
-0.0029488117434084415,
0.0055571976117789745,
-0.035886816680431366,
0.039039988070726395,
0.10108937323093414,
0.05359770730137825,
0.014178830198943615,
0.03635166585445404,
-0.08783532679080963,
-0.023441551253199577,
0.05183987319469452,
-0.1310759335756302,
0.026769932359457016,
0.06332273036241531,
-0.05042286962270737,
-0.0546443872153759,
-0.013544750399887562,
0.006872227415442467,
-0.030847325921058655,
0.06257984787225723,
-0.05421717092394829,
-0.01943868398666382,
-0.04795356094837189,
-0.055169083178043365,
0.02988586761057377,
-0.0531943216919899,
0.016837775707244873,
-0.06329219043254852,
-0.0817711353302002,
-0.07706218212842941,
0.030675377696752548,
-0.04138858988881111,
-0.09542185068130493,
-0.058298807591199875,
-0.08611887693405151,
0.042680416256189346,
-0.026068005710840225,
0.15922120213508606,
-0.0641830563545227,
0.06953276693820953,
0.03448454663157463,
0.04393661022186279,
0.11553114652633667,
0.06509827077388763,
-0.03862612321972847,
0.06184181943535805,
-0.08392021805047989,
0.09851165860891342,
-0.11025182157754898,
0.0675673857331276,
-0.13454434275627136,
-0.0890730768442154,
-0.025635704398155212,
-0.0025188918225467205,
0.06357026100158691,
0.138752743601799,
-0.13682861626148224,
-0.09086725860834122,
0.16721734404563904,
-0.031323011964559555,
-0.10526062548160553,
0.11313458532094955,
-0.0031959221232682467,
-0.05378292128443718,
0.014862298965454102,
0.1662711650133133,
0.11778151243925095,
-0.07577090710401535,
-0.004362913779914379,
-0.0508495569229126,
0.09942228347063065,
0.04328716918826103,
0.09633077681064606,
-0.04315241426229477,
0.03668603301048279,
0.012276657857000828,
-0.08232705295085907,
0.04924299567937851,
-0.06502604484558105,
-0.0817570835351944,
-0.019974729046225548,
-0.08515555411577225,
-0.015191647224128246,
0.04794192686676979,
-0.002826704876497388,
-0.06779707968235016,
-0.12051088362932205,
-0.04151008650660515,
0.10893342643976212,
-0.09188666194677353,
-0.0018506977939978242,
-0.07890135049819946,
0.04894410818815231,
-0.00019247180898673832,
0.005470257718116045,
-0.14652249217033386,
-0.026330938562750816,
0.03675779327750206,
-0.08037776499986649,
-0.002060577040538192,
-0.02215975522994995,
0.06683901697397232,
0.03451792895793915,
-0.021443305537104607,
-0.09230753779411316,
-0.04173777624964714,
0.0033529361244291067,
-0.04502999782562256,
-0.21227233111858368,
-0.07119956612586975,
-0.02204614318907261,
0.20718547701835632,
-0.1923184096813202,
0.011168901808559895,
0.04274796321988106,
0.13018788397312164,
0.00489814905449748,
-0.05908294394612312,
0.02551400288939476,
0.025980034843087196,
0.0036085506435483694,
-0.08879731595516205,
0.019031357020139694,
0.0044816285371780396,
-0.10052353143692017,
0.004315574653446674,
-0.1399139016866684,
0.11556702852249146,
0.08210986852645874,
0.059072691947221756,
-0.05131731182336807,
-0.004356095567345619,
-0.05652350187301636,
-0.05403178557753563,
-0.022146550938487053,
0.0023450932931154966,
0.14939172565937042,
0.010110449977219105,
0.09947019815444946,
-0.07143562287092209,
-0.05009515956044197,
0.026012614369392395,
0.020393487066030502,
-0.010267659090459347,
0.18108074367046356,
0.025157861411571503,
-0.0973101258277893,
0.09400046616792679,
0.05203686282038689,
-0.003884187201038003,
0.12974797189235687,
-0.07642579823732376,
-0.07134457677602768,
-0.026494620367884636,
0.03349701687693596,
0.022675365209579468,
0.07759085297584534,
-0.13404002785682678,
0.0017855815822258592,
0.03639339283108711,
0.010292698629200459,
0.003673650324344635,
-0.1566930115222931,
-0.01261599175632,
0.03254672884941101,
-0.07605074346065521,
0.00017149903578683734,
0.011613554321229458,
-0.014638609252870083,
0.07260178029537201,
-0.0035738693550229073,
-0.08010877668857574,
-0.015764018520712852,
-0.0407889187335968,
-0.09404825419187546,
0.1631477177143097,
-0.08355487138032913,
-0.14978206157684326,
-0.09494752436876297,
0.007226848509162664,
-0.012218822725117207,
-0.02514091320335865,
0.04013153910636902,
-0.09180311113595963,
-0.059701766818761826,
-0.07901155203580856,
-0.01784895919263363,
-0.009908963926136494,
0.006047150120139122,
0.07067465037107468,
-0.008913313038647175,
0.0957789495587349,
-0.08407580107450485,
0.008572038263082504,
-0.012361645698547363,
-0.01875225454568863,
0.012499509379267693,
0.025321943685412407,
0.09196080267429352,
0.11341045796871185,
0.0745168998837471,
0.03968503698706627,
0.003286513965576887,
0.2313409298658371,
-0.12432779371738434,
-0.007240948732942343,
0.11283712834119797,
0.006632919888943434,
0.03893383964896202,
0.14178502559661865,
0.03095255419611931,
-0.08340189605951309,
0.016857245936989784,
0.020674414932727814,
-0.008895514532923698,
-0.21693864464759827,
-0.036004435271024704,
-0.0680963322520256,
-0.05899140238761902,
0.12169359624385834,
0.0543074905872345,
-0.017408030107617378,
0.02163861133158207,
-0.04319945350289345,
-0.045807719230651855,
0.04968428239226341,
0.040653638541698456,
0.06799116730690002,
0.056084878742694855,
0.0984090268611908,
-0.007618875242769718,
-0.02760753594338894,
0.020126186311244965,
-0.015277083963155746,
0.19298690557479858,
0.006448271218687296,
0.18837372958660126,
0.03873711824417114,
0.16979102790355682,
-0.007614647503942251,
0.02219473570585251,
0.04098115861415863,
-0.00017678456788416952,
0.02375294826924801,
-0.04639895260334015,
-0.02420666627585888,
0.03761785849928856,
0.09064549952745438,
0.012904862873256207,
-0.08341184258460999,
0.04077599197626114,
0.03425207734107971,
0.33913812041282654,
0.06203113868832588,
-0.29850152134895325,
-0.052493564784526825,
-0.0024897733237594366,
-0.07452564686536789,
-0.03100944124162197,
0.019825225695967674,
0.07281813025474548,
-0.08293073624372482,
0.09040237218141556,
-0.05295873433351517,
0.07577751576900482,
-0.05569552257657051,
0.00950650591403246,
0.08733721077442169,
0.08555227518081665,
0.013874638825654984,
0.05065926909446716,
-0.23928792774677277,
0.2530742287635803,
-0.01782185025513172,
0.07653272897005081,
-0.03611655533313751,
0.03737080469727516,
0.031302616000175476,
-0.025305209681391716,
0.10210636258125305,
0.00047965781413950026,
-0.09602351486682892,
-0.14061567187309265,
-0.11555780470371246,
0.02363557554781437,
0.09572917968034744,
-0.08488710224628448,
0.10686800628900528,
-0.03209119290113449,
-0.05584512650966644,
0.030436664819717407,
-0.042308393865823746,
-0.11239220201969147,
-0.1057124063372612,
0.052082572132349014,
0.026108665391802788,
0.07108387351036072,
-0.09370779246091843,
-0.08953815698623657,
-0.09967595338821411,
0.11683053523302078,
-0.0939355194568634,
-0.028443364426493645,
-0.1420530378818512,
0.04846443235874176,
0.15334726870059967,
-0.07285305857658386,
0.0487007237970829,
0.023429861292243004,
0.11417306214570999,
0.04711263254284859,
-0.020282531157135963,
0.09864187985658646,
-0.08790341019630432,
-0.23008106648921967,
-0.02939353510737419,
0.17754387855529785,
0.043078742921352386,
0.05402511730790138,
-0.011817507445812225,
0.04385394603013992,
-0.02014234848320484,
-0.06926088780164719,
0.0861515924334526,
0.03580532595515251,
0.022480687126517296,
0.03421191871166229,
-0.00693132821470499,
-0.007125210948288441,
-0.07990771532058716,
-0.05123816058039665,
0.07422862201929092,
0.2865564823150635,
-0.07505204528570175,
0.04800673574209213,
0.016762545332312584,
-0.046084072440862656,
-0.13612981140613556,
-0.037959128618240356,
0.11456627398729324,
0.027477597817778587,
0.042146943509578705,
-0.1765180081129074,
0.035951949656009674,
0.06299415230751038,
-0.02707095630466938,
0.0413258895277977,
-0.31152239441871643,
-0.12859022617340088,
0.10493674874305725,
0.060365766286849976,
-0.03447795659303665,
-0.1542588323354721,
-0.0571662075817585,
-0.026896798983216286,
-0.09549412131309509,
0.02578798681497574,
0.017368745058774948,
0.11043956130743027,
-0.011033255606889725,
0.003303250763565302,
0.01606154441833496,
-0.044691864401102066,
0.14496587216854095,
0.04150618985295296,
0.03992679715156555,
-0.01112472265958786,
0.0395340733230114,
-0.02211909368634224,
-0.06474217027425766,
0.007943296805024147,
-0.10070972144603729,
0.0357559472322464,
-0.12981626391410828,
-0.02657424472272396,
-0.09752879291772842,
0.015107346698641777,
-0.042287833988666534,
0.01309798751026392,
-0.00007500631181756034,
0.033024054020643234,
0.10910934209823608,
0.022421956062316895,
0.09045099467039108,
-0.04671197384595871,
0.08263038098812103,
0.12767894566059113,
0.1157609075307846,
0.012312655337154865,
-0.1252100169658661,
-0.04490534961223602,
0.016436545178294182,
0.02251330204308033,
-0.06742016971111298,
0.04776483401656151,
0.11795039474964142,
0.041234977543354034,
0.1321459412574768,
0.03945351764559746,
-0.0780290812253952,
-0.025660110637545586,
0.04911360889673233,
-0.08890945464372635,
-0.17334191501140594,
-0.014813577756285667,
-0.010987815447151661,
-0.13164517283439636,
-0.022348085418343544,
0.10387090593576431,
-0.03257716819643974,
-0.01779460534453392,
0.0014965190785005689,
0.07021382451057434,
-0.015183690004050732,
0.2195315659046173,
0.03520120307803154,
0.09628608822822571,
-0.10818745940923691,
0.08080022037029266,
0.0332464724779129,
-0.06883574277162552,
0.03611276298761368,
0.08185324817895889,
-0.06422284990549088,
-0.033309534192085266,
0.040010966360569,
0.0487886480987072,
0.06379978358745575,
-0.04335799440741539,
-0.10708744078874588,
-0.13734377920627594,
0.09510763734579086,
0.04094420745968819,
0.033640842884778976,
0.02472854033112526,
0.0011639859294518828,
0.002319519640877843,
-0.07025027275085449,
0.10990861058235168,
0.10303949564695358,
0.05702805146574974,
-0.12194737792015076,
0.04935431852936745,
-0.0008420029189437628,
-0.008460471406579018,
0.005426988936960697,
0.00816530641168356,
-0.09818205237388611,
0.005807584151625633,
-0.06884030997753143,
-0.0005715298466384411,
-0.05194923281669617,
0.003994155675172806,
-0.0047696977853775024,
-0.06058065593242645,
-0.04946492239832878,
0.03488447144627571,
-0.10690649598836899,
-0.059754449874162674,
-0.017926497384905815,
0.08482634276151657,
-0.09643453359603882,
-0.011851540766656399,
0.035126663744449615,
-0.13363781571388245,
0.09233001619577408,
0.04438110068440437,
0.002278014551848173,
0.004861346911638975,
-0.08116600662469864,
-0.031510960310697556,
0.0332382470369339,
0.009679690934717655,
0.027748236432671547,
-0.18744589388370514,
-0.008384293876588345,
-0.009691637009382248,
-0.01413979846984148,
-0.02367975562810898,
0.006851793732494116,
-0.11607378721237183,
-0.008177136071026325,
-0.04632836580276489,
-0.036568861454725266,
-0.05019664019346237,
0.0337829515337944,
0.0667518600821495,
0.008495036512613297,
0.17012880742549896,
-0.06249261274933815,
0.04085002839565277,
-0.2336708903312683,
-0.004823054186999798,
-0.007433084771037102,
-0.09028224647045135,
-0.07727763801813126,
-0.007238184567540884,
0.10942530632019043,
-0.03932372108101845,
0.09613225609064102,
-0.029901117086410522,
0.005716349929571152,
0.02761705033481121,
-0.06497298181056976,
0.03195492923259735,
0.055700257420539856,
0.14546287059783936,
0.039646074175834656,
-0.01482054591178894,
0.10297122597694397,
-0.0394483245909214,
0.046408411115407944,
0.09456478804349899,
0.13783137500286102,
0.17752598226070404,
0.04982307553291321,
0.06054486706852913,
0.05941552668809891,
-0.14319203794002533,
-0.10917585343122482,
0.14316459000110626,
-0.08901306241750717,
0.16205176711082458,
-0.025727814063429832,
0.16718117892742157,
0.08050812035799026,
-0.18475033342838287,
0.046161528676748276,
-0.0608234740793705,
-0.06851211935281754,
-0.09731537103652954,
-0.099155493080616,
-0.08347373455762863,
-0.1639968603849411,
0.026920635253190994,
-0.09348709136247635,
0.052340809255838394,
0.07352232187986374,
0.023981647565960884,
0.03058408759534359,
0.10570771992206573,
0.07982371002435684,
-0.0057201022282242775,
0.0997762680053711,
-0.0070648896507918835,
-0.03643986955285072,
-0.041808120906353,
-0.09119273722171783,
0.05124007910490036,
-0.02109021507203579,
0.06443649530410767,
-0.051173917949199677,
-0.10162071138620377,
0.06577794998884201,
0.0011987827019765973,
-0.1106584295630455,
0.026879439130425453,
-0.01952127367258072,
0.040326789021492004,
0.058747515082359314,
0.04143296182155609,
-0.0033524390310049057,
-0.00338880461640656,
0.1987992227077484,
-0.04979734867811203,
-0.03441055491566658,
-0.11132047325372696,
0.12941911816596985,
0.002880948130041361,
-0.01658710464835167,
0.045467108488082886,
-0.050052132457494736,
0.022832849994301796,
0.14436674118041992,
0.12620358169078827,
-0.03648769110441208,
-0.008897998370230198,
-0.014683186076581478,
-0.009004405699670315,
-0.01832069829106331,
0.06949220597743988,
0.1130550354719162,
0.014818312600255013,
-0.032430507242679596,
-0.004899418912827969,
-0.02171882800757885,
-0.08020169287919998,
-0.0294233076274395,
0.056372519582509995,
0.022408602759242058,
-0.001888287952169776,
-0.018210481852293015,
0.10333260893821716,
-0.041929807513952255,
-0.1457374095916748,
0.02577882446348667,
-0.13989391922950745,
-0.1839040219783783,
-0.04773677513003349,
0.052857112139463425,
0.0615193136036396,
0.05592832714319229,
0.0015036207623779774,
-0.04397165775299072,
0.10544233024120331,
0.00009354528447147459,
-0.03166790306568146,
-0.08426312357187271,
0.07372114807367325,
-0.13438168168067932,
0.18504707515239716,
-0.03540030121803284,
0.032616883516311646,
0.10232992470264435,
0.0315389446914196,
-0.11883411556482315,
0.033017005771398544,
0.07219213992357254,
-0.11073391884565353,
0.06748400628566742,
0.1642947494983673,
-0.02525590918958187,
0.0954633504152298,
0.04208284988999367,
-0.07758641242980957,
0.004752175882458687,
-0.0814770758152008,
-0.01756802760064602,
-0.056523509323596954,
0.0021809327881783247,
-0.033640056848526,
0.1508876085281372,
0.1936158984899521,
-0.08697349578142166,
-0.018959568813443184,
-0.037056658416986465,
0.023815231397747993,
0.02196265198290348,
0.13285809755325317,
-0.022838464006781578,
-0.25859132409095764,
0.02110585942864418,
-0.00841126125305891,
0.015936292707920074,
-0.15205754339694977,
-0.09516099840402603,
-0.012005381286144257,
-0.06735915690660477,
-0.054250482469797134,
0.11555170267820358,
0.062075428664684296,
0.03307201340794563,
-0.05687277764081955,
-0.06904289126396179,
-0.030891085043549538,
0.17692804336547852,
-0.16821369528770447,
-0.04956164211034775
] |
null | null |
transformers
|
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
should probably proofread and complete it, then remove this comment. -->
# wav2vec2-xls-r-300m-cs-cv8
This model is a fine-tuned version of [facebook/wav2vec2-xls-r-300m](https://huggingface.co/facebook/wav2vec2-xls-r-300m) on the common_voice 8.0 dataset.
It achieves the following results on the evaluation set while training:
- Loss: 0.2327
- Wer: 0.1608
- Cer: 0.0376
The `eval.py` script results using a LM are:
WER: 0.10281503199350225
CER: 0.02622802241689026
## Model description
Fine-tuned [facebook/wav2vec2-large-xlsr-53](https://huggingface.co/facebook/wav2vec2-large-xlsr-53) on Czech using the [Common Voice](https://huggingface.co/datasets/common_voice) dataset.
When using this model, make sure that your speech input is sampled at 16kHz.
The model can be used directly (without a language model) as follows:
```python
import torch
import torchaudio
from datasets import load_dataset
from transformers import Wav2Vec2ForCTC, Wav2Vec2Processor
test_dataset = load_dataset("mozilla-foundation/common_voice_8_0", "cs", split="test[:2%]")
processor = Wav2Vec2Processor.from_pretrained("comodoro/wav2vec2-xls-r-300m-cs-cv8")
model = Wav2Vec2ForCTC.from_pretrained("comodoro/wav2vec2-xls-r-300m-cs-cv8")
resampler = torchaudio.transforms.Resample(48_000, 16_000)
# Preprocessing the datasets.
# We need to read the aduio files as arrays
def speech_file_to_array_fn(batch):
speech_array, sampling_rate = torchaudio.load(batch["path"])
batch["speech"] = resampler(speech_array).squeeze().numpy()
return batch
test_dataset = test_dataset.map(speech_file_to_array_fn)
inputs = processor(test_dataset[:2]["speech"], sampling_rate=16_000, return_tensors="pt", padding=True)
with torch.no_grad():
logits = model(inputs.input_values, attention_mask=inputs.attention_mask).logits
predicted_ids = torch.argmax(logits, dim=-1)
print("Prediction:", processor.batch_decode(predicted_ids))
print("Reference:", test_dataset[:2]["sentence"])
```
## Evaluation
The model can be evaluated using the attached `eval.py` script:
```
python eval.py --model_id comodoro/wav2vec2-xls-r-300m-cs-cv8 --dataset mozilla-foundation/common-voice_8_0 --split test --config cs
```
## Training and evaluation data
The Common Voice 8.0 `train` and `validation` datasets were used for training
## Training procedure
### Training hyperparameters
The following hyperparameters were used during first stage of training:
- learning_rate: 7e-05
- train_batch_size: 32
- eval_batch_size: 8
- seed: 42
- gradient_accumulation_steps: 20
- total_train_batch_size: 640
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- lr_scheduler_warmup_steps: 500
- num_epochs: 150
- mixed_precision_training: Native AMP
The following hyperparameters were used during second stage of training:
- learning_rate: 0.001
- train_batch_size: 32
- eval_batch_size: 8
- seed: 42
- gradient_accumulation_steps: 20
- total_train_batch_size: 640
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- lr_scheduler_warmup_steps: 500
- num_epochs: 50
- mixed_precision_training: Native AMP
### Training results
| Training Loss | Epoch | Step | Validation Loss | Wer | Cer |
|:-------------:|:------:|:----:|:---------------:|:------:|:------:|
| 7.2926 | 8.06 | 250 | 3.8497 | 1.0 | 1.0 |
| 3.417 | 16.13 | 500 | 3.2852 | 1.0 | 0.9857 |
| 2.0264 | 24.19 | 750 | 0.7099 | 0.7342 | 0.1768 |
| 0.4018 | 32.25 | 1000 | 0.6188 | 0.6415 | 0.1551 |
| 0.2444 | 40.32 | 1250 | 0.6632 | 0.6362 | 0.1600 |
| 0.1882 | 48.38 | 1500 | 0.6070 | 0.5783 | 0.1388 |
| 0.153 | 56.44 | 1750 | 0.6425 | 0.5720 | 0.1377 |
| 0.1214 | 64.51 | 2000 | 0.6363 | 0.5546 | 0.1337 |
| 0.1011 | 72.57 | 2250 | 0.6310 | 0.5222 | 0.1224 |
| 0.0879 | 80.63 | 2500 | 0.6353 | 0.5258 | 0.1253 |
| 0.0782 | 88.7 | 2750 | 0.6078 | 0.4904 | 0.1127 |
| 0.0709 | 96.76 | 3000 | 0.6465 | 0.4960 | 0.1154 |
| 0.0661 | 104.82 | 3250 | 0.6622 | 0.4945 | 0.1166 |
| 0.0616 | 112.89 | 3500 | 0.6440 | 0.4786 | 0.1104 |
| 0.0579 | 120.95 | 3750 | 0.6815 | 0.4887 | 0.1144 |
| 0.0549 | 129.03 | 4000 | 0.6603 | 0.4780 | 0.1105 |
| 0.0527 | 137.09 | 4250 | 0.6652 | 0.4749 | 0.1090 |
| 0.0506 | 145.16 | 4500 | 0.6958 | 0.4846 | 0.1133 |
Further fine-tuning with slightly different architecture and higher learning rate:
| Training Loss | Epoch | Step | Validation Loss | Wer | Cer |
|:-------------:|:-----:|:----:|:---------------:|:------:|:------:|
| 0.576 | 8.06 | 250 | 0.2411 | 0.2340 | 0.0502 |
| 0.2564 | 16.13 | 500 | 0.2305 | 0.2097 | 0.0492 |
| 0.2018 | 24.19 | 750 | 0.2371 | 0.2059 | 0.0494 |
| 0.1549 | 32.25 | 1000 | 0.2298 | 0.1844 | 0.0435 |
| 0.1224 | 40.32 | 1250 | 0.2288 | 0.1725 | 0.0407 |
| 0.1004 | 48.38 | 1500 | 0.2327 | 0.1608 | 0.0376 |
### Framework versions
- Transformers 4.16.0.dev0
- Pytorch 1.10.1+cu102
- Datasets 1.17.1.dev0
- Tokenizers 0.11.0
|
{"language": ["cs"], "license": "apache-2.0", "tags": ["automatic-speech-recognition", "mozilla-foundation/common_voice_8_0", "generated_from_trainer", "robust-speech-event", "xlsr-fine-tuning-week", "hf-asr-leaderboard"], "datasets": ["mozilla-foundation/common_voice_8_0"], "model-index": [{"name": "Czech comodoro Wav2Vec2 XLSR 300M CV8", "results": [{"task": {"type": "automatic-speech-recognition", "name": "Automatic Speech Recognition"}, "dataset": {"name": "Common Voice 8", "type": "mozilla-foundation/common_voice_8_0", "args": "cs"}, "metrics": [{"type": "wer", "value": 10.3, "name": "Test WER"}, {"type": "cer", "value": 2.6, "name": "Test CER"}]}, {"task": {"type": "automatic-speech-recognition", "name": "Automatic Speech Recognition"}, "dataset": {"name": "Robust Speech Event - Dev Data", "type": "speech-recognition-community-v2/dev_data", "args": "cs"}, "metrics": [{"type": "wer", "value": 54.29, "name": "Test WER"}]}, {"task": {"type": "automatic-speech-recognition", "name": "Automatic Speech Recognition"}, "dataset": {"name": "Robust Speech Event - Test Data", "type": "speech-recognition-community-v2/eval_data", "args": "cs"}, "metrics": [{"type": "wer", "value": 44.55, "name": "Test WER"}]}]}]}
|
automatic-speech-recognition
|
comodoro/wav2vec2-xls-r-300m-cs-cv8
|
[
"transformers",
"pytorch",
"wav2vec2",
"automatic-speech-recognition",
"mozilla-foundation/common_voice_8_0",
"generated_from_trainer",
"robust-speech-event",
"xlsr-fine-tuning-week",
"hf-asr-leaderboard",
"cs",
"dataset:mozilla-foundation/common_voice_8_0",
"license:apache-2.0",
"model-index",
"endpoints_compatible",
"region:us"
] |
2022-03-02T23:29:05+00:00
|
[] |
[
"cs"
] |
TAGS
#transformers #pytorch #wav2vec2 #automatic-speech-recognition #mozilla-foundation/common_voice_8_0 #generated_from_trainer #robust-speech-event #xlsr-fine-tuning-week #hf-asr-leaderboard #cs #dataset-mozilla-foundation/common_voice_8_0 #license-apache-2.0 #model-index #endpoints_compatible #region-us
|
wav2vec2-xls-r-300m-cs-cv8
==========================
This model is a fine-tuned version of facebook/wav2vec2-xls-r-300m on the common\_voice 8.0 dataset.
It achieves the following results on the evaluation set while training:
* Loss: 0.2327
* Wer: 0.1608
* Cer: 0.0376
The 'URL' script results using a LM are:
WER: 0.10281503199350225
CER: 0.02622802241689026
Model description
-----------------
Fine-tuned facebook/wav2vec2-large-xlsr-53 on Czech using the Common Voice dataset.
When using this model, make sure that your speech input is sampled at 16kHz.
The model can be used directly (without a language model) as follows:
Evaluation
----------
The model can be evaluated using the attached 'URL' script:
Training and evaluation data
----------------------------
The Common Voice 8.0 'train' and 'validation' datasets were used for training
Training procedure
------------------
### Training hyperparameters
The following hyperparameters were used during first stage of training:
* learning\_rate: 7e-05
* train\_batch\_size: 32
* eval\_batch\_size: 8
* seed: 42
* gradient\_accumulation\_steps: 20
* total\_train\_batch\_size: 640
* optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
* lr\_scheduler\_type: linear
* lr\_scheduler\_warmup\_steps: 500
* num\_epochs: 150
* mixed\_precision\_training: Native AMP
The following hyperparameters were used during second stage of training:
* learning\_rate: 0.001
* train\_batch\_size: 32
* eval\_batch\_size: 8
* seed: 42
* gradient\_accumulation\_steps: 20
* total\_train\_batch\_size: 640
* optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
* lr\_scheduler\_type: linear
* lr\_scheduler\_warmup\_steps: 500
* num\_epochs: 50
* mixed\_precision\_training: Native AMP
### Training results
Further fine-tuning with slightly different architecture and higher learning rate:
### Framework versions
* Transformers 4.16.0.dev0
* Pytorch 1.10.1+cu102
* Datasets 1.17.1.dev0
* Tokenizers 0.11.0
|
[
"### Training hyperparameters\n\n\nThe following hyperparameters were used during first stage of training:\n\n\n* learning\\_rate: 7e-05\n* train\\_batch\\_size: 32\n* eval\\_batch\\_size: 8\n* seed: 42\n* gradient\\_accumulation\\_steps: 20\n* total\\_train\\_batch\\_size: 640\n* optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08\n* lr\\_scheduler\\_type: linear\n* lr\\_scheduler\\_warmup\\_steps: 500\n* num\\_epochs: 150\n* mixed\\_precision\\_training: Native AMP\n\n\nThe following hyperparameters were used during second stage of training:\n\n\n* learning\\_rate: 0.001\n* train\\_batch\\_size: 32\n* eval\\_batch\\_size: 8\n* seed: 42\n* gradient\\_accumulation\\_steps: 20\n* total\\_train\\_batch\\_size: 640\n* optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08\n* lr\\_scheduler\\_type: linear\n* lr\\_scheduler\\_warmup\\_steps: 500\n* num\\_epochs: 50\n* mixed\\_precision\\_training: Native AMP",
"### Training results\n\n\n\nFurther fine-tuning with slightly different architecture and higher learning rate:",
"### Framework versions\n\n\n* Transformers 4.16.0.dev0\n* Pytorch 1.10.1+cu102\n* Datasets 1.17.1.dev0\n* Tokenizers 0.11.0"
] |
[
"TAGS\n#transformers #pytorch #wav2vec2 #automatic-speech-recognition #mozilla-foundation/common_voice_8_0 #generated_from_trainer #robust-speech-event #xlsr-fine-tuning-week #hf-asr-leaderboard #cs #dataset-mozilla-foundation/common_voice_8_0 #license-apache-2.0 #model-index #endpoints_compatible #region-us \n",
"### Training hyperparameters\n\n\nThe following hyperparameters were used during first stage of training:\n\n\n* learning\\_rate: 7e-05\n* train\\_batch\\_size: 32\n* eval\\_batch\\_size: 8\n* seed: 42\n* gradient\\_accumulation\\_steps: 20\n* total\\_train\\_batch\\_size: 640\n* optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08\n* lr\\_scheduler\\_type: linear\n* lr\\_scheduler\\_warmup\\_steps: 500\n* num\\_epochs: 150\n* mixed\\_precision\\_training: Native AMP\n\n\nThe following hyperparameters were used during second stage of training:\n\n\n* learning\\_rate: 0.001\n* train\\_batch\\_size: 32\n* eval\\_batch\\_size: 8\n* seed: 42\n* gradient\\_accumulation\\_steps: 20\n* total\\_train\\_batch\\_size: 640\n* optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08\n* lr\\_scheduler\\_type: linear\n* lr\\_scheduler\\_warmup\\_steps: 500\n* num\\_epochs: 50\n* mixed\\_precision\\_training: Native AMP",
"### Training results\n\n\n\nFurther fine-tuning with slightly different architecture and higher learning rate:",
"### Framework versions\n\n\n* Transformers 4.16.0.dev0\n* Pytorch 1.10.1+cu102\n* Datasets 1.17.1.dev0\n* Tokenizers 0.11.0"
] |
[
122,
316,
20,
41
] |
[
"passage: TAGS\n#transformers #pytorch #wav2vec2 #automatic-speech-recognition #mozilla-foundation/common_voice_8_0 #generated_from_trainer #robust-speech-event #xlsr-fine-tuning-week #hf-asr-leaderboard #cs #dataset-mozilla-foundation/common_voice_8_0 #license-apache-2.0 #model-index #endpoints_compatible #region-us \n### Training hyperparameters\n\n\nThe following hyperparameters were used during first stage of training:\n\n\n* learning\\_rate: 7e-05\n* train\\_batch\\_size: 32\n* eval\\_batch\\_size: 8\n* seed: 42\n* gradient\\_accumulation\\_steps: 20\n* total\\_train\\_batch\\_size: 640\n* optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08\n* lr\\_scheduler\\_type: linear\n* lr\\_scheduler\\_warmup\\_steps: 500\n* num\\_epochs: 150\n* mixed\\_precision\\_training: Native AMP\n\n\nThe following hyperparameters were used during second stage of training:\n\n\n* learning\\_rate: 0.001\n* train\\_batch\\_size: 32\n* eval\\_batch\\_size: 8\n* seed: 42\n* gradient\\_accumulation\\_steps: 20\n* total\\_train\\_batch\\_size: 640\n* optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08\n* lr\\_scheduler\\_type: linear\n* lr\\_scheduler\\_warmup\\_steps: 500\n* num\\_epochs: 50\n* mixed\\_precision\\_training: Native AMP### Training results\n\n\n\nFurther fine-tuning with slightly different architecture and higher learning rate:### Framework versions\n\n\n* Transformers 4.16.0.dev0\n* Pytorch 1.10.1+cu102\n* Datasets 1.17.1.dev0\n* Tokenizers 0.11.0"
] |
[
-0.0890510082244873,
0.09759718179702759,
-0.006410697009414434,
0.032469555735588074,
0.07231638580560684,
0.03778555244207382,
0.09257857501506805,
0.14282312989234924,
-0.03605157136917114,
0.1317639946937561,
0.06789819151163101,
0.06542468070983887,
0.08060505986213684,
0.06417489796876907,
-0.008063903078436852,
-0.2785433828830719,
0.01942652091383934,
-0.06452035903930664,
-0.1523304581642151,
0.12228439748287201,
0.0962461531162262,
-0.09708814322948456,
0.015487492084503174,
0.018585484474897385,
-0.027459226548671722,
-0.024825429543852806,
-0.06458278000354767,
-0.03437710925936699,
0.08896053582429886,
0.03848334401845932,
0.06998704373836517,
0.05263271555304527,
0.10487737506628036,
-0.3160514235496521,
0.005789917428046465,
0.08606304228305817,
0.02226312831044197,
0.05448053777217865,
0.10070523619651794,
-0.033965256065130234,
0.0854511559009552,
-0.07759619504213333,
0.0866214856505394,
0.021992983296513557,
-0.1448158472776413,
-0.3022962212562561,
-0.1031414046883583,
0.032147571444511414,
0.15445680916309357,
0.05489419400691986,
-0.04730658978223801,
-0.0063833254389464855,
-0.09783623367547989,
0.053152475506067276,
0.2066696733236313,
-0.25642135739326477,
-0.0717262551188469,
-0.0170099139213562,
0.04366493970155716,
0.013442068360745907,
-0.09908109158277512,
-0.002548375865444541,
0.004827392287552357,
-0.012701675295829773,
0.10106272250413895,
0.02659796178340912,
0.1273340880870819,
0.030360691249370575,
-0.13441996276378632,
-0.08283839374780655,
0.040339358150959015,
0.07481063157320023,
-0.01012032013386488,
-0.17191985249519348,
-0.021677032113075256,
-0.2016935646533966,
-0.028485605493187904,
-0.0367838516831398,
0.03396809101104736,
-0.012037381529808044,
-0.034235771745443344,
0.07249671220779419,
-0.04815475270152092,
-0.035619307309389114,
0.07727527618408203,
0.13553816080093384,
0.04139535874128342,
-0.047068122774362564,
0.006443813443183899,
0.10288071632385254,
0.11882591992616653,
-0.16507983207702637,
-0.03782660514116287,
0.027762606739997864,
-0.14949306845664978,
-0.02050146646797657,
-0.02587888017296791,
0.035215914249420166,
0.0063770124688744545,
0.2269906848669052,
-0.006964176427572966,
0.08897414803504944,
0.0430336520075798,
-0.0012577517190948129,
-0.050535328686237335,
0.14926974475383759,
-0.0741722583770752,
-0.12555371224880219,
-0.0974251925945282,
0.11686427891254425,
-0.03520921990275383,
-0.019356345757842064,
-0.018701516091823578,
0.062333691865205765,
0.0724802315235138,
0.059892382472753525,
0.01686123199760914,
0.03910638019442558,
-0.054532475769519806,
-0.03304743394255638,
-0.005031322129070759,
-0.12102749198675156,
0.05569176375865936,
0.07657796144485474,
-0.06359734386205673,
-0.06444226205348969,
-0.018311943858861923,
0.039176974445581436,
0.006050845142453909,
0.1467309594154358,
-0.03625386208295822,
-0.03484172746539116,
-0.06969669461250305,
-0.07346397638320923,
0.029427997767925262,
-0.03635407239198685,
-0.011973561719059944,
-0.03532939776778221,
-0.0645931288599968,
-0.107785165309906,
0.09244843572378159,
-0.0767180398106575,
-0.04748155176639557,
-0.051598891615867615,
-0.059615716338157654,
0.07129742205142975,
-0.011562442407011986,
0.16982555389404297,
-0.05328094959259033,
0.07937081158161163,
-0.03021838702261448,
0.05256392061710358,
0.16250735521316528,
0.07247618585824966,
-0.03780369460582733,
0.07358406484127045,
-0.14042218029499054,
0.10843829810619354,
-0.06782978773117065,
0.01639271154999733,
-0.1642548143863678,
-0.09420941025018692,
-0.03398092836141586,
-0.0028319978155195713,
0.08327357470989227,
0.09699326753616333,
-0.18069788813591003,
-0.09203360974788666,
0.1507386863231659,
-0.04895404353737831,
-0.07497840374708176,
0.09975550323724747,
-0.03107072412967682,
-0.0006171615095809102,
-0.0013136068591848016,
0.15240143239498138,
0.11766278743743896,
-0.08668254315853119,
0.008075377903878689,
-0.13546247780323029,
0.12188881635665894,
0.1806214600801468,
0.08590342104434967,
-0.050416164100170135,
0.08022832125425339,
-0.02475207857787609,
-0.10586948692798615,
0.009196477010846138,
-0.058173637837171555,
-0.09998392313718796,
0.02165689319372177,
-0.04480075463652611,
0.029543505981564522,
0.06243281438946724,
0.0026628058403730392,
-0.049055974930524826,
-0.15317808091640472,
0.016585832461714745,
0.07269374281167984,
-0.09677129983901978,
0.032640643417835236,
-0.0870986059308052,
0.01699134334921837,
0.07574908435344696,
0.011930396780371666,
-0.16283003985881805,
-0.04113563895225525,
0.02843042090535164,
-0.09288835525512695,
-0.025522824376821518,
-0.023325324058532715,
0.08778619021177292,
0.047538816928863525,
-0.05070262774825096,
-0.05080529674887657,
-0.05264195427298546,
-0.005860890261828899,
-0.045819371938705444,
-0.24685899913311005,
-0.09275113046169281,
-0.013899759389460087,
0.23015394806861877,
-0.18869540095329285,
0.00022375452681444585,
0.042610086500644684,
0.15016737580299377,
0.027608707547187805,
-0.07422859966754913,
-0.030506078153848648,
0.03418777137994766,
-0.005222422536462545,
-0.06628436595201492,
0.03709319606423378,
-0.016718421131372452,
-0.07586432248353958,
0.03306756541132927,
-0.16145749390125275,
0.004561763722449541,
0.06671952456235886,
0.05745983496308327,
-0.11339092254638672,
-0.06002666428685188,
-0.0720539465546608,
-0.049886830151081085,
-0.016548465937376022,
0.0004714130191132426,
0.2218555212020874,
0.0325578935444355,
0.07912765443325043,
-0.06737827509641647,
-0.08934354037046432,
0.006453679874539375,
0.027280259877443314,
-0.03209732100367546,
0.17004084587097168,
0.054426159709692,
-0.09460712969303131,
0.07269532233476639,
0.09252430498600006,
0.055782515555620193,
0.12868323922157288,
-0.05326423421502113,
-0.08186028152704239,
-0.0784195140004158,
0.026621008291840553,
0.029819905757904053,
0.08778014034032822,
-0.12093380093574524,
-0.008483030833303928,
0.02865028567612171,
0.02478860318660736,
-0.009616819210350513,
-0.1456439048051834,
-0.002163507044315338,
0.06453217566013336,
-0.055193521082401276,
0.02424623817205429,
-0.02270081639289856,
-0.001569158979691565,
0.08563872426748276,
0.04232127219438553,
-0.04943962022662163,
-0.06102961301803589,
-0.05415909364819527,
-0.1001773327589035,
0.15713073313236237,
-0.08210749924182892,
-0.13532504439353943,
-0.07001613825559616,
-0.012315561063587666,
0.025198595598340034,
-0.025897076353430748,
0.030080456286668777,
-0.09889024496078491,
-0.04125579446554184,
-0.05856439843773842,
0.03937086462974548,
-0.013941011391580105,
0.014270827174186707,
0.06123746186494827,
-0.00005948924081167206,
0.04915996640920639,
-0.09234722703695297,
0.022099561989307404,
-0.03040931187570095,
-0.018301066011190414,
-0.0003240774676669389,
0.06063416227698326,
0.08569815009832382,
0.16753345727920532,
0.0730401873588562,
0.041760798543691635,
-0.01410595141351223,
0.1766360104084015,
-0.15050989389419556,
0.020673096179962158,
0.06715376675128937,
-0.02666562609374523,
0.037623222917318344,
0.171701580286026,
0.042506225407123566,
-0.08371515572071075,
0.01865791529417038,
0.0700046494603157,
-0.021038418635725975,
-0.20994354784488678,
-0.019160071387887,
-0.03972597420215607,
-0.04098028689622879,
0.13161806762218475,
0.023426176980137825,
-0.007472397293895483,
-0.014681155793368816,
-0.043975524604320526,
-0.06192764267325401,
0.09359265863895416,
0.04821253940463066,
0.05212021619081497,
0.0313398651778698,
0.10096976906061172,
0.019390510395169258,
-0.02731049433350563,
0.019180264323949814,
-0.029506701976060867,
0.19260379672050476,
-0.0010718221310526133,
0.1824466735124588,
0.08233032375574112,
0.11364994943141937,
-0.02496795542538166,
0.005501869600266218,
0.019742827862501144,
0.01111286785453558,
0.013897450640797615,
-0.04942970722913742,
0.0006083582993596792,
0.04551178961992264,
0.10545306652784348,
-0.02675328031182289,
-0.08536771684885025,
0.00886448659002781,
0.061015624552965164,
0.3512766361236572,
0.09481137990951538,
-0.22483445703983307,
-0.04388623312115669,
0.010642907582223415,
-0.07410793006420135,
-0.02358344942331314,
-0.0011660557938739657,
0.06028858199715614,
-0.09632590413093567,
0.08570709824562073,
-0.06490381807088852,
0.062162160873413086,
-0.0794004499912262,
0.003408274380490184,
0.15809009969234467,
0.020438874140381813,
0.013305374421179295,
0.01629554107785225,
-0.18101495504379272,
0.25679144263267517,
-0.02269797772169113,
0.048736654222011566,
-0.041119322180747986,
0.05509202554821968,
0.00845690630376339,
-0.0879770889878273,
0.08012493699789047,
0.00317391287535429,
-0.14938676357269287,
-0.14010465145111084,
-0.0869288221001625,
-0.01418127492070198,
0.15721489489078522,
-0.16899555921554565,
0.13983547687530518,
-0.036687321960926056,
-0.04577061906456947,
0.032353535294532776,
-0.015258844010531902,
-0.08182387053966522,
-0.10255005955696106,
0.07303246110677719,
-0.06941990554332733,
0.06095101684331894,
-0.08551622182130814,
-0.06849884986877441,
-0.12809914350509644,
0.1789036989212036,
-0.10365399718284607,
-0.009940073825418949,
-0.12782764434814453,
0.0443621501326561,
0.15019600093364716,
-0.06882907450199127,
0.03945634141564369,
0.03626083582639694,
0.09915440529584885,
0.012687715701758862,
-0.013587011024355888,
0.10327757894992828,
-0.0578644685447216,
-0.23477059602737427,
-0.07514301687479019,
0.17505550384521484,
0.05549541860818863,
0.05210411921143532,
-0.0231915395706892,
0.07141856104135513,
0.023344995453953743,
-0.07162951678037643,
0.11322405934333801,
0.03967435285449028,
0.014914396218955517,
-0.010559397749602795,
-0.006645358167588711,
0.04747551307082176,
-0.07289379090070724,
-0.04501659423112869,
0.0597599521279335,
0.2864973247051239,
-0.11076328158378601,
0.10225645452737808,
0.025410791859030724,
-0.07344114780426025,
-0.14008744060993195,
-0.03447001799941063,
0.13196821510791779,
0.01992635615170002,
0.008589694276452065,
-0.2103205770254135,
0.01449646521359682,
0.08678045123815536,
-0.013654346577823162,
0.050320010632276535,
-0.3527296185493469,
-0.14708171784877777,
0.06538855284452438,
0.0309007428586483,
-0.10870756953954697,
-0.16003479063510895,
-0.07204793393611908,
0.01930985599756241,
-0.1447640359401703,
0.05587911605834961,
0.048410870134830475,
0.08734822273254395,
0.012258068658411503,
-0.03379637002944946,
0.03132642060518265,
-0.039650239050388336,
0.16743561625480652,
-0.0013218499952927232,
0.03494115546345711,
-0.02602742426097393,
-0.009704324416816235,
-0.0203687883913517,
-0.06800723820924759,
-0.02923533506691456,
-0.029022308066487312,
-0.009888271801173687,
-0.13504920899868011,
-0.038453519344329834,
-0.0819012001156807,
-0.024339383468031883,
-0.08438577502965927,
-0.02620253525674343,
-0.0411425456404686,
0.07498595118522644,
0.12394071370363235,
0.003626283723860979,
0.05928143858909607,
-0.047562628984451294,
0.11873413622379303,
0.10494054108858109,
0.08104066550731659,
0.06676261126995087,
-0.11986593157052994,
-0.014929752796888351,
0.029441384598612785,
0.023801373317837715,
-0.11256122589111328,
0.06262238323688507,
0.14335644245147705,
0.05164343863725662,
0.15733759105205536,
0.029926111921668053,
-0.08603345602750778,
-0.028033597394824028,
0.06295275688171387,
-0.07531646639108658,
-0.13685990869998932,
0.004359283018857241,
-0.05356067791581154,
-0.12444757670164108,
-0.07430072873830795,
0.12279681116342545,
-0.0015668451087549329,
-0.013834464363753796,
0.026103243231773376,
0.08850544691085815,
0.0069037508219480515,
0.18482697010040283,
-0.041706547141075134,
0.08843155205249786,
-0.08295020461082458,
0.09667623043060303,
0.08234017342329025,
-0.09201778471469879,
0.026732534170150757,
0.07775110006332397,
-0.03787555918097496,
-0.020367076620459557,
-0.012133088894188404,
0.05059918761253357,
0.053731679916381836,
-0.013032366521656513,
-0.08901316672563553,
-0.1504548341035843,
0.10513855516910553,
0.07446881383657455,
0.008029519580304623,
0.03712980076670647,
0.011738086119294167,
0.048837754875421524,
-0.053025875240564346,
0.1113358810544014,
0.09994925558567047,
0.034241095185279846,
-0.05977407097816467,
0.13419906795024872,
-0.004843011032789946,
-0.03936343640089035,
0.023456722497940063,
-0.006773608736693859,
-0.11489325016736984,
0.018116392195224762,
-0.08161088079214096,
-0.03285221755504608,
-0.05414685606956482,
-0.005300680175423622,
0.013266767375171185,
-0.03580624982714653,
-0.048295192420482635,
-0.005558186210691929,
-0.11685624718666077,
-0.07090706378221512,
-0.03146890178322792,
0.08066792041063309,
-0.12728279829025269,
-0.02357122302055359,
0.06778135150671005,
-0.13702377676963806,
0.11020731925964355,
0.034916386008262634,
0.048658259212970734,
-0.0038674045354127884,
-0.053686875849962234,
0.015143133699893951,
-0.009488413110375404,
-0.017375487834215164,
0.01094057410955429,
-0.2579208016395569,
-0.013654586859047413,
-0.06870964169502258,
-0.04092580825090408,
0.02062084525823593,
-0.017220353707671165,
-0.11535316705703735,
0.031770020723342896,
-0.028034571558237076,
-0.05229457840323448,
-0.044682007282972336,
0.02417123131453991,
0.04178426042199135,
0.03392491862177849,
0.11162784695625305,
-0.05738922581076622,
0.09505882859230042,
-0.24898487329483032,
-0.015185095369815826,
-0.0023492402397096157,
-0.01965833082795143,
-0.0035825392697006464,
-0.008902589790523052,
0.0857003927230835,
-0.05187752842903137,
0.07524855434894562,
-0.03150581941008568,
0.005498704966157675,
0.034009721130132675,
-0.09924439340829849,
0.0029681723099201918,
0.07108727097511292,
0.09186476469039917,
0.03944646567106247,
-0.03037622757256031,
0.06064697727560997,
0.0028512878343462944,
0.019708415493369102,
0.11658864468336105,
0.16971741616725922,
0.1876549869775772,
0.1414491832256317,
0.03958233445882797,
0.033536605536937714,
-0.19795961678028107,
-0.13625040650367737,
0.1891433745622635,
-0.0980931967496872,
0.12859071791172028,
-0.04350443556904793,
0.16420242190361023,
0.08403317630290985,
-0.2551979124546051,
0.07880782335996628,
-0.06606680899858475,
-0.06889300793409348,
-0.09503478556871414,
-0.07413206994533539,
-0.06953773647546768,
-0.13619224727153778,
0.014431633986532688,
-0.09097107499837875,
0.06540844589471817,
0.017185088247060776,
0.029560839757323265,
0.05769554153084755,
0.051122669130563736,
-0.005305986851453781,
-0.005422717425972223,
0.11098024994134903,
0.05159793794155121,
-0.0025889405515044928,
-0.04797370731830597,
-0.07254929840564728,
0.026662228628993034,
-0.019107237458229065,
0.062136705964803696,
-0.03762564808130264,
-0.0706452801823616,
0.049483224749565125,
0.03064594231545925,
-0.0970359519124031,
0.027338694781064987,
-0.03777511417865753,
0.07116665691137314,
0.09108565002679825,
0.04967106506228447,
0.030679753050208092,
-0.022702671587467194,
0.2182457149028778,
-0.0627116933465004,
-0.02076674997806549,
-0.16663458943367004,
0.1600041538476944,
-0.0006568821845576167,
0.01734798215329647,
0.04644392803311348,
-0.07894224673509598,
-0.002298993756994605,
0.1330050826072693,
0.11437124758958817,
-0.016313882544636726,
0.002421839162707329,
0.05160083621740341,
0.001452045631594956,
0.022108044475317,
0.04237336665391922,
0.10183066874742508,
0.07955073565244675,
-0.04521642625331879,
-0.03414883464574814,
-0.022595083341002464,
-0.08817575871944427,
0.005334545858204365,
0.14479145407676697,
0.021185515448451042,
0.004374672658741474,
-0.04104173555970192,
0.11057879775762558,
-0.020708784461021423,
-0.22862911224365234,
0.11592176556587219,
-0.21632081270217896,
-0.17753784358501434,
-0.026723548769950867,
0.06210475042462349,
0.01017269492149353,
0.07967784255743027,
0.0414980947971344,
-0.0751044973731041,
0.129853755235672,
0.04272757098078728,
-0.00005342923032003455,
-0.10205952078104019,
0.07380910217761993,
-0.0895819216966629,
0.2537056803703308,
-0.041370801627635956,
0.0071526747196912766,
0.11445040255784988,
0.04708883538842201,
-0.09494516998529434,
-0.011421837843954563,
0.11891631036996841,
-0.1504100114107132,
0.024838095530867577,
0.17627403140068054,
-0.04283837229013443,
0.1482907235622406,
0.09379550069570541,
-0.08755899220705032,
0.06336503475904465,
-0.030566789209842682,
-0.06516141444444656,
-0.05842042341828346,
0.02297615446150303,
-0.0240794625133276,
0.11940672993659973,
0.24384769797325134,
-0.059096697717905045,
0.0008971196366474032,
-0.030088800936937332,
0.008597631007432938,
-0.005334276705980301,
0.16461719572544098,
-0.04285309836268425,
-0.24058325588703156,
0.051196109503507614,
-0.008844931609928608,
0.05654669553041458,
-0.13047471642494202,
-0.13440580666065216,
0.105396568775177,
-0.06036536023020744,
-0.03875186666846275,
0.14157801866531372,
0.06900396198034286,
0.03646741434931755,
-0.05058171600103378,
-0.1026156097650528,
-0.008140875026583672,
0.17598122358322144,
-0.14534063637256622,
-0.042750149965286255
] |
null | null |
transformers
|
# Wav2Vec2-Large-XLSR-53-Czech
Fine-tuned [facebook/wav2vec2-large-xlsr-53](https://huggingface.co/facebook/wav2vec2-large-xlsr-53) on Czech using the [Common Voice](https://huggingface.co/datasets/common_voice) dataset.
When using this model, make sure that your speech input is sampled at 16kHz.
## Usage
The model can be used directly (without a language model) as follows:
```python
import torch
import torchaudio
from datasets import load_dataset
from transformers import Wav2Vec2ForCTC, Wav2Vec2Processor
test_dataset = load_dataset("common_voice", "cs", split="test[:2%]")
processor = Wav2Vec2Processor.from_pretrained("comodoro/wav2vec2-xls-r-300m-cs")
model = Wav2Vec2ForCTC.from_pretrained("comodoro/wav2vec2-xls-r-300m-cs")
resampler = torchaudio.transforms.Resample(48_000, 16_000)
# Preprocessing the datasets.
# We need to read the aduio files as arrays
def speech_file_to_array_fn(batch):
speech_array, sampling_rate = torchaudio.load(batch["path"])
batch["speech"] = resampler(speech_array).squeeze().numpy()
return batch
test_dataset = test_dataset.map(speech_file_to_array_fn)
inputs = processor(test_dataset[:2]["speech"], sampling_rate=16_000, return_tensors="pt", padding=True)
with torch.no_grad():
logits = model(inputs.input_values, attention_mask=inputs.attention_mask).logits
predicted_ids = torch.argmax(logits, dim=-1)
print("Prediction:", processor.batch_decode(predicted_ids))
print("Reference:", test_dataset[:2]["sentence"])
```
## Evaluation
The model can be evaluated as follows on the Czech test data of Common Voice 6.1
```python
import torch
import torchaudio
from datasets import load_dataset, load_metric
from transformers import Wav2Vec2ForCTC, Wav2Vec2Processor
import re
test_dataset = load_dataset("common_voice", "cs", split="test")
wer = load_metric("wer")
processor = Wav2Vec2Processor.from_pretrained("comodoro/wav2vec2-xls-r-300m-cs")
model = Wav2Vec2ForCTC.from_pretrained("comodoro/wav2vec2-xls-r-300m-cs")
model.to("cuda")
chars_to_ignore_regex = '[\,\?\.\!\-\;\:\/\"\“\„\%\”\�\–\'\`\«\»\—\’\…]'
resampler = torchaudio.transforms.Resample(48_000, 16_000)
# Preprocessing the datasets.
# We need to read the aduio files as arrays
def speech_file_to_array_fn(batch):
batch["sentence"] = re.sub(chars_to_ignore_regex, '', batch["sentence"]).lower()
speech_array, sampling_rate = torchaudio.load(batch["path"])
batch["speech"] = resampler(speech_array).squeeze().numpy()
return batch
test_dataset = test_dataset.map(speech_file_to_array_fn)
# Preprocessing the datasets.
# We need to read the aduio files as arrays
def evaluate(batch):
inputs = processor(batch["speech"], sampling_rate=16_000, return_tensors="pt", padding=True)
with torch.no_grad():
logits = model(inputs.input_values.to("cuda"), attention_mask=inputs.attention_mask.to("cuda")).logits
pred_ids = torch.argmax(logits, dim=-1)
batch["pred_strings"] = processor.batch_decode(pred_ids)
return batch
result = test_dataset.map(evaluate, batched=True, batch_size=8)
print("WER: {:2f}".format(100 * wer.compute(predictions=result["pred_strings"], references=result["sentence"])))
```
**Test Result**: 22.20 %
## Training
The Common Voice `train` and `validation` datasets were used for training
# TODO The script used for training can be found [here](...)
|
{"language": ["cs"], "license": "apache-2.0", "tags": ["automatic-speech-recognition", "common_voice", "generated_from_trainer", "hf-asr-leaderboard", "robust-speech-event", "xlsr-fine-tuning-week"], "datasets": ["common_voice"], "model-index": [{"name": "Czech comodoro Wav2Vec2 XLSR 300M CV6.1", "results": [{"task": {"type": "automatic-speech-recognition", "name": "Automatic Speech Recognition"}, "dataset": {"name": "Common Voice 6.1", "type": "common_voice", "args": "cs"}, "metrics": [{"type": "wer", "value": 22.2, "name": "Test WER"}, {"type": "cer", "value": 5.1, "name": "Test CER"}]}, {"task": {"type": "automatic-speech-recognition", "name": "Automatic Speech Recognition"}, "dataset": {"name": "Robust Speech Event - Dev Data", "type": "speech-recognition-community-v2/dev_data", "args": "cs"}, "metrics": [{"type": "wer", "value": 66.78, "name": "Test WER"}]}, {"task": {"type": "automatic-speech-recognition", "name": "Automatic Speech Recognition"}, "dataset": {"name": "Robust Speech Event - Test Data", "type": "speech-recognition-community-v2/eval_data", "args": "cs"}, "metrics": [{"type": "wer", "value": 57.52, "name": "Test WER"}]}]}]}
|
automatic-speech-recognition
|
comodoro/wav2vec2-xls-r-300m-cs
|
[
"transformers",
"pytorch",
"wav2vec2",
"automatic-speech-recognition",
"common_voice",
"generated_from_trainer",
"hf-asr-leaderboard",
"robust-speech-event",
"xlsr-fine-tuning-week",
"cs",
"dataset:common_voice",
"license:apache-2.0",
"model-index",
"endpoints_compatible",
"region:us"
] |
2022-03-02T23:29:05+00:00
|
[] |
[
"cs"
] |
TAGS
#transformers #pytorch #wav2vec2 #automatic-speech-recognition #common_voice #generated_from_trainer #hf-asr-leaderboard #robust-speech-event #xlsr-fine-tuning-week #cs #dataset-common_voice #license-apache-2.0 #model-index #endpoints_compatible #region-us
|
# Wav2Vec2-Large-XLSR-53-Czech
Fine-tuned facebook/wav2vec2-large-xlsr-53 on Czech using the Common Voice dataset.
When using this model, make sure that your speech input is sampled at 16kHz.
## Usage
The model can be used directly (without a language model) as follows:
## Evaluation
The model can be evaluated as follows on the Czech test data of Common Voice 6.1
Test Result: 22.20 %
## Training
The Common Voice 'train' and 'validation' datasets were used for training
# TODO The script used for training can be found here
|
[
"# Wav2Vec2-Large-XLSR-53-Czech\n\nFine-tuned facebook/wav2vec2-large-xlsr-53 on Czech using the Common Voice dataset.\nWhen using this model, make sure that your speech input is sampled at 16kHz.",
"## Usage\n\nThe model can be used directly (without a language model) as follows:",
"## Evaluation\n\nThe model can be evaluated as follows on the Czech test data of Common Voice 6.1 \n\n\n\n\nTest Result: 22.20 %",
"## Training\n\nThe Common Voice 'train' and 'validation' datasets were used for training",
"# TODO The script used for training can be found here"
] |
[
"TAGS\n#transformers #pytorch #wav2vec2 #automatic-speech-recognition #common_voice #generated_from_trainer #hf-asr-leaderboard #robust-speech-event #xlsr-fine-tuning-week #cs #dataset-common_voice #license-apache-2.0 #model-index #endpoints_compatible #region-us \n",
"# Wav2Vec2-Large-XLSR-53-Czech\n\nFine-tuned facebook/wav2vec2-large-xlsr-53 on Czech using the Common Voice dataset.\nWhen using this model, make sure that your speech input is sampled at 16kHz.",
"## Usage\n\nThe model can be used directly (without a language model) as follows:",
"## Evaluation\n\nThe model can be evaluated as follows on the Czech test data of Common Voice 6.1 \n\n\n\n\nTest Result: 22.20 %",
"## Training\n\nThe Common Voice 'train' and 'validation' datasets were used for training",
"# TODO The script used for training can be found here"
] |
[
102,
65,
20,
27,
22,
12
] |
[
"passage: TAGS\n#transformers #pytorch #wav2vec2 #automatic-speech-recognition #common_voice #generated_from_trainer #hf-asr-leaderboard #robust-speech-event #xlsr-fine-tuning-week #cs #dataset-common_voice #license-apache-2.0 #model-index #endpoints_compatible #region-us \n# Wav2Vec2-Large-XLSR-53-Czech\n\nFine-tuned facebook/wav2vec2-large-xlsr-53 on Czech using the Common Voice dataset.\nWhen using this model, make sure that your speech input is sampled at 16kHz.## Usage\n\nThe model can be used directly (without a language model) as follows:## Evaluation\n\nThe model can be evaluated as follows on the Czech test data of Common Voice 6.1 \n\n\n\n\nTest Result: 22.20 %## Training\n\nThe Common Voice 'train' and 'validation' datasets were used for training# TODO The script used for training can be found here"
] |
[
-0.16551688313484192,
0.04814078286290169,
-0.0030185142531991005,
-0.023098519071936607,
0.07931403070688248,
-0.02906486950814724,
0.14703139662742615,
0.12457845360040665,
-0.0009098054724745452,
0.07116103172302246,
0.024854885414242744,
-0.04399501904845238,
0.054093021899461746,
0.041450995951890945,
0.024859290570020676,
-0.15963014960289001,
0.055530838668346405,
-0.002200337592512369,
0.04123183712363243,
0.07749970257282257,
0.11500031501054764,
-0.05771646648645401,
-0.045626118779182434,
0.0905042514204979,
-0.1336286962032318,
0.02997438982129097,
0.06045786663889885,
-0.09505400061607361,
0.1719631850719452,
0.03832210972905159,
0.043499305844306946,
0.004619112238287926,
0.08465003967285156,
-0.196218803524971,
0.006316749844700098,
0.006415724288672209,
-0.0024953100364655256,
0.02069440856575966,
0.07978871464729309,
-0.04113975167274475,
0.1754199117422104,
-0.025995295494794846,
-0.01452440582215786,
0.07683375477790833,
-0.028406206518411636,
-0.19918635487556458,
-0.03369671106338501,
0.0066913398914039135,
0.101598359644413,
0.11756690591573715,
-0.07383828610181808,
0.1268114149570465,
-0.12863601744174957,
0.10669589042663574,
0.05107145756483078,
-0.20051786303520203,
0.003659031353890896,
0.06211619824171066,
-0.015770748257637024,
0.08029419183731079,
-0.0639156922698021,
0.03465861454606056,
0.038727037608623505,
0.023650651797652245,
-0.03310368210077286,
0.006274616811424494,
-0.19125889241695404,
-0.032292358577251434,
-0.15223245322704315,
-0.03725426271557808,
0.22100067138671875,
0.0006092145922593772,
-0.02774549089372158,
-0.12704338133335114,
-0.011455245316028595,
-0.003387751756235957,
0.025249769911170006,
-0.01997540332376957,
-0.012963409535586834,
0.016275011003017426,
0.01364223938435316,
-0.008166326209902763,
-0.11928371340036392,
-0.12999512255191803,
0.06566442549228668,
0.040617767721414566,
0.01456772442907095,
-0.01094797719269991,
-0.02976137213408947,
0.09384354948997498,
-0.0825716033577919,
-0.07171990722417831,
0.02365756407380104,
0.09154480695724487,
-0.11216901987791061,
-0.013516021892428398,
-0.09680540859699249,
-0.16174457967281342,
0.08285732567310333,
-0.03172750025987625,
0.09153110533952713,
0.008543343283236027,
-0.08868963271379471,
0.036623530089855194,
0.004127295687794685,
0.15054957568645477,
-0.10474251955747604,
0.024825990200042725,
-0.006305900868028402,
-0.01968485862016678,
-0.000485691474750638,
-0.01672665774822235,
-0.11426138132810593,
-0.0970245748758316,
0.13235794007778168,
0.08348105102777481,
-0.05172787979245186,
-0.012010651640594006,
-0.028081141412258148,
0.003554444294422865,
-0.018292244523763657,
-0.1179262101650238,
0.0013594285119324923,
0.08016159385442734,
-0.005803292617201805,
0.09243016690015793,
-0.006859212182462215,
0.05237016826868057,
-0.11852361261844635,
0.0324612632393837,
0.023545539006590843,
0.07492858171463013,
-0.01223066821694374,
-0.1145189180970192,
0.05931615084409714,
-0.05851343646645546,
0.002211571205407381,
-0.028503967449069023,
0.0018006277969107032,
-0.07274852693080902,
-0.03817223012447357,
0.006408522836863995,
-0.004704646300524473,
-0.14792196452617645,
-0.04642343893647194,
0.013148517347872257,
-0.024789724498987198,
0.06550650298595428,
-0.03935690596699715,
0.05643304064869881,
-0.02150486223399639,
-0.000977376359514892,
0.03442610427737236,
0.03811824694275856,
-0.07402419298887253,
-0.0556347593665123,
0.0031667386647313833,
0.12736739218235016,
-0.06607318669557571,
-0.07158668339252472,
-0.061010003089904785,
-0.03685154393315315,
0.024747008457779884,
0.04132690653204918,
0.0679543986916542,
0.10155579447746277,
-0.2759171724319458,
-0.07754995673894882,
0.21406438946723938,
-0.13568276166915894,
0.0109640471637249,
0.23915432393550873,
-0.00896343495696783,
0.04924723133444786,
0.13886286318302155,
0.23173628747463226,
0.09620493650436401,
-0.17545807361602783,
-0.0312761627137661,
0.001609682571142912,
-0.011997794732451439,
0.00213210703805089,
0.07979366183280945,
-0.08270522207021713,
0.05165668576955795,
0.00388892344199121,
-0.08746816962957382,
0.03585199639201164,
-0.016288917511701584,
-0.05529337003827095,
-0.02240000292658806,
-0.039778709411621094,
0.03932289406657219,
0.01774263195693493,
-0.012666990980505943,
-0.07998377829790115,
-0.09894076734781265,
0.05864119902253151,
0.12513655424118042,
-0.13398578763008118,
0.07054047286510468,
-0.11174533516168594,
0.08531061559915543,
-0.12777939438819885,
-0.025091299787163734,
-0.1151764839887619,
0.14925988018512726,
0.010311879217624664,
0.024739379063248634,
0.04715479910373688,
0.18628531694412231,
0.021385986357927322,
0.0249569583684206,
-0.06885431706905365,
-0.012528411112725735,
-0.02568407729268074,
-0.006317665800452232,
-0.037185996770858765,
-0.1623743772506714,
0.0022404207848012447,
-0.051886651664972305,
0.20675885677337646,
-0.11317674815654755,
-0.003553958609700203,
0.16117143630981445,
0.07832437008619308,
-0.03945121914148331,
-0.018028872087597847,
0.030014514923095703,
0.08248785883188248,
0.021044990047812462,
-0.0002618284779600799,
0.013453819788992405,
0.02026110142469406,
-0.13339418172836304,
0.0884772539138794,
-0.1652376800775528,
-0.10124313086271286,
0.11909370124340057,
-0.0028648588340729475,
-0.0009652219014242291,
0.029728472232818604,
-0.017591353505849838,
-0.012743799015879631,
-0.027100013568997383,
-0.053267911076545715,
0.21527937054634094,
0.0012020658468827605,
0.06400159746408463,
-0.08660780638456345,
-0.021366063505411148,
0.034701213240623474,
-0.08252943307161331,
0.008458071388304234,
0.07270075380802155,
-0.022516969591379166,
-0.021142877638339996,
0.05223727971315384,
-0.0967925414443016,
-0.1000199019908905,
0.22733274102210999,
-0.0386626236140728,
-0.1271953135728836,
0.010784261859953403,
0.01104626152664423,
0.0046013579703867435,
0.1259629875421524,
-0.20211783051490784,
-0.04636239632964134,
0.024055074900388718,
0.059693917632102966,
0.08352809399366379,
-0.15990589559078217,
0.05465466529130936,
-0.015333295799791813,
-0.1384647637605667,
-0.11328604072332382,
0.05939038470387459,
-0.06418585777282715,
0.07609625905752182,
-0.07982362806797028,
-0.03760119900107384,
-0.0018595864530652761,
-0.06067422404885292,
-0.18083010613918304,
0.05907902494072914,
-0.13148242235183716,
-0.19680482149124146,
-0.1860542595386505,
0.076268769800663,
-0.006306962575763464,
0.0331060066819191,
0.0767647996544838,
-0.13991960883140564,
-0.006363020744174719,
-0.004402871243655682,
0.08785208314657211,
-0.028150858357548714,
-0.043048348277807236,
-0.057262223213911057,
0.03712828829884529,
0.07843838632106781,
-0.13345485925674438,
0.0085884565487504,
-0.03558926284313202,
-0.07229786366224289,
0.013735041953623295,
-0.0035623193252831697,
0.045013830065727234,
0.14326170086860657,
0.018220677971839905,
0.000388392130844295,
-0.03182695433497429,
0.08839498460292816,
-0.12954126298427582,
-0.032118380069732666,
0.11750569194555283,
-0.04870381951332092,
-0.05173425376415253,
0.08880683779716492,
0.01577434502542019,
-0.03352807089686394,
-0.027394553646445274,
-0.01388293132185936,
-0.02938723936676979,
-0.24555577337741852,
-0.15195196866989136,
-0.06283441931009293,
-0.0632573738694191,
-0.032736726105213165,
0.007779732346534729,
0.039856087416410446,
-0.028810963034629822,
-0.08801010996103287,
-0.1335047334432602,
0.05787389352917671,
0.004680655896663666,
0.12818193435668945,
0.007970600388944149,
0.05739247426390648,
-0.029894903302192688,
-0.016070736572146416,
0.010168131440877914,
0.015095551498234272,
0.06844965368509293,
0.03110555373132229,
0.13721506297588348,
0.020089492201805115,
0.15900668501853943,
0.041403066366910934,
0.07996214181184769,
-0.007361734751611948,
0.03420547395944595,
0.04015330597758293,
-0.06973370909690857,
-0.061764150857925415,
0.03342517465353012,
0.1441943645477295,
-0.031067635864019394,
-0.06823735684156418,
-0.000753118481952697,
0.08332713693380356,
0.22606410086154938,
0.08533548563718796,
-0.11436771601438522,
-0.10795174539089203,
-0.03596605360507965,
-0.05640964210033417,
-0.03627745434641838,
-0.0018529321532696486,
0.16837294399738312,
-0.13402539491653442,
0.03687824308872223,
0.009873353876173496,
0.0527772456407547,
0.022104257717728615,
0.044195808470249176,
-0.09687275439500809,
0.03614392876625061,
0.005284684710204601,
0.14151474833488464,
-0.3357279598712921,
0.20350749790668488,
0.027435654774308205,
0.13227543234825134,
-0.08143224567174911,
0.012532425113022327,
-0.005788458976894617,
0.024805113673210144,
0.11316324025392532,
0.02160525508224964,
0.03570013493299484,
-0.06262748688459396,
-0.11208819597959518,
0.04940333217382431,
0.012998632155358791,
0.0071771349757909775,
0.050259098410606384,
0.01613014191389084,
0.0015367368469014764,
0.024751810356974602,
-0.09861450642347336,
-0.05492312088608742,
-0.09166247397661209,
0.02971688285470009,
0.1163649782538414,
0.09510576725006104,
-0.014330139383673668,
-0.09808827936649323,
-0.13212734460830688,
0.04642273485660553,
-0.16712586581707,
-0.03389888256788254,
-0.05736731365323067,
0.012002367526292801,
0.12923304736614227,
-0.06194266676902771,
-0.02614573948085308,
0.086298868060112,
0.16120290756225586,
-0.056917455047369,
0.029006002470850945,
0.05563943088054657,
-0.0791439637541771,
-0.14769797027111053,
0.027115043252706528,
0.2621346116065979,
0.08617287874221802,
0.11051767319440842,
0.015287335030734539,
0.06547888368368149,
0.017971888184547424,
-0.013294103555381298,
0.04282303899526596,
0.10127482563257217,
-0.10654144734144211,
0.036883026361465454,
-0.018848780542612076,
-0.12608692049980164,
-0.1616804599761963,
-0.05772903189063072,
0.1908135563135147,
0.12794794142246246,
-0.0719505101442337,
0.17096377909183502,
0.1396370530128479,
-0.10108411312103271,
-0.18376249074935913,
0.023137137293815613,
0.08500853925943375,
0.13197888433933258,
-0.054241254925727844,
-0.1608542501926422,
0.030939122661948204,
0.01433471031486988,
-0.031997986137866974,
-0.11079242825508118,
-0.19626562297344208,
-0.1382654309272766,
0.10874748229980469,
-0.06111672520637512,
0.010663051158189774,
0.030297238379716873,
-0.0027732003945857286,
-0.03377858176827431,
0.046534620225429535,
-0.057519372552633286,
-0.09670378267765045,
0.07275588065385818,
0.04963383451104164,
0.08417844027280807,
0.08076857775449753,
-0.03902558609843254,
0.12761889398097992,
0.06659181416034698,
-0.030828924849629402,
-0.008150685578584671,
0.06963304430246353,
0.033265694975852966,
0.015876155346632004,
0.15321078896522522,
-0.11873103678226471,
0.003510531969368458,
-0.061795949935913086,
-0.07043992727994919,
-0.06039015203714371,
0.09630022197961807,
-0.02263529598712921,
-0.028415581211447716,
0.042778585106134415,
-0.028876345604658127,
0.030374936759471893,
-0.01097027026116848,
-0.03933502733707428,
-0.132523775100708,
0.04338768124580383,
0.06779530644416809,
0.2078516185283661,
-0.03938084840774536,
0.01795371249318123,
0.029767939820885658,
-0.014024049043655396,
0.103744737803936,
0.02696557529270649,
0.06251230835914612,
0.08966845273971558,
0.03407685458660126,
0.12177642434835434,
-0.014012353494763374,
-0.1415308266878128,
0.03495122864842415,
0.005951116792857647,
-0.10002359002828598,
-0.12465636432170868,
-0.01752178929746151,
-0.015742624178528786,
-0.022511322051286697,
0.022941285744309425,
0.14570346474647522,
-0.09180425852537155,
-0.016173919662833214,
-0.026067128404974937,
0.027278214693069458,
-0.12996186316013336,
0.1943754106760025,
0.005300146993249655,
0.07868922501802444,
-0.10472691059112549,
0.0218461025506258,
0.0012063926551491022,
-0.07853776216506958,
0.09893346577882767,
-0.05970051512122154,
-0.08821440488100052,
-0.03792661800980568,
0.02079620212316513,
0.1555299162864685,
0.045352503657341,
-0.1616835743188858,
-0.10554657876491547,
-0.09808426350355148,
-0.010833259671926498,
0.10525308549404144,
0.07366153597831726,
0.023782137781381607,
-0.09079957753419876,
-0.03693852573633194,
-0.15426471829414368,
0.0731402188539505,
0.0617048405110836,
-0.029203876852989197,
-0.09437493234872818,
0.24089789390563965,
0.03692159801721573,
-0.019753631204366684,
-0.0214153453707695,
-0.0342891626060009,
0.028863824903964996,
0.06426975876092911,
-0.0858604907989502,
-0.026109514757990837,
-0.03564945235848427,
0.01617482304573059,
0.007709513418376446,
-0.07002316415309906,
0.017332881689071655,
0.07963892817497253,
-0.08240117877721786,
0.049794428050518036,
-0.06054402142763138,
0.046470366418361664,
-0.08084625750780106,
0.04280422255396843,
0.010991192422807217,
-0.07547958940267563,
0.11250683665275574,
0.1529989391565323,
-0.06563545018434525,
0.1661284863948822,
-0.18620707094669342,
-0.029804328456521034,
0.04813637211918831,
0.07940353453159332,
-0.016730530187487602,
-0.09993578493595123,
0.005664139054715633,
0.09573081880807877,
0.03369072079658508,
-0.0006327605806291103,
0.08948654681444168,
-0.024576377123594284,
0.013801107183098793,
-0.03868865594267845,
-0.05063537135720253,
-0.04738091304898262,
0.08766506612300873,
0.06961176544427872,
0.11258494108915329,
0.17029233276844025,
-0.10887550562620163,
0.09763778746128082,
-0.08510438352823257,
0.008709502406418324,
-0.04796904698014259,
0.030368618667125702,
-0.19791358709335327,
-0.058269307017326355,
0.08804745227098465,
-0.05756595730781555,
0.08357661962509155,
-0.001249691704288125,
0.06264136731624603,
0.012757876887917519,
-0.09424275904893875,
0.0069325887598097324,
0.0009152892744168639,
0.1812911480665207,
0.019220830872654915,
0.03769715502858162,
-0.019302211701869965,
-0.0383257195353508,
-0.015999244526028633,
0.06848790496587753,
-0.02590342052280903,
0.09953486919403076,
0.062229134142398834,
0.06420934945344925,
0.1592768430709839,
-0.09412742406129837,
-0.04380924999713898,
0.0025616034399718046,
-0.11499819159507751,
-0.005169593263417482,
-0.04492519050836563,
0.22495907545089722,
0.13322722911834717,
-0.14238399267196655,
0.07205691933631897,
-0.005009924061596394,
-0.10773034393787384,
-0.12307221442461014,
-0.09114842116832733,
-0.06604588776826859,
-0.12309782207012177,
0.030369915068149567,
-0.08454404771327972,
0.009542674757540226,
0.013752260245382786,
0.055380117148160934,
-0.04978891834616661,
0.16587501764297485,
-0.016155490651726723,
-0.07018722593784332,
0.06462562829256058,
-0.05562763288617134,
0.03831100091338158,
-0.0763295441865921,
-0.011270123533904552,
0.15526093542575836,
0.047902971506118774,
0.07304615527391434,
0.0012249783612787724,
-0.011056412011384964,
-0.016993196681141853,
-0.08075037598609924,
-0.04337924346327782,
0.047772347927093506,
-0.04395671933889389,
0.0940522700548172,
0.1575247347354889,
0.11800006031990051,
-0.08085650205612183,
-0.01867358200252056,
0.1201864555478096,
-0.04394320026040077,
-0.16475576162338257,
-0.16389547288417816,
0.17128412425518036,
-0.0024859909899532795,
0.03232147544622421,
-0.004593638703227043,
-0.057774867862463,
0.031204387545585632,
0.14638112485408783,
0.19660259783267975,
0.077324777841568,
0.026578854769468307,
-0.05462402105331421,
-0.011260095052421093,
-0.0040274267084896564,
0.0032588227186352015,
0.03587251901626587,
0.10322510451078415,
-0.014791862107813358,
0.06115005165338516,
-0.10262886434793472,
-0.04777464643120766,
0.007668088190257549,
0.029831625521183014,
-0.09807482361793518,
-0.10568731278181076,
-0.011523001827299595,
0.15318788588047028,
0.04499984532594681,
-0.18039670586585999,
-0.14738093316555023,
-0.09273931384086609,
-0.09719795733690262,
0.03833695501089096,
0.0806744396686554,
0.08964177221059799,
0.031007062643766403,
-0.05916990339756012,
0.01983662135899067,
0.11003472656011581,
0.021855946630239487,
-0.016580117866396904,
-0.04140755161643028,
0.059387654066085815,
-0.14857470989227295,
0.016394570469856262,
0.01628643274307251,
0.16063740849494934,
0.058515649288892746,
0.11529333144426346,
-0.003289208048954606,
0.1302415430545807,
0.00191970681771636,
-0.09959395974874496,
0.05166574567556381,
0.15768249332904816,
-0.028991902247071266,
0.11233364045619965,
0.047506753355264664,
-0.14473161101341248,
0.060622669756412506,
-0.14383463561534882,
-0.006660439074039459,
-0.06092245876789093,
0.11580242961645126,
-0.04260169342160225,
0.08664455264806747,
0.1461687684059143,
-0.06926331669092178,
-0.019279098138213158,
-0.07343831658363342,
0.01705557480454445,
0.029068289324641228,
-0.01653418317437172,
-0.015917036682367325,
-0.2801584303379059,
0.02970912680029869,
-0.07966054230928421,
-0.05117872357368469,
-0.12798988819122314,
-0.04138156771659851,
0.010074411518871784,
-0.08414437621831894,
-0.010594096966087818,
0.04014687240123749,
0.03254882991313934,
0.020269345492124557,
-0.009038540534675121,
0.039131131023168564,
0.05882059782743454,
0.1243419349193573,
-0.13119849562644958,
-0.08577342331409454
] |
null | null |
transformers
|
# Upper Sorbian wav2vec2-xls-r-300m-hsb-cv8
This model is a fine-tuned version of [facebook/wav2vec2-xls-r-300m](https://huggingface.co/facebook/wav2vec2-xls-r-300m) on the common_voice dataset.
It achieves the following results on the evaluation set:
- Loss: 0.9643
- Wer: 0.5037
- Cer: 0.1278
## Evaluation
The model can be evaluated using the attached `eval.py` script:
```
python eval.py --model_id comodoro/wav2vec2-xls-r-300m-hsb-cv8 --dataset mozilla-foundation/common-voice_8_0 --split test --config hsb
```
### Training hyperparameters
The following hyperparameters were used during training:
- learning_rate: 0.0001
- train_batch_size: 16
- eval_batch_size: 8
- seed: 42
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- lr_scheduler_warmup_steps: 200
- num_epochs: 500
- mixed_precision_training: Native AMP
### Training results
| Training Loss | Epoch | Step | Validation Loss | Wer | Cer |
|:-------------:|:------:|:-----:|:---------------:|:------:|:------:|
| 4.3121 | 19.35 | 1200 | 3.2059 | 1.0 | 1.0 |
| 2.6525 | 38.71 | 2400 | 1.1324 | 0.9387 | 0.3204 |
| 1.3644 | 58.06 | 3600 | 0.8767 | 0.8099 | 0.2271 |
| 1.093 | 77.42 | 4800 | 0.8739 | 0.7603 | 0.2090 |
| 0.9546 | 96.77 | 6000 | 0.8454 | 0.6983 | 0.1882 |
| 0.8554 | 116.13 | 7200 | 0.8197 | 0.6484 | 0.1708 |
| 0.775 | 135.48 | 8400 | 0.8452 | 0.6345 | 0.1681 |
| 0.7167 | 154.84 | 9600 | 0.8551 | 0.6241 | 0.1631 |
| 0.6609 | 174.19 | 10800 | 0.8442 | 0.5821 | 0.1531 |
| 0.616 | 193.55 | 12000 | 0.8892 | 0.5864 | 0.1527 |
| 0.5815 | 212.9 | 13200 | 0.8839 | 0.5772 | 0.1503 |
| 0.55 | 232.26 | 14400 | 0.8905 | 0.5665 | 0.1436 |
| 0.5173 | 251.61 | 15600 | 0.8995 | 0.5471 | 0.1417 |
| 0.4969 | 270.97 | 16800 | 0.8633 | 0.5325 | 0.1334 |
| 0.4803 | 290.32 | 18000 | 0.9074 | 0.5253 | 0.1352 |
| 0.4596 | 309.68 | 19200 | 0.9159 | 0.5146 | 0.1294 |
| 0.4415 | 329.03 | 20400 | 0.9055 | 0.5189 | 0.1314 |
| 0.434 | 348.39 | 21600 | 0.9435 | 0.5208 | 0.1314 |
| 0.4199 | 367.74 | 22800 | 0.9199 | 0.5136 | 0.1290 |
| 0.4008 | 387.1 | 24000 | 0.9342 | 0.5174 | 0.1303 |
| 0.4051 | 406.45 | 25200 | 0.9436 | 0.5132 | 0.1292 |
| 0.3861 | 425.81 | 26400 | 0.9417 | 0.5084 | 0.1283 |
| 0.3738 | 445.16 | 27600 | 0.9573 | 0.5079 | 0.1299 |
| 0.3768 | 464.52 | 28800 | 0.9682 | 0.5062 | 0.1289 |
| 0.3647 | 483.87 | 30000 | 0.9643 | 0.5037 | 0.1278 |
### Framework versions
- Transformers 4.16.0.dev0
- Pytorch 1.10.1+cu102
- Datasets 1.18.3
- Tokenizers 0.11.0
|
{"language": ["hsb"], "license": "apache-2.0", "tags": ["automatic-speech-recognition", "mozilla-foundation/common_voice_8_0", "generated_from_trainer", "robust-speech-event", "xlsr-fine-tuning-week", "hf-asr-leaderboard"], "datasets": ["common_voice"], "model-index": [{"name": "Upper Sorbian comodoro Wav2Vec2 XLSR 300M CV8", "results": [{"task": {"type": "automatic-speech-recognition", "name": "Automatic Speech Recognition"}, "dataset": {"name": "Common Voice 8", "type": "mozilla-foundation/common_voice_8_0", "args": "hsb"}, "metrics": [{"type": "wer", "value": 56.3, "name": "Test WER"}, {"type": "cer", "value": 14.3, "name": "Test CER"}]}]}]}
|
automatic-speech-recognition
|
comodoro/wav2vec2-xls-r-300m-hsb-cv8
|
[
"transformers",
"pytorch",
"wav2vec2",
"automatic-speech-recognition",
"mozilla-foundation/common_voice_8_0",
"generated_from_trainer",
"robust-speech-event",
"xlsr-fine-tuning-week",
"hf-asr-leaderboard",
"hsb",
"dataset:common_voice",
"license:apache-2.0",
"model-index",
"endpoints_compatible",
"region:us"
] |
2022-03-02T23:29:05+00:00
|
[] |
[
"hsb"
] |
TAGS
#transformers #pytorch #wav2vec2 #automatic-speech-recognition #mozilla-foundation/common_voice_8_0 #generated_from_trainer #robust-speech-event #xlsr-fine-tuning-week #hf-asr-leaderboard #hsb #dataset-common_voice #license-apache-2.0 #model-index #endpoints_compatible #region-us
|
Upper Sorbian wav2vec2-xls-r-300m-hsb-cv8
=========================================
This model is a fine-tuned version of facebook/wav2vec2-xls-r-300m on the common\_voice dataset.
It achieves the following results on the evaluation set:
* Loss: 0.9643
* Wer: 0.5037
* Cer: 0.1278
Evaluation
----------
The model can be evaluated using the attached 'URL' script:
### Training hyperparameters
The following hyperparameters were used during training:
* learning\_rate: 0.0001
* train\_batch\_size: 16
* eval\_batch\_size: 8
* seed: 42
* optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
* lr\_scheduler\_type: linear
* lr\_scheduler\_warmup\_steps: 200
* num\_epochs: 500
* mixed\_precision\_training: Native AMP
### Training results
### Framework versions
* Transformers 4.16.0.dev0
* Pytorch 1.10.1+cu102
* Datasets 1.18.3
* Tokenizers 0.11.0
|
[
"### Training hyperparameters\n\n\nThe following hyperparameters were used during training:\n\n\n* learning\\_rate: 0.0001\n* train\\_batch\\_size: 16\n* eval\\_batch\\_size: 8\n* seed: 42\n* optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08\n* lr\\_scheduler\\_type: linear\n* lr\\_scheduler\\_warmup\\_steps: 200\n* num\\_epochs: 500\n* mixed\\_precision\\_training: Native AMP",
"### Training results",
"### Framework versions\n\n\n* Transformers 4.16.0.dev0\n* Pytorch 1.10.1+cu102\n* Datasets 1.18.3\n* Tokenizers 0.11.0"
] |
[
"TAGS\n#transformers #pytorch #wav2vec2 #automatic-speech-recognition #mozilla-foundation/common_voice_8_0 #generated_from_trainer #robust-speech-event #xlsr-fine-tuning-week #hf-asr-leaderboard #hsb #dataset-common_voice #license-apache-2.0 #model-index #endpoints_compatible #region-us \n",
"### Training hyperparameters\n\n\nThe following hyperparameters were used during training:\n\n\n* learning\\_rate: 0.0001\n* train\\_batch\\_size: 16\n* eval\\_batch\\_size: 8\n* seed: 42\n* optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08\n* lr\\_scheduler\\_type: linear\n* lr\\_scheduler\\_warmup\\_steps: 200\n* num\\_epochs: 500\n* mixed\\_precision\\_training: Native AMP",
"### Training results",
"### Framework versions\n\n\n* Transformers 4.16.0.dev0\n* Pytorch 1.10.1+cu102\n* Datasets 1.18.3\n* Tokenizers 0.11.0"
] |
[
114,
130,
4,
40
] |
[
"passage: TAGS\n#transformers #pytorch #wav2vec2 #automatic-speech-recognition #mozilla-foundation/common_voice_8_0 #generated_from_trainer #robust-speech-event #xlsr-fine-tuning-week #hf-asr-leaderboard #hsb #dataset-common_voice #license-apache-2.0 #model-index #endpoints_compatible #region-us \n### Training hyperparameters\n\n\nThe following hyperparameters were used during training:\n\n\n* learning\\_rate: 0.0001\n* train\\_batch\\_size: 16\n* eval\\_batch\\_size: 8\n* seed: 42\n* optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08\n* lr\\_scheduler\\_type: linear\n* lr\\_scheduler\\_warmup\\_steps: 200\n* num\\_epochs: 500\n* mixed\\_precision\\_training: Native AMP### Training results### Framework versions\n\n\n* Transformers 4.16.0.dev0\n* Pytorch 1.10.1+cu102\n* Datasets 1.18.3\n* Tokenizers 0.11.0"
] |
[
-0.13198454678058624,
0.13516613841056824,
-0.004361500032246113,
0.025127556174993515,
0.11132480949163437,
0.0139637915417552,
0.11219241470098495,
0.1346822828054428,
-0.04576706141233444,
0.117979034781456,
0.0825866237282753,
0.07777107506990433,
0.08486161381006241,
0.14959202706813812,
-0.01830395683646202,
-0.27168089151382446,
0.03649494796991348,
-0.03609957918524742,
-0.08766328543424606,
0.09490426629781723,
0.08083556592464447,
-0.09287800639867783,
0.0293426550924778,
0.005352654028683901,
-0.09170205891132355,
-0.005136622581630945,
-0.050980813801288605,
-0.06078043207526207,
0.08561109006404877,
0.02685442380607128,
0.017113076522946358,
0.03371145576238632,
0.08689440041780472,
-0.2689308226108551,
0.009557517245411873,
0.05180533230304718,
0.03079761564731598,
0.04975510388612747,
0.1005747839808464,
0.004596151877194643,
0.08113347738981247,
-0.07192530483007431,
0.03705193102359772,
0.05802413821220398,
-0.08930449187755585,
-0.19802828133106232,
-0.09158068895339966,
0.024068934842944145,
0.1143658459186554,
0.10031697154045105,
-0.04199168086051941,
0.03918926790356636,
-0.10648655146360397,
0.07560791820287704,
0.21951675415039062,
-0.2077561318874359,
-0.0585147850215435,
-0.048164550215005875,
0.01920466497540474,
0.04542790725827217,
-0.09461522102355957,
-0.010194532573223114,
0.021103285253047943,
0.01497349888086319,
0.06972344219684601,
0.012149534188210964,
0.0007038001203909516,
-0.010368370451033115,
-0.1416493058204651,
-0.04143652319908142,
0.15373587608337402,
0.0859958827495575,
-0.0017881239764392376,
-0.10744380205869675,
-0.018261948600411415,
-0.15889489650726318,
-0.057274628430604935,
0.025216730311512947,
0.02809627540409565,
-0.03274315595626831,
-0.049256835132837296,
0.043903253972530365,
-0.034718070179224014,
-0.06466134637594223,
0.059519220143556595,
0.12020746618509293,
0.046067170798778534,
-0.042232245206832886,
-0.007646157871931791,
0.06855747103691101,
0.07379097491502762,
-0.16378262639045715,
-0.026959655806422234,
0.047612372785806656,
-0.0959077849984169,
0.00415918231010437,
-0.006549696903675795,
0.05261806771159172,
0.06871754676103592,
0.1412353217601776,
0.0063009257428348064,
0.09555406123399734,
0.028328754007816315,
0.005715914536267519,
-0.05998963862657547,
0.13619396090507507,
-0.06649105995893478,
-0.07895365357398987,
-0.03845340758562088,
0.11462407559156418,
-0.007969999685883522,
-0.022212650626897812,
-0.060254696756601334,
0.03957973048090935,
0.0910220816731453,
0.054570477455854416,
-0.0025651464238762856,
0.010368376038968563,
-0.05318059027194977,
-0.017450295388698578,
-0.012777349911630154,
-0.13972358405590057,
0.04150581732392311,
0.06348630785942078,
-0.06189834326505661,
0.021922288462519646,
-0.033532146364450455,
0.015701565891504288,
-0.04865798354148865,
0.09302818030118942,
-0.059621457010507584,
0.0004946985864080489,
-0.061482902616262436,
-0.0785457119345665,
0.05381247401237488,
-0.07682070881128311,
-0.00863738264888525,
-0.06248178705573082,
-0.07414111495018005,
-0.07604498416185379,
0.021614784374833107,
-0.05832845717668533,
-0.07503540068864822,
-0.10175179690122604,
-0.09466680139303207,
0.05384689196944237,
-0.03119276650249958,
0.14587901532649994,
-0.06974132359027863,
0.07890315353870392,
0.013703281991183758,
0.0472259558737278,
0.08361294120550156,
0.08288197219371796,
-0.01596399024128914,
0.04680153355002403,
-0.08644630759954453,
0.11636703461408615,
-0.11746247112751007,
0.05496320500969887,
-0.11666949093341827,
-0.08589834719896317,
-0.03685285151004791,
0.014533565379679203,
0.08796560019254684,
0.13663028180599213,
-0.17847925424575806,
-0.11052972078323364,
0.18033841252326965,
-0.03370369225740433,
-0.08245862275362015,
0.13037681579589844,
-0.005937452893704176,
-0.054261885583400726,
0.035671867430210114,
0.20980185270309448,
0.10140897333621979,
-0.09016266465187073,
-0.02638106793165207,
-0.05460570752620697,
0.1126427873969078,
0.016703926026821136,
0.07936449348926544,
-0.047943755984306335,
0.050720397382974625,
0.00732951145619154,
-0.02090177685022354,
0.06066490709781647,
-0.08075997233390808,
-0.08181370049715042,
-0.009001018479466438,
-0.07794716209173203,
-0.019914235919713974,
0.04459662735462189,
0.009110461920499802,
-0.07067397981882095,
-0.10722840577363968,
-0.0003761871194001287,
0.10139412432909012,
-0.10112705826759338,
0.022392725571990013,
-0.07678501307964325,
0.05362778529524803,
0.007066772785037756,
0.0039374628104269505,
-0.14127983152866364,
-0.012041608802974224,
0.03711368888616562,
-0.03671272099018097,
0.018787264823913574,
-0.0399521104991436,
0.04937730357050896,
0.02191627211868763,
-0.014324888586997986,
-0.05721177160739899,
-0.041470713913440704,
0.00007083426316967234,
-0.05563943088054657,
-0.22802205383777618,
-0.0612015575170517,
-0.02326587401330471,
0.2093970626592636,
-0.1900307834148407,
0.0021180135663598776,
0.04097452014684677,
0.13168492913246155,
0.010062924586236477,
-0.056625641882419586,
0.01650175265967846,
0.0679062232375145,
-0.009136526845395565,
-0.07606191188097,
0.018707938492298126,
0.0003965316282119602,
-0.08940227329730988,
0.018860116600990295,
-0.13607846200466156,
0.05343117564916611,
0.09750183671712875,
0.028759634122252464,
-0.043973539024591446,
0.0018360697431489825,
-0.056255701929330826,
-0.05548166111111641,
-0.05037612468004227,
-0.012503469362854958,
0.13775251805782318,
0.012809873558580875,
0.09594360738992691,
-0.06781023740768433,
-0.045697592198848724,
0.037216298282146454,
0.02049458958208561,
-0.010797437280416489,
0.16172856092453003,
0.08746858686208725,
-0.02128480188548565,
0.10329679399728775,
-0.004635448567569256,
-0.041562486439943314,
0.17043955624103546,
-0.0697699710726738,
-0.10019677132368088,
-0.009104369208216667,
0.007420790381729603,
0.01499855611473322,
0.09801512211561203,
-0.17428943514823914,
-0.034847475588321686,
0.025376033037900925,
0.03265594691038132,
0.030583493411540985,
-0.17932841181755066,
-0.001650528865866363,
0.012829900719225407,
-0.09379254281520844,
-0.03293101117014885,
0.009830884635448456,
-0.00888121034950018,
0.08378788828849792,
0.011092952452600002,
-0.0867348164319992,
-0.030840065330266953,
-0.04428169131278992,
-0.11746413260698318,
0.15047959983348846,
-0.09715502709150314,
-0.1509833037853241,
-0.10493077337741852,
-0.02602601796388626,
-0.01239713467657566,
-0.02387816645205021,
0.05851062387228012,
-0.11179475486278534,
-0.043782491236925125,
-0.06745133548974991,
-0.010987791232764721,
-0.034955888986587524,
0.01760375313460827,
0.05090509355068207,
0.0029069180600345135,
0.04838806763291359,
-0.09513577073812485,
0.008896064013242722,
-0.02734140120446682,
-0.0046497550792992115,
-0.0004889105912297964,
0.003682785201817751,
0.09905899316072464,
0.16989780962467194,
0.07503979653120041,
0.05550075322389603,
-0.015169210731983185,
0.20581980049610138,
-0.1361561268568039,
-0.01467939093708992,
0.08622623980045319,
0.018667802214622498,
0.042302243411540985,
0.14854218065738678,
0.046714406460523605,
-0.07972729951143265,
0.014276665635406971,
0.04435761272907257,
-0.022840037941932678,
-0.23486420512199402,
-0.05113200470805168,
-0.08822539448738098,
-0.044357314705848694,
0.09031527489423752,
0.04748841002583504,
-0.0014910480240359902,
0.004431236069649458,
-0.02588075026869774,
-0.019287582486867905,
0.03812354803085327,
0.035778578370809555,
0.05732661113142967,
0.05570926517248154,
0.09723499417304993,
-0.012995614670217037,
-0.03105734847486019,
0.022934360429644585,
-0.02090652473270893,
0.2407546490430832,
0.027244070544838905,
0.17182773351669312,
0.045692771673202515,
0.1487913280725479,
0.003575366921722889,
0.03587273508310318,
0.024258935824036598,
0.006349261850118637,
0.03661087527871132,
-0.052661195397377014,
-0.02214071713387966,
0.036564599722623825,
0.12242547422647476,
-0.007740910165011883,
-0.09277043491601944,
0.03636132553219795,
0.023787356913089752,
0.35672885179519653,
0.0823194831609726,
-0.2747156620025635,
-0.048166558146476746,
0.006561832502484322,
-0.08034539222717285,
-0.025834036991000175,
0.03541373088955879,
0.09762424230575562,
-0.07239619642496109,
0.0826338604092598,
-0.02686908468604088,
0.09777621179819107,
-0.06289933621883392,
-0.000993593828752637,
0.06324341148138046,
0.09504242241382599,
0.006193832494318485,
0.05284895747900009,
-0.2685904800891876,
0.25825223326683044,
-0.016279898583889008,
0.1021430715918541,
-0.05043797194957733,
0.029808294028043747,
0.04231029003858566,
-0.03845257684588432,
0.07528983801603317,
0.0065103317610919476,
-0.1199423149228096,
-0.14285169541835785,
-0.11702721565961838,
0.01785198599100113,
0.11055506765842438,
-0.047349713742733,
0.10654141008853912,
-0.02275753766298294,
-0.04684269428253174,
0.03497057780623436,
-0.06553740054368973,
-0.13791868090629578,
-0.10565114766359329,
0.059211473912000656,
0.06584788113832474,
0.07946760952472687,
-0.0690721645951271,
-0.10068286955356598,
-0.08270585536956787,
0.09931597858667374,
-0.12317715585231781,
-0.014973727986216545,
-0.1340065598487854,
0.046296145766973495,
0.15032252669334412,
-0.06439938396215439,
0.02779300883412361,
0.042794208973646164,
0.13703127205371857,
0.028974467888474464,
-0.028378216549754143,
0.09895821660757065,
-0.0821002796292305,
-0.1910926103591919,
-0.04319572076201439,
0.17476221919059753,
0.05526960268616676,
0.0695178359746933,
-0.021436654031276703,
0.03169681876897812,
-0.002863293746486306,
-0.06715980917215347,
0.0946754664182663,
0.07371979206800461,
-0.01279949489980936,
0.05358364060521126,
-0.03587746247649193,
-0.007129462901502848,
-0.0968516543507576,
-0.06542588025331497,
0.10211613029241562,
0.231009379029274,
-0.06688210368156433,
0.06884070485830307,
0.05079248920083046,
-0.05970403179526329,
-0.16264134645462036,
-0.015900960192084312,
0.12193794548511505,
0.041881442070007324,
-0.03156203776597977,
-0.22328124940395355,
0.046624619513750076,
0.08082392811775208,
-0.020673127844929695,
0.09050530195236206,
-0.3292219638824463,
-0.13155801594257355,
0.09389302134513855,
0.025361856445670128,
0.008365641348063946,
-0.14590001106262207,
-0.06712924689054489,
-0.03372834250330925,
-0.11748520284891129,
0.04636755958199501,
-0.02710326761007309,
0.12428402155637741,
0.008843299001455307,
0.05006789043545723,
0.0020557756070047617,
-0.03817935660481453,
0.1334942728281021,
0.06818012148141861,
0.012306497432291508,
-0.006120028905570507,
0.014095325954258442,
-0.024287646636366844,
-0.06455045193433762,
0.02410799264907837,
-0.07139461487531662,
0.011838618665933609,
-0.13827502727508545,
-0.027302417904138565,
-0.08868474513292313,
0.01308563631027937,
-0.02898120880126953,
0.007282250560820103,
-0.006799410097301006,
0.02977873757481575,
0.10371334105730057,
0.028826147317886353,
0.10547152161598206,
-0.06484032422304153,
0.0985400527715683,
0.06968607753515244,
0.12211055308580399,
-0.04535849019885063,
-0.09365861862897873,
-0.032047294080257416,
-0.0005142476875334978,
0.03703238070011139,
-0.07043007016181946,
0.04285120218992233,
0.13320834934711456,
0.05182691290974617,
0.14600545167922974,
0.06008028984069824,
-0.08523747324943542,
0.0034592021256685257,
0.05361562222242355,
-0.0748453363776207,
-0.15377065539360046,
-0.014128253795206547,
0.0025757327675819397,
-0.11707250773906708,
-0.004598692990839481,
0.10652987658977509,
-0.032658036798238754,
-0.004987108521163464,
0.002268793061375618,
0.058359239250421524,
-0.037626560777425766,
0.23204226791858673,
0.03317716717720032,
0.08695074170827866,
-0.11520981788635254,
0.0775175392627716,
0.039092954248189926,
-0.0841611921787262,
0.05581040307879448,
0.12058804929256439,
-0.0600135400891304,
-0.01920836605131626,
0.01237283181399107,
0.09374435245990753,
0.044303856790065765,
-0.06797989457845688,
-0.10714185982942581,
-0.15894368290901184,
0.11145107448101044,
0.07728753238916397,
0.008771740831434727,
0.03004441037774086,
-0.023673053830862045,
0.024053821340203285,
-0.09807345271110535,
0.08384321630001068,
0.10373850911855698,
0.05805521830916405,
-0.11186254024505615,
0.08734934777021408,
0.010222066193819046,
0.014113806188106537,
-0.004921633284538984,
-0.0171574167907238,
-0.10458621382713318,
0.03593071550130844,
-0.09269773215055466,
-0.0033435167279094458,
-0.07331540435552597,
-0.008832544088363647,
0.008587553165853024,
-0.06117228791117668,
-0.0693005695939064,
0.02941189520061016,
-0.11130686849355698,
-0.048805560916662216,
-0.03802202641963959,
0.07543577998876572,
-0.09818358719348907,
0.003934034612029791,
0.025423318147659302,
-0.1350705325603485,
0.09000586718320847,
0.07432282716035843,
-0.009004556573927402,
0.015330924652516842,
-0.09175501763820648,
-0.051125649362802505,
0.029543288052082062,
0.013366401195526123,
0.043811362236738205,
-0.16813524067401886,
-0.015469608828425407,
-0.01153484545648098,
0.026668205857276917,
-0.009477990679442883,
-0.0035784326028078794,
-0.10999453812837601,
-0.004068506415933371,
-0.06847210973501205,
-0.052574556320905685,
-0.04740392044186592,
0.05779579281806946,
0.09861376136541367,
0.02298802323639393,
0.1450270116329193,
-0.07968029379844666,
0.054604265838861465,
-0.20149371027946472,
0.006428575608879328,
-0.008916626684367657,
-0.07149362564086914,
-0.031930647790431976,
-0.01570609211921692,
0.11622554808855057,
-0.05254132300615311,
0.09365225583314896,
-0.024316908791661263,
0.01977548561990261,
0.024615038186311722,
-0.10607719421386719,
-0.0032976672518998384,
0.05523233860731125,
0.17992262542247772,
0.06997854262590408,
-0.022500712424516678,
0.07601224631071091,
-0.028364378958940506,
0.06076330691576004,
0.1305665820837021,
0.1717081069946289,
0.1391722559928894,
0.09802847355604172,
0.0995670035481453,
0.09305698424577713,
-0.14489299058914185,
-0.11026860028505325,
0.15075072646141052,
-0.08619482070207596,
0.14172260463237762,
-0.020322324708104134,
0.19198469817638397,
0.09751877188682556,
-0.17733116447925568,
0.06083228066563606,
-0.042264338582754135,
-0.0850350633263588,
-0.12198612838983536,
-0.07154718786478043,
-0.08403045684099197,
-0.17374736070632935,
0.030549153685569763,
-0.10506924986839294,
0.07001884281635284,
0.0828176736831665,
0.04713089391589165,
0.04521084576845169,
0.08102496713399887,
0.063814677298069,
-0.001381549285724759,
0.12340947985649109,
-0.013652361929416656,
-0.024203088134527206,
-0.06718087196350098,
-0.09998717159032822,
0.06174378842115402,
-0.023945286870002747,
0.07910049706697464,
-0.03652775287628174,
-0.10809443145990372,
0.06821736693382263,
0.007288873661309481,
-0.10460028797388077,
0.02788550965487957,
-0.029405834153294563,
0.051253825426101685,
0.07788756489753723,
0.052951935678720474,
-0.024837613105773926,
0.0026466259732842445,
0.18247374892234802,
-0.08081207424402237,
-0.060348208993673325,
-0.1285107582807541,
0.1463654637336731,
0.014714369550347328,
-0.0039020278491079807,
0.018080007284879684,
-0.07678443938493729,
-0.02638738788664341,
0.17667333781719208,
0.1454022079706192,
-0.018866898491978645,
-0.026573963463306427,
0.006627945229411125,
-0.0051839156076312065,
-0.02684072218835354,
0.07062898576259613,
0.11649205535650253,
0.09075163304805756,
-0.027699865400791168,
-0.03226352483034134,
-0.03328726813197136,
-0.08250517398118973,
-0.04934169352054596,
0.0709473192691803,
0.01607382483780384,
-0.022773198783397675,
-0.02542213164269924,
0.11155316233634949,
-0.08699958771467209,
-0.1409105658531189,
0.015387017279863358,
-0.1506553590297699,
-0.1816144436597824,
-0.03276960551738739,
0.041307657957077026,
0.06373127549886703,
0.04873347282409668,
-0.003775638062506914,
-0.03982355073094368,
0.12342803925275803,
0.005143741145730019,
-0.045354634523391724,
-0.08814416080713272,
0.06425148993730545,
-0.12266464531421661,
0.1626078486442566,
-0.045391183346509933,
0.03886156901717186,
0.10482454299926758,
0.07971637696027756,
-0.08213161677122116,
0.03783261403441429,
0.08008375018835068,
-0.11961062252521515,
0.050734058022499084,
0.19620990753173828,
-0.05537375062704086,
0.10795476287603378,
0.047454021871089935,
-0.09522213786840439,
0.004810478072613478,
-0.04987073689699173,
-0.02919827215373516,
-0.06659145653247833,
-0.0072536347433924675,
-0.04073132947087288,
0.1367342323064804,
0.1787484735250473,
-0.08047187328338623,
-0.016816673800349236,
-0.032202210277318954,
0.0081359026953578,
0.006389197893440723,
0.11128422617912292,
-0.04479829594492912,
-0.2825031280517578,
0.011712039820849895,
-0.022016966715455055,
0.019805312156677246,
-0.19356659054756165,
-0.0716942772269249,
0.004215331748127937,
-0.0638241320848465,
-0.0548408105969429,
0.11248846352100372,
0.08059952408075333,
0.040798451751470566,
-0.06551066786050797,
-0.11781221628189087,
-0.011427384801208973,
0.19608503580093384,
-0.1823766678571701,
-0.05870332568883896
] |
null | null |
transformers
|
# wav2vec2-xls-r-300m-pl-cv8
This model is a fine-tuned version of [facebook/wav2vec2-xls-r-300m](https://huggingface.co/facebook/wav2vec2-xls-r-300m) on the common_voice 8.0 dataset.
It achieves the following results on the evaluation set while training:
- Loss: 0.1716
- Wer: 0.1697
- Cer: 0.0385
The `eval.py` script results are:
WER: 0.16970531733661967
CER: 0.03839135416519316
## Model description
Fine-tuned [facebook/wav2vec2-large-xlsr-53](https://huggingface.co/facebook/wav2vec2-large-xlsr-53) on Polish using the [Common Voice](https://huggingface.co/datasets/common_voice) dataset.
When using this model, make sure that your speech input is sampled at 16kHz.
The model can be used directly (without a language model) as follows:
```python
import torch
import torchaudio
from datasets import load_dataset
from transformers import Wav2Vec2ForCTC, Wav2Vec2Processor
test_dataset = load_dataset("mozilla-foundation/common_voice_8_0", "pl", split="test[:2%]")
processor = Wav2Vec2Processor.from_pretrained("comodoro/wav2vec2-xls-r-300m-pl-cv8")
model = Wav2Vec2ForCTC.from_pretrained("comodoro/wav2vec2-xls-r-300m-pl-cv8")
resampler = torchaudio.transforms.Resample(48_000, 16_000)
# Preprocessing the datasets.
# We need to read the aduio files as arrays
def speech_file_to_array_fn(batch):
speech_array, sampling_rate = torchaudio.load(batch["path"])
batch["speech"] = resampler(speech_array).squeeze().numpy()
return batch
test_dataset = test_dataset.map(speech_file_to_array_fn)
inputs = processor(test_dataset[:2]["speech"], sampling_rate=16_000, return_tensors="pt", padding=True)
with torch.no_grad():
logits = model(inputs.input_values, attention_mask=inputs.attention_mask).logits
predicted_ids = torch.argmax(logits, dim=-1)
print("Prediction:", processor.batch_decode(predicted_ids))
print("Reference:", test_dataset[:2]["sentence"])
```
## Evaluation
The model can be evaluated using the attached `eval.py` script:
```
python eval.py --model_id comodoro/wav2vec2-xls-r-300m-pl-cv8 --dataset mozilla-foundation/common-voice_8_0 --split test --config pl
```
## Training and evaluation data
The Common Voice 8.0 `train` and `validation` datasets were used for training
## Training procedure
### Training hyperparameters
The following hyperparameters were used:
- learning_rate: 1e-4
- train_batch_size: 32
- eval_batch_size: 8
- seed: 42
- gradient_accumulation_steps: 1
- total_train_batch_size: 640
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- lr_scheduler_warmup_steps: 500
- num_epochs: 150
- mixed_precision_training: Native AMP
The training was interrupted after 3250 steps.
### Framework versions
- Transformers 4.16.0.dev0
- Pytorch 1.10.1+cu102
- Datasets 1.17.1.dev0
- Tokenizers 0.11.0
|
{"language": ["pl"], "license": "apache-2.0", "tags": ["automatic-speech-recognition", "mozilla-foundation/common_voice_8_0", "robust-speech-event", "xlsr-fine-tuning-week", "hf-asr-leaderboard"], "datasets": ["common_voice"], "model-index": [{"name": "Polish comodoro Wav2Vec2 XLSR 300M CV8", "results": [{"task": {"type": "automatic-speech-recognition", "name": "Automatic Speech Recognition"}, "dataset": {"name": "Common Voice 8", "type": "mozilla-foundation/common_voice_8_0", "args": "pl"}, "metrics": [{"type": "wer", "value": 17.0, "name": "Test WER"}, {"type": "cer", "value": 3.8, "name": "Test CER"}]}, {"task": {"type": "automatic-speech-recognition", "name": "Automatic Speech Recognition"}, "dataset": {"name": "Robust Speech Event - Dev Data", "type": "speech-recognition-community-v2/dev_data", "args": "pl"}, "metrics": [{"type": "wer", "value": 38.97, "name": "Test WER"}]}, {"task": {"type": "automatic-speech-recognition", "name": "Automatic Speech Recognition"}, "dataset": {"name": "Robust Speech Event - Test Data", "type": "speech-recognition-community-v2/eval_data", "args": "pl"}, "metrics": [{"type": "wer", "value": 46.05, "name": "Test WER"}]}]}]}
|
automatic-speech-recognition
|
comodoro/wav2vec2-xls-r-300m-pl-cv8
|
[
"transformers",
"pytorch",
"wav2vec2",
"automatic-speech-recognition",
"mozilla-foundation/common_voice_8_0",
"robust-speech-event",
"xlsr-fine-tuning-week",
"hf-asr-leaderboard",
"pl",
"dataset:common_voice",
"license:apache-2.0",
"model-index",
"endpoints_compatible",
"region:us"
] |
2022-03-02T23:29:05+00:00
|
[] |
[
"pl"
] |
TAGS
#transformers #pytorch #wav2vec2 #automatic-speech-recognition #mozilla-foundation/common_voice_8_0 #robust-speech-event #xlsr-fine-tuning-week #hf-asr-leaderboard #pl #dataset-common_voice #license-apache-2.0 #model-index #endpoints_compatible #region-us
|
# wav2vec2-xls-r-300m-pl-cv8
This model is a fine-tuned version of facebook/wav2vec2-xls-r-300m on the common_voice 8.0 dataset.
It achieves the following results on the evaluation set while training:
- Loss: 0.1716
- Wer: 0.1697
- Cer: 0.0385
The 'URL' script results are:
WER: 0.16970531733661967
CER: 0.03839135416519316
## Model description
Fine-tuned facebook/wav2vec2-large-xlsr-53 on Polish using the Common Voice dataset.
When using this model, make sure that your speech input is sampled at 16kHz.
The model can be used directly (without a language model) as follows:
## Evaluation
The model can be evaluated using the attached 'URL' script:
## Training and evaluation data
The Common Voice 8.0 'train' and 'validation' datasets were used for training
## Training procedure
### Training hyperparameters
The following hyperparameters were used:
- learning_rate: 1e-4
- train_batch_size: 32
- eval_batch_size: 8
- seed: 42
- gradient_accumulation_steps: 1
- total_train_batch_size: 640
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- lr_scheduler_warmup_steps: 500
- num_epochs: 150
- mixed_precision_training: Native AMP
The training was interrupted after 3250 steps.
### Framework versions
- Transformers 4.16.0.dev0
- Pytorch 1.10.1+cu102
- Datasets 1.17.1.dev0
- Tokenizers 0.11.0
|
[
"# wav2vec2-xls-r-300m-pl-cv8\n\nThis model is a fine-tuned version of facebook/wav2vec2-xls-r-300m on the common_voice 8.0 dataset.\nIt achieves the following results on the evaluation set while training:\n- Loss: 0.1716\n- Wer: 0.1697\n- Cer: 0.0385\n\nThe 'URL' script results are:\nWER: 0.16970531733661967\nCER: 0.03839135416519316",
"## Model description\n\nFine-tuned facebook/wav2vec2-large-xlsr-53 on Polish using the Common Voice dataset.\nWhen using this model, make sure that your speech input is sampled at 16kHz.\n\n\nThe model can be used directly (without a language model) as follows:",
"## Evaluation\n\nThe model can be evaluated using the attached 'URL' script:",
"## Training and evaluation data\n\nThe Common Voice 8.0 'train' and 'validation' datasets were used for training",
"## Training procedure",
"### Training hyperparameters\n\nThe following hyperparameters were used:\n\n- learning_rate: 1e-4\n- train_batch_size: 32\n- eval_batch_size: 8\n- seed: 42\n- gradient_accumulation_steps: 1\n- total_train_batch_size: 640\n- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08\n- lr_scheduler_type: linear\n- lr_scheduler_warmup_steps: 500\n- num_epochs: 150\n- mixed_precision_training: Native AMP\n\nThe training was interrupted after 3250 steps.",
"### Framework versions\n\n- Transformers 4.16.0.dev0\n- Pytorch 1.10.1+cu102\n- Datasets 1.17.1.dev0\n- Tokenizers 0.11.0"
] |
[
"TAGS\n#transformers #pytorch #wav2vec2 #automatic-speech-recognition #mozilla-foundation/common_voice_8_0 #robust-speech-event #xlsr-fine-tuning-week #hf-asr-leaderboard #pl #dataset-common_voice #license-apache-2.0 #model-index #endpoints_compatible #region-us \n",
"# wav2vec2-xls-r-300m-pl-cv8\n\nThis model is a fine-tuned version of facebook/wav2vec2-xls-r-300m on the common_voice 8.0 dataset.\nIt achieves the following results on the evaluation set while training:\n- Loss: 0.1716\n- Wer: 0.1697\n- Cer: 0.0385\n\nThe 'URL' script results are:\nWER: 0.16970531733661967\nCER: 0.03839135416519316",
"## Model description\n\nFine-tuned facebook/wav2vec2-large-xlsr-53 on Polish using the Common Voice dataset.\nWhen using this model, make sure that your speech input is sampled at 16kHz.\n\n\nThe model can be used directly (without a language model) as follows:",
"## Evaluation\n\nThe model can be evaluated using the attached 'URL' script:",
"## Training and evaluation data\n\nThe Common Voice 8.0 'train' and 'validation' datasets were used for training",
"## Training procedure",
"### Training hyperparameters\n\nThe following hyperparameters were used:\n\n- learning_rate: 1e-4\n- train_batch_size: 32\n- eval_batch_size: 8\n- seed: 42\n- gradient_accumulation_steps: 1\n- total_train_batch_size: 640\n- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08\n- lr_scheduler_type: linear\n- lr_scheduler_warmup_steps: 500\n- num_epochs: 150\n- mixed_precision_training: Native AMP\n\nThe training was interrupted after 3250 steps.",
"### Framework versions\n\n- Transformers 4.16.0.dev0\n- Pytorch 1.10.1+cu102\n- Datasets 1.17.1.dev0\n- Tokenizers 0.11.0"
] |
[
105,
110,
68,
17,
27,
3,
149,
41
] |
[
"passage: TAGS\n#transformers #pytorch #wav2vec2 #automatic-speech-recognition #mozilla-foundation/common_voice_8_0 #robust-speech-event #xlsr-fine-tuning-week #hf-asr-leaderboard #pl #dataset-common_voice #license-apache-2.0 #model-index #endpoints_compatible #region-us \n# wav2vec2-xls-r-300m-pl-cv8\n\nThis model is a fine-tuned version of facebook/wav2vec2-xls-r-300m on the common_voice 8.0 dataset.\nIt achieves the following results on the evaluation set while training:\n- Loss: 0.1716\n- Wer: 0.1697\n- Cer: 0.0385\n\nThe 'URL' script results are:\nWER: 0.16970531733661967\nCER: 0.03839135416519316## Model description\n\nFine-tuned facebook/wav2vec2-large-xlsr-53 on Polish using the Common Voice dataset.\nWhen using this model, make sure that your speech input is sampled at 16kHz.\n\n\nThe model can be used directly (without a language model) as follows:## Evaluation\n\nThe model can be evaluated using the attached 'URL' script:## Training and evaluation data\n\nThe Common Voice 8.0 'train' and 'validation' datasets were used for training## Training procedure### Training hyperparameters\n\nThe following hyperparameters were used:\n\n- learning_rate: 1e-4\n- train_batch_size: 32\n- eval_batch_size: 8\n- seed: 42\n- gradient_accumulation_steps: 1\n- total_train_batch_size: 640\n- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08\n- lr_scheduler_type: linear\n- lr_scheduler_warmup_steps: 500\n- num_epochs: 150\n- mixed_precision_training: Native AMP\n\nThe training was interrupted after 3250 steps."
] |
[
-0.12744306027889252,
0.08399603515863419,
-0.004200180526822805,
0.028775125741958618,
0.09589245915412903,
0.010567535646259785,
0.10559014230966568,
0.09576327353715897,
0.04702793434262276,
0.09532365202903748,
0.038237717002630234,
-0.012000401504337788,
0.0632203072309494,
0.13309365510940552,
0.0011636486742645502,
-0.1971254050731659,
0.05606871098279953,
-0.08036014437675476,
0.04118606820702553,
0.07629802823066711,
0.09733819961547852,
-0.04443447291851044,
0.02727268449962139,
0.047023601830005646,
-0.04367182031273842,
0.007912283763289452,
0.02348027378320694,
-0.0305439792573452,
0.0912766307592392,
0.11361672729253769,
0.042094796895980835,
0.032119885087013245,
0.050886835902929306,
-0.23787890374660492,
0.01697486825287342,
0.10704131424427032,
-0.017913155257701874,
0.024830490350723267,
0.11028721183538437,
-0.009353384375572205,
0.1438182294368744,
-0.017946375533938408,
0.04080012068152428,
0.09651127457618713,
-0.10913823544979095,
-0.1744183450937271,
-0.09468916058540344,
0.10250625014305115,
0.14026381075382233,
0.11317414045333862,
-0.0728786289691925,
0.021373549476265907,
-0.042226217687129974,
0.05904093384742737,
0.07159701734781265,
-0.20418494939804077,
-0.04225762560963631,
0.010921209119260311,
0.021672818809747696,
0.005403075832873583,
-0.073203444480896,
0.028518378734588623,
0.01760074868798256,
0.009138558991253376,
0.019831452518701553,
-0.013275419361889362,
0.01939305290579796,
-0.05936441197991371,
-0.13240055739879608,
-0.03575927019119263,
0.108877994120121,
0.07701285928487778,
-0.07652397453784943,
-0.1581476777791977,
-0.007761264685541391,
0.050368133932352066,
-0.0314786471426487,
-0.02255968376994133,
-0.004428229760378599,
0.03549402207136154,
0.01303940825164318,
-0.06020021066069603,
-0.07385139167308807,
-0.03305298462510109,
0.07137039303779602,
0.07402404397726059,
-0.004409639164805412,
-0.007714480627328157,
-0.06257273256778717,
0.07192263007164001,
-0.07879530638456345,
-0.08574046939611435,
-0.04422193393111229,
-0.02460296079516411,
-0.16377301514148712,
-0.05330386012792587,
-0.056408967822790146,
-0.0385129377245903,
0.002975356997922063,
0.16479793190956116,
0.04374402016401291,
0.09607173502445221,
-0.03385881334543228,
0.02209872007369995,
-0.00545462453737855,
0.14029891788959503,
-0.0763423815369606,
-0.10578718781471252,
-0.02028518170118332,
0.08845063298940659,
-0.019570242613554,
-0.0359804593026638,
-0.04398852214217186,
-0.003835053648799658,
0.01926632784307003,
0.05260169133543968,
0.034640174359083176,
0.03588202968239784,
-0.07624286413192749,
-0.03166868910193443,
0.04225193336606026,
-0.10817641019821167,
0.035407353192567825,
0.07081569731235504,
-0.03179694339632988,
0.026786984875798225,
0.05240967124700546,
0.0069593568332493305,
-0.06278912723064423,
0.04754309728741646,
-0.04021042585372925,
-0.0034739896655082703,
-0.036471668630838394,
-0.07519842684268951,
0.02405441552400589,
0.03633558377623558,
-0.055506326258182526,
-0.09357845038175583,
-0.0854792520403862,
-0.10329359024763107,
0.054707083851099014,
-0.05447186902165413,
0.0034629537258297205,
-0.042054273188114166,
-0.018808513879776,
0.042089834809303284,
-0.01689516380429268,
0.024043899029493332,
-0.03313056379556656,
0.011894047260284424,
-0.02013281360268593,
0.02369564399123192,
0.0847754180431366,
0.03494752198457718,
-0.030775608494877815,
0.027620989829301834,
-0.12087031453847885,
0.1428355574607849,
-0.07889110594987869,
-0.02378779649734497,
-0.10426760464906693,
-0.017888611182570457,
-0.008118673227727413,
0.04398179426789284,
0.07552070915699005,
0.12164218723773956,
-0.23215164244174957,
-0.07173459976911545,
0.18760667741298676,
-0.11277125775814056,
-0.06948351860046387,
0.17254610359668732,
-0.021769240498542786,
0.04978987202048302,
0.06784266233444214,
0.14786390960216522,
0.16206200420856476,
-0.15725022554397583,
-0.008958765305578709,
-0.03859236463904381,
0.0007228194153867662,
0.12077099829912186,
0.024892928078770638,
-0.1023235097527504,
0.01834050565958023,
-0.010131525807082653,
-0.07203025370836258,
0.01609320566058159,
-0.02089775539934635,
-0.04928154870867729,
0.0006056160200387239,
-0.045682474970817566,
0.033091187477111816,
-0.016268353909254074,
-0.07443754374980927,
-0.053374726325273514,
-0.12436588108539581,
0.027407996356487274,
0.11418753117322922,
-0.053005144000053406,
0.023479705676436424,
-0.10976506769657135,
0.05047961324453354,
0.019334763288497925,
0.015649696812033653,
-0.16804805397987366,
-0.06032270938158035,
-0.013734377920627594,
-0.09023751318454742,
0.03756096959114075,
0.03229470178484917,
0.023622630164027214,
0.015591174364089966,
-0.020149050280451775,
-0.03777819126844406,
-0.07025381922721863,
-0.0037016940768808126,
-0.05800871178507805,
-0.12103304266929626,
-0.09884575009346008,
-0.04701525717973709,
0.2017677277326584,
-0.23429594933986664,
0.0024635042063891888,
0.08102291077375412,
0.09622812271118164,
0.003643737407401204,
-0.05907450243830681,
0.01401993352919817,
0.02722437120974064,
0.030483976006507874,
-0.0675230473279953,
0.044589072465896606,
0.05072849988937378,
-0.0834488719701767,
0.0533648282289505,
-0.15401753783226013,
-0.08875665813684464,
0.05354372039437294,
0.03374288231134415,
-0.09791076928377151,
-0.004622980952262878,
-0.02378068119287491,
-0.01585407182574272,
-0.09661116451025009,
-0.07814761251211166,
0.2170264720916748,
0.07953526079654694,
0.11726654320955276,
-0.06535368412733078,
-0.01244725938886404,
0.023920655250549316,
-0.04296410456299782,
-0.03299037367105484,
0.09169529378414154,
0.047312118113040924,
-0.11041460931301117,
0.009319358505308628,
0.016729062423110008,
0.008373081684112549,
0.19705943763256073,
0.009598607197403908,
-0.07602967321872711,
-0.05034594237804413,
0.004765994381159544,
0.01900259591639042,
0.07872860878705978,
-0.11303552240133286,
-0.006393906660377979,
0.008828433230519295,
0.050648875534534454,
0.0452173613011837,
-0.11090149730443954,
0.03281658515334129,
0.05515029653906822,
-0.07575587183237076,
-0.04519978165626526,
0.0445965901017189,
-0.003858908312395215,
0.06057778000831604,
-0.0003132907149847597,
-0.03721275553107262,
-0.016731608659029007,
-0.06664346903562546,
-0.1488163322210312,
0.15453888475894928,
-0.07705891877412796,
-0.25038444995880127,
-0.13679586350917816,
0.008962388150393963,
-0.060611795634031296,
-0.0034327986650168896,
0.04786431044340134,
-0.09331831336021423,
-0.05932552367448807,
-0.07801556587219238,
0.03349490836262703,
0.011792844161391258,
-0.030683236196637154,
0.02974943071603775,
0.0042229946702718735,
0.10713285207748413,
-0.1029195711016655,
-0.004245353396981955,
-0.022937685251235962,
-0.0381121002137661,
-0.03624928742647171,
0.014707726426422596,
0.03544626757502556,
0.13491509854793549,
0.047954194247722626,
0.04074690863490105,
-0.003606579964980483,
0.23325815796852112,
-0.1141035258769989,
0.06153912842273712,
0.19595828652381897,
0.006138738244771957,
0.06106792017817497,
0.09129918366670609,
0.010377549566328526,
-0.10666806995868683,
0.02634604275226593,
0.06622347235679626,
-0.04061652719974518,
-0.19062606990337372,
-0.09990690648555756,
-0.05014287680387497,
-0.023646144196391106,
0.09527885168790817,
0.012839441187679768,
-0.025885092094540596,
0.0023663844913244247,
-0.046571314334869385,
-0.07553388178348541,
0.07011102885007858,
0.05430424585938454,
0.06141941249370575,
0.027133649215102196,
0.09440166503190994,
-0.017957406118512154,
0.07224561274051666,
0.07222515344619751,
-0.03719215467572212,
0.12963569164276123,
0.060993775725364685,
0.08930766582489014,
0.08510307222604752,
0.07185404747724533,
-0.006384759210050106,
0.004957293160259724,
-0.02326449751853943,
-0.01910831779241562,
0.021489165723323822,
-0.06926457583904266,
-0.03157668188214302,
0.05476859211921692,
0.05447438731789589,
-0.08447600156068802,
-0.1183842271566391,
0.04299826920032501,
0.05396324396133423,
0.2166764736175537,
0.09816397726535797,
-0.17718975245952606,
-0.07961692661046982,
-0.019490964710712433,
-0.059812333434820175,
-0.06419312953948975,
-0.006136053241789341,
0.11070471256971359,
-0.13194981217384338,
0.06887467205524445,
-0.023786315694451332,
0.09684828668832779,
-0.06405762583017349,
0.02512791007757187,
0.08183488249778748,
0.07270536571741104,
-0.004065850283950567,
0.03909969702363014,
-0.15486635267734528,
0.16146507859230042,
0.0104645024985075,
0.09187888354063034,
-0.023640817031264305,
0.03748742863535881,
0.038585539907217026,
0.032834652811288834,
0.11440068483352661,
0.028142865747213364,
-0.052727844566106796,
-0.10553077608346939,
-0.038381483405828476,
-0.0006194392335601151,
0.08490599691867828,
-0.05206795036792755,
0.08153436332941055,
-0.031264349818229675,
-0.001828616950660944,
-0.008001059293746948,
0.08758210390806198,
-0.16717444360256195,
-0.14439116418361664,
0.05124041065573692,
0.062356848269701004,
0.06630364060401917,
-0.06756705045700073,
-0.0425097830593586,
-0.057403940707445145,
0.18883273005485535,
-0.07551180571317673,
-0.02676212601363659,
-0.12996278703212738,
0.005163048394024372,
0.10219409316778183,
-0.07307911664247513,
0.019306393340229988,
0.027658993378281593,
0.18367525935173035,
-0.0386044904589653,
-0.04510032758116722,
0.06519193202257156,
-0.12679114937782288,
-0.15922869741916656,
-0.032346513122320175,
0.1534157544374466,
0.08111745119094849,
0.023979321122169495,
0.06697756052017212,
0.005099596921354532,
0.03011596016585827,
-0.10228327661752701,
0.023545794188976288,
0.050369832664728165,
-0.04115475341677666,
0.01873389072716236,
0.008117644116282463,
-0.07662086188793182,
-0.10521495342254639,
-0.01651960425078869,
0.050593677908182144,
0.2177530974149704,
-0.06280841678380966,
0.10173694044351578,
0.12482127547264099,
-0.08599384129047394,
-0.14862388372421265,
0.013462341390550137,
0.0896681547164917,
0.05401984974741936,
0.006943113170564175,
-0.1842818409204483,
0.030815523117780685,
0.06605133414268494,
-0.01572793535888195,
-0.023340879008173943,
-0.29355236887931824,
-0.14496850967407227,
0.08172480762004852,
-0.013200527057051659,
-0.021925151348114014,
-0.051976773887872696,
-0.04109110310673714,
-0.06427275389432907,
-0.06347989290952682,
0.04193687066435814,
-0.12389004975557327,
0.07877954095602036,
0.07032153010368347,
0.04080977290868759,
0.03952653333544731,
-0.01306023821234703,
0.1285770982503891,
0.06658940017223358,
0.026202227920293808,
-0.017032740637660027,
0.08323966711759567,
-0.005488231778144836,
-0.08147318661212921,
0.08432050794363022,
-0.04111989215016365,
0.030247678980231285,
-0.16020257771015167,
-0.053274113684892654,
-0.08507655560970306,
0.04067651554942131,
-0.06150953844189644,
-0.012080106884241104,
0.02788929082453251,
0.0659627616405487,
0.07116372138261795,
0.01243785209953785,
-0.09817614406347275,
-0.1311233937740326,
0.014217211864888668,
0.1668020784854889,
0.12495986372232437,
-0.03508944809436798,
-0.16339105367660522,
-0.0010188543237745762,
-0.00538257509469986,
0.07474873214960098,
-0.06391764432191849,
0.07258717715740204,
0.04661116749048233,
0.017399245873093605,
0.1697506457567215,
0.0008718450553715229,
-0.10954256355762482,
0.010234657675027847,
0.03855820745229721,
-0.08107726275920868,
-0.11328934133052826,
-0.00882537942379713,
0.04148275405168533,
-0.09484737366437912,
-0.03533622995018959,
0.18305085599422455,
-0.002644397784024477,
0.003964551258832216,
-0.011485558934509754,
0.030364207923412323,
-0.04076533764600754,
0.13308332860469818,
-0.004021777771413326,
0.08789029717445374,
-0.058585744351148605,
0.09405646473169327,
0.02232235297560692,
-0.07784417271614075,
0.06724712252616882,
0.06726386398077011,
-0.09568091481924057,
-0.057029277086257935,
-0.10246644169092178,
0.07356574386358261,
-0.014154648408293724,
-0.06504443287849426,
-0.02798624336719513,
-0.07927583903074265,
0.03979240357875824,
0.11192609369754791,
0.011601228266954422,
0.016429008916020393,
-0.050256259739398956,
-0.053105540573596954,
-0.09556738287210464,
0.042447227984666824,
0.11094853281974792,
-0.02462242729961872,
-0.07340090721845627,
0.12907570600509644,
0.022766627371311188,
-0.019789716228842735,
-0.0013734796084463596,
-0.03141891583800316,
-0.09885746240615845,
0.023918963968753815,
-0.166116401553154,
-0.0179265346378088,
-0.039238184690475464,
-0.004441494587808847,
-0.00815314706414938,
0.0016366381896659732,
-0.011806691996753216,
0.03515428304672241,
-0.0681673213839531,
-0.055302586406469345,
-0.010541306808590889,
0.0663963258266449,
-0.12609368562698364,
0.02875545434653759,
0.052271343767642975,
-0.11204533278942108,
0.10620305687189102,
0.02760785073041916,
-0.009331434033811092,
0.01756805181503296,
-0.1018456295132637,
-0.004358731210231781,
-0.04372737184166908,
0.01303472276777029,
0.02639039419591427,
-0.16588610410690308,
0.021149560809135437,
-0.03271648287773132,
-0.0037056379951536655,
0.011370928026735783,
0.05180690810084343,
-0.08973068743944168,
0.02845291793346405,
0.024809369817376137,
-0.01889895647764206,
-0.0406356006860733,
0.060777660459280014,
0.05513672158122063,
0.0759844183921814,
0.14086122810840607,
-0.10239577293395996,
0.07333870977163315,
-0.17229530215263367,
-0.012156082317233086,
0.00849917996674776,
0.05093784257769585,
0.04702133312821388,
-0.056308597326278687,
0.09492731094360352,
-0.04857650026679039,
0.05765924230217934,
-0.0050248862244188786,
0.10601497441530228,
0.04830630123615265,
-0.11880061775445938,
-0.04178132861852646,
0.021148093044757843,
0.06319934874773026,
0.02098981663584709,
0.03170111030340195,
0.04130525141954422,
-0.020701248198747635,
0.026718849316239357,
0.09346276521682739,
0.13760103285312653,
0.15901875495910645,
0.07986296713352203,
0.051489219069480896,
0.06905578821897507,
-0.09899421781301498,
-0.10458885133266449,
-0.0008610554505139589,
-0.11852023750543594,
0.09996677935123444,
-0.08154211938381195,
0.05910950154066086,
0.11413656920194626,
-0.1475292295217514,
0.09103298932313919,
-0.018212074413895607,
-0.0818929448723793,
-0.09854336082935333,
-0.17122170329093933,
-0.039915263652801514,
-0.09188724309206009,
0.024226278066635132,
-0.08947668969631195,
0.06220255419611931,
0.03106651082634926,
0.036868978291749954,
-0.009168519638478756,
0.10921425372362137,
-0.08327539265155792,
-0.09156709909439087,
0.12229157239198685,
-0.027760036289691925,
0.01711653545498848,
0.03477698937058449,
-0.034946322441101074,
0.05718221887946129,
0.0018338788067921996,
0.056537408381700516,
0.037338726222515106,
0.010019637644290924,
0.0266251303255558,
0.006808123085647821,
-0.0796319916844368,
0.0025282069109380245,
-0.02579076960682869,
0.05450733006000519,
0.14099155366420746,
0.08030829578638077,
-0.030150510370731354,
-0.029038378968834877,
0.17686377465724945,
-0.0610925555229187,
-0.05525652691721916,
-0.18406498432159424,
0.13101626932621002,
-0.012096981517970562,
0.028651222586631775,
-0.05429664999246597,
-0.07199321687221527,
0.014564292505383492,
0.1977941393852234,
0.09568766504526138,
-0.05320756882429123,
0.01770700328052044,
-0.029231660068035126,
-0.003155874088406563,
-0.0017257475992664695,
0.0867457315325737,
0.03312715142965317,
0.1036997139453888,
0.00947345606982708,
0.07023566961288452,
-0.010448113083839417,
-0.08546198159456253,
0.0010242147836834192,
0.1385347694158554,
-0.05137164145708084,
0.017570070922374725,
-0.04743447154760361,
0.11978248506784439,
-0.015177613124251366,
-0.21222543716430664,
0.008983775041997433,
-0.05420955643057823,
-0.1271582543849945,
-0.007258198224008083,
0.0002717302122619003,
0.03691127896308899,
0.12436853349208832,
0.0017012777971103787,
-0.04743083193898201,
0.1695541888475418,
-0.022253217175602913,
0.01758100651204586,
-0.15194062888622284,
0.017704704776406288,
-0.09212078154087067,
0.19494308531284332,
0.00593387708067894,
0.028671834617853165,
0.10352125018835068,
0.0582125224173069,
-0.10972772538661957,
0.05790546536445618,
0.02931896224617958,
-0.06028270348906517,
0.0278368778526783,
0.13509811460971832,
-0.045260388404130936,
0.16683514416217804,
0.06898316740989685,
-0.1733013391494751,
0.027604863047599792,
-0.04472154751420021,
-0.014036457985639572,
-0.0768686905503273,
0.0681447833776474,
-0.05372154340147972,
0.13442343473434448,
0.18223229050636292,
-0.07202492654323578,
-0.03492104262113571,
-0.03138469532132149,
0.044366925954818726,
0.0047627040185034275,
0.08694735914468765,
-0.04875863716006279,
-0.18009324371814728,
0.04999332129955292,
-0.002467745216563344,
0.009815076366066933,
-0.20063602924346924,
-0.08095458894968033,
0.06178486347198486,
-0.03820759057998657,
0.040121499449014664,
0.1337902545928955,
0.030801046639680862,
0.03238943591713905,
-0.031010445207357407,
-0.027309464290738106,
0.0270023662596941,
0.1556910127401352,
-0.10493993759155273,
-0.07121068984270096
] |
null | null |
transformers
|
# wav2vec2-xls-r-300m-cs-cv8
This model is a fine-tuned version of [facebook/wav2vec2-xls-r-300m](https://huggingface.co/facebook/wav2vec2-xls-r-300m) on the common_voice 8.0 dataset.
It achieves the following results on the evaluation set:
- WER: 0.49575384615384616
- CER: 0.13333333333333333
## Usage
The model can be used directly (without a language model) as follows:
```python
import torch
import torchaudio
from datasets import load_dataset
from transformers import Wav2Vec2ForCTC, Wav2Vec2Processor
test_dataset = load_dataset("mozilla-foundation/common_voice_8_0", "sk", split="test[:2%]")
processor = Wav2Vec2Processor.from_pretrained("comodoro/wav2vec2-xls-r-300m-sk-cv8")
model = Wav2Vec2ForCTC.from_pretrained("comodoro/wav2vec2-xls-r-300m-sk-cv8")
resampler = torchaudio.transforms.Resample(48_000, 16_000)
# Preprocessing the datasets.
# We need to read the aduio files as arrays
def speech_file_to_array_fn(batch):
speech_array, sampling_rate = torchaudio.load(batch["path"])
batch["speech"] = resampler(speech_array).squeeze().numpy()
return batch
test_dataset = test_dataset.map(speech_file_to_array_fn)
inputs = processor(test_dataset[:2]["speech"], sampling_rate=16_000, return_tensors="pt", padding=True)
with torch.no_grad():
logits = model(inputs.input_values, attention_mask=inputs.attention_mask).logits
predicted_ids = torch.argmax(logits, dim=-1)
print("Prediction:", processor.batch_decode(predicted_ids))
print("Reference:", test_dataset[:2]["sentence"])
```
## Evaluation
The model can be evaluated using the attached `eval.py` script:
```
python eval.py --model_id comodoro/wav2vec2-xls-r-300m-sk-cv8 --dataset mozilla-foundation/common_voice_8_0 --split test --config sk
```
## Training and evaluation data
The Common Voice 8.0 `train` and `validation` datasets were used for training
### Training hyperparameters
The following hyperparameters were used during training:
- learning_rate: 7e-4
- train_batch_size: 32
- eval_batch_size: 8
- seed: 42
- gradient_accumulation_steps: 20
- total_train_batch_size: 640
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- lr_scheduler_warmup_steps: 500
- num_epochs: 50
- mixed_precision_training: Native AMP
### Framework versions
- Transformers 4.16.0.dev0
- Pytorch 1.10.1+cu102
- Datasets 1.17.1.dev0
- Tokenizers 0.11.0
|
{"language": ["sk"], "license": "apache-2.0", "tags": ["automatic-speech-recognition", "mozilla-foundation/common_voice_8_0", "robust-speech-event", "xlsr-fine-tuning-week", "hf-asr-leaderboard"], "datasets": ["common_voice"], "model-index": [{"name": "Slovak comodoro Wav2Vec2 XLSR 300M CV8", "results": [{"task": {"type": "automatic-speech-recognition", "name": "Automatic Speech Recognition"}, "dataset": {"name": "Common Voice 8", "type": "mozilla-foundation/common_voice_8_0", "args": "sk"}, "metrics": [{"type": "wer", "value": 49.6, "name": "Test WER"}, {"type": "cer", "value": 13.3, "name": "Test CER"}]}, {"task": {"type": "automatic-speech-recognition", "name": "Automatic Speech Recognition"}, "dataset": {"name": "Robust Speech Event - Dev Data", "type": "speech-recognition-community-v2/dev_data", "args": "sk"}, "metrics": [{"type": "wer", "value": 81.7, "name": "Test WER"}]}, {"task": {"type": "automatic-speech-recognition", "name": "Automatic Speech Recognition"}, "dataset": {"name": "Robust Speech Event - Test Data", "type": "speech-recognition-community-v2/eval_data", "args": "sk"}, "metrics": [{"type": "wer", "value": 80.26, "name": "Test WER"}]}]}]}
|
automatic-speech-recognition
|
comodoro/wav2vec2-xls-r-300m-sk-cv8
|
[
"transformers",
"pytorch",
"wav2vec2",
"automatic-speech-recognition",
"mozilla-foundation/common_voice_8_0",
"robust-speech-event",
"xlsr-fine-tuning-week",
"hf-asr-leaderboard",
"sk",
"dataset:common_voice",
"license:apache-2.0",
"model-index",
"endpoints_compatible",
"region:us"
] |
2022-03-02T23:29:05+00:00
|
[] |
[
"sk"
] |
TAGS
#transformers #pytorch #wav2vec2 #automatic-speech-recognition #mozilla-foundation/common_voice_8_0 #robust-speech-event #xlsr-fine-tuning-week #hf-asr-leaderboard #sk #dataset-common_voice #license-apache-2.0 #model-index #endpoints_compatible #region-us
|
# wav2vec2-xls-r-300m-cs-cv8
This model is a fine-tuned version of facebook/wav2vec2-xls-r-300m on the common_voice 8.0 dataset.
It achieves the following results on the evaluation set:
- WER: 0.49575384615384616
- CER: 0.13333333333333333
## Usage
The model can be used directly (without a language model) as follows:
## Evaluation
The model can be evaluated using the attached 'URL' script:
## Training and evaluation data
The Common Voice 8.0 'train' and 'validation' datasets were used for training
### Training hyperparameters
The following hyperparameters were used during training:
- learning_rate: 7e-4
- train_batch_size: 32
- eval_batch_size: 8
- seed: 42
- gradient_accumulation_steps: 20
- total_train_batch_size: 640
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- lr_scheduler_warmup_steps: 500
- num_epochs: 50
- mixed_precision_training: Native AMP
### Framework versions
- Transformers 4.16.0.dev0
- Pytorch 1.10.1+cu102
- Datasets 1.17.1.dev0
- Tokenizers 0.11.0
|
[
"# wav2vec2-xls-r-300m-cs-cv8\r\n\r\nThis model is a fine-tuned version of facebook/wav2vec2-xls-r-300m on the common_voice 8.0 dataset.\r\nIt achieves the following results on the evaluation set:\r\n\r\n- WER: 0.49575384615384616\r\n- CER: 0.13333333333333333",
"## Usage\r\n\r\nThe model can be used directly (without a language model) as follows:",
"## Evaluation\r\n\r\nThe model can be evaluated using the attached 'URL' script:",
"## Training and evaluation data\r\n\r\nThe Common Voice 8.0 'train' and 'validation' datasets were used for training",
"### Training hyperparameters\r\n\r\nThe following hyperparameters were used during training:\r\n\r\n- learning_rate: 7e-4\r\n- train_batch_size: 32\r\n- eval_batch_size: 8\r\n- seed: 42\r\n- gradient_accumulation_steps: 20\r\n- total_train_batch_size: 640\r\n- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08\r\n- lr_scheduler_type: linear\r\n- lr_scheduler_warmup_steps: 500\r\n- num_epochs: 50\r\n- mixed_precision_training: Native AMP",
"### Framework versions\r\n\r\n- Transformers 4.16.0.dev0\r\n- Pytorch 1.10.1+cu102\r\n- Datasets 1.17.1.dev0\r\n- Tokenizers 0.11.0"
] |
[
"TAGS\n#transformers #pytorch #wav2vec2 #automatic-speech-recognition #mozilla-foundation/common_voice_8_0 #robust-speech-event #xlsr-fine-tuning-week #hf-asr-leaderboard #sk #dataset-common_voice #license-apache-2.0 #model-index #endpoints_compatible #region-us \n",
"# wav2vec2-xls-r-300m-cs-cv8\r\n\r\nThis model is a fine-tuned version of facebook/wav2vec2-xls-r-300m on the common_voice 8.0 dataset.\r\nIt achieves the following results on the evaluation set:\r\n\r\n- WER: 0.49575384615384616\r\n- CER: 0.13333333333333333",
"## Usage\r\n\r\nThe model can be used directly (without a language model) as follows:",
"## Evaluation\r\n\r\nThe model can be evaluated using the attached 'URL' script:",
"## Training and evaluation data\r\n\r\nThe Common Voice 8.0 'train' and 'validation' datasets were used for training",
"### Training hyperparameters\r\n\r\nThe following hyperparameters were used during training:\r\n\r\n- learning_rate: 7e-4\r\n- train_batch_size: 32\r\n- eval_batch_size: 8\r\n- seed: 42\r\n- gradient_accumulation_steps: 20\r\n- total_train_batch_size: 640\r\n- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08\r\n- lr_scheduler_type: linear\r\n- lr_scheduler_warmup_steps: 500\r\n- num_epochs: 50\r\n- mixed_precision_training: Native AMP",
"### Framework versions\r\n\r\n- Transformers 4.16.0.dev0\r\n- Pytorch 1.10.1+cu102\r\n- Datasets 1.17.1.dev0\r\n- Tokenizers 0.11.0"
] |
[
105,
86,
20,
17,
27,
141,
41
] |
[
"passage: TAGS\n#transformers #pytorch #wav2vec2 #automatic-speech-recognition #mozilla-foundation/common_voice_8_0 #robust-speech-event #xlsr-fine-tuning-week #hf-asr-leaderboard #sk #dataset-common_voice #license-apache-2.0 #model-index #endpoints_compatible #region-us \n# wav2vec2-xls-r-300m-cs-cv8\r\n\r\nThis model is a fine-tuned version of facebook/wav2vec2-xls-r-300m on the common_voice 8.0 dataset.\r\nIt achieves the following results on the evaluation set:\r\n\r\n- WER: 0.49575384615384616\r\n- CER: 0.13333333333333333## Usage\r\n\r\nThe model can be used directly (without a language model) as follows:## Evaluation\r\n\r\nThe model can be evaluated using the attached 'URL' script:## Training and evaluation data\r\n\r\nThe Common Voice 8.0 'train' and 'validation' datasets were used for training### Training hyperparameters\r\n\r\nThe following hyperparameters were used during training:\r\n\r\n- learning_rate: 7e-4\r\n- train_batch_size: 32\r\n- eval_batch_size: 8\r\n- seed: 42\r\n- gradient_accumulation_steps: 20\r\n- total_train_batch_size: 640\r\n- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08\r\n- lr_scheduler_type: linear\r\n- lr_scheduler_warmup_steps: 500\r\n- num_epochs: 50\r\n- mixed_precision_training: Native AMP### Framework versions\r\n\r\n- Transformers 4.16.0.dev0\r\n- Pytorch 1.10.1+cu102\r\n- Datasets 1.17.1.dev0\r\n- Tokenizers 0.11.0"
] |
[
-0.14430104196071625,
0.13018657267093658,
-0.003605098696425557,
0.051940951496362686,
0.12314985692501068,
0.03743970766663551,
0.13828323781490326,
0.14286640286445618,
0.0035789483226835728,
0.09211697429418564,
-0.008733697235584259,
0.007727000396698713,
0.0807831734418869,
0.09145057201385498,
0.00817674957215786,
-0.2109912484884262,
0.0071986159309744835,
-0.041491471230983734,
-0.026959799230098724,
0.10793109238147736,
0.08106110990047455,
-0.07831558585166931,
0.04349009320139885,
0.018316246569156647,
-0.06069660559296608,
0.011065610684454441,
0.010692032985389233,
-0.04371039941906929,
0.09859473258256912,
0.0787622407078743,
0.07054566591978073,
0.020952047780156136,
0.09704862534999847,
-0.2507130801677704,
0.005185178015381098,
0.09954390674829483,
0.0036341422237455845,
0.05642319470643997,
0.11485935002565384,
-0.001586109516210854,
0.1836404949426651,
-0.026972459629178047,
0.05188588798046112,
0.0882645919919014,
-0.07795071601867676,
-0.23272298276424408,
-0.08699725568294525,
0.03290865197777748,
0.1167093887925148,
0.1178545355796814,
-0.05174698680639267,
0.06264308840036392,
-0.08610626310110092,
0.08391112834215164,
0.14536841213703156,
-0.2236299067735672,
-0.04151922091841698,
0.07957775145769119,
0.024555206298828125,
0.05257479473948479,
-0.09804525971412659,
-0.028413336724042892,
0.02750490792095661,
0.02044728212058544,
0.05924663320183754,
-0.026821883395314217,
-0.014978837221860886,
0.00237293797545135,
-0.1177033931016922,
-0.04542049393057823,
0.13512662053108215,
0.06457250565290451,
-0.048234742134809494,
-0.13743655383586884,
-0.0326259583234787,
-0.06192845478653908,
-0.023759547621011734,
0.0096371378749609,
0.03859186917543411,
-0.00546350609511137,
-0.042521703988313675,
-0.003572520101442933,
-0.08575455099344254,
-0.07766728848218918,
0.04605818912386894,
0.09285049885511398,
0.012605857104063034,
0.004027028102427721,
-0.04424023628234863,
0.10945482552051544,
-0.03490188345313072,
-0.11933643370866776,
-0.04377766326069832,
0.02104426547884941,
-0.12527693808078766,
-0.026672035455703735,
-0.04217547923326492,
-0.04860246926546097,
0.01212239358574152,
0.12030922621488571,
-0.0003271556051913649,
0.08761115372180939,
0.02268303371965885,
0.024402355775237083,
-0.030666755512356758,
0.19666072726249695,
-0.056798286736011505,
-0.12480306625366211,
-0.028637368232011795,
0.13862073421478271,
-0.008268586359918118,
-0.0013301176950335503,
-0.03938170149922371,
-0.005903282668441534,
0.014256454072892666,
0.0618063285946846,
-0.009840870276093483,
0.025962062180042267,
-0.05839450657367706,
-0.01021114643663168,
0.045305799692869186,
-0.13342061638832092,
0.029994452372193336,
0.06275557726621628,
-0.0707881972193718,
0.05144001170992851,
0.05028310418128967,
-0.02819043956696987,
-0.054168105125427246,
0.0838206559419632,
-0.05491156503558159,
0.031605709344148636,
-0.06681600958108902,
-0.12542958557605743,
0.030931925401091576,
0.014784486033022404,
-0.04972856864333153,
-0.07431522756814957,
-0.10761602967977524,
-0.10215016454458237,
0.02176635153591633,
-0.030793465673923492,
0.010032420977950096,
-0.0627836287021637,
-0.054134074598550797,
0.02494940347969532,
-0.020801352337002754,
0.03224596753716469,
-0.04499669373035431,
0.05234722048044205,
0.017111990600824356,
0.038399774581193924,
0.11051373928785324,
0.030810657888650894,
-0.06473232805728912,
0.027983389794826508,
-0.12194342911243439,
0.1133708730340004,
-0.07397449016571045,
0.02132060006260872,
-0.12349985539913177,
-0.07257825881242752,
-0.029638834297657013,
0.0484679713845253,
0.09157416224479675,
0.11318963766098022,
-0.22509300708770752,
-0.08047857880592346,
0.19598418474197388,
-0.09468378871679306,
-0.1034584566950798,
0.11963348835706711,
0.003853317815810442,
0.009753615595400333,
0.07342791557312012,
0.10666219890117645,
0.18157151341438293,
-0.11945658922195435,
-0.06225770339369774,
0.019295301288366318,
0.07341351360082626,
0.035187214612960815,
0.07089809328317642,
-0.06807675212621689,
0.0665196031332016,
0.00857418030500412,
-0.09306509792804718,
0.0356113538146019,
-0.022555191069841385,
-0.05616632476449013,
-0.03697572275996208,
-0.04831957817077637,
-0.0028279542457312346,
0.017453553155064583,
-0.03089260496199131,
-0.051650162786245346,
-0.12401199340820312,
0.02865605801343918,
0.14451715350151062,
-0.09121714532375336,
0.02697458304464817,
-0.09869935363531113,
0.0274200439453125,
-0.026384573429822922,
0.025210557505488396,
-0.19376300275325775,
-0.03975622355937958,
0.00978662446141243,
-0.11193382740020752,
0.002136374358087778,
0.06656583398580551,
0.04666666314005852,
0.019878555089235306,
-0.037481945008039474,
-0.03724594786763191,
-0.06761187314987183,
-0.043473903089761734,
-0.059177033603191376,
-0.1313575655221939,
-0.07515212893486023,
-0.03730585053563118,
0.13675330579280853,
-0.2135852724313736,
0.024883775040507317,
0.08764277398586273,
0.05792614445090294,
0.017530852928757668,
-0.043590664863586426,
0.016570912674069405,
0.037968993186950684,
-0.0015566974179819226,
-0.08107047528028488,
0.03001599758863449,
0.01737486757338047,
-0.10935128480195999,
0.01351433340460062,
-0.17273740470409393,
-0.009572887793183327,
0.07516103982925415,
0.05232105776667595,
-0.06712722033262253,
-0.023703191429376602,
-0.03908245638012886,
-0.020857468247413635,
-0.08197060972452164,
-0.06684114038944244,
0.18468724191188812,
0.07308181375265121,
0.1373772919178009,
-0.08582745492458344,
-0.03475412353873253,
-0.003663398325443268,
0.007451718207448721,
0.032195571810007095,
0.1074223741889,
0.0616537407040596,
0.011294737458229065,
0.013551328331232071,
0.038749877363443375,
-0.05265367031097412,
0.14989277720451355,
-0.02506328746676445,
-0.09319248795509338,
-0.04120323061943054,
0.01024884358048439,
0.012978751212358475,
0.07086243480443954,
-0.08821609616279602,
-0.010333492420613766,
0.02548266015946865,
0.0574348084628582,
0.021081438288092613,
-0.16979838907718658,
0.02439861372113228,
0.049945853650569916,
-0.0757049173116684,
-0.061433110386133194,
0.020290212705731392,
-0.005269545596092939,
0.07557254284620285,
-0.02304319478571415,
-0.008826415985822678,
-0.0473821721971035,
-0.07256007939577103,
-0.13128724694252014,
0.19655053317546844,
-0.06431000679731369,
-0.17187683284282684,
-0.13880206644535065,
0.04496404528617859,
-0.03372103348374367,
-0.023458870127797127,
0.03928937017917633,
-0.11180159449577332,
-0.07291241735219955,
-0.08983300626277924,
0.05480321869254112,
0.004362280480563641,
-0.026032092049717903,
-0.0029343729838728905,
0.04063563793897629,
0.08852769434452057,
-0.14137029647827148,
0.003950351849198341,
-0.0032585524022579193,
-0.07285245507955551,
-0.029952291399240494,
0.0408879853785038,
0.03699731454253197,
0.1729365736246109,
0.04927848279476166,
0.022663889452815056,
-0.022004486992955208,
0.2113252729177475,
-0.10394326597452164,
0.02434311807155609,
0.17771469056606293,
0.0416838601231575,
0.0679989606142044,
0.09538579732179642,
0.04898199066519737,
-0.07736057788133621,
0.027647681534290314,
0.042738933116197586,
-0.04444530978798866,
-0.24555450677871704,
-0.0427553616464138,
-0.06644169241189957,
0.017872396856546402,
0.10218136757612228,
0.012175804004073143,
-0.06674261391162872,
0.04426608234643936,
-0.03743603080511093,
-0.0020224524196237326,
0.04866037145256996,
0.0604737214744091,
0.0997190847992897,
0.034731652587652206,
0.10144573450088501,
-0.06738127022981644,
0.04178696498274803,
0.05265616625547409,
0.014636578038334846,
0.18003998696804047,
-0.009793081320822239,
0.1493818461894989,
0.061514537781476974,
0.04557901620864868,
-0.010898946784436703,
0.051377538591623306,
-0.020156068727374077,
-0.015368964523077011,
0.034629520028829575,
-0.07152806222438812,
-0.04094971716403961,
0.04418129846453667,
0.012769728899002075,
-0.0012859284179285169,
-0.07994227856397629,
0.0515495240688324,
0.04310683161020279,
0.21734508872032166,
0.0865444615483284,
-0.24146360158920288,
-0.05405184254050255,
0.003331709885969758,
-0.039267148822546005,
-0.019690515473484993,
0.005911278072744608,
0.1592920869588852,
-0.11872368305921555,
0.06029706075787544,
-0.038578517735004425,
0.09723111987113953,
-0.08439043909311295,
0.0008670599781908095,
0.08237765729427338,
0.1050322875380516,
0.00018301012460142374,
0.06863018125295639,
-0.1583622843027115,
0.1776290088891983,
0.012959195300936699,
0.07345926016569138,
-0.02364499121904373,
0.05560635030269623,
0.05293655022978783,
0.02264106087386608,
0.09176309406757355,
0.0016091404249891639,
-0.061856213957071304,
-0.14799048006534576,
-0.047816239297389984,
0.03776714205741882,
0.07548659294843674,
-0.05228811874985695,
0.11003462970256805,
-0.033228445798158646,
-0.01840951107442379,
-0.004738365765661001,
-0.02684836834669113,
-0.10314718633890152,
-0.1409500241279602,
0.02909676358103752,
0.06385428458452225,
-0.00833358708769083,
-0.08118817955255508,
-0.06861043721437454,
-0.07901782542467117,
0.14943233132362366,
-0.10015629231929779,
-0.05293039605021477,
-0.12526127696037292,
0.04391495883464813,
0.12563131749629974,
-0.08373980224132538,
0.005885451100766659,
0.026224955916404724,
0.14698292315006256,
-0.0004030479467473924,
-0.024549806490540504,
0.06077428162097931,
-0.09454989433288574,
-0.1519317477941513,
-0.053893059492111206,
0.15660087764263153,
0.0209179874509573,
0.061191901564598083,
0.005906417965888977,
-0.008745384402573109,
0.010575219988822937,
-0.10627967864274979,
-0.03166234865784645,
0.09986886382102966,
-0.027838483452796936,
0.05232209712266922,
-0.029333269223570824,
-0.019752677530050278,
-0.07055333256721497,
-0.0007296190015040338,
0.06692912429571152,
0.19027939438819885,
-0.07604226469993591,
0.02990991622209549,
0.06915554404258728,
-0.07190591096878052,
-0.1548280566930771,
0.027716347947716713,
0.09248556941747665,
0.06280204653739929,
0.051188334822654724,
-0.17320260405540466,
0.08000645786523819,
0.07112517952919006,
-0.014419098384678364,
0.022392502054572105,
-0.33494147658348083,
-0.12730658054351807,
0.03252994641661644,
0.040903687477111816,
-0.07829946279525757,
-0.1031699925661087,
-0.05275704711675644,
-0.0734042227268219,
-0.10848701000213623,
-0.003675705986097455,
-0.06034340709447861,
0.10031235218048096,
-0.003306672675535083,
0.038745101541280746,
0.0468403659760952,
-0.036771178245544434,
0.1303921490907669,
0.07380909472703934,
0.055949725210666656,
-0.016543982550501823,
0.07140078395605087,
0.0520227886736393,
-0.09216476231813431,
0.10165949910879135,
-0.13394871354103088,
0.04636925086379051,
-0.15351122617721558,
-0.03640864044427872,
-0.05850615352392197,
-0.0055271051824092865,
-0.03242510184645653,
-0.00888470746576786,
-0.039128635078668594,
0.023508267477154732,
0.06387300044298172,
-0.00017232458048965782,
-0.019459974020719528,
-0.07409974932670593,
0.03774701803922653,
0.13401591777801514,
0.138570174574852,
0.017327483743429184,
-0.19565023481845856,
-0.00559221301227808,
0.02897665463387966,
0.06059299781918526,
-0.20494820177555084,
0.0403728187084198,
0.11048825085163116,
0.04529337212443352,
0.1565612554550171,
0.020534297451376915,
-0.07748530805110931,
0.013017565943300724,
0.05352029576897621,
-0.018516210839152336,
-0.11638988554477692,
-0.013820922002196312,
0.03222661465406418,
-0.18153803050518036,
-0.021860692650079727,
0.1325456202030182,
-0.030345015227794647,
0.016556423157453537,
0.002352579729631543,
0.01951173134148121,
-0.03479744493961334,
0.20854240655899048,
0.004273101221770048,
0.10897770524024963,
-0.07524921000003815,
0.08794006705284119,
0.024626413360238075,
-0.0778842568397522,
0.006277050357311964,
0.07499511539936066,
-0.0807230994105339,
-0.04267685487866402,
-0.049566786736249924,
0.07935325801372528,
-0.0050509958527982235,
-0.05602164566516876,
-0.0877358615398407,
-0.10808685421943665,
0.028813425451517105,
0.03643795847892761,
0.0514686219394207,
0.044580306857824326,
-0.05682860314846039,
-0.0338839590549469,
-0.1047578901052475,
0.07528629899024963,
0.0868203341960907,
0.018534619361162186,
-0.10410869866609573,
0.13263040781021118,
0.04152150824666023,
-0.012530784122645855,
0.021192723885178566,
-0.00718131847679615,
-0.07203374803066254,
0.01771700382232666,
-0.12698449194431305,
0.0006659026839770377,
-0.0294825229793787,
0.0050775292329490185,
-0.0001166043512057513,
0.010504275560379028,
-0.036620400846004486,
0.035895392298698425,
-0.09218434989452362,
-0.06445001065731049,
-0.015729732811450958,
0.10089445114135742,
-0.10455375164747238,
0.03387868404388428,
0.02815108187496662,
-0.12854845821857452,
0.07718512415885925,
-0.0005310110282152891,
0.0005370165454223752,
0.04277089610695839,
-0.0839168131351471,
0.005959545262157917,
0.023997962474822998,
0.03951927274465561,
0.02833687514066696,
-0.07670329511165619,
0.036063384264707565,
-0.027545522898435593,
0.021849293261766434,
-0.0017434352776035666,
-0.007223034277558327,
-0.11510438472032547,
0.01959412544965744,
-0.04037502780556679,
-0.027857257053256035,
-0.04743563011288643,
0.05280754342675209,
0.06383129209280014,
0.06809335947036743,
0.17123182117938995,
-0.0689573884010315,
0.0708957239985466,
-0.250471830368042,
-0.017161212861537933,
0.010935390368103981,
0.01092243380844593,
-0.027330739423632622,
-0.061919670552015305,
0.10067616403102875,
-0.04165826365351677,
0.0834946259856224,
-0.0032982020638883114,
0.11499815434217453,
0.03055986389517784,
-0.03750685602426529,
0.002156622940674424,
0.004219299182295799,
0.10035170614719391,
0.03882306441664696,
0.009468487463891506,
0.057981472462415695,
-0.026871828362345695,
0.03747707977890968,
0.04210767149925232,
0.10249294340610504,
0.14276212453842163,
0.04238216206431389,
0.09437417984008789,
0.07495881617069244,
-0.08512384444475174,
-0.0982166975736618,
0.05846448242664337,
-0.11183805018663406,
0.11104293912649155,
-0.06366045027971268,
0.1645692139863968,
0.10137989372015,
-0.1539938598871231,
0.08504896610975266,
-0.02277309074997902,
-0.07306339591741562,
-0.10910620540380478,
-0.10013984143733978,
-0.06333496421575546,
-0.15099605917930603,
0.02222030609846115,
-0.09475766867399216,
0.022472644224762917,
0.08484487235546112,
0.033818475902080536,
-0.0035027130506932735,
0.13243480026721954,
-0.06305388361215591,
-0.05316226929426193,
0.10048021376132965,
0.00021519811707548797,
0.02055581472814083,
0.01869295723736286,
-0.01743769645690918,
0.07435662299394608,
-0.02051045000553131,
0.08318448066711426,
0.005797842517495155,
-0.016887420788407326,
0.03476781025528908,
-0.0029136978555470705,
-0.06640848517417908,
0.0010581418173387647,
-0.004773072898387909,
0.036596279591321945,
0.11265574395656586,
0.06835480779409409,
-0.019449565559625626,
-0.03921909257769585,
0.18955132365226746,
-0.08855424076318741,
-0.04540612921118736,
-0.15061168372631073,
0.13682374358177185,
0.023952821269631386,
0.003812862792983651,
-0.014489535242319107,
-0.10416390001773834,
-0.0059563457034528255,
0.1604091227054596,
0.10343900322914124,
-0.03369703143835068,
-0.003579420270398259,
-0.005182820837944746,
-0.010295498184859753,
-0.04078515246510506,
0.07580811530351639,
0.06523504108190536,
0.09906716644763947,
0.0034780940040946007,
0.030310237780213356,
-0.004911680705845356,
-0.06650662422180176,
0.04022135213017464,
0.07064128667116165,
-0.03733736649155617,
0.013395719230175018,
-0.042551781982183456,
0.11122926324605942,
0.03726344555616379,
-0.17734037339687347,
0.0669664591550827,
-0.12286500632762909,
-0.1295740008354187,
-0.013115371577441692,
0.052960142493247986,
0.04553460329771042,
0.08686671406030655,
-0.031200304627418518,
-0.04009488224983215,
0.15448342263698578,
-0.04411226511001587,
-0.05025695264339447,
-0.14463189244270325,
0.022547345608472824,
-0.12175644934177399,
0.19042465090751648,
-0.006253375206142664,
0.0543753057718277,
0.11040343344211578,
0.04625725746154785,
-0.09808936715126038,
0.07502377778291702,
0.04285008832812309,
-0.09600570052862167,
0.028098871931433678,
0.1338438093662262,
-0.04774261638522148,
0.13954667747020721,
0.051673587411642075,
-0.12960422039031982,
0.012888254597783089,
-0.03713785484433174,
-0.010947921313345432,
-0.1238659918308258,
0.01887889951467514,
-0.039855051785707474,
0.12808793783187866,
0.2136542946100235,
-0.052893392741680145,
-0.03619053587317467,
-0.026716651394963264,
0.03258383274078369,
0.020761024206876755,
0.08219882100820541,
-0.021724913269281387,
-0.18437595665454865,
0.045608632266521454,
-0.02192796766757965,
0.0030987258069217205,
-0.22145135700702667,
-0.08887524157762527,
0.06423413008451462,
-0.061604827642440796,
-0.021730531007051468,
0.1142912209033966,
0.027818208560347557,
0.054921820759773254,
-0.03512287512421608,
-0.1472027748823166,
0.013465074822306633,
0.15966354310512543,
-0.15161114931106567,
-0.09174767136573792
] |
null | null |
transformers
|
# Serbian wav2vec2-xls-r-300m-sr-cv8
This model is a fine-tuned version of [facebook/wav2vec2-xls-r-300m](https://huggingface.co/facebook/wav2vec2-xls-r-300m) on the common_voice dataset.
It achieves the following results on the evaluation set:
- Loss: 1.7302
- Wer: 0.4825
- Cer: 0.1847
Evaluation on mozilla-foundation/common_voice_8_0 gave the following results:
- WER: 0.48530097993467103
- CER: 0.18413288165227845
Evaluation on speech-recognition-community-v2/dev_data gave the following results:
- WER: 0.9718373107518604
- CER: 0.8302740620263108
The model can be evaluated using the attached `eval.py` script:
```
python eval.py --model_id comodoro/wav2vec2-xls-r-300m-sr-cv8 --dataset mozilla-foundation/common-voice_8_0 --split test --config sr
```
### Training hyperparameters
The following hyperparameters were used during training:
- learning_rate: 0.0001
- train_batch_size: 16
- eval_batch_size: 8
- seed: 42
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- lr_scheduler_warmup_steps: 300
- num_epochs: 800
- mixed_precision_training: Native AMP
### Training results
| Training Loss | Epoch | Step | Validation Loss | Wer | Cer |
|:-------------:|:-----:|:-----:|:---------------:|:------:|:------:|
| 5.6536 | 15.0 | 1200 | 2.9744 | 1.0 | 1.0 |
| 2.7935 | 30.0 | 2400 | 1.6613 | 0.8998 | 0.4670 |
| 1.6538 | 45.0 | 3600 | 0.9248 | 0.6918 | 0.2699 |
| 1.2446 | 60.0 | 4800 | 0.9151 | 0.6452 | 0.2398 |
| 1.0766 | 75.0 | 6000 | 0.9110 | 0.5995 | 0.2207 |
| 0.9548 | 90.0 | 7200 | 1.0273 | 0.5921 | 0.2149 |
| 0.8919 | 105.0 | 8400 | 0.9929 | 0.5646 | 0.2117 |
| 0.8185 | 120.0 | 9600 | 1.0850 | 0.5483 | 0.2069 |
| 0.7692 | 135.0 | 10800 | 1.1001 | 0.5394 | 0.2055 |
| 0.7249 | 150.0 | 12000 | 1.1018 | 0.5380 | 0.1958 |
| 0.6786 | 165.0 | 13200 | 1.1344 | 0.5114 | 0.1941 |
| 0.6432 | 180.0 | 14400 | 1.1516 | 0.5054 | 0.1905 |
| 0.6009 | 195.0 | 15600 | 1.3149 | 0.5324 | 0.1991 |
| 0.5773 | 210.0 | 16800 | 1.2468 | 0.5124 | 0.1903 |
| 0.559 | 225.0 | 18000 | 1.2186 | 0.4956 | 0.1922 |
| 0.5298 | 240.0 | 19200 | 1.4483 | 0.5333 | 0.2085 |
| 0.5136 | 255.0 | 20400 | 1.2871 | 0.4802 | 0.1846 |
| 0.4824 | 270.0 | 21600 | 1.2891 | 0.4974 | 0.1885 |
| 0.4669 | 285.0 | 22800 | 1.3283 | 0.4942 | 0.1878 |
| 0.4511 | 300.0 | 24000 | 1.4502 | 0.5002 | 0.1994 |
| 0.4337 | 315.0 | 25200 | 1.4714 | 0.5035 | 0.1911 |
| 0.4221 | 330.0 | 26400 | 1.4971 | 0.5124 | 0.1962 |
| 0.3994 | 345.0 | 27600 | 1.4473 | 0.5007 | 0.1920 |
| 0.3892 | 360.0 | 28800 | 1.3904 | 0.4937 | 0.1887 |
| 0.373 | 375.0 | 30000 | 1.4971 | 0.4946 | 0.1902 |
| 0.3657 | 390.0 | 31200 | 1.4208 | 0.4900 | 0.1821 |
| 0.3559 | 405.0 | 32400 | 1.4648 | 0.4895 | 0.1835 |
| 0.3476 | 420.0 | 33600 | 1.4848 | 0.4946 | 0.1829 |
| 0.3276 | 435.0 | 34800 | 1.5597 | 0.4979 | 0.1873 |
| 0.3193 | 450.0 | 36000 | 1.7329 | 0.5040 | 0.1980 |
| 0.3078 | 465.0 | 37200 | 1.6379 | 0.4937 | 0.1882 |
| 0.3058 | 480.0 | 38400 | 1.5878 | 0.4942 | 0.1921 |
| 0.2987 | 495.0 | 39600 | 1.5590 | 0.4811 | 0.1846 |
| 0.2931 | 510.0 | 40800 | 1.6001 | 0.4825 | 0.1849 |
| 0.276 | 525.0 | 42000 | 1.7388 | 0.4942 | 0.1918 |
| 0.2702 | 540.0 | 43200 | 1.7037 | 0.4839 | 0.1866 |
| 0.2619 | 555.0 | 44400 | 1.6704 | 0.4755 | 0.1840 |
| 0.262 | 570.0 | 45600 | 1.6042 | 0.4751 | 0.1865 |
| 0.2528 | 585.0 | 46800 | 1.6402 | 0.4821 | 0.1865 |
| 0.2442 | 600.0 | 48000 | 1.6693 | 0.4886 | 0.1862 |
| 0.244 | 615.0 | 49200 | 1.6203 | 0.4765 | 0.1792 |
| 0.2388 | 630.0 | 50400 | 1.6829 | 0.4830 | 0.1828 |
| 0.2362 | 645.0 | 51600 | 1.8100 | 0.4928 | 0.1888 |
| 0.2224 | 660.0 | 52800 | 1.7746 | 0.4932 | 0.1899 |
| 0.2218 | 675.0 | 54000 | 1.7752 | 0.4946 | 0.1901 |
| 0.2201 | 690.0 | 55200 | 1.6775 | 0.4788 | 0.1844 |
| 0.2147 | 705.0 | 56400 | 1.7085 | 0.4844 | 0.1851 |
| 0.2103 | 720.0 | 57600 | 1.7624 | 0.4848 | 0.1864 |
| 0.2101 | 735.0 | 58800 | 1.7213 | 0.4783 | 0.1835 |
| 0.1983 | 750.0 | 60000 | 1.7452 | 0.4848 | 0.1856 |
| 0.2015 | 765.0 | 61200 | 1.7525 | 0.4872 | 0.1869 |
| 0.1969 | 780.0 | 62400 | 1.7443 | 0.4844 | 0.1852 |
| 0.2043 | 795.0 | 63600 | 1.7302 | 0.4825 | 0.1847 |
### Framework versions
- Transformers 4.16.2
- Pytorch 1.10.1+cu102
- Datasets 1.18.3
- Tokenizers 0.11.0
|
{"language": ["sr"], "license": "apache-2.0", "tags": ["automatic-speech-recognition", "mozilla-foundation/common_voice_8_0", "generated_from_trainer", "robust-speech-event", "xlsr-fine-tuning-week", "hf-asr-leaderboard"], "datasets": ["mozilla-foundation/common_voice_8_0", {"name": "Serbian comodoro Wav2Vec2 XLSR 300M CV8", "results": [{"task": {"name": "Automatic Speech Recognition", "type": "automatic-speech-recognition"}, "dataset": {"name": "Common Voice 8", "type": "mozilla-foundation/common_voice_8_0", "args": "sr"}, "metrics": [{"name": "Test WER", "type": "wer", "value": 48.5}, {"name": "Test CER", "type": "cer", "value": 18.4}]}]}], "model-index": [{"name": "wav2vec2-xls-r-300m-sr-cv8", "results": [{"task": {"type": "automatic-speech-recognition", "name": "Automatic Speech Recognition"}, "dataset": {"name": "Common Voice 8.0", "type": "mozilla-foundation/common_voice_8_0", "args": "sr"}, "metrics": [{"type": "wer", "value": 48.53, "name": "Test WER"}]}, {"task": {"type": "automatic-speech-recognition", "name": "Automatic Speech Recognition"}, "dataset": {"name": "Robust Speech Event - Dev Data", "type": "speech-recognition-community-v2/dev_data", "args": "sr"}, "metrics": [{"type": "wer", "value": 97.43, "name": "Test WER"}]}, {"task": {"type": "automatic-speech-recognition", "name": "Automatic Speech Recognition"}, "dataset": {"name": "Robust Speech Event - Test Data", "type": "speech-recognition-community-v2/eval_data", "args": "sr"}, "metrics": [{"type": "wer", "value": 96.69, "name": "Test WER"}]}]}]}
|
automatic-speech-recognition
|
comodoro/wav2vec2-xls-r-300m-sr-cv8
|
[
"transformers",
"pytorch",
"wav2vec2",
"automatic-speech-recognition",
"mozilla-foundation/common_voice_8_0",
"generated_from_trainer",
"robust-speech-event",
"xlsr-fine-tuning-week",
"hf-asr-leaderboard",
"sr",
"license:apache-2.0",
"model-index",
"endpoints_compatible",
"region:us"
] |
2022-03-02T23:29:05+00:00
|
[] |
[
"sr"
] |
TAGS
#transformers #pytorch #wav2vec2 #automatic-speech-recognition #mozilla-foundation/common_voice_8_0 #generated_from_trainer #robust-speech-event #xlsr-fine-tuning-week #hf-asr-leaderboard #sr #license-apache-2.0 #model-index #endpoints_compatible #region-us
|
Serbian wav2vec2-xls-r-300m-sr-cv8
==================================
This model is a fine-tuned version of facebook/wav2vec2-xls-r-300m on the common\_voice dataset.
It achieves the following results on the evaluation set:
* Loss: 1.7302
* Wer: 0.4825
* Cer: 0.1847
Evaluation on mozilla-foundation/common\_voice\_8\_0 gave the following results:
* WER: 0.48530097993467103
* CER: 0.18413288165227845
Evaluation on speech-recognition-community-v2/dev\_data gave the following results:
* WER: 0.9718373107518604
* CER: 0.8302740620263108
The model can be evaluated using the attached 'URL' script:
### Training hyperparameters
The following hyperparameters were used during training:
* learning\_rate: 0.0001
* train\_batch\_size: 16
* eval\_batch\_size: 8
* seed: 42
* optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
* lr\_scheduler\_type: linear
* lr\_scheduler\_warmup\_steps: 300
* num\_epochs: 800
* mixed\_precision\_training: Native AMP
### Training results
### Framework versions
* Transformers 4.16.2
* Pytorch 1.10.1+cu102
* Datasets 1.18.3
* Tokenizers 0.11.0
|
[
"### Training hyperparameters\n\n\nThe following hyperparameters were used during training:\n\n\n* learning\\_rate: 0.0001\n* train\\_batch\\_size: 16\n* eval\\_batch\\_size: 8\n* seed: 42\n* optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08\n* lr\\_scheduler\\_type: linear\n* lr\\_scheduler\\_warmup\\_steps: 300\n* num\\_epochs: 800\n* mixed\\_precision\\_training: Native AMP",
"### Training results",
"### Framework versions\n\n\n* Transformers 4.16.2\n* Pytorch 1.10.1+cu102\n* Datasets 1.18.3\n* Tokenizers 0.11.0"
] |
[
"TAGS\n#transformers #pytorch #wav2vec2 #automatic-speech-recognition #mozilla-foundation/common_voice_8_0 #generated_from_trainer #robust-speech-event #xlsr-fine-tuning-week #hf-asr-leaderboard #sr #license-apache-2.0 #model-index #endpoints_compatible #region-us \n",
"### Training hyperparameters\n\n\nThe following hyperparameters were used during training:\n\n\n* learning\\_rate: 0.0001\n* train\\_batch\\_size: 16\n* eval\\_batch\\_size: 8\n* seed: 42\n* optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08\n* lr\\_scheduler\\_type: linear\n* lr\\_scheduler\\_warmup\\_steps: 300\n* num\\_epochs: 800\n* mixed\\_precision\\_training: Native AMP",
"### Training results",
"### Framework versions\n\n\n* Transformers 4.16.2\n* Pytorch 1.10.1+cu102\n* Datasets 1.18.3\n* Tokenizers 0.11.0"
] |
[
104,
130,
4,
35
] |
[
"passage: TAGS\n#transformers #pytorch #wav2vec2 #automatic-speech-recognition #mozilla-foundation/common_voice_8_0 #generated_from_trainer #robust-speech-event #xlsr-fine-tuning-week #hf-asr-leaderboard #sr #license-apache-2.0 #model-index #endpoints_compatible #region-us \n### Training hyperparameters\n\n\nThe following hyperparameters were used during training:\n\n\n* learning\\_rate: 0.0001\n* train\\_batch\\_size: 16\n* eval\\_batch\\_size: 8\n* seed: 42\n* optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08\n* lr\\_scheduler\\_type: linear\n* lr\\_scheduler\\_warmup\\_steps: 300\n* num\\_epochs: 800\n* mixed\\_precision\\_training: Native AMP### Training results### Framework versions\n\n\n* Transformers 4.16.2\n* Pytorch 1.10.1+cu102\n* Datasets 1.18.3\n* Tokenizers 0.11.0"
] |
[
-0.11789531260728836,
0.09927144646644592,
-0.0044592139311134815,
0.03817173093557358,
0.1043214350938797,
0.0020544372964650393,
0.12279758602380753,
0.1472521871328354,
-0.059663183987140656,
0.10086557269096375,
0.08076108992099762,
0.07294617593288422,
0.0809071734547615,
0.12437881529331207,
-0.03006165660917759,
-0.282081663608551,
0.026431547477841377,
-0.0013995192712172866,
-0.07112294435501099,
0.10230487585067749,
0.09736236929893494,
-0.09430932253599167,
0.03813574090600014,
0.019654614850878716,
-0.0945105254650116,
0.011496233753859997,
-0.02899758517742157,
-0.07570979744195938,
0.09818065911531448,
0.05122843012213707,
0.04451067000627518,
0.027282651513814926,
0.07205714285373688,
-0.260632187128067,
0.012022019363939762,
0.045296162366867065,
0.031231658533215523,
0.051288578659296036,
0.09725548326969147,
0.005195081699639559,
0.09471632540225983,
-0.06946637481451035,
0.04302553832530975,
0.053944315761327744,
-0.09233642369508743,
-0.253155380487442,
-0.0849800854921341,
0.04271455854177475,
0.10832128673791885,
0.09339765459299088,
-0.03361370041966438,
0.08834347128868103,
-0.0775819793343544,
0.09497500211000443,
0.237772136926651,
-0.22877071797847748,
-0.06471633166074753,
-0.05542979761958122,
0.03132932633161545,
0.04086637496948242,
-0.10864848643541336,
-0.011326164938509464,
0.021053412929177284,
0.028871066868305206,
0.07588332146406174,
-0.0051933699287474155,
-0.010395624674856663,
-0.013112551532685757,
-0.13920606672763824,
-0.04660191759467125,
0.13612033426761627,
0.0842793807387352,
-0.022226372733712196,
-0.10535036027431488,
-0.028723878785967827,
-0.15071505308151245,
-0.06360466778278351,
0.011000453494489193,
0.03376152366399765,
-0.029363619163632393,
-0.06211454048752785,
0.021311180666089058,
-0.05736260116100311,
-0.06258881837129593,
0.025635158643126488,
0.17180640995502472,
0.04543163999915123,
-0.034125152975320816,
-0.019046470522880554,
0.07247772067785263,
0.03261379525065422,
-0.16053876280784607,
-0.025454234331846237,
0.06086647883057594,
-0.06814289838075638,
-0.011302819475531578,
-0.01933888904750347,
-0.0025084209628403187,
0.04040065035223961,
0.14752653241157532,
-0.02373833768069744,
0.10053995996713638,
0.014188447967171669,
0.015781573951244354,
-0.08268658816814423,
0.16259974241256714,
-0.054168350994586945,
-0.06126135215163231,
-0.02617895044386387,
0.12119196355342865,
0.01332497876137495,
-0.01887231133878231,
-0.07375188916921616,
0.018968433141708374,
0.09615135937929153,
0.04701170325279236,
-0.019816238433122635,
0.023633621633052826,
-0.050229910761117935,
-0.024707414209842682,
-0.007431033533066511,
-0.12410380691289902,
0.04183872789144516,
0.05796268582344055,
-0.0657794326543808,
0.03463643789291382,
-0.010493976064026356,
0.01960960403084755,
-0.0291429553180933,
0.0861465185880661,
-0.05656825378537178,
0.017708538100123405,
-0.06007867306470871,
-0.0895635336637497,
0.03680279850959778,
-0.010327912867069244,
-0.00999536830931902,
-0.0878511443734169,
-0.07833661884069443,
-0.0604868121445179,
0.01819063350558281,
-0.042006466537714005,
-0.05294853076338768,
-0.08484754711389542,
-0.08378571271896362,
0.05238330364227295,
-0.02189755253493786,
0.14225943386554718,
-0.06120739504694939,
0.09120772033929825,
0.04153625667095184,
0.04274687170982361,
0.048692379146814346,
0.07160995155572891,
-0.029394833371043205,
0.03766213357448578,
-0.12382311373949051,
0.09429574757814407,
-0.09944233298301697,
0.039913929998874664,
-0.12149086594581604,
-0.0927339717745781,
-0.016407828778028488,
0.01278991624712944,
0.09091875702142715,
0.11822834610939026,
-0.1520100086927414,
-0.11799689382314682,
0.16898518800735474,
-0.059764839708805084,
-0.06820499897003174,
0.14737430214881897,
-0.010965128429234028,
-0.03918642923235893,
0.05608336254954338,
0.18837182223796844,
0.11949852854013443,
-0.09208665043115616,
-0.012527602724730968,
-0.05187561735510826,
0.11552239209413528,
0.04028324410319328,
0.08200149983167648,
-0.04235728830099106,
0.040043555200099945,
0.004338913131505251,
-0.021421119570732117,
0.07393518835306168,
-0.08338528871536255,
-0.0752035528421402,
-0.02299053780734539,
-0.0713949203491211,
0.012857814319431782,
0.04261698201298714,
0.02655252255499363,
-0.09192746132612228,
-0.11455882340669632,
0.0024954527616500854,
0.11353227496147156,
-0.09643017500638962,
0.034701213240623474,
-0.0910162404179573,
0.05812480300664902,
0.002816298510879278,
-0.0040955692529678345,
-0.14906258881092072,
0.021035905927419662,
0.044815920293331146,
-0.037431854754686356,
0.03651393949985504,
-0.02931198850274086,
0.06605091691017151,
0.035295676440000534,
-0.03670883923768997,
-0.06152396276593208,
-0.04809844121336937,
-0.0041853999719023705,
-0.07453488558530807,
-0.20623046159744263,
-0.05918794870376587,
-0.020729120820760727,
0.17455536127090454,
-0.19662697613239288,
0.008686085231602192,
0.057281751185655594,
0.13367334008216858,
0.028438229113817215,
-0.03982509300112724,
0.017490247264504433,
0.07503138482570648,
-0.01213240996003151,
-0.06581488996744156,
0.028249774128198624,
-0.00419708201661706,
-0.11336832493543625,
0.00816846452653408,
-0.15595325827598572,
0.07263796776533127,
0.09598994255065918,
-0.0020575986709445715,
-0.06661899387836456,
-0.013658350333571434,
-0.05001053959131241,
-0.05555707588791847,
-0.04438743367791176,
-0.02909310720860958,
0.19172507524490356,
0.012430323287844658,
0.12072461098432541,
-0.06782086938619614,
-0.027661055326461792,
0.028785238042473793,
0.0046636685729026794,
-0.012501239776611328,
0.14595872163772583,
0.04517926648259163,
-0.057542864233255386,
0.096551813185215,
0.04961337894201279,
-0.06894214451313019,
0.17166617512702942,
-0.0718497484922409,
-0.08673102408647537,
-0.02445761300623417,
0.021266257390379906,
0.016591724008321762,
0.0687355250120163,
-0.15544092655181885,
-0.031033093109726906,
0.022622955963015556,
0.02568649686872959,
0.020495206117630005,
-0.19563625752925873,
0.011824453249573708,
0.0367702953517437,
-0.08765794336795807,
-0.0025164501275867224,
0.009680836461484432,
-0.0006601985660381615,
0.08947709947824478,
0.00245352229103446,
-0.0973600298166275,
-0.020170291885733604,
-0.035397399216890335,
-0.09839275479316711,
0.15780724585056305,
-0.0934964194893837,
-0.14461971819400787,
-0.12684611976146698,
-0.024235988035798073,
-0.034729067236185074,
-0.015616473741829395,
0.06313426047563553,
-0.09728053957223892,
-0.031922489404678345,
-0.06597720086574554,
0.02920503169298172,
-0.03320544958114624,
0.029471030458807945,
0.03556187078356743,
-0.010682065971195698,
0.05606086552143097,
-0.10782013833522797,
0.0018372394843026996,
-0.020333606749773026,
-0.02197064645588398,
0.004231427796185017,
0.000026824040105566382,
0.08060801774263382,
0.16218827664852142,
0.053307536989450455,
0.03290659934282303,
-0.033662550151348114,
0.1952919065952301,
-0.1182849109172821,
-0.014888357371091843,
0.12723280489444733,
0.0075209480710327625,
0.04852427542209625,
0.12520304322242737,
0.04768611863255501,
-0.07933884859085083,
0.01097019948065281,
0.028090916574001312,
-0.01437530480325222,
-0.2130965143442154,
-0.032240502536296844,
-0.07261186838150024,
-0.027339406311511993,
0.08334526419639587,
0.034921322017908096,
-0.0024067757185548544,
0.012188118882477283,
-0.037732820957899094,
-0.003797020995989442,
0.02287961356341839,
0.0496394969522953,
0.0967712327837944,
0.05060277879238129,
0.10739833116531372,
-0.020020605996251106,
-0.04661453142762184,
0.030296148732304573,
-0.017915934324264526,
0.21734586358070374,
0.03540573641657829,
0.1902262270450592,
0.035418350249528885,
0.1300809681415558,
0.008616700768470764,
0.027144581079483032,
0.01139259897172451,
-0.010730850510299206,
0.01975935325026512,
-0.06099918857216835,
-0.03440726920962334,
0.03638792037963867,
0.12280470132827759,
0.03574389964342117,
-0.11384043097496033,
-0.0077531649731099606,
0.018092142418026924,
0.34835705161094666,
0.05839765444397926,
-0.2642712891101837,
-0.0711769312620163,
0.012989225797355175,
-0.09267449378967285,
-0.016214873641729355,
0.031256575137376785,
0.11569231748580933,
-0.08823571354150772,
0.07880553603172302,
-0.037648510187864304,
0.08968295156955719,
-0.07090610265731812,
0.010659177787601948,
0.03447863459587097,
0.1041615828871727,
0.0027440781705081463,
0.05315592512488365,
-0.2690664231777191,
0.26223835349082947,
0.0012338244123384356,
0.09114746004343033,
-0.0516371876001358,
0.03294872120022774,
0.054973237216472626,
-0.009213234297931194,
0.047208040952682495,
-0.01078933384269476,
-0.11545005440711975,
-0.17565296590328217,
-0.10060732811689377,
0.008752909488976002,
0.11898135393857956,
-0.04235991835594177,
0.116428904235363,
-0.025132324546575546,
-0.03356783092021942,
0.04523283988237381,
-0.031047096475958824,
-0.12484335899353027,
-0.0877515897154808,
0.04604923725128174,
0.10098526626825333,
0.058629006147384644,
-0.08465701341629028,
-0.10806259512901306,
-0.07893840968608856,
0.09699678421020508,
-0.09328072518110275,
-0.012462235987186432,
-0.11974173784255981,
0.052753373980522156,
0.1269368827342987,
-0.08068310469388962,
0.016469497233629227,
0.03083169460296631,
0.13096483051776886,
0.018820028752088547,
-0.021005753427743912,
0.1087578758597374,
-0.0729484111070633,
-0.20191624760627747,
-0.0412488617002964,
0.18421731889247894,
0.03525576367974281,
0.07508009672164917,
-0.017561860382556915,
0.026324834674596786,
-0.0025407501962035894,
-0.06223981827497482,
0.0683484822511673,
0.05355076119303703,
-0.011827054433524609,
0.06558842211961746,
-0.026140928268432617,
-0.025037024170160294,
-0.09618625789880753,
-0.06285097450017929,
0.13025575876235962,
0.2562854290008545,
-0.060998570173978806,
0.04182308167219162,
0.039162784814834595,
-0.05111082270741463,
-0.14397560060024261,
-0.013587012887001038,
0.1308252066373825,
0.043590594083070755,
-0.00012122457701480016,
-0.2051546275615692,
0.009670114144682884,
0.06778755784034729,
-0.020229702815413475,
0.0904349759221077,
-0.33366742730140686,
-0.13443595170974731,
0.10889704525470734,
0.05448956415057182,
0.01823543943464756,
-0.15809327363967896,
-0.061349209398031235,
-0.022012608125805855,
-0.09555985033512115,
0.04879693314433098,
-0.04167667403817177,
0.1444893181324005,
0.0027285018004477024,
0.07254040986299515,
0.013840963132679462,
-0.032495174556970596,
0.1424552947282791,
0.028559129685163498,
0.03876843675971031,
-0.012179707176983356,
0.010875365696847439,
-0.02432628720998764,
-0.05468030273914337,
0.015847936272621155,
-0.09127869457006454,
0.011968908831477165,
-0.15422482788562775,
-0.024282775819301605,
-0.0912533700466156,
0.02742074429988861,
-0.028582783415913582,
-0.005175859201699495,
-0.02207855135202408,
0.018187478184700012,
0.06750462204217911,
0.01919403299689293,
0.13288713991641998,
-0.06769919395446777,
0.12538324296474457,
0.13692261278629303,
0.11497317254543304,
-0.024024831131100655,
-0.11206413805484772,
-0.03502689674496651,
-0.00511143309995532,
0.05542953684926033,
-0.08455973863601685,
0.03477725014090538,
0.12455158680677414,
0.044661592692136765,
0.15373273193836212,
0.0492417998611927,
-0.08716091513633728,
0.01845254935324192,
0.04485172778367996,
-0.07313067466020584,
-0.14992502331733704,
-0.029726343229413033,
0.04859049245715141,
-0.11819728463888168,
-0.006262088660150766,
0.13097335398197174,
-0.04239402711391449,
-0.009668760932981968,
0.009126921184360981,
0.030171602964401245,
-0.046840012073516846,
0.2330666035413742,
0.033505458384752274,
0.07278169691562653,
-0.10155275464057922,
0.06716154515743256,
0.04234033450484276,
-0.09216176718473434,
0.04320964962244034,
0.10973567515611649,
-0.04331066086888313,
-0.024422626942396164,
0.006841022986918688,
0.12143789231777191,
0.021398374810814857,
-0.06349267810583115,
-0.12459959834814072,
-0.15158914029598236,
0.09017231315374374,
0.09408102929592133,
0.03570925444364548,
0.019017914310097694,
-0.03967691957950592,
0.024192381650209427,
-0.08199068903923035,
0.08077970892190933,
0.08742431551218033,
0.05868622660636902,
-0.11206258088350296,
0.13772767782211304,
0.007852205075323582,
0.00976403709501028,
-0.003159809159114957,
-0.02178480289876461,
-0.10009466856718063,
0.030474413186311722,
-0.11360926181077957,
-0.00354933412745595,
-0.0444369800388813,
-0.003164249937981367,
0.012110806070268154,
-0.06736425310373306,
-0.058251820504665375,
0.030537404119968414,
-0.11786915361881256,
-0.04306337237358093,
-0.024293402209877968,
0.07916692644357681,
-0.08695314079523087,
-0.017355922609567642,
0.03386569768190384,
-0.12171969562768936,
0.08847673237323761,
0.07044019550085068,
-0.006152024492621422,
0.02275315672159195,
-0.10302518308162689,
-0.03077111765742302,
0.02430109865963459,
0.010073993355035782,
0.0212094783782959,
-0.15818017721176147,
-0.01203113328665495,
-0.02329976111650467,
0.039530716836452484,
-0.005625916179269552,
0.04116254299879074,
-0.11841100454330444,
-0.03290615603327751,
-0.054356809705495834,
-0.05523595213890076,
-0.04735329747200012,
0.04849821329116821,
0.07083817571401596,
0.02619982324540615,
0.16089418530464172,
-0.09381942451000214,
0.05793389678001404,
-0.21030691266059875,
0.014755044132471085,
-0.017234012484550476,
-0.08558272570371628,
-0.05024329200387001,
-0.03528665751218796,
0.10289241373538971,
-0.05128726363182068,
0.06068731099367142,
-0.04232168197631836,
0.04633461683988571,
0.03273499757051468,
-0.10457561165094376,
0.017902839928865433,
0.03894134983420372,
0.18573826551437378,
0.06583172082901001,
-0.01827644743025303,
0.07418609410524368,
-0.025053653866052628,
0.08169541507959366,
0.1334637999534607,
0.14416714012622833,
0.15735214948654175,
0.04855918139219284,
0.10801997780799866,
0.08330834656953812,
-0.10558995604515076,
-0.11971832066774368,
0.10860507190227509,
-0.05072231590747833,
0.13505132496356964,
-0.02908189781010151,
0.1972230076789856,
0.105295330286026,
-0.1667117029428482,
0.06495033949613571,
-0.03959638625383377,
-0.07439970970153809,
-0.11091084033250809,
-0.0532514825463295,
-0.08728668838739395,
-0.18088670074939728,
0.01757502742111683,
-0.0955599918961525,
0.06569883972406387,
0.04904244840145111,
0.04218621551990509,
0.027727581560611725,
0.10631465911865234,
0.015782808884978294,
-0.01548417005687952,
0.13217999041080475,
-0.014459431171417236,
-0.02116091363132,
-0.0752568170428276,
-0.11138152331113815,
0.06616931408643723,
-0.030541231855750084,
0.06864790618419647,
-0.028186993673443794,
-0.09337209165096283,
0.045276787132024765,
-0.0014367542462423444,
-0.11323630064725876,
0.027382755652070045,
-0.023395225405693054,
0.07212106883525848,
0.07739389687776566,
0.03642059490084648,
-0.016665896400809288,
-0.0023033663164824247,
0.1918933391571045,
-0.09364927560091019,
-0.06395753473043442,
-0.11484291404485703,
0.17718753218650818,
0.005499421153217554,
-0.0005127760232426226,
0.005483913701027632,
-0.07253623753786087,
-0.02173752710223198,
0.17918063700199127,
0.11417229473590851,
-0.024612490087747574,
-0.0036238229367882013,
0.002262371825054288,
-0.008751177228987217,
-0.026302587240934372,
0.0644921213388443,
0.11535856872797012,
0.05017577484250069,
-0.03559507057070732,
-0.02979123219847679,
-0.03208678215742111,
-0.05787137150764465,
-0.05260001868009567,
0.08390070497989655,
0.0009342395351268351,
-0.011861440725624561,
-0.02583245001733303,
0.09708389639854431,
-0.039992380887269974,
-0.1409400999546051,
0.01316944882273674,
-0.18133436143398285,
-0.1685478389263153,
-0.025422407314181328,
0.0636780858039856,
0.07745935022830963,
0.0571526437997818,
-0.007563372608274221,
-0.02274434082210064,
0.10906069725751877,
-0.005696197971701622,
-0.045279610902071,
-0.1070823073387146,
0.07859473675489426,
-0.13228802382946014,
0.14492478966712952,
-0.04119347408413887,
0.057354800403118134,
0.112526535987854,
0.07376022636890411,
-0.06081465259194374,
0.05750862509012222,
0.0713886171579361,
-0.11918749660253525,
0.04554744437336922,
0.1947813779115677,
-0.0467744842171669,
0.13643409311771393,
0.0364530012011528,
-0.11673113703727722,
0.012660952284932137,
-0.04234679788351059,
-0.04585430398583412,
-0.059205975383520126,
-0.008298573084175587,
-0.049321260303258896,
0.13299289345741272,
0.1847410649061203,
-0.07101722061634064,
-0.03153771162033081,
-0.03161495923995972,
0.00640755845233798,
0.04184815660119057,
0.08531031757593155,
-0.05646203085780144,
-0.2828753590583801,
0.006713016424328089,
-0.00462759705260396,
0.025188539177179337,
-0.218252494931221,
-0.09136135876178741,
0.012013692408800125,
-0.0571100078523159,
-0.058439429849386215,
0.10286637395620346,
0.06846585124731064,
0.03980476036667824,
-0.05469943583011627,
-0.13982760906219482,
-0.017134247347712517,
0.1863676756620407,
-0.17914046347141266,
-0.05983419343829155
] |
null | null |
transformers
|
# wav2vec2-xls-r-300m-west-slavic-cv8
This model is a fine-tuned version of [facebook/wav2vec2-xls-r-300m](https://huggingface.co/facebook/wav2vec2-xls-r-300m) on the Common Voice 8 dataset of five similar languages with similar scripts: Czech, Slovak, Polish, Slovenian and Upper Sorbian. Training and validation sets were concatenated and shuffled.
Evaluation set used for training was concatenated from the respective test sets and shuffled while limiting each language to at most 2000 samples. During training, cca WER 70 was achieved on this set.
### Evaluation script
```
python eval.py --model_id comodoro/wav2vec2-xls-r-300m-west-slavic-cv8 --dataset mozilla-foundation/common_voice_8_0 --split test --config {lang}
```
### Training hyperparameters
The following hyperparameters were used during training:
- learning_rate: 0.0003
- train_batch_size: 32
- eval_batch_size: 16
- seed: 42
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- lr_scheduler_warmup_steps: 500
- num_epochs: 50
- mixed_precision_training: Native AMP
### Framework versions
- Transformers 4.16.0.dev0
- Pytorch 1.10.1+cu102
- Datasets 1.18.3
- Tokenizers 0.11.0
|
{"language": ["cs", "hsb", "pl", "sk", "sl"], "license": "apache-2.0", "tags": ["automatic-speech-recognition", "generated_from_trainer", "hf-asr-leaderboard", "mozilla-foundation/common_voice_8_0", "robust-speech-event", "xlsr-fine-tuning-week"], "datasets": ["mozilla-foundation/common_voice_8_0"], "model-index": [{"name": "wav2vec2-xls-r-300m-west-slavic-cv8", "results": [{"task": {"type": "automatic-speech-recognition", "name": "Automatic Speech Recognition"}, "dataset": {"name": "Common Voice 8", "type": "mozilla-foundation/common_voice_8_0", "args": "cs"}, "metrics": [{"type": "wer", "value": 53.5, "name": "Test WER"}, {"type": "cer", "value": 14.7, "name": "Test CER"}, {"type": "wer", "value": 81.7, "name": "Test WER"}, {"type": "cer", "value": 21.2, "name": "Test CER"}, {"type": "wer", "value": 60.2, "name": "Test WER"}, {"type": "cer", "value": 15.6, "name": "Test CER"}, {"type": "wer", "value": 69.6, "name": "Test WER"}, {"type": "cer", "value": 20.7, "name": "Test CER"}, {"type": "wer", "value": 73.2, "name": "Test WER"}, {"type": "cer", "value": 23.2, "name": "Test CER"}]}, {"task": {"type": "automatic-speech-recognition", "name": "Automatic Speech Recognition"}, "dataset": {"name": "Robust Speech Event - Dev Data", "type": "speech-recognition-community-v2/dev_data", "args": "cs"}, "metrics": [{"type": "wer", "value": 84.11, "name": "Test WER"}, {"type": "wer", "value": 65.3, "name": "Test WER"}, {"type": "wer", "value": 88.37, "name": "Test WER"}, {"type": "wer", "value": 87.69, "name": "Test WER"}]}, {"task": {"type": "automatic-speech-recognition", "name": "Automatic Speech Recognition"}, "dataset": {"name": "Robust Speech Event - Test Data", "type": "speech-recognition-community-v2/eval_data", "args": "cs"}, "metrics": [{"type": "wer", "value": 75.99, "name": "Test WER"}, {"type": "wer", "value": 72.0, "name": "Test WER"}, {"type": "wer", "value": 89.08, "name": "Test WER"}, {"type": "wer", "value": 87.89, "name": "Test WER"}]}]}]}
|
automatic-speech-recognition
|
comodoro/wav2vec2-xls-r-300m-west-slavic-cv8
|
[
"transformers",
"pytorch",
"wav2vec2",
"automatic-speech-recognition",
"generated_from_trainer",
"hf-asr-leaderboard",
"mozilla-foundation/common_voice_8_0",
"robust-speech-event",
"xlsr-fine-tuning-week",
"cs",
"hsb",
"pl",
"sk",
"sl",
"dataset:mozilla-foundation/common_voice_8_0",
"license:apache-2.0",
"model-index",
"endpoints_compatible",
"region:us"
] |
2022-03-02T23:29:05+00:00
|
[] |
[
"cs",
"hsb",
"pl",
"sk",
"sl"
] |
TAGS
#transformers #pytorch #wav2vec2 #automatic-speech-recognition #generated_from_trainer #hf-asr-leaderboard #mozilla-foundation/common_voice_8_0 #robust-speech-event #xlsr-fine-tuning-week #cs #hsb #pl #sk #sl #dataset-mozilla-foundation/common_voice_8_0 #license-apache-2.0 #model-index #endpoints_compatible #region-us
|
# wav2vec2-xls-r-300m-west-slavic-cv8
This model is a fine-tuned version of facebook/wav2vec2-xls-r-300m on the Common Voice 8 dataset of five similar languages with similar scripts: Czech, Slovak, Polish, Slovenian and Upper Sorbian. Training and validation sets were concatenated and shuffled.
Evaluation set used for training was concatenated from the respective test sets and shuffled while limiting each language to at most 2000 samples. During training, cca WER 70 was achieved on this set.
### Evaluation script
### Training hyperparameters
The following hyperparameters were used during training:
- learning_rate: 0.0003
- train_batch_size: 32
- eval_batch_size: 16
- seed: 42
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- lr_scheduler_warmup_steps: 500
- num_epochs: 50
- mixed_precision_training: Native AMP
### Framework versions
- Transformers 4.16.0.dev0
- Pytorch 1.10.1+cu102
- Datasets 1.18.3
- Tokenizers 0.11.0
|
[
"# wav2vec2-xls-r-300m-west-slavic-cv8\n\nThis model is a fine-tuned version of facebook/wav2vec2-xls-r-300m on the Common Voice 8 dataset of five similar languages with similar scripts: Czech, Slovak, Polish, Slovenian and Upper Sorbian. Training and validation sets were concatenated and shuffled.\n\nEvaluation set used for training was concatenated from the respective test sets and shuffled while limiting each language to at most 2000 samples. During training, cca WER 70 was achieved on this set.",
"### Evaluation script",
"### Training hyperparameters\n\nThe following hyperparameters were used during training:\n- learning_rate: 0.0003\n- train_batch_size: 32\n- eval_batch_size: 16\n- seed: 42\n- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08\n- lr_scheduler_type: linear\n- lr_scheduler_warmup_steps: 500\n- num_epochs: 50\n- mixed_precision_training: Native AMP",
"### Framework versions\n\n- Transformers 4.16.0.dev0\n- Pytorch 1.10.1+cu102\n- Datasets 1.18.3\n- Tokenizers 0.11.0"
] |
[
"TAGS\n#transformers #pytorch #wav2vec2 #automatic-speech-recognition #generated_from_trainer #hf-asr-leaderboard #mozilla-foundation/common_voice_8_0 #robust-speech-event #xlsr-fine-tuning-week #cs #hsb #pl #sk #sl #dataset-mozilla-foundation/common_voice_8_0 #license-apache-2.0 #model-index #endpoints_compatible #region-us \n",
"# wav2vec2-xls-r-300m-west-slavic-cv8\n\nThis model is a fine-tuned version of facebook/wav2vec2-xls-r-300m on the Common Voice 8 dataset of five similar languages with similar scripts: Czech, Slovak, Polish, Slovenian and Upper Sorbian. Training and validation sets were concatenated and shuffled.\n\nEvaluation set used for training was concatenated from the respective test sets and shuffled while limiting each language to at most 2000 samples. During training, cca WER 70 was achieved on this set.",
"### Evaluation script",
"### Training hyperparameters\n\nThe following hyperparameters were used during training:\n- learning_rate: 0.0003\n- train_batch_size: 32\n- eval_batch_size: 16\n- seed: 42\n- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08\n- lr_scheduler_type: linear\n- lr_scheduler_warmup_steps: 500\n- num_epochs: 50\n- mixed_precision_training: Native AMP",
"### Framework versions\n\n- Transformers 4.16.0.dev0\n- Pytorch 1.10.1+cu102\n- Datasets 1.18.3\n- Tokenizers 0.11.0"
] |
[
132,
137,
5,
117,
40
] |
[
"passage: TAGS\n#transformers #pytorch #wav2vec2 #automatic-speech-recognition #generated_from_trainer #hf-asr-leaderboard #mozilla-foundation/common_voice_8_0 #robust-speech-event #xlsr-fine-tuning-week #cs #hsb #pl #sk #sl #dataset-mozilla-foundation/common_voice_8_0 #license-apache-2.0 #model-index #endpoints_compatible #region-us \n# wav2vec2-xls-r-300m-west-slavic-cv8\n\nThis model is a fine-tuned version of facebook/wav2vec2-xls-r-300m on the Common Voice 8 dataset of five similar languages with similar scripts: Czech, Slovak, Polish, Slovenian and Upper Sorbian. Training and validation sets were concatenated and shuffled.\n\nEvaluation set used for training was concatenated from the respective test sets and shuffled while limiting each language to at most 2000 samples. During training, cca WER 70 was achieved on this set.### Evaluation script### Training hyperparameters\n\nThe following hyperparameters were used during training:\n- learning_rate: 0.0003\n- train_batch_size: 32\n- eval_batch_size: 16\n- seed: 42\n- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08\n- lr_scheduler_type: linear\n- lr_scheduler_warmup_steps: 500\n- num_epochs: 50\n- mixed_precision_training: Native AMP### Framework versions\n\n- Transformers 4.16.0.dev0\n- Pytorch 1.10.1+cu102\n- Datasets 1.18.3\n- Tokenizers 0.11.0"
] |
[
-0.12108753621578217,
0.07893773913383484,
-0.00504260091111064,
0.019991181790828705,
0.1269615888595581,
0.01632395200431347,
0.11374588310718536,
0.13097305595874786,
-0.09832977503538132,
0.09736346453428268,
0.014106732793152332,
0.0520058199763298,
0.07199088484048843,
0.08912356942892075,
-0.007800943683832884,
-0.21072596311569214,
0.06337546557188034,
-0.0729396790266037,
-0.09749161452054977,
0.09500482678413391,
0.10305947065353394,
-0.11064396798610687,
-0.012299323454499245,
0.022056659683585167,
-0.13483202457427979,
0.006065892521291971,
-0.0027331772726029158,
-0.04032193869352341,
0.08016829937696457,
0.05960351601243019,
0.10465463250875473,
0.052269235253334045,
0.1218474730849266,
-0.24541988968849182,
0.004882254637777805,
0.08505474776029587,
0.04204193130135536,
0.05718286707997322,
0.1394839882850647,
-0.011161702685058117,
0.15684746205806732,
-0.062334101647138596,
0.04682580754160881,
0.047891732305288315,
-0.0587024912238121,
-0.23422718048095703,
-0.10966979712247849,
-0.032008472830057144,
0.08436298370361328,
0.10104664415121078,
-0.04392934590578079,
0.0498715378344059,
-0.11581818014383316,
0.08752012252807617,
0.11938606947660446,
-0.2563907206058502,
-0.05680727958679199,
0.06323466449975967,
-0.0173268374055624,
0.0219209473580122,
-0.11816053092479706,
-0.013468122109770775,
0.003486916422843933,
-0.004094917327165604,
0.07987677305936813,
0.005295335315167904,
-0.11919533461332321,
-0.006709342356771231,
-0.1414116472005844,
-0.038442596793174744,
0.0822838619351387,
0.018006443977355957,
-0.0443372018635273,
-0.1198766678571701,
-0.01846175640821457,
-0.08362803608179092,
0.000483541312860325,
0.005200072191655636,
0.01558272261172533,
-0.02213447168469429,
-0.03930613771080971,
0.0060003213584423065,
-0.07765556871891022,
-0.05973915755748749,
0.037377409636974335,
0.19026117026805878,
0.05370122566819191,
0.006543819326907396,
-0.001447875052690506,
0.11312352120876312,
0.07350603491067886,
-0.13487431406974792,
-0.02524588257074356,
0.036631789058446884,
-0.17716358602046967,
-0.050005100667476654,
-0.04281797260046005,
-0.03908281773328781,
0.010665678419172764,
0.1496385931968689,
0.0006936145364306867,
0.09304984658956528,
-0.003005477599799633,
0.018215175718069077,
-0.048760611563920975,
0.21629217267036438,
-0.03809709474444389,
0.005377126391977072,
-0.05248889699578285,
0.07028008252382278,
-0.039650626480579376,
-0.00961702037602663,
-0.04868505150079727,
-0.007753313519060612,
0.079371877014637,
0.08952561020851135,
-0.05786794051527977,
0.015979791060090065,
-0.02615114487707615,
-0.012269117869436741,
-0.031170271337032318,
-0.17251434922218323,
0.041257016360759735,
0.06408290565013885,
-0.08940935879945755,
0.08142057806253433,
-0.03172149136662483,
0.004600421525537968,
-0.10572437196969986,
0.16632018983364105,
-0.006084960885345936,
0.047032687813043594,
-0.08787623792886734,
-0.11108654737472534,
0.03153860569000244,
-0.029510358348488808,
-0.03545970097184181,
-0.058650903403759,
-0.06732076406478882,
-0.07431188225746155,
0.042032867670059204,
-0.05602690204977989,
0.036986690014600754,
-0.10144626349210739,
-0.07697082310914993,
0.02487020567059517,
-0.010677590034902096,
0.13577066361904144,
-0.046495869755744934,
0.06004076451063156,
-0.06353763490915298,
0.0059100124053657055,
0.10347426682710648,
0.04971292242407799,
-0.057017046958208084,
-0.02188686467707157,
-0.14762486517429352,
0.09473269432783127,
-0.09864477068185806,
-0.026466671377420425,
-0.12007425725460052,
-0.10280650109052658,
0.017009450122714043,
0.008845644071698189,
0.08706413209438324,
0.09047231078147888,
-0.21106840670108795,
-0.04991862177848816,
0.1641329973936081,
-0.08589266240596771,
0.019246801733970642,
0.12447793036699295,
-0.022493289783596992,
0.00676861684769392,
0.05556614324450493,
0.15543974936008453,
0.13927599787712097,
-0.10748042166233063,
-0.007598519790917635,
-0.06448514014482498,
0.05115973576903343,
0.08821678906679153,
0.06353840231895447,
-0.08131140470504761,
0.08852381259202957,
0.02193661592900753,
-0.0783950686454773,
0.009187855757772923,
-0.045016203075647354,
-0.051098886877298355,
-0.021735545247793198,
-0.035224851220846176,
0.022284839302301407,
0.022328682243824005,
0.01013277843594551,
-0.0804644450545311,
-0.13518285751342773,
0.006114763207733631,
0.14699380099773407,
-0.12215213477611542,
0.05219936743378639,
-0.09819650650024414,
0.038165800273418427,
0.027460403740406036,
-0.003933952655643225,
-0.18773995339870453,
-0.04046446457505226,
0.04029390215873718,
-0.07533472776412964,
-0.011749918572604656,
0.07188502699136734,
0.05519557744264603,
0.0448763370513916,
-0.059122007340192795,
-0.03176669031381607,
-0.07848896831274033,
-0.024549102410674095,
-0.02668791264295578,
-0.18052075803279877,
-0.0693545788526535,
-0.027253923937678337,
0.14698217809200287,
-0.17930182814598083,
-0.006669723428785801,
0.08429356664419174,
0.1395551860332489,
-0.011916854418814182,
-0.06653580814599991,
-0.02673560567200184,
0.05612488090991974,
-0.007393448613584042,
-0.08585165441036224,
0.027023911476135254,
0.013457520864903927,
-0.04134874418377876,
-0.006240504328161478,
-0.1329563707113266,
-0.07311736792325974,
0.0810161903500557,
0.03186064213514328,
-0.06698477268218994,
-0.04968063160777092,
-0.05579376220703125,
-0.003248523687943816,
-0.07925676554441452,
-0.005500543862581253,
0.16878114640712738,
0.024609873071312904,
0.1317959725856781,
-0.0890425592660904,
-0.05223013833165169,
0.002937267767265439,
0.024437353014945984,
0.011631942354142666,
0.13684654235839844,
0.06546377390623093,
-0.043086178600788116,
0.06300585716962814,
0.0325377881526947,
0.0014797730837017298,
0.17459739744663239,
-0.05911116302013397,
-0.09916068613529205,
-0.03320276364684105,
0.04696820303797722,
0.007043551187962294,
0.08595811575651169,
-0.042813315987586975,
0.020358582958579063,
0.030592620372772217,
0.055855222046375275,
0.03471299633383751,
-0.17731288075447083,
0.030574167147278786,
0.016272271052002907,
-0.10193277150392532,
0.0020512097980827093,
0.009848140180110931,
0.010874335654079914,
0.09692259132862091,
-0.027393491938710213,
-0.04019012302160263,
-0.02985377609729767,
-0.05387711152434349,
-0.097307950258255,
0.1457235962152481,
-0.14507901668548584,
-0.1048760712146759,
-0.1415676474571228,
0.0647006556391716,
-0.029893897473812103,
-0.022806918248534203,
0.014704390428960323,
-0.12319038808345795,
-0.0853462740778923,
-0.058342013508081436,
0.05314801260828972,
-0.03187429532408714,
-0.022693630307912827,
0.03049217164516449,
0.04391252622008324,
0.045941080898046494,
-0.11570745706558228,
0.008875262923538685,
-0.027622748166322708,
-0.06792543828487396,
0.006585027556866407,
0.04297339543700218,
0.04347865656018257,
0.14328628778457642,
0.013288474641740322,
0.034919623285532,
-0.036589235067367554,
0.12743206322193146,
-0.122630774974823,
0.01671488769352436,
0.10967713594436646,
-0.04547280818223953,
0.031823065131902695,
0.08770880848169327,
0.02961977757513523,
-0.07434491813182831,
0.02491171471774578,
0.036808039993047714,
-0.02789006009697914,
-0.27936825156211853,
-0.07271818071603775,
-0.05418962985277176,
-0.05409042909741402,
0.06698031723499298,
0.017732515931129456,
-0.037401799112558365,
-0.002133812988176942,
-0.08379188925027847,
-0.13748684525489807,
0.10061147809028625,
0.036057718098163605,
0.05693848431110382,
0.05345167964696884,
0.10093625634908676,
-0.03815695270895958,
0.008533090353012085,
0.05211227014660835,
-0.04710118845105171,
0.2611817419528961,
0.0029128955211490393,
0.1360064446926117,
0.04133114218711853,
0.1363288164138794,
-0.004709598608314991,
0.05437600985169411,
0.04203414171934128,
0.00014169210044201463,
0.04598701372742653,
-0.07955571264028549,
-0.02496352046728134,
0.012120802886784077,
0.018725411966443062,
-0.01913364976644516,
-0.09002251923084259,
0.011784452013671398,
0.053514912724494934,
0.2650083303451538,
0.05512382835149765,
-0.16019251942634583,
-0.05563100054860115,
-0.010829966515302658,
-0.03757598623633385,
-0.029772572219371796,
-0.013093138113617897,
0.1595979928970337,
-0.11229903250932693,
0.05563515052199364,
-0.04409587383270264,
0.07255750894546509,
-0.04906759038567543,
0.0036547379568219185,
0.05641140416264534,
0.13444606959819794,
0.007686685770750046,
0.09017954766750336,
-0.23438535630702972,
0.19533680379390717,
0.007307345047593117,
0.13856366276741028,
-0.05589728802442551,
0.052784159779548645,
0.0076506775803864,
-0.031320665031671524,
0.06767898797988892,
0.012938594445586205,
-0.166695237159729,
-0.14311710000038147,
-0.05681449547410011,
0.008341589011251926,
0.15164297819137573,
-0.020954428240656853,
0.1096772626042366,
-0.052340179681777954,
-0.010633221827447414,
0.024996725842356682,
-0.12711896002292633,
-0.09874036908149719,
-0.1181974932551384,
0.05704512447118759,
0.01675407402217388,
-0.012744002975523472,
-0.07368727028369904,
-0.09386558830738068,
-0.1586494743824005,
0.1647869050502777,
-0.08497386425733566,
-0.029385976493358612,
-0.14015255868434906,
0.08000607788562775,
0.14228366315364838,
-0.06659272313117981,
0.028312088921666145,
0.023420920595526695,
0.13275295495986938,
0.009963861666619778,
-0.05498168617486954,
0.02661944553256035,
-0.058949753642082214,
-0.21764589846134186,
-0.0036798682995140553,
0.16736070811748505,
0.07379722595214844,
0.04174204170703888,
-0.0007766258786432445,
0.0418732687830925,
0.04452354460954666,
-0.08521148562431335,
0.017625130712985992,
0.11020790785551071,
0.011826164089143276,
0.060244444757699966,
-0.08041197061538696,
-0.032963696867227554,
-0.09805145859718323,
-0.06378404796123505,
0.09327663481235504,
0.1950886845588684,
-0.08642085641622543,
0.07183961570262909,
0.045391008257865906,
-0.09230751544237137,
-0.16901995241641998,
0.050253771245479584,
0.11530733108520508,
0.06877464056015015,
-0.0050965845584869385,
-0.2026587426662445,
0.035783905535936356,
0.09913505613803864,
0.00032439507776871324,
-0.002449257066473365,
-0.3480296730995178,
-0.1463300585746765,
0.03652148321270943,
0.039929646998643875,
-0.025592945516109467,
-0.06377512961626053,
-0.016719169914722443,
-0.029818566516041756,
-0.07257185876369476,
0.016228027641773224,
-0.03801794350147247,
0.0976613387465477,
0.02545960433781147,
-0.016886400058865547,
0.048301033675670624,
-0.04274313524365425,
0.1422272026538849,
0.06514675170183182,
0.05267602950334549,
-0.02770208939909935,
0.08753848820924759,
0.04636199027299881,
-0.04019772633910179,
0.02757984586060047,
-0.06169750168919563,
0.027084054425358772,
-0.14674809575080872,
-0.039253540337085724,
-0.07754292339086533,
0.015369280241429806,
-0.060028545558452606,
0.00474974000826478,
-0.058866437524557114,
0.06705600768327713,
0.0740390345454216,
-0.005307024344801903,
0.0017622257582843304,
-0.05850723013281822,
0.012084577232599258,
0.10650534182786942,
0.09698833525180817,
0.03372950479388237,
-0.07718096673488617,
0.025985589250922203,
0.02946278639137745,
0.034777577966451645,
-0.07575653493404388,
0.046082742512226105,
0.15543518960475922,
0.013539189472794533,
0.12942294776439667,
0.029694972559809685,
-0.10328114777803421,
-0.01716572232544422,
0.024019286036491394,
-0.08626026660203934,
-0.15659286081790924,
0.026893364265561104,
-0.015387495048344135,
-0.05649009719491005,
-0.0266758780926466,
0.1339719146490097,
-0.016950704157352448,
0.008973858319222927,
-0.0058991750702261925,
0.03400903195142746,
-0.020146463066339493,
0.23325936496257782,
-0.010762395337224007,
0.07641133666038513,
-0.08268838375806808,
0.13547445833683014,
0.061999592930078506,
-0.05183941498398781,
0.029668979346752167,
0.04414106160402298,
-0.1020292341709137,
-0.029648957774043083,
0.04036075994372368,
0.0998336672782898,
0.023162435740232468,
-0.06882479786872864,
-0.08909106254577637,
-0.14312516152858734,
0.05853339657187462,
0.08478184044361115,
0.05893488600850105,
0.03481689840555191,
-0.03970472514629364,
-0.009326680563390255,
-0.12681783735752106,
0.08738001435995102,
0.09535365551710129,
0.008238952606916428,
-0.04372726380825043,
0.196598619222641,
0.017018761485815048,
-0.04018962010741234,
0.0030888242181390524,
-0.015218762680888176,
-0.07190035283565521,
0.030828697606921196,
-0.07924891263246536,
-0.035681989043951035,
-0.004702833481132984,
-0.023258421570062637,
0.0005558886332437396,
-0.050369005650281906,
-0.016267860308289528,
0.047693461179733276,
-0.10044032335281372,
-0.037396255880594254,
-0.044344641268253326,
0.045578427612781525,
-0.10246080905199051,
-0.005928356666117907,
0.010271977633237839,
-0.1405438631772995,
0.0901232436299324,
0.06332387030124664,
0.010170066729187965,
0.09633436799049377,
-0.10205249488353729,
-0.04248332977294922,
0.008426298387348652,
0.03959903120994568,
0.011919395066797733,
-0.14029563963413239,
0.018495284020900726,
0.0028159706853330135,
0.037667032331228256,
0.017982687801122665,
0.06589842587709427,
-0.09710225462913513,
-0.014544493518769741,
-0.03107229433953762,
-0.035704486072063446,
-0.04208342358469963,
0.10440759360790253,
0.06937013566493988,
0.06825083494186401,
0.1766415685415268,
-0.06469820439815521,
0.06143966689705849,
-0.1754128485918045,
-0.008270937018096447,
-0.00493755005300045,
-0.04456071928143501,
-0.032231710851192474,
-0.03664705157279968,
0.0917631983757019,
-0.05141161382198334,
0.006800275761634111,
-0.023895826190710068,
0.0702408030629158,
0.04528304934501648,
-0.08390919119119644,
-0.06456227600574493,
0.07219056040048599,
0.11373922228813171,
0.06062575802206993,
0.0026511524338275194,
0.05898343771696091,
-0.03609928488731384,
0.028193291276693344,
0.058719418942928314,
0.1783018857240677,
0.2020840346813202,
0.042935505509376526,
0.07695137709379196,
0.03791147843003273,
-0.15426260232925415,
-0.05327063053846359,
0.1454557478427887,
-0.1255624145269394,
0.09707814455032349,
-0.05929401144385338,
0.18812942504882812,
0.09103800356388092,
-0.17699450254440308,
0.09613658487796783,
-0.023608502000570297,
-0.10912144929170609,
-0.11673706024885178,
-0.07386066019535065,
-0.06924691796302795,
-0.09599003195762634,
0.045260269194841385,
-0.09334973245859146,
0.08640775084495544,
0.09145888686180115,
0.06415168195962906,
-0.0069151404313743114,
0.08484215289354324,
-0.033458732068538666,
-0.05407871678471565,
0.12336169183254242,
0.0029782140627503395,
0.024775851517915726,
-0.02131955325603485,
-0.07615145295858383,
0.06362569332122803,
0.030166609212756157,
0.09747293591499329,
0.005980025511234999,
0.016071120277047157,
0.004909298848360777,
-0.024040451273322105,
-0.05122453346848488,
0.042762547731399536,
-0.01980459876358509,
0.07800990343093872,
0.09850174933671951,
0.06341062486171722,
0.006020293105393648,
-0.037796501070261,
0.21781225502490997,
-0.03785776346921921,
-0.10322412103414536,
-0.1395025998353958,
0.11148063093423843,
0.07848548144102097,
0.04344117268919945,
0.0421304889023304,
-0.07436913251876831,
-0.024852292612195015,
0.18710878491401672,
0.10992242395877838,
0.00794029887765646,
-0.01947891339659691,
-0.020470794290304184,
-0.012462912127375603,
0.013867439702153206,
0.10435786843299866,
0.0750378891825676,
-0.0003585329686757177,
-0.01500444021075964,
0.007094731088727713,
-0.02735915035009384,
-0.05645361170172691,
-0.019757892936468124,
0.09485121816396713,
-0.04927749186754227,
-0.020546836778521538,
-0.05314566567540169,
0.06947411596775055,
0.035981111228466034,
-0.1646958589553833,
0.04736179858446121,
-0.11219576001167297,
-0.178545281291008,
0.0012653210433200002,
0.10897337645292282,
0.0068023414351046085,
0.06229046359658241,
-0.03140661492943764,
-0.04455288127064705,
0.16410529613494873,
0.0073362914845347404,
0.01700616627931595,
-0.1318863183259964,
0.04863811284303665,
-0.21575988829135895,
0.12904465198516846,
-0.007957886904478073,
0.11030764132738113,
0.0942145362496376,
0.04911400377750397,
-0.09372320771217346,
0.046549614518880844,
0.054481085389852524,
-0.11126238107681274,
0.04592375457286835,
0.1692349761724472,
-0.05679957568645477,
0.11323487013578415,
0.055928345769643784,
-0.0702403262257576,
0.04793478921055794,
-0.057718440890312195,
-0.04909517243504524,
-0.03275679796934128,
0.05556805059313774,
-0.06048744544386864,
0.10122428089380264,
0.2213180512189865,
-0.030279330909252167,
0.036880914121866226,
-0.059831708669662476,
0.02477618120610714,
-0.019306901842355728,
0.12907765805721283,
-0.010698598809540272,
-0.2403153032064438,
0.031446848064661026,
-0.06156807392835617,
0.004113312344998121,
-0.13939936459064484,
-0.05423526093363762,
0.020358923822641373,
-0.07550029456615448,
-0.034358229488134384,
0.15555745363235474,
0.004279581364244223,
0.034413088113069534,
-0.042313188314437866,
-0.09603995084762573,
-0.004875425714999437,
0.1382092535495758,
-0.13250701129436493,
-0.03494460880756378
] |
null | null |
transformers
|
<!-- 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. -->
# distilroberta-base-finetuned-toxic
This model is a fine-tuned version of [distilroberta-base](https://huggingface.co/distilroberta-base) on the None dataset.
It achieves the following results on the evaluation set:
- Loss: 2.2768
## Model description
More information needed
## Intended uses & limitations
More information needed
## Training and evaluation data
More information needed
## Training procedure
### Training hyperparameters
The following hyperparameters were used during training:
- learning_rate: 2e-05
- train_batch_size: 32
- eval_batch_size: 32
- seed: 42
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- num_epochs: 3.0
- mixed_precision_training: Native AMP
### Training results
| Training Loss | Epoch | Step | Validation Loss |
|:-------------:|:-----:|:----:|:---------------:|
| 2.5338 | 1.0 | 313 | 2.3127 |
| 2.4482 | 2.0 | 626 | 2.2985 |
| 2.4312 | 3.0 | 939 | 2.2411 |
### Framework versions
- Transformers 4.16.0
- Pytorch 1.10.0
- Datasets 1.18.1
- Tokenizers 0.10.3
|
{"license": "apache-2.0", "tags": ["generated_from_trainer"], "model-index": [{"name": "distilroberta-base-finetuned-toxic", "results": []}]}
|
fill-mask
|
conjuring92/distilroberta-base-finetuned-toxic
|
[
"transformers",
"pytorch",
"tensorboard",
"roberta",
"fill-mask",
"generated_from_trainer",
"license:apache-2.0",
"autotrain_compatible",
"endpoints_compatible",
"region:us"
] |
2022-03-02T23:29:05+00:00
|
[] |
[] |
TAGS
#transformers #pytorch #tensorboard #roberta #fill-mask #generated_from_trainer #license-apache-2.0 #autotrain_compatible #endpoints_compatible #region-us
|
distilroberta-base-finetuned-toxic
==================================
This model is a fine-tuned version of distilroberta-base on the None dataset.
It achieves the following results on the evaluation set:
* Loss: 2.2768
Model description
-----------------
More information needed
Intended uses & limitations
---------------------------
More information needed
Training and evaluation data
----------------------------
More information needed
Training procedure
------------------
### Training hyperparameters
The following hyperparameters were used during training:
* learning\_rate: 2e-05
* train\_batch\_size: 32
* eval\_batch\_size: 32
* seed: 42
* optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
* lr\_scheduler\_type: linear
* num\_epochs: 3.0
* mixed\_precision\_training: Native AMP
### Training results
### Framework versions
* Transformers 4.16.0
* Pytorch 1.10.0
* Datasets 1.18.1
* Tokenizers 0.10.3
|
[
"### Training hyperparameters\n\n\nThe following hyperparameters were used during training:\n\n\n* learning\\_rate: 2e-05\n* train\\_batch\\_size: 32\n* eval\\_batch\\_size: 32\n* seed: 42\n* optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08\n* lr\\_scheduler\\_type: linear\n* num\\_epochs: 3.0\n* mixed\\_precision\\_training: Native AMP",
"### Training results",
"### Framework versions\n\n\n* Transformers 4.16.0\n* Pytorch 1.10.0\n* Datasets 1.18.1\n* Tokenizers 0.10.3"
] |
[
"TAGS\n#transformers #pytorch #tensorboard #roberta #fill-mask #generated_from_trainer #license-apache-2.0 #autotrain_compatible #endpoints_compatible #region-us \n",
"### Training hyperparameters\n\n\nThe following hyperparameters were used during training:\n\n\n* learning\\_rate: 2e-05\n* train\\_batch\\_size: 32\n* eval\\_batch\\_size: 32\n* seed: 42\n* optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08\n* lr\\_scheduler\\_type: linear\n* num\\_epochs: 3.0\n* mixed\\_precision\\_training: Native AMP",
"### Training results",
"### Framework versions\n\n\n* Transformers 4.16.0\n* Pytorch 1.10.0\n* Datasets 1.18.1\n* Tokenizers 0.10.3"
] |
[
56,
113,
4,
32
] |
[
"passage: TAGS\n#transformers #pytorch #tensorboard #roberta #fill-mask #generated_from_trainer #license-apache-2.0 #autotrain_compatible #endpoints_compatible #region-us \n### Training hyperparameters\n\n\nThe following hyperparameters were used during training:\n\n\n* learning\\_rate: 2e-05\n* train\\_batch\\_size: 32\n* eval\\_batch\\_size: 32\n* seed: 42\n* optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08\n* lr\\_scheduler\\_type: linear\n* num\\_epochs: 3.0\n* mixed\\_precision\\_training: Native AMP### Training results### Framework versions\n\n\n* Transformers 4.16.0\n* Pytorch 1.10.0\n* Datasets 1.18.1\n* Tokenizers 0.10.3"
] |
[
-0.09727733582258224,
0.05276279151439667,
-0.0025887712836265564,
0.10932973027229309,
0.15657326579093933,
0.014067200943827629,
0.120512954890728,
0.1221587210893631,
-0.11186645179986954,
0.01637771539390087,
0.12117896229028702,
0.15544866025447845,
0.022005150094628334,
0.14037536084651947,
-0.032196663320064545,
-0.2658022344112396,
0.0019786651246249676,
0.038167599588632584,
-0.09716621786355972,
0.13332363963127136,
0.08791416883468628,
-0.12936049699783325,
0.06048659235239029,
0.025049874559044838,
-0.19178318977355957,
0.018959246575832367,
0.021780241280794144,
-0.06689062714576721,
0.14998455345630646,
0.01751367375254631,
0.13323692977428436,
0.004367314279079437,
0.09007628262042999,
-0.17589342594146729,
0.017674686387181282,
0.06606432050466537,
0.013317650184035301,
0.08522256463766098,
0.059391871094703674,
0.008802860043942928,
0.10310767590999603,
-0.08089388161897659,
0.06637675315141678,
0.016913771629333496,
-0.12442276626825333,
-0.2775358557701111,
-0.08771257102489471,
0.010578185319900513,
0.05847562849521637,
0.10341425985097885,
0.0036863491404801607,
0.16727407276630402,
-0.08348317444324493,
0.09253482520580292,
0.2330714613199234,
-0.29510635137557983,
-0.06488741189241409,
-0.0030603811610490084,
0.031467873603105545,
0.050447165966033936,
-0.10280831903219223,
-0.023944085463881493,
0.029505187645554543,
0.05246409401297569,
0.1630900651216507,
-0.033069461584091187,
-0.10718980431556702,
0.005347982048988342,
-0.14065872132778168,
-0.03431320935487747,
0.09367067366838455,
0.03678300231695175,
-0.03436080366373062,
-0.034610383212566376,
-0.06539472192525864,
-0.14944353699684143,
-0.051655929535627365,
-0.014058646745979786,
0.05339249595999718,
-0.030730150640010834,
-0.09168270230293274,
-0.010781724937260151,
-0.09778901189565659,
-0.06865449249744415,
-0.07592903077602386,
0.1584799885749817,
0.04578171297907829,
0.020981865003705025,
-0.03090618923306465,
0.09142642468214035,
-0.025966867804527283,
-0.13840322196483612,
0.025299938395619392,
0.035851798951625824,
-0.032139576971530914,
-0.03479180857539177,
-0.0663965567946434,
-0.10003641992807388,
0.013037087395787239,
0.13570520281791687,
-0.0617569200694561,
0.055930450558662415,
0.016360556706786156,
0.04925798252224922,
-0.1118210107088089,
0.18949267268180847,
-0.05484069883823395,
-0.0000068378335527086165,
0.014292706735432148,
0.045369572937488556,
0.025233875960111618,
-0.011124632321298122,
-0.09996230900287628,
0.015488467179238796,
0.0970710888504982,
0.009847467765212059,
-0.05283220857381821,
0.060301247984170914,
-0.05383303388953209,
-0.01573282480239868,
0.005770279094576836,
-0.09482882171869278,
0.033947136253118515,
-0.017307057976722717,
-0.07984866201877594,
-0.02343071438372135,
0.041074611246585846,
0.0216955728828907,
-0.01862209290266037,
0.11628654599189758,
-0.08282556384801865,
0.04288871958851814,
-0.1134348213672638,
-0.12661698460578918,
0.0167812779545784,
-0.05065063759684563,
0.01682998239994049,
-0.09676264226436615,
-0.16210290789604187,
-0.007470035459846258,
0.07730773091316223,
-0.025158746168017387,
-0.045654941350221634,
-0.016725344583392143,
-0.05677515268325806,
0.019817281514406204,
-0.021943677216768265,
0.1562466323375702,
-0.0632321685552597,
0.11002491414546967,
0.04231837019324303,
0.07664347440004349,
-0.0465405136346817,
0.05831334367394447,
-0.10249507427215576,
0.012054238468408585,
-0.19330212473869324,
0.026024533435702324,
-0.05157585069537163,
0.06762535870075226,
-0.09662693738937378,
-0.11193671822547913,
-0.001745830406434834,
-0.007719195447862148,
0.10026814043521881,
0.0760100707411766,
-0.15697461366653442,
-0.07551193237304688,
0.18085166811943054,
-0.06782783567905426,
-0.0977063775062561,
0.12463632225990295,
-0.056412775069475174,
0.024883346632122993,
0.056455451995134354,
0.1479070484638214,
0.05578967183828354,
-0.10202031582593918,
0.04516120254993439,
-0.027494797483086586,
0.036586418747901917,
-0.06564313918352127,
0.0712294802069664,
-0.0010718610137701035,
0.00415741465985775,
0.024535732343792915,
-0.017839116975665092,
0.08276356756687164,
-0.09130366146564484,
-0.09268982708454132,
-0.04248318821191788,
-0.09468895941972733,
0.04991655796766281,
0.06745107471942902,
0.07391607761383057,
-0.10388538241386414,
-0.10348491370677948,
0.05859484523534775,
0.07668542861938477,
-0.05475547909736633,
0.036643918603658676,
-0.07082521915435791,
0.05584661662578583,
-0.06075767055153847,
-0.0203676987439394,
-0.19135278463363647,
-0.0210916455835104,
0.005143512971699238,
-0.032358478754758835,
0.036756496876478195,
0.0018051104852929711,
0.08647517114877701,
0.06497298181056976,
-0.05279356613755226,
-0.02212465927004814,
-0.0447598434984684,
-0.004686160013079643,
-0.11799204349517822,
-0.20016060769557953,
-0.036140650510787964,
-0.02463385835289955,
0.1147352084517479,
-0.16598622500896454,
0.024207474663853645,
-0.04599187895655632,
0.07687058299779892,
0.020100899040699005,
-0.007769051007926464,
-0.040116291493177414,
0.09332975000143051,
-0.019785523414611816,
-0.058219484984874725,
0.07162099331617355,
0.011914086528122425,
-0.0848635882139206,
-0.017858250066637993,
-0.11380311846733093,
0.17509274184703827,
0.13217905163764954,
-0.11170631647109985,
-0.08017847687005997,
0.016488829627633095,
-0.059081580489873886,
-0.04329817369580269,
-0.04113469272851944,
0.05333131551742554,
0.17671847343444824,
0.005980083718895912,
0.14853565394878387,
-0.06375988572835922,
-0.03662200644612312,
0.02908109873533249,
-0.037194203585386276,
0.026211664080619812,
0.08923456817865372,
0.12271559238433838,
-0.06568818539381027,
0.13178236782550812,
0.16340231895446777,
-0.11366065591573715,
0.13081511855125427,
-0.03615843877196312,
-0.08437047898769379,
-0.021690163761377335,
-0.026942605152726173,
0.01280478946864605,
0.10864219069480896,
-0.11294928938150406,
0.0042366888374090195,
0.024803148582577705,
0.013765272684395313,
0.02038712427020073,
-0.23127706348896027,
-0.032752878963947296,
0.03289910405874252,
-0.0426514632999897,
-0.021814502775669098,
-0.01170436292886734,
0.009686819277703762,
0.09913743287324905,
0.007068458013236523,
-0.0906631276011467,
0.0360790379345417,
0.009418044239282608,
-0.06216278672218323,
0.19703933596611023,
-0.09213234484195709,
-0.17177298665046692,
-0.11987138539552689,
-0.08282364159822464,
-0.03504540026187897,
0.0019695323426276445,
0.061056267470121384,
-0.08206522464752197,
-0.04028981924057007,
-0.049265556037425995,
0.005008784122765064,
0.006744479760527611,
0.037783216685056686,
-0.00019858193991240114,
-0.0116536570712924,
0.09877227991819382,
-0.10707361996173859,
-0.010031536221504211,
-0.04429670050740242,
-0.05603432655334473,
0.06243006885051727,
0.06389708817005157,
0.1226319968700409,
0.1518116146326065,
-0.02872362546622753,
0.007661616895347834,
-0.0228106752038002,
0.2102757692337036,
-0.07108370959758759,
-0.030200866982340813,
0.1420118510723114,
0.0030039921402931213,
0.06602957099676132,
0.10807861387729645,
0.0722503587603569,
-0.08301418274641037,
0.016107838600873947,
0.039003003388643265,
-0.04016367718577385,
-0.20405517518520355,
-0.03374701365828514,
-0.06006345525383949,
-0.05608914792537689,
0.09437378495931625,
0.027972757816314697,
0.04974125325679779,
0.057707760483026505,
0.04580223932862282,
0.0641540139913559,
-0.0479968786239624,
0.06138211861252785,
0.10511361807584763,
0.057232704013586044,
0.14003139734268188,
-0.0390312559902668,
-0.07853563874959946,
0.029527489095926285,
-0.009178579784929752,
0.22215452790260315,
0.009872746653854847,
0.13282617926597595,
0.058555033057928085,
0.1976109892129898,
0.009029245004057884,
0.08576111495494843,
0.011703523807227612,
-0.04654518514871597,
-0.011961190961301327,
-0.04321853816509247,
-0.03448067978024483,
0.016321510076522827,
-0.0290436539798975,
0.045809704810380936,
-0.10131815820932388,
-0.02125442959368229,
0.04000888764858246,
0.29663217067718506,
0.027392592281103134,
-0.3310544192790985,
-0.0843856930732727,
-0.01174291130155325,
-0.04213546961545944,
-0.022783860564231873,
0.0055947392247617245,
0.0721932053565979,
-0.09237487614154816,
0.043565478175878525,
-0.09005331993103027,
0.10003358125686646,
-0.009868129156529903,
0.03840319439768791,
0.06712385267019272,
0.12107866257429123,
0.011233304627239704,
0.06583034992218018,
-0.3094271123409271,
0.28492316603660583,
0.001530093140900135,
0.07735749334096909,
-0.07666285336017609,
0.010936425998806953,
0.05065407603979111,
0.03013729490339756,
0.046047963201999664,
-0.020280489698052406,
-0.061914294958114624,
-0.1939663141965866,
-0.05757405236363411,
0.02732628397643566,
0.08024699240922928,
0.005809903610497713,
0.10143333673477173,
-0.031513672322034836,
-0.0012570666149258614,
0.07499086856842041,
-0.008392834104597569,
-0.07681719213724136,
-0.08626651018857956,
0.0020977649837732315,
0.034054480493068695,
-0.0402333028614521,
-0.07648070156574249,
-0.1231522485613823,
-0.11236070841550827,
0.16199783980846405,
0.024451421573758125,
-0.021299107000231743,
-0.12160047143697739,
0.08866054564714432,
0.09235789626836777,
-0.08374754339456558,
0.050368208438158035,
0.0013393517583608627,
0.07197069376707077,
0.027623947709798813,
-0.07417802512645721,
0.12182905524969101,
-0.0650433599948883,
-0.1394120305776596,
-0.05744535103440285,
0.08645264059305191,
0.02475792169570923,
0.0710546225309372,
-0.021566763520240784,
0.026648057624697685,
-0.0320403017103672,
-0.0790698453783989,
0.03436010330915451,
-0.04415557160973549,
0.059897951781749725,
0.02157610096037388,
-0.037923891097307205,
0.014048236422240734,
-0.054989323019981384,
-0.029642367735505104,
0.1773623526096344,
0.23653654754161835,
-0.09469417482614517,
0.03158649429678917,
0.04489544406533241,
-0.053964029997587204,
-0.19497813284397125,
0.03340412303805351,
0.05914336442947388,
0.01364604476839304,
0.06666367501020432,
-0.17863371968269348,
0.10128732025623322,
0.09792090207338333,
-0.019742129370570183,
0.10550487786531448,
-0.31852486729621887,
-0.12974706292152405,
0.12989205121994019,
0.15451379120349884,
0.11573640257120132,
-0.14875510334968567,
-0.0121289798989892,
-0.025096073746681213,
-0.10878653079271317,
0.08467154204845428,
-0.09527409821748734,
0.12999193370342255,
-0.028902417048811913,
0.08916538208723068,
0.0029913093894720078,
-0.0711037814617157,
0.11900142580270767,
-0.03462141007184982,
0.10234961658716202,
-0.06524918973445892,
0.027055801823735237,
0.06455906480550766,
-0.034652166068553925,
0.016572430729866028,
-0.07804250717163086,
0.017937833443284035,
-0.051155105233192444,
-0.01872984506189823,
-0.08302416652441025,
0.04636695235967636,
-0.01827608421444893,
-0.055765409022569656,
-0.025968102738261223,
0.0344722643494606,
0.04700525104999542,
-0.017641015350818634,
0.13344545662403107,
0.017890337854623795,
0.15407368540763855,
0.10593341290950775,
0.05040779709815979,
-0.06831929087638855,
-0.09000926464796066,
-0.01355105359107256,
-0.020253146067261696,
0.06283298879861832,
-0.12074489891529083,
0.03330596908926964,
0.138737753033638,
0.013420777395367622,
0.1326604038476944,
0.0734485611319542,
-0.045109886676073074,
0.020830102264881134,
0.0736188292503357,
-0.1459069401025772,
-0.08599160611629486,
0.01087126974016428,
-0.029868515208363533,
-0.09680212289094925,
0.0250052809715271,
0.09516045451164246,
-0.07045193761587143,
-0.0120775755494833,
0.0009396668174304068,
0.006613150704652071,
-0.06559663265943527,
0.213267982006073,
0.04890672117471695,
0.043445151299238205,
-0.10042159259319305,
0.06947391480207443,
0.06043069809675217,
-0.0930754616856575,
0.008989800699055195,
0.08274304121732712,
-0.06342104822397232,
-0.03567155823111534,
0.11515609920024872,
0.17208249866962433,
-0.044524382799863815,
-0.057855647057294846,
-0.15304730832576752,
-0.11411849409341812,
0.07575436681509018,
0.15184886753559113,
0.09064159542322159,
-0.005068277940154076,
-0.04906771704554558,
0.01539127342402935,
-0.1140567883849144,
0.07458917051553726,
0.05551859363913536,
0.0656362995505333,
-0.12889915704727173,
0.16458217799663544,
0.019340399652719498,
0.05038749426603317,
-0.02333475649356842,
0.02033325843513012,
-0.09032940864562988,
0.01822187751531601,
-0.14412593841552734,
-0.03300732374191284,
-0.025808002799749374,
-0.0005923564312979579,
-0.00316929304972291,
-0.05793065205216408,
-0.06625253707170486,
0.023029958829283714,
-0.12719348073005676,
-0.036142703145742416,
0.03182841092348099,
0.026457687839865685,
-0.11786168813705444,
-0.049711164087057114,
0.03438474237918854,
-0.05623018741607666,
0.05172538012266159,
0.04428728669881821,
0.012373710051178932,
0.057969529181718826,
-0.13981284201145172,
-0.013017303310334682,
0.060207169502973557,
0.007328222505748272,
0.06148969382047653,
-0.10135748982429504,
-0.012623230926692486,
0.0015015358803793788,
0.06741057336330414,
0.004397114273160696,
0.08005524426698685,
-0.1434168815612793,
-0.01983780972659588,
-0.028289832174777985,
-0.08744540810585022,
-0.058718930929899216,
0.02345593087375164,
0.07388481497764587,
0.02768758125603199,
0.1990877091884613,
-0.09778469800949097,
0.04332086816430092,
-0.212261363863945,
0.004244305193424225,
-0.02667401172220707,
-0.10317293554544449,
-0.09494340419769287,
-0.05072600767016411,
0.06624773144721985,
-0.05465112626552582,
0.12815508246421814,
0.026055213063955307,
0.06372940540313721,
0.03131145238876343,
-0.04038763791322708,
0.014386411756277084,
0.01244288869202137,
0.1935330480337143,
0.029617341235280037,
-0.03334802761673927,
0.07781302183866501,
0.05992085486650467,
0.0922514870762825,
0.12346582114696503,
0.19810588657855988,
0.15816067159175873,
0.043371569365262985,
0.09334487468004227,
0.031960222870111465,
-0.0539642833173275,
-0.1481752097606659,
0.03893178701400757,
-0.03883678466081619,
0.10985836386680603,
-0.01956947334110737,
0.20676515996456146,
0.08528441190719604,
-0.15626655519008636,
0.065201535820961,
-0.04910986125469208,
-0.08274111896753311,
-0.10674718767404556,
-0.05053535848855972,
-0.08316848427057266,
-0.14624126255512238,
-0.0013528476702049375,
-0.08787333965301514,
0.03345741704106331,
0.10615331679582596,
0.005702652037143707,
-0.018535427749156952,
0.16504964232444763,
0.02646786905825138,
0.022344103083014488,
0.04327267408370972,
0.0007316509145312011,
-0.02689209394156933,
-0.07227034866809845,
-0.07514042407274246,
-0.009318233467638493,
-0.010963409207761288,
0.04088115319609642,
-0.05410284176468849,
-0.07144104689359665,
0.056337498128414154,
-0.024890298023819923,
-0.10625848174095154,
0.01526014693081379,
0.019824955612421036,
0.070843406021595,
0.05147121101617813,
0.018692484125494957,
0.017763826996088028,
-0.021844973787665367,
0.20784589648246765,
-0.08225337415933609,
-0.09530412405729294,
-0.11051236093044281,
0.25686734914779663,
0.0334189236164093,
-0.024363253265619278,
0.02307237684726715,
-0.05930705741047859,
-0.0042760637588799,
0.23346349596977234,
0.1948259025812149,
-0.08031299710273743,
-0.006426162086427212,
-0.002844007220119238,
-0.018674330785870552,
-0.04454118385910988,
0.12302320450544357,
0.14137394726276398,
0.04243650659918785,
-0.10427366197109222,
-0.050752971321344376,
-0.06687562167644501,
-0.016358934342861176,
-0.06721516698598862,
0.037453215569257736,
0.03553285822272301,
0.006462400313466787,
-0.036459144204854965,
0.055053651332855225,
-0.040483828634023666,
-0.09758993238210678,
0.0571514368057251,
-0.18592296540737152,
-0.16866697371006012,
-0.01047496311366558,
0.09831661731004715,
0.006236957386136055,
0.05798035487532616,
-0.026405928656458855,
0.016973841935396194,
0.060840118676424026,
-0.0163255725055933,
-0.07222038507461548,
-0.10048738121986389,
0.10649968683719635,
-0.10666345059871674,
0.20630677044391632,
-0.038130078464746475,
0.05658058077096939,
0.12948167324066162,
0.07436402887105942,
-0.07035127282142639,
0.08032356202602386,
0.03495532646775246,
-0.0938606709241867,
0.03103390336036682,
0.11356502026319504,
-0.03340249881148338,
0.04500352591276169,
0.03321307897567749,
-0.11155883967876434,
0.024356383830308914,
-0.11768399178981781,
-0.04004347696900368,
-0.024282151833176613,
-0.036611851304769516,
-0.056410517543554306,
0.12277929484844208,
0.21497435867786407,
-0.021465912461280823,
0.015470747835934162,
-0.08761143684387207,
0.011837438680231571,
0.05612846091389656,
0.024418577551841736,
-0.09669826924800873,
-0.2247524857521057,
0.020417680963873863,
0.03731159493327141,
-0.026789356023073196,
-0.24181236326694489,
-0.1068071648478508,
0.0022872809786349535,
-0.0805744156241417,
-0.08893025666475296,
0.08607178181409836,
0.07651793956756592,
0.056125957518815994,
-0.05070757120847702,
-0.08762477338314056,
-0.07530629634857178,
0.1510106474161148,
-0.1651315987110138,
-0.07376991957426071
] |
null | null |
transformers
|
# Snape DialoGPT Model
|
{"tags": ["conversational"]}
|
text-generation
|
conniezyj/DialoGPT-small-snape
|
[
"transformers",
"pytorch",
"gpt2",
"text-generation",
"conversational",
"autotrain_compatible",
"endpoints_compatible",
"text-generation-inference",
"region:us"
] |
2022-03-02T23:29:05+00:00
|
[] |
[] |
TAGS
#transformers #pytorch #gpt2 #text-generation #conversational #autotrain_compatible #endpoints_compatible #text-generation-inference #region-us
|
# Snape DialoGPT Model
|
[
"# Snape DialoGPT Model"
] |
[
"TAGS\n#transformers #pytorch #gpt2 #text-generation #conversational #autotrain_compatible #endpoints_compatible #text-generation-inference #region-us \n",
"# Snape DialoGPT Model"
] |
[
51,
8
] |
[
"passage: TAGS\n#transformers #pytorch #gpt2 #text-generation #conversational #autotrain_compatible #endpoints_compatible #text-generation-inference #region-us \n# Snape DialoGPT Model"
] |
[
-0.023426061496138573,
0.036515675485134125,
-0.005492823664098978,
0.013180173002183437,
0.13671167194843292,
-0.00799091998487711,
0.14193913340568542,
0.14069785177707672,
0.05714737996459007,
-0.030256956815719604,
0.10134519636631012,
0.19783440232276917,
0.022385964170098305,
0.09602679312229156,
-0.06294140219688416,
-0.3171127438545227,
0.05395740643143654,
0.03322537988424301,
-0.009582247585058212,
0.11920972913503647,
0.11198623478412628,
-0.02423715777695179,
0.0813872292637825,
0.015998007729649544,
-0.15351265668869019,
0.031080275774002075,
0.022756503894925117,
-0.11426510661840439,
0.13796363770961761,
0.09037111699581146,
0.026745032519102097,
0.03070983849465847,
-0.06672894209623337,
-0.15213096141815186,
0.0326087512075901,
0.0027939865831285715,
-0.05180082470178604,
0.032839562743902206,
0.045502156019210815,
-0.06860524415969849,
0.060439396649599075,
0.06611452251672745,
0.015982942655682564,
0.03824976831674576,
-0.1260889768600464,
0.034578707069158554,
0.004991176072508097,
0.014390317723155022,
0.10120677947998047,
0.08733038604259491,
-0.039570003747940063,
0.0955754816532135,
-0.07669365406036377,
0.12456151098012924,
0.07569219917058945,
-0.328109472990036,
-0.020873751491308212,
0.07757197320461273,
0.03874627873301506,
0.10371825844049454,
-0.034909386187791824,
0.06629439443349838,
0.03338971361517906,
-0.007997529581189156,
-0.06508214771747589,
-0.06272067129611969,
-0.10917186737060547,
0.004829535726457834,
-0.09984485059976578,
-0.021362673491239548,
0.25933295488357544,
-0.030907630920410156,
0.050875015556812286,
-0.09377890080213547,
-0.09977193921804428,
-0.026148907840251923,
-0.03447570651769638,
-0.05135560408234596,
-0.07301375269889832,
0.0718073695898056,
0.025519341230392456,
-0.06724805384874344,
-0.12849564850330353,
-0.03989466652274132,
-0.1576315313577652,
0.1545385867357254,
0.04344281181693077,
0.04422762989997864,
-0.21901491284370422,
0.10417952388525009,
0.0072952574118971825,
-0.05939113721251488,
0.009607025422155857,
-0.0626642182469368,
-0.024158651009202003,
0.02133643440902233,
-0.0539703369140625,
-0.06147992983460426,
0.072393998503685,
0.14519377052783966,
0.010136321187019348,
0.06254154443740845,
-0.0017089050961658359,
0.04911535605788231,
0.05822337418794632,
0.10429482907056808,
0.035651907324790955,
-0.08939466625452042,
0.02375556342303753,
-0.13325627148151398,
-0.008429081179201603,
-0.0629943236708641,
-0.18044300377368927,
-0.03953291475772858,
0.0562412403523922,
0.051906801760196686,
-0.0023402110673487186,
0.1152094155550003,
-0.007303691003471613,
-0.06230450049042702,
0.07848040759563446,
-0.045198190957307816,
-0.03201662003993988,
-0.013288130983710289,
0.00565911503508687,
0.1736442893743515,
0.014789560809731483,
0.024703826755285263,
-0.1434861272573471,
0.002226014155894518,
-0.062354911118745804,
-0.033221423625946045,
-0.00903030764311552,
-0.042001791298389435,
-0.007047275546938181,
-0.061644554138183594,
0.025763507932424545,
-0.16028739511966705,
-0.20590540766716003,
-0.0033897918183356524,
-0.02661970630288124,
-0.05506822094321251,
-0.13249337673187256,
-0.1007123664021492,
0.001202620449475944,
0.03829147666692734,
-0.061931297183036804,
-0.00857116375118494,
-0.05892045795917511,
0.07608798146247864,
-0.05526125803589821,
0.08963847905397415,
-0.10415954887866974,
0.0739288181066513,
-0.08790189772844315,
-0.012773054651916027,
-0.056733712553977966,
0.1474379599094391,
-0.015945063903927803,
0.05506244674324989,
-0.02442602440714836,
-0.03411977365612984,
-0.06931905448436737,
0.08157122135162354,
-0.050745297223329544,
0.2102959007024765,
-0.0902625247836113,
-0.12338639050722122,
0.276582270860672,
-0.08566039055585861,
-0.12347148358821869,
0.15238183736801147,
0.0034933772403746843,
0.11262287199497223,
0.11896512657403946,
0.22895961999893188,
0.05668307840824127,
0.01241227425634861,
0.09208058565855026,
0.08436603099107742,
-0.09809794276952744,
-0.001864188234321773,
-0.008455662988126278,
-0.0007277310942299664,
-0.09608657658100128,
0.042018450796604156,
0.10067470371723175,
0.05350099876523018,
-0.03739552199840546,
-0.008605590090155602,
-0.004690221045166254,
0.0013168350560590625,
0.06096987426280975,
-0.05772016942501068,
0.1170928031206131,
-0.05371936783194542,
-0.05870769917964935,
0.01950250007212162,
0.034776344895362854,
-0.04930078238248825,
0.02878580056130886,
-0.0866788998246193,
0.06351764500141144,
0.016205305233597755,
0.05417153984308243,
-0.1278969645500183,
-0.0792638435959816,
-0.017525747418403625,
0.1279950588941574,
0.05050082132220268,
0.07277154922485352,
0.05333782359957695,
-0.03739378973841667,
0.01007720548659563,
0.023657971993088722,
0.16802215576171875,
-0.012600627727806568,
-0.09362920373678207,
-0.07313837110996246,
0.08612865209579468,
-0.05009186640381813,
0.10651405155658722,
-0.029290353879332542,
0.009331661276519299,
0.05106646195054054,
0.11089232563972473,
-0.008659619837999344,
0.01777191273868084,
-0.02253585308790207,
-0.007329007610678673,
-0.06076575070619583,
0.012050103396177292,
0.06729397177696228,
-0.003859488759189844,
-0.03530855104327202,
0.19309715926647186,
-0.19179567694664001,
0.11356420069932938,
0.16702952980995178,
-0.2340163141489029,
-0.02035593055188656,
-0.16265788674354553,
-0.0229811891913414,
-0.0010976007906720042,
0.06620968133211136,
-0.07056877017021179,
0.19606836140155792,
-0.028669657185673714,
0.16473253071308136,
-0.048599764704704285,
-0.04595242068171501,
-0.022997863590717316,
-0.03567946329712868,
0.015082038938999176,
0.08513566851615906,
0.0898885577917099,
-0.13860437273979187,
0.15308283269405365,
0.10145135968923569,
0.039885301142930984,
0.19386760890483856,
0.04065632447600365,
0.008268977515399456,
0.06668455898761749,
0.013188926503062248,
-0.05983196943998337,
-0.06859635561704636,
-0.3435380160808563,
-0.036563288420438766,
0.06414198130369186,
0.046654824167490005,
0.1159096360206604,
-0.10476808249950409,
-0.014763020910322666,
0.006260641850531101,
-0.020098526030778885,
0.05850301682949066,
0.10233841091394424,
0.034476831555366516,
0.11289386451244354,
-0.014752447605133057,
-0.04759266972541809,
0.08019803464412689,
-0.004325822461396456,
-0.0869891569018364,
0.18553230166435242,
-0.12734346091747284,
-0.34705650806427,
-0.11737006157636642,
-0.1706673800945282,
-0.03944512829184532,
0.033041492104530334,
0.1124567911028862,
-0.13901355862617493,
-0.024097127839922905,
0.004229856189340353,
0.09785374999046326,
-0.0633096918463707,
0.036179352551698685,
-0.05798320099711418,
-0.010772453621029854,
-0.1264745146036148,
-0.08678488433361053,
-0.04714372381567955,
-0.028361285105347633,
-0.06596770137548447,
0.11311614513397217,
-0.15420082211494446,
0.022520216181874275,
0.24926483631134033,
0.03547946736216545,
0.059994664043188095,
-0.054551176726818085,
0.23415574431419373,
-0.11250941455364227,
0.018757345154881477,
0.18706046044826508,
-0.038314707577228546,
0.05751688405871391,
0.10946536809206009,
-0.026524342596530914,
-0.08076874166727066,
0.04147792607545853,
-0.009969227947294712,
-0.07232131063938141,
-0.20946958661079407,
-0.13676486909389496,
-0.10422252118587494,
0.11012516170740128,
0.023684896528720856,
0.062244683504104614,
0.17860668897628784,
0.09033362567424774,
-0.026175813749432564,
0.006844282150268555,
0.060242366045713425,
0.08546844124794006,
0.2804698646068573,
-0.08018789440393448,
0.1425536423921585,
-0.002402201294898987,
-0.1515520066022873,
0.08351022005081177,
0.1082545816898346,
0.04664795845746994,
0.05847358703613281,
0.10819367319345474,
-0.011976624839007854,
0.10310143232345581,
0.12258689850568771,
0.073460154235363,
0.054006583988666534,
-0.02514505572617054,
-0.044149503111839294,
-0.0293721966445446,
-0.04210047423839569,
0.0753936767578125,
0.04565310850739479,
-0.17144924402236938,
-0.027209319174289703,
-0.033284805715084076,
0.05948660895228386,
0.08836910873651505,
0.07760439068078995,
-0.1816474348306656,
-0.05057307705283165,
0.062100350856781006,
-0.06520774960517883,
-0.11880393326282501,
0.11169583350419998,
0.01347282249480486,
-0.14186067879199982,
0.043593019247055054,
-0.022075943648815155,
0.11201483011245728,
-0.07373712956905365,
0.06832891702651978,
-0.08087125420570374,
-0.04977279528975487,
-0.00807613879442215,
0.10808087885379791,
-0.2032145857810974,
0.1648816615343094,
-0.03138706833124161,
-0.06603781878948212,
-0.13006176054477692,
0.001894043991342187,
0.007733697071671486,
0.07145453244447708,
0.1105572059750557,
-0.0180121548473835,
0.004242943599820137,
-0.012557519599795341,
-0.03723874315619469,
0.03020050749182701,
0.11434423178434372,
-0.02588958665728569,
-0.0105185741558671,
-0.05024482309818268,
0.001214709016494453,
-0.015500820241868496,
-0.06956128031015396,
0.042443398386240005,
-0.19296440482139587,
0.07374973595142365,
0.07136357575654984,
0.11765503138303757,
0.041713930666446686,
-0.020069055259227753,
-0.07456774264574051,
0.27261224389076233,
-0.07126042246818542,
-0.11504814773797989,
-0.09524700790643692,
-0.05370714142918587,
0.050403617322444916,
-0.06411600857973099,
0.045956239104270935,
-0.045983653515577316,
0.04552999138832092,
-0.040216464549303055,
-0.1751854121685028,
0.1283334195613861,
-0.09314031898975372,
-0.03927341476082802,
-0.030261443927884102,
0.206009641289711,
-0.04026104509830475,
-0.008057662285864353,
0.0499592088162899,
-0.023720281198620796,
-0.09993156790733337,
-0.09614156931638718,
0.014580728486180305,
-0.004596969578415155,
-0.09226294606924057,
0.08285719156265259,
-0.004884706810116768,
-0.022546865046024323,
-0.07315747439861298,
-0.029399355873465538,
0.29237329959869385,
0.1518811285495758,
-0.02977224998176098,
0.18595770001411438,
0.08785314112901688,
-0.06873323023319244,
-0.2527775764465332,
-0.11510196328163147,
-0.053782954812049866,
-0.04286610707640648,
-0.05140165984630585,
-0.15089121460914612,
0.09168757498264313,
-0.0002667442604433745,
-0.011203417554497719,
0.10890045017004013,
-0.29057905077934265,
-0.11279936134815216,
0.1684863120317459,
-0.014553508721292019,
0.3780933916568756,
-0.09269224107265472,
-0.08861762285232544,
-0.040698904544115067,
-0.10607205331325531,
0.1887976974248886,
0.033173736184835434,
0.10190947353839874,
-0.0007885207305662334,
0.20279660820960999,
0.05472555384039879,
0.011350204236805439,
0.09215441346168518,
-0.003121489193290472,
-0.056013040244579315,
-0.08514589816331863,
-0.05229778215289116,
-0.06072675809264183,
0.0360041968524456,
0.027007438242435455,
-0.04181826487183571,
0.02735167182981968,
-0.12722750008106232,
-0.06524741649627686,
-0.08758492022752762,
0.013511558063328266,
0.03271740302443504,
-0.06664194166660309,
0.001541517092846334,
-0.06263735145330429,
0.006946265697479248,
0.01503077894449234,
0.1473219245672226,
-0.08184143155813217,
0.11183403432369232,
0.1602472960948944,
0.1154116541147232,
-0.12962523102760315,
-0.08101673424243927,
-0.06162598729133606,
-0.057648658752441406,
0.07053549587726593,
-0.055052656680345535,
0.03205602988600731,
0.10783812403678894,
-0.032631102949380875,
0.10454007238149643,
0.10081127285957336,
-0.006972644943743944,
0.03308636695146561,
0.0878509059548378,
-0.23994497954845428,
-0.06570494920015335,
-0.0768526941537857,
0.029932769015431404,
0.0793505385518074,
0.0746886357665062,
0.2325105220079422,
-0.016806337982416153,
-0.02852417156100273,
-0.00801816489547491,
0.04115036875009537,
-0.027202531695365906,
0.09663865715265274,
-0.023358354344964027,
0.012214510701596737,
-0.13784076273441315,
0.0559367835521698,
0.013476040214300156,
-0.1387132853269577,
0.03881470859050751,
0.1706748604774475,
-0.09857788681983948,
-0.10541641712188721,
-0.08934611082077026,
0.04481695592403412,
-0.22019897401332855,
-0.03021780587732792,
-0.03464340791106224,
-0.15576808154582977,
0.0665801391005516,
0.11041180789470673,
0.042305734008550644,
0.07405141741037369,
-0.08259634673595428,
-0.006639523897320032,
-0.01560277957469225,
-0.00407500471919775,
0.06711386144161224,
-0.008979021571576595,
-0.07301490753889084,
0.0687461867928505,
-0.04053283482789993,
0.12303981930017471,
-0.09809808433055878,
-0.11772840470075607,
-0.14992006123065948,
0.018651584163308144,
-0.17971767485141754,
-0.04173647612333298,
-0.06894824653863907,
-0.03389758989214897,
0.015535948798060417,
-0.009839050471782684,
-0.04253126680850983,
-0.04488733410835266,
-0.11826656013727188,
0.039741434156894684,
-0.03600820153951645,
0.010206985287368298,
-0.06051453948020935,
0.016683416441082954,
0.07242908328771591,
-0.026671621948480606,
0.16445747017860413,
0.1391407549381256,
-0.11910597234964371,
0.09893129020929337,
-0.11615017801523209,
-0.056817151606082916,
0.10985467582941055,
0.02795330621302128,
0.04601223021745682,
0.07675444334745407,
0.0008609364740550518,
0.04772866889834404,
0.019451625645160675,
0.037297267466783524,
0.03080807812511921,
-0.09711077064275742,
0.04048119857907295,
-0.04677620530128479,
-0.1321898251771927,
-0.059093378484249115,
-0.040649887174367905,
-0.0015026143519207835,
0.021209072321653366,
0.06539085507392883,
-0.08758854120969772,
0.09025592356920242,
-0.08283867686986923,
0.027235182002186775,
0.031767819076776505,
-0.13486313819885254,
-0.03806588053703308,
-0.08723316341638565,
0.041704799979925156,
0.013565415516495705,
0.21328365802764893,
0.018472066149115562,
0.007504936307668686,
0.02653544954955578,
0.052003610879182816,
0.04116183891892433,
-0.0005564237362705171,
0.20087136328220367,
0.10463187098503113,
-0.03287544846534729,
-0.10826071351766586,
0.060956865549087524,
0.030706407502293587,
-0.0037794841919094324,
0.09464125335216522,
-0.050479818135499954,
-0.06485792994499207,
0.1207701787352562,
-0.026003381237387657,
0.030278554186224937,
-0.09224649518728256,
-0.11550357937812805,
-0.039096154272556305,
0.05719548836350441,
-0.058209992945194244,
0.09599950909614563,
0.11479644477367401,
-0.0252700075507164,
0.035511571913957596,
-0.0007305968319997191,
-0.06731356680393219,
-0.17556408047676086,
-0.19763189554214478,
-0.07671256363391876,
-0.17999176681041718,
-0.015936901792883873,
-0.1479026824235916,
0.04952350631356239,
0.035756077617406845,
0.09913380444049835,
-0.05647360533475876,
0.08866217732429504,
-0.01715577393770218,
-0.11450854688882828,
0.07748900353908539,
-0.021754493936896324,
0.11319129914045334,
-0.03667936474084854,
-0.018632518127560616,
-0.05777939409017563,
0.06412395089864731,
-0.0168969314545393,
0.03826240077614784,
-0.042927149683237076,
0.004343957174569368,
-0.0916723683476448,
-0.06458357721567154,
-0.05170706659555435,
0.06415250152349472,
-0.03166613355278969,
0.11759476363658905,
0.022557178512215614,
-0.03205941617488861,
0.012883789837360382,
0.22037102282047272,
-0.07011520117521286,
-0.05602897331118584,
-0.055046793073415756,
0.23800493776798248,
-0.006601462606340647,
0.13203434646129608,
0.0007953272433951497,
-0.004192977212369442,
-0.09982036054134369,
0.3353158235549927,
0.2541082501411438,
-0.09552367776632309,
0.003940534312278032,
0.0045373826287686825,
0.046212680637836456,
0.1192733496427536,
0.106709785759449,
0.08663107454776764,
0.3150269389152527,
-0.04773253574967384,
0.011629658751189709,
0.013528174720704556,
-0.03163198381662369,
-0.07653825730085373,
0.004689780529588461,
0.05173017084598541,
-0.0699080228805542,
-0.030934827402234077,
0.11761996895074844,
-0.26056498289108276,
0.07105249911546707,
-0.10320568084716797,
-0.19417960941791534,
-0.09703480452299118,
0.003399029141291976,
0.09585069119930267,
0.04769901558756828,
0.0948362797498703,
-0.011182972230017185,
-0.07143552601337433,
0.08467424660921097,
0.021873319521546364,
-0.21199683845043182,
-0.020254606381058693,
0.0852813571691513,
-0.06802307069301605,
-0.041802339255809784,
-0.02376214601099491,
0.09391835331916809,
0.05676610767841339,
0.05452767014503479,
0.010255690664052963,
-0.00007209036994026974,
0.0013218701351433992,
-0.07793090492486954,
0.03450203686952591,
0.06234225630760193,
0.019031327217817307,
-0.08727521449327469,
0.07652141898870468,
-0.16129618883132935,
0.025263048708438873,
0.04361869767308235,
-0.020830338820815086,
-0.01159790251404047,
0.02133609913289547,
-0.08191325515508652,
0.07639804482460022,
0.10261164605617523,
-0.02245585061609745,
-0.00819779746234417,
-0.029025914147496223,
-0.012815316207706928,
-0.0136238569393754,
-0.09708502888679504,
-0.07056128978729248,
-0.16705287992954254,
-0.11782482266426086,
0.04808299243450165,
-0.011001549661159515,
-0.1535084843635559,
0.007122748997062445,
-0.13223962485790253,
0.0750240609049797,
-0.13497115671634674,
0.12283966690301895,
0.07928625494241714,
0.025735454633831978,
-0.0019302202854305506,
0.008961813524365425,
0.034304190427064896,
0.09784386307001114,
-0.10797563195228577,
-0.08252891153097153
] |
null | null |
transformers
|
Named-entity recognition model trained on the I2B2 training data set for PHI.
|
{}
|
token-classification
|
connorboyle/bert-ner-i2b2
|
[
"transformers",
"pytorch",
"safetensors",
"bert",
"token-classification",
"autotrain_compatible",
"endpoints_compatible",
"region:us"
] |
2022-03-02T23:29:05+00:00
|
[] |
[] |
TAGS
#transformers #pytorch #safetensors #bert #token-classification #autotrain_compatible #endpoints_compatible #region-us
|
Named-entity recognition model trained on the I2B2 training data set for PHI.
|
[] |
[
"TAGS\n#transformers #pytorch #safetensors #bert #token-classification #autotrain_compatible #endpoints_compatible #region-us \n"
] |
[
42
] |
[
"passage: TAGS\n#transformers #pytorch #safetensors #bert #token-classification #autotrain_compatible #endpoints_compatible #region-us \n"
] |
[
-0.06217646598815918,
0.06353344023227692,
-0.00879782997071743,
0.022335471585392952,
0.14171357452869415,
0.005121229216456413,
0.08916381001472473,
0.06708597391843796,
0.05929236486554146,
-0.011247065849602222,
0.12529926002025604,
0.23990245163440704,
-0.04651476442813873,
0.1467450112104416,
-0.10762341320514679,
-0.24737629294395447,
0.09777083247900009,
0.051312390714883804,
-0.009802350774407387,
0.11967989802360535,
0.08906793594360352,
-0.11643332988023758,
0.05491330474615097,
-0.035327013581991196,
-0.11396832764148712,
0.024232998490333557,
0.062112439423799515,
-0.14027079939842224,
0.11649099737405777,
0.0028350353240966797,
0.21982599794864655,
0.04829900339245796,
-0.03299907222390175,
-0.12977364659309387,
0.02960076555609703,
0.022823764011263847,
-0.056382812559604645,
0.05631869286298752,
0.08521045744419098,
-0.08704893290996552,
-0.053452420979738235,
0.04784107580780983,
0.049288272857666016,
0.04219544306397438,
-0.11637759953737259,
-0.1572805941104889,
-0.02377265878021717,
0.054337333887815475,
0.0822463110089302,
0.04497803375124931,
0.019583212211728096,
0.23460404574871063,
-0.14234796166419983,
0.10870984196662903,
0.1014254167675972,
-0.30151164531707764,
-0.0031039707828313112,
0.10283033549785614,
0.029461383819580078,
0.003168463008478284,
-0.05292261764407158,
0.02440774440765381,
0.03565523773431778,
0.004987534135580063,
0.06387484818696976,
-0.06946617364883423,
-0.10082327574491501,
0.011889488436281681,
-0.10317759215831757,
-0.02063179202377796,
0.16475211083889008,
-0.03786952421069145,
0.03357675299048424,
-0.027493679895997047,
-0.11237913370132446,
-0.03326069563627243,
-0.013429001905024052,
-0.025834521278738976,
-0.030626894906163216,
0.028211122378706932,
0.021246593445539474,
0.0580906979739666,
-0.1133069172501564,
0.014268448576331139,
-0.2003307342529297,
0.26192259788513184,
0.03366759046912193,
0.059376753866672516,
-0.1550944447517395,
0.065119668841362,
0.03372018411755562,
-0.09411419928073883,
0.04934833198785782,
-0.11242041736841202,
0.024028221145272255,
-0.048149678856134415,
-0.007977441884577274,
0.02179086208343506,
0.10538595914840698,
0.17249217629432678,
0.012677069753408432,
0.03523453325033188,
-0.018018804490566254,
0.07673537731170654,
0.02602873183786869,
0.10185032337903976,
0.011315935291349888,
-0.011012457311153412,
0.07404918968677521,
-0.07249464094638824,
0.013468415476381779,
-0.03959760442376137,
-0.09077190607786179,
-0.0057013980112969875,
0.12668827176094055,
0.11995705217123032,
-0.005112784914672375,
0.07739517837762833,
-0.07609878480434418,
-0.007602515630424023,
0.1247807964682579,
-0.07934720069169998,
0.01834918186068535,
0.02204531617462635,
0.04061191529035568,
0.04422270134091377,
-0.02958562597632408,
0.0045809559524059296,
-0.030553968623280525,
0.15572331845760345,
-0.07082240283489227,
-0.018746471032500267,
-0.02912561222910881,
-0.07474002987146378,
0.037979718297719955,
-0.10757224261760712,
0.04885905236005783,
-0.1931232511997223,
-0.08748078346252441,
0.03085196577012539,
0.021669281646609306,
0.031331051141023636,
-0.014380709268152714,
0.01617847941815853,
-0.005133572034537792,
-0.01638108678162098,
-0.07154864072799683,
-0.10107900947332382,
-0.06701652705669403,
0.09214840084314346,
-0.023594262078404427,
0.03657201677560806,
-0.07141756266355515,
0.033121269196271896,
-0.13800549507141113,
0.01650739461183548,
-0.1302931159734726,
-0.03846610710024834,
-0.08746105432510376,
0.1838245838880539,
-0.007970845326781273,
-0.05384679511189461,
-0.0416414700448513,
0.027416886761784554,
-0.046724315732717514,
0.14788313210010529,
-0.04804695025086403,
-0.09209553152322769,
0.20290175080299377,
-0.1510608047246933,
-0.1475757211446762,
0.08925040811300278,
-0.003438676940277219,
-0.019840167835354805,
0.09032072871923447,
0.14349554479122162,
0.0963662788271904,
-0.050684746354818344,
0.04562718793749809,
0.09737692773342133,
-0.13290748000144958,
-0.11579012125730515,
-0.006135511677712202,
0.015230772085487843,
-0.1527755707502365,
0.0472782738506794,
0.04999149218201637,
0.0758020430803299,
-0.07703810930252075,
-0.04637672007083893,
-0.02691022679209709,
-0.03414830565452576,
0.12168976664543152,
0.059817250818014145,
0.08332248032093048,
-0.089547298848629,
-0.004820340313017368,
0.0008964110747911036,
0.009858429431915283,
0.02335713990032673,
-0.007464045193046331,
-0.1082678809762001,
0.11596295982599258,
-0.029117319732904434,
0.0018555802525952458,
-0.17422273755073547,
-0.14689375460147858,
0.023105211555957794,
0.05496592074632645,
-0.06123613938689232,
0.08645235002040863,
0.0784914493560791,
-0.008198541589081287,
-0.001641618786379695,
-0.06981270015239716,
0.17663154006004333,
0.05239863321185112,
-0.05487256869673729,
-0.09025165438652039,
0.03288886696100235,
-0.08118029683828354,
0.00021712935995310545,
-0.07140172272920609,
0.019725864753127098,
0.09155342727899551,
0.1498657912015915,
0.026230555027723312,
0.06850632280111313,
-0.029096895828843117,
0.05303796008229256,
-0.0617670901119709,
0.0014423279790207744,
0.09935835003852844,
-0.005182852037250996,
-0.05636937543749809,
0.11367402225732803,
-0.1596180498600006,
0.40831872820854187,
0.18678902089595795,
-0.24751418828964233,
-0.0033030363265424967,
-0.03083712048828602,
-0.018261179327964783,
0.015223759226500988,
0.021190842613577843,
0.0275895856320858,
-0.0026696189306676388,
0.0009778517996892333,
0.15650993585586548,
-0.03507164865732193,
-0.05484876409173012,
0.021197576075792313,
-0.0643177255988121,
-0.041215695440769196,
0.06818889826536179,
0.03704318776726723,
-0.20077238976955414,
0.18748123943805695,
0.23859968781471252,
0.012975210323929787,
0.09890608489513397,
-0.03317851200699806,
0.03844676911830902,
0.049515463411808014,
-0.007497300859540701,
-0.01742580346763134,
0.009082279168069363,
-0.13038098812103271,
-0.019925596192479134,
0.07344338297843933,
0.020901169627904892,
0.027521220967173576,
-0.1371089071035385,
-0.03932098299264908,
0.00009793156641535461,
0.04339266195893288,
-0.001873333822004497,
0.07606032490730286,
0.050063300877809525,
0.10359830409288406,
-0.029039917513728142,
-0.1341109275817871,
0.11057212948799133,
-0.0009588268585503101,
-0.0692540630698204,
0.18632076680660248,
-0.12217444181442261,
-0.3075579106807709,
-0.10761094093322754,
-0.15097364783287048,
-0.01015754695981741,
0.04128364846110344,
0.06546452641487122,
-0.09824100881814957,
-0.06430178135633469,
0.03946185111999512,
-0.01849299669265747,
-0.017515288665890694,
0.0691480040550232,
-0.05578234791755676,
0.0584057979285717,
-0.008042051456868649,
-0.06925863027572632,
-0.06954627484083176,
-0.04658715799450874,
-0.05234059691429138,
0.15630373358726501,
-0.05752704292535782,
0.06437213718891144,
0.15767188370227814,
-0.021075475960969925,
0.03024441748857498,
-0.035620108246803284,
0.15832547843456268,
-0.04835249111056328,
0.0005445415736176074,
0.17801037430763245,
-0.08908499032258987,
0.0932207852602005,
0.1754513680934906,
0.04306698217988014,
-0.06025654450058937,
0.021638110280036926,
-0.041572798043489456,
-0.09179937094449997,
-0.19809776544570923,
-0.13156606256961823,
-0.06981389224529266,
0.049997977912425995,
0.052754007279872894,
0.07545218616724014,
0.12124437838792801,
0.11080651730298996,
0.02399095520377159,
-0.04511723667383194,
-0.006009073927998543,
0.06836652755737305,
0.1780967116355896,
0.005552439019083977,
0.14668819308280945,
-0.045327357947826385,
-0.15730974078178406,
0.06503789126873016,
0.030872806906700134,
0.12099224328994751,
0.09427264332771301,
-0.05936722084879875,
0.03214364871382713,
0.17683850228786469,
0.173370823264122,
0.15836958587169647,
0.0074166106060147285,
-0.05148797482252121,
0.0033474641386419535,
-0.0038523401599377394,
-0.061195652931928635,
0.00042279859189875424,
0.03619043901562691,
-0.07802222669124603,
-0.05867281183600426,
-0.12247040122747421,
0.09438551217317581,
0.09890852868556976,
0.04507174715399742,
-0.2334095984697342,
0.012529995292425156,
0.0797237753868103,
-0.006725926883518696,
-0.06591834872961044,
0.09050271660089493,
-0.025945371016860008,
-0.11434531956911087,
0.07393341511487961,
-0.06670078635215759,
0.08352617919445038,
-0.051171883940696716,
0.0703423023223877,
-0.02680392377078533,
-0.07747812569141388,
0.022512301802635193,
0.08294469863176346,
-0.2169579416513443,
0.24004989862442017,
-0.0013186944415792823,
-0.037484072148799896,
-0.07096970081329346,
-0.011102968826889992,
0.043885935097932816,
0.215754896402359,
0.11087702959775925,
0.009361517615616322,
-0.092498280107975,
-0.21210719645023346,
-0.04140249639749527,
0.026157809421420097,
0.08863146603107452,
-0.022753488272428513,
-0.006781389005482197,
-0.046309687197208405,
-0.02484372816979885,
-0.010060039348900318,
-0.07090195268392563,
-0.011488218791782856,
-0.10065992921590805,
0.03947637975215912,
0.05592465400695801,
0.0643739104270935,
-0.035021960735321045,
-0.05626566335558891,
-0.13423502445220947,
0.18440617620944977,
-0.10353469848632812,
-0.07099225372076035,
-0.10870321094989777,
-0.12043240666389465,
0.05600640922784805,
-0.08271882683038712,
0.07808297872543335,
-0.08045458048582077,
0.02381443977355957,
-0.04385975003242493,
-0.1782221645116806,
0.14157548546791077,
-0.14216642081737518,
-0.06204242259263992,
-0.07116182148456573,
0.1536257117986679,
-0.06279200315475464,
-0.007590501103550196,
0.02581222914159298,
0.02374841645359993,
-0.05890249088406563,
-0.0833464115858078,
0.0016186998691409826,
-0.02101629599928856,
0.05154550075531006,
0.04082322493195534,
-0.07768717408180237,
-0.10296104103326797,
-0.012384014204144478,
0.03624929115176201,
0.2074965536594391,
0.2302311211824417,
-0.07007752358913422,
0.0948033332824707,
0.20042891800403595,
-0.01641562394797802,
-0.34099894762039185,
-0.08744986355304718,
-0.13640356063842773,
-0.062233224511146545,
-0.00862071942538023,
-0.07890940457582474,
0.16280469298362732,
0.047278475016355515,
-0.06803397834300995,
0.0856231078505516,
-0.12902992963790894,
-0.08022008091211319,
0.24258434772491455,
0.036827925592660904,
0.37630072236061096,
-0.1162000447511673,
-0.07125656306743622,
-0.004626421723514795,
-0.11540727317333221,
0.11327781528234482,
-0.02349172532558441,
0.037270475178956985,
-0.008530952036380768,
0.0028303097933530807,
0.04091474413871765,
-0.07289302349090576,
0.09305430203676224,
-0.017132911831140518,
0.06522072106599808,
-0.10195263475179672,
-0.1108814924955368,
0.03680313378572464,
-0.028123954311013222,
0.008221202529966831,
0.023726001381874084,
0.039285607635974884,
-0.059913307428359985,
-0.030053643509745598,
-0.06344030052423477,
0.10467527061700821,
0.029728639870882034,
-0.0761604830622673,
0.010105747729539871,
-0.005113447085022926,
-0.02322384901344776,
-0.012484485283493996,
0.2565326690673828,
0.010133045725524426,
0.18168066442012787,
0.12490174919366837,
0.11425141990184784,
-0.1708442121744156,
0.008997549302875996,
-0.056803129613399506,
-0.08126956224441528,
0.09764520078897476,
-0.0034394729882478714,
0.08552737534046173,
0.1281539499759674,
-0.04030940309166908,
0.041919779032468796,
0.11003237217664719,
0.043070223182439804,
-0.05141981318593025,
0.15510067343711853,
-0.23795276880264282,
0.0006959956372156739,
-0.014638255350291729,
0.009448816068470478,
0.06264689564704895,
0.1540021449327469,
0.11289774626493454,
0.029820183292031288,
-0.03501199558377266,
-0.006135406903922558,
-0.008583558723330498,
-0.02436230517923832,
0.08503232896327972,
0.07055553048849106,
0.05533459037542343,
-0.12442180514335632,
0.039884116500616074,
0.022480633109807968,
-0.1501903384923935,
-0.04811253398656845,
0.0616726353764534,
-0.1635347306728363,
-0.11844450235366821,
-0.014556104317307472,
0.10956652462482452,
-0.08296028524637222,
-0.07252994924783707,
-0.05750328674912453,
-0.1514676809310913,
0.03994440659880638,
0.20979665219783783,
0.1257936954498291,
0.11209017038345337,
-0.008589139208197594,
-0.02102653868496418,
-0.02879713848233223,
0.01652207039296627,
-0.001974541926756501,
0.06153249368071556,
-0.19397464394569397,
0.02407776191830635,
-0.003732002340257168,
0.12228661775588989,
-0.10503439605236053,
-0.04939160495996475,
-0.17294327914714813,
0.03983864560723305,
-0.06400805711746216,
-0.052187319844961166,
-0.08787567913532257,
-0.013102209195494652,
0.013339011929929256,
-0.08352378755807877,
-0.026708820834755898,
-0.026519760489463806,
-0.0996188297867775,
0.07266869395971298,
0.032593563199043274,
0.022958749905228615,
-0.07911936193704605,
-0.058450352400541306,
0.09038270264863968,
-0.04302813857793808,
0.10707317292690277,
0.09428911656141281,
-0.08066457509994507,
0.08503616601228714,
-0.1507071852684021,
-0.09988319128751755,
0.14074520766735077,
0.01094057410955429,
0.08973196148872375,
0.04477962106466293,
0.030192632228136063,
0.08687662333250046,
0.003953701350837946,
0.060108646750450134,
0.06294731050729752,
-0.12097814679145813,
0.05123940110206604,
-0.0008789731655269861,
-0.1747724860906601,
-0.02280428633093834,
-0.10087702423334122,
0.11597951501607895,
-0.0454535186290741,
0.1741204857826233,
-0.035587530583143234,
0.06581130623817444,
-0.06510303914546967,
0.0011202660389244556,
-0.020332181826233864,
-0.2114904224872589,
-0.08358298987150192,
-0.027224700897932053,
0.008723941631615162,
-0.009617069736123085,
0.24538570642471313,
0.029800893738865852,
0.009083074517548084,
0.0523647777736187,
0.03240088000893593,
0.013110504485666752,
0.046629101037979126,
0.16775184869766235,
0.07125150412321091,
-0.049785465002059937,
-0.08315097540616989,
0.035614438354969025,
0.0077691818587481976,
-0.12649127840995789,
0.09144271165132523,
0.08727651834487915,
-0.046630360186100006,
0.044934216886758804,
0.018787743523716927,
0.03441542014479637,
-0.1502522975206375,
-0.20315049588680267,
-0.07464777678251266,
0.03763348236680031,
0.03958193585276604,
0.06089622154831886,
0.1399836242198944,
-0.003009989857673645,
0.017062559723854065,
-0.047867484390735626,
-0.026614805683493614,
-0.19656118750572205,
-0.10169598460197449,
-0.09998118132352829,
-0.09192527085542679,
0.017119426280260086,
-0.050304848700761795,
-0.0574599914252758,
0.10022160410881042,
0.055470362305641174,
-0.027553478255867958,
0.12913821637630463,
0.019928086549043655,
0.014342553913593292,
0.03841615840792656,
0.006482727359980345,
-0.004237938206642866,
0.006994013674557209,
-0.04856562614440918,
-0.15227390825748444,
-0.010900291614234447,
-0.05848383903503418,
-0.006057824939489365,
-0.07557221502065659,
0.02133558876812458,
-0.10736757516860962,
-0.10573334991931915,
-0.03401176631450653,
0.03905685991048813,
-0.06889831274747849,
0.058840908110141754,
-0.00831534806638956,
0.025606850162148476,
0.03742290660738945,
0.16662773489952087,
-0.05501319468021393,
-0.09550007432699203,
-0.03548843786120415,
0.28264525532722473,
0.03944332152605057,
0.12402267009019852,
0.01704958640038967,
0.006469545885920525,
-0.049881335347890854,
0.26804763078689575,
0.2618028223514557,
-0.02880534902215004,
0.0725964605808258,
-0.0006368913454934955,
0.015416010282933712,
0.04949458688497543,
0.13682806491851807,
0.09150529652833939,
0.25624075531959534,
-0.06459803879261017,
-0.016548307612538338,
-0.03255584090948105,
-0.005415815394371748,
-0.12300761044025421,
0.03823460265994072,
0.03193199634552002,
-0.012822667136788368,
-0.09644556790590286,
0.0801946148276329,
-0.13098424673080444,
0.13155801594257355,
0.045109499245882034,
-0.16759148240089417,
-0.06394271552562714,
-0.015156478621065617,
0.16779828071594238,
-0.03225041925907135,
0.061719998717308044,
-0.03496132791042328,
-0.09376496821641922,
0.0007876611198298633,
0.009068906307220459,
-0.16797727346420288,
-0.04782998189330101,
0.06038453429937363,
0.017363321036100388,
0.12503793835639954,
-0.008555600419640541,
0.04494483023881912,
0.08346641808748245,
0.026271846145391464,
-0.061129000037908554,
0.06162480637431145,
0.021498626098036766,
-0.09399360418319702,
-0.02446034364402294,
-0.022905731573700905,
0.012471315450966358,
-0.032906971871852875,
0.03202303498983383,
-0.1822211593389511,
0.0331772118806839,
-0.0814584419131279,
-0.060667604207992554,
-0.0280064195394516,
0.05289117619395256,
-0.01460720133036375,
0.053361497819423676,
0.042839523404836655,
0.0019191325409337878,
-0.015608296729624271,
-0.0557849295437336,
0.010981046594679356,
0.03264424949884415,
-0.10996117442846298,
-0.09557607024908066,
-0.11594144999980927,
-0.031178472563624382,
0.10325023531913757,
-0.0036382873076945543,
-0.10544035583734512,
-0.033824093639850616,
-0.10341604799032211,
0.034245990216732025,
-0.1789926290512085,
0.0453457348048687,
0.05217933654785156,
0.04733695834875107,
-0.0027245806995779276,
-0.0377827063202858,
0.010178827680647373,
0.05963897332549095,
-0.11463507264852524,
-0.0918542817234993
] |
null | null |
transformers
|
hello
|
{}
|
text-classification
|
conversify/response-score
|
[
"transformers",
"pytorch",
"jax",
"bert",
"text-classification",
"autotrain_compatible",
"endpoints_compatible",
"region:us"
] |
2022-03-02T23:29:05+00:00
|
[] |
[] |
TAGS
#transformers #pytorch #jax #bert #text-classification #autotrain_compatible #endpoints_compatible #region-us
|
hello
|
[] |
[
"TAGS\n#transformers #pytorch #jax #bert #text-classification #autotrain_compatible #endpoints_compatible #region-us \n"
] |
[
39
] |
[
"passage: TAGS\n#transformers #pytorch #jax #bert #text-classification #autotrain_compatible #endpoints_compatible #region-us \n"
] |
[
-0.01809483766555786,
0.06673542410135269,
-0.007573992013931274,
0.02542104199528694,
0.19456367194652557,
0.04259642958641052,
0.07180475443601608,
0.11746370047330856,
0.065577931702137,
-0.0401817262172699,
0.11666674166917801,
0.23135067522525787,
-0.03061060607433319,
0.11772982031106949,
-0.10850205272436142,
-0.29288947582244873,
0.06133841350674629,
0.06536684185266495,
0.00420401943847537,
0.11130789667367935,
0.08473420888185501,
-0.09304895997047424,
0.0721178650856018,
-0.03993720933794975,
-0.13622891902923584,
0.041352782398462296,
0.05172041431069374,
-0.13071946799755096,
0.09408676624298096,
0.04389055818319321,
0.15670926868915558,
0.026289479807019234,
-0.05535130202770233,
-0.1438279002904892,
0.03692479059100151,
0.0005937846144661307,
-0.08006128668785095,
0.05240355059504509,
0.08632553368806839,
-0.10694190114736557,
0.013523316942155361,
0.043739791959524155,
0.027750981971621513,
0.04982184246182442,
-0.14666184782981873,
-0.09967022389173508,
-0.0019326872425153852,
0.029109641909599304,
0.06774714589118958,
0.05822955071926117,
0.0010195786599069834,
0.14306534826755524,
-0.1304115504026413,
0.12180308252573013,
0.11148694157600403,
-0.29323816299438477,
-0.01943984627723694,
0.09444136917591095,
0.04154133424162865,
0.05044957250356674,
-0.056781791150569916,
0.043631937354803085,
0.02468041144311428,
0.000946011976338923,
0.014533239416778088,
-0.07892842590808868,
-0.1071673110127449,
0.032310470938682556,
-0.07385499775409698,
-0.04111378639936447,
0.21185067296028137,
-0.049293242394924164,
0.06449735909700394,
-0.02123348042368889,
-0.08135563135147095,
-0.056714851409196854,
-0.03172755241394043,
0.008735861629247665,
-0.03984520584344864,
0.06747489422559738,
0.02921498380601406,
0.013714022003114223,
-0.10257585346698761,
0.021764980629086494,
-0.19535581767559052,
0.1972673535346985,
0.012189923785626888,
0.05059242621064186,
-0.1859312504529953,
0.04326876252889633,
0.02285129576921463,
-0.10319478064775467,
0.05386510491371155,
-0.09923137724399567,
0.028100797906517982,
-0.04234573617577553,
-0.06257519870996475,
-0.04020916298031807,
0.08136691898107529,
0.12868155539035797,
0.04702077805995941,
0.06588312983512878,
-0.029047340154647827,
0.08873984217643738,
0.03929751738905907,
0.12775880098342896,
0.04212596267461777,
-0.0374809093773365,
0.05176495015621185,
-0.11413440853357315,
-0.014094071462750435,
-0.07464064657688141,
-0.15375252068042755,
-0.016235198825597763,
0.08695993572473526,
0.07627255469560623,
0.011462262831628323,
0.08710302412509918,
-0.06540420651435852,
-0.03694767504930496,
0.06530382484197617,
-0.07531051337718964,
0.027230482548475266,
0.023209715262055397,
0.02529485896229744,
0.09126318246126175,
-0.0292835533618927,
0.0028054488357156515,
-0.06840378791093826,
0.13082213699817657,
-0.06151483207941055,
0.005951870232820511,
-0.04267766699194908,
-0.07654917240142822,
0.03411971405148506,
-0.11691025644540787,
0.03771146014332771,
-0.16825729608535767,
-0.09779638797044754,
0.0062947659753263,
0.03158242627978325,
-0.0005342107615433633,
-0.03975434601306915,
-0.030474286526441574,
0.004082287661731243,
0.05146385729312897,
-0.056856293231248856,
-0.06116197258234024,
-0.07278820127248764,
0.09648430347442627,
-0.033643417060375214,
0.07996653765439987,
-0.10526403039693832,
0.07087257504463196,
-0.09409809857606888,
-0.02970806322991848,
-0.1284375637769699,
0.022813236340880394,
-0.046654168516397476,
0.18474748730659485,
0.009493359364569187,
-0.037707120180130005,
-0.04483810439705849,
0.05696108564734459,
-0.07555562257766724,
0.1717727780342102,
-0.0793110728263855,
-0.11701413244009018,
0.20788724720478058,
-0.07954380661249161,
-0.13876761496067047,
0.08493359386920929,
-0.01615220494568348,
0.017958471551537514,
0.10674294829368591,
0.19496823847293854,
0.08540180325508118,
-0.003906393423676491,
0.08904492110013962,
0.11408630758523941,
-0.07959926128387451,
-0.1108965128660202,
0.005469737574458122,
0.007978282868862152,
-0.15063118934631348,
0.05894370377063751,
0.07545538246631622,
0.07129368931055069,
-0.0513894185423851,
-0.04089389741420746,
-0.003922690637409687,
-0.005997346714138985,
0.11302582919597626,
0.06324242800474167,
0.12578195333480835,
-0.08385848253965378,
-0.004017953295260668,
-0.0010093949967995286,
-0.010608415119349957,
0.025180591270327568,
0.0166823398321867,
-0.06790076941251755,
0.10298717767000198,
0.004510062281042337,
0.032306913286447525,
-0.2183763086795807,
-0.08230480551719666,
-0.0019306221511214972,
0.12755239009857178,
-0.019294047728180885,
0.11435849964618683,
0.053465988487005234,
-0.06457269191741943,
-0.013794570229947567,
-0.023813555017113686,
0.17901155352592468,
0.022746099159121513,
-0.06343037635087967,
-0.08461648225784302,
0.059753432869911194,
-0.07299339026212692,
-0.012081671506166458,
-0.08169719576835632,
0.012660477310419083,
0.06630835682153702,
0.10648472607135773,
0.019467314705252647,
0.05848253145813942,
-0.02924266830086708,
0.05626295506954193,
-0.06475984305143356,
0.027140533551573753,
0.1179659441113472,
-0.006632041186094284,
-0.056153301149606705,
0.15833188593387604,
-0.13553740084171295,
0.32089653611183167,
0.19996315240859985,
-0.29291605949401855,
-0.003792791860178113,
-0.017230169847607613,
0.002490597777068615,
0.025653522461652756,
0.034587517380714417,
0.009043003432452679,
0.09345389157533646,
-0.008162388578057289,
0.20210638642311096,
-0.030431343242526054,
-0.04563094303011894,
-0.006599363870918751,
-0.045313142240047455,
-0.035156700760126114,
0.0899621918797493,
0.0700104758143425,
-0.21636348962783813,
0.19578737020492554,
0.23056425154209137,
0.014083887450397015,
0.16511985659599304,
-0.0034332124050706625,
0.03841010108590126,
0.07709190249443054,
-0.054916925728321075,
-0.024765321984887123,
-0.06462280452251434,
-0.1797722727060318,
-0.0519074946641922,
0.07089265435934067,
0.026776624843478203,
0.05498277395963669,
-0.10467023402452469,
-0.041482336819171906,
-0.001121786772273481,
0.03263681009411812,
-0.03239976987242699,
0.07532784342765808,
0.06611774861812592,
0.10848522931337357,
0.007556584198027849,
-0.07854785025119781,
0.10835256427526474,
-0.004704562947154045,
-0.08111206442117691,
0.18040013313293457,
-0.14344702661037445,
-0.34762370586395264,
-0.13627612590789795,
-0.20350822806358337,
-0.009711001999676228,
0.04890860617160797,
0.09789098799228668,
-0.11364968121051788,
-0.041684478521347046,
0.04273238033056259,
-0.01656302809715271,
-0.07931388914585114,
0.04226658120751381,
-0.06387604027986526,
0.07653088867664337,
-0.05215940251946449,
-0.05663241818547249,
-0.07558713108301163,
-0.03065023384988308,
-0.011166092939674854,
0.1459382027387619,
-0.12642274796962738,
0.06581402570009232,
0.16313746571540833,
-0.005721473600715399,
0.0682130977511406,
-0.034285202622413635,
0.17564783990383148,
-0.08818710595369339,
-0.03183111548423767,
0.16446498036384583,
-0.0764211043715477,
0.06765677034854889,
0.15842288732528687,
0.03146690875291824,
-0.06440786272287369,
0.02619570679962635,
-0.04366680607199669,
-0.08154077082872391,
-0.2115747332572937,
-0.12536035478115082,
-0.11997322738170624,
0.06674559414386749,
0.0812050923705101,
0.06874731183052063,
0.1319999098777771,
0.054959509521722794,
0.02062775380909443,
0.013091953471302986,
0.011458709836006165,
0.08337462693452835,
0.21880970895290375,
-0.0013363112229853868,
0.14448416233062744,
-0.048022862523794174,
-0.13040171563625336,
0.0763016939163208,
0.00851297378540039,
0.08838732540607452,
0.1124393567442894,
0.02980091981589794,
-0.003721019485965371,
0.08009619265794754,
0.1710960417985916,
0.12011133134365082,
0.02604288049042225,
-0.025675294920802116,
-0.02881801873445511,
-0.00018281576922163367,
-0.07662030309438705,
0.018537059426307678,
0.07926761358976364,
-0.12852145731449127,
-0.07732073217630386,
-0.1605582982301712,
0.07910539954900742,
0.0842241495847702,
0.04793410003185272,
-0.21289688348770142,
0.011515513993799686,
0.09760864078998566,
-0.03371579200029373,
-0.09820050001144409,
0.07870060950517654,
-0.05545899644494057,
-0.14528445899486542,
0.08979272842407227,
-0.0350475050508976,
0.14132331311702728,
-0.0825844332575798,
0.08438211679458618,
-0.038387857377529144,
-0.11987438797950745,
0.03140055760741234,
0.10854005068540573,
-0.28070196509361267,
0.2154713273048401,
0.012321638874709606,
-0.06612604111433029,
-0.07430197298526764,
-0.024338167160749435,
0.04101184755563736,
0.20623712241649628,
0.07433765381574631,
0.0005549621419049799,
-0.08459877222776413,
-0.17614704370498657,
-0.014856216497719288,
0.01006323006004095,
0.11086399853229523,
-0.04531329125165939,
-0.0162801556289196,
-0.04873865842819214,
-0.032460931688547134,
-0.027329416945576668,
-0.036445118486881256,
0.02981879748404026,
-0.16195650398731232,
0.057034727185964584,
0.02994452603161335,
0.0795973539352417,
0.01832551695406437,
-0.054240815341472626,
-0.10906636714935303,
0.20394474267959595,
-0.07091160863637924,
-0.06390447169542313,
-0.11201474070549011,
-0.07614374160766602,
0.015175776556134224,
-0.08341611921787262,
0.04845348000526428,
-0.0809352919459343,
0.02468218095600605,
-0.053535107523202896,
-0.21068227291107178,
0.14016199111938477,
-0.10740610957145691,
-0.024658169597387314,
-0.07782392203807831,
0.13864511251449585,
-0.0789090171456337,
0.024532439187169075,
0.030736668035387993,
0.0298960842192173,
-0.09730913490056992,
-0.06820393353700638,
0.003594380570575595,
0.012733125127851963,
0.050164107233285904,
0.035532619804143906,
-0.09746024757623672,
-0.06438707560300827,
-0.030386028811335564,
0.013417999260127544,
0.2935657799243927,
0.16158808767795563,
-0.06732630729675293,
0.15693336725234985,
0.13342545926570892,
-0.07602952420711517,
-0.3328520953655243,
-0.0860983356833458,
-0.09572628885507584,
-0.04271673038601875,
-0.039317432790994644,
-0.16259606182575226,
0.1202382817864418,
-0.010392402298748493,
-0.02311943843960762,
0.08732824772596359,
-0.14364519715309143,
-0.08308403193950653,
0.18343095481395721,
-0.016732893884181976,
0.4004720151424408,
-0.11624830961227417,
-0.09180434048175812,
-0.05751292034983635,
-0.12759536504745483,
0.14510828256607056,
0.017240293323993683,
0.07660862803459167,
-0.009753178805112839,
0.03606290742754936,
0.04270001873373985,
-0.038564011454582214,
0.09122075885534286,
-0.01076544914394617,
0.013019079342484474,
-0.11043259501457214,
-0.11935783922672272,
0.015380576252937317,
-0.021142421290278435,
-0.02111625112593174,
-0.015980258584022522,
0.002749914303421974,
-0.17170843482017517,
-0.036437150090932846,
-0.0778099000453949,
0.05227721482515335,
0.03218749910593033,
-0.03192440792918205,
0.018695617094635963,
-0.01605111174285412,
-0.003546775784343481,
0.0006239944486878812,
0.2988184094429016,
-0.045211080461740494,
0.19050680100917816,
0.09056143462657928,
0.13118194043636322,
-0.15948843955993652,
0.012801270000636578,
-0.065861776471138,
-0.06396611779928207,
0.07773881405591965,
-0.08855278044939041,
0.07514625042676926,
0.12905162572860718,
-0.05594771355390549,
0.07226260006427765,
0.11423998326063156,
0.051702432334423065,
-0.03501610830426216,
0.159623384475708,
-0.2296721488237381,
0.03815079107880592,
-0.05544954165816307,
-0.0018353760242462158,
0.06467600911855698,
0.04922626167535782,
0.1242470070719719,
0.03997598588466644,
-0.05610830336809158,
0.005762273445725441,
-0.004814090207219124,
-0.003274239832535386,
0.05463983863592148,
0.058361686766147614,
0.04381057992577553,
-0.134842187166214,
0.04394451528787613,
0.05474484711885452,
-0.17748622596263885,
-0.01261796522885561,
0.14715729653835297,
-0.15453575551509857,
-0.12290617823600769,
0.006111426278948784,
0.15460239350795746,
-0.08248449862003326,
-0.04330691695213318,
-0.07279440015554428,
-0.12399396300315857,
0.0693398267030716,
0.19586825370788574,
0.12060099095106125,
0.0778300017118454,
-0.04378306493163109,
-0.042797669768333435,
0.00712791969999671,
0.007344595156610012,
-0.007872226648032665,
0.023717369884252548,
-0.11883671581745148,
0.01251294557005167,
-0.011050865054130554,
0.15153150260448456,
-0.09586972743272781,
-0.07557052373886108,
-0.19212299585342407,
0.041787270456552505,
-0.06242881715297699,
-0.03224949538707733,
-0.07766050845384598,
-0.022732099518179893,
0.004333932884037495,
-0.05241712927818298,
-0.04193229600787163,
-0.06532690674066544,
-0.1307416558265686,
0.032795269042253494,
-0.017392637208104134,
0.04657064378261566,
-0.05510725453495979,
-0.048384327441453934,
0.10124502331018448,
-0.03388887643814087,
0.08910121768712997,
0.10563872754573822,
-0.07282912731170654,
0.11062116175889969,
-0.1283218264579773,
-0.11185171455144882,
0.12193284928798676,
0.024926789104938507,
0.07325582951307297,
0.059187017381191254,
0.03799671307206154,
0.06631976366043091,
0.01165806408971548,
0.06664728373289108,
0.05780986323952675,
-0.12386669963598251,
0.04742882400751114,
-0.019212204962968826,
-0.1837417036294937,
-0.04135940968990326,
-0.042410314083099365,
0.09787000715732574,
-0.003808269975706935,
0.15671633183956146,
-0.05287281423807144,
0.09793701767921448,
-0.042132921516895294,
0.012803508900105953,
-0.023692073300480843,
-0.2205476611852646,
-0.07365892827510834,
-0.08585358411073685,
0.026862455531954765,
-0.004772793967276812,
0.22753120958805084,
0.07045473903417587,
0.03557093068957329,
0.05545854941010475,
0.0576339028775692,
-0.003454787889495492,
0.03151566907763481,
0.18229901790618896,
0.0989723727107048,
-0.05670816823840141,
-0.04705695062875748,
0.07534193992614746,
0.028033806011080742,
0.01864645630121231,
0.12431015819311142,
0.07321953028440475,
-0.012309289537370205,
0.07366625964641571,
-0.022612236440181732,
0.04702895134687424,
-0.10678938031196594,
-0.16222508251667023,
-0.03640706464648247,
0.08139578998088837,
0.01754310168325901,
0.06620614230632782,
0.10388407856225967,
-0.02347712777554989,
0.04392615333199501,
-0.0683072879910469,
-0.047119513154029846,
-0.19352172315120697,
-0.08100902289152145,
-0.10630819201469421,
-0.1066746711730957,
0.0025971289724111557,
-0.07839768379926682,
-0.006405447609722614,
0.07019750773906708,
0.04243552312254906,
-0.04944124445319176,
0.05090705305337906,
0.027607275173068047,
-0.058226849883794785,
0.08426842838525772,
-0.0374758280813694,
0.019005026668310165,
-0.01705215685069561,
-0.015734592452645302,
-0.1414513885974884,
-0.025720052421092987,
-0.04888613149523735,
0.03702576458454132,
-0.06654901802539825,
0.007938358001410961,
-0.1370028704404831,
-0.13525722920894623,
-0.022378528490662575,
0.045916568487882614,
-0.05562008172273636,
0.1206224113702774,
0.0006713551701977849,
0.010930516757071018,
0.049446847289800644,
0.2095327526330948,
-0.06220695748925209,
-0.029235756024718285,
-0.04284632205963135,
0.256413072347641,
0.07069311290979385,
0.1109071746468544,
-0.008587480522692204,
0.0032135164365172386,
-0.0791885107755661,
0.3118537962436676,
0.2932111918926239,
-0.04928450286388397,
0.04837615042924881,
0.01816660352051258,
0.03399038687348366,
0.1385296732187271,
0.14495183527469635,
0.08771999180316925,
0.22766800224781036,
-0.07150748372077942,
-0.021090956404805183,
-0.019412636756896973,
-0.015336482785642147,
-0.11512982845306396,
0.06193622201681137,
0.06605460494756699,
-0.04299676790833473,
-0.06651457399129868,
0.09843623638153076,
-0.19360409677028656,
0.13690705597400665,
0.0028531919233500957,
-0.2249731421470642,
-0.07498964667320251,
-0.03641308471560478,
0.14264386892318726,
-0.0050855111330747604,
0.080597423017025,
-0.0021270429715514183,
-0.10633035004138947,
0.020437195897102356,
0.014396386221051216,
-0.2136639505624771,
-0.04259442165493965,
0.07654968649148941,
-0.05085624009370804,
0.014857068657875061,
-0.025858590379357338,
0.028786558657884598,
0.07043676823377609,
0.051624055951833725,
-0.02011995017528534,
0.024657901376485825,
-0.000578725419472903,
-0.04388389736413956,
0.00410191947594285,
0.026280947029590607,
0.001854399568401277,
-0.06594856828451157,
0.0698620155453682,
-0.1482185274362564,
0.0447433777153492,
-0.11199703812599182,
-0.06083088740706444,
-0.007630004547536373,
0.05529272183775902,
-0.049834296107292175,
0.05740377679467201,
0.10056748241186142,
0.005429130047559738,
-0.041779059916734695,
-0.05086144804954529,
-0.03192179277539253,
0.010067981667816639,
-0.11767444759607315,
-0.15252991020679474,
-0.09751367568969727,
-0.094491146504879,
0.09518249332904816,
0.004092264920473099,
-0.16197417676448822,
0.00041187918395735323,
-0.10356339812278748,
0.055325187742710114,
-0.16911841928958893,
0.08710888773202896,
0.04155683144927025,
0.016016297042369843,
-0.014515646733343601,
-0.07223077863454819,
0.057068344205617905,
0.07699248194694519,
-0.12468259036540985,
-0.09319192171096802
] |
null | null |
transformers
|
# LIMIT-BERT
Code and model for the *EMNLP 2020 Findings* paper:
[LIMIT-BERT: Linguistic Informed Multi-task BERT](https://arxiv.org/abs/1910.14296))
## Contents
1. [Requirements](#Requirements)
2. [Training](#Training)
## Requirements
* Python 3.6 or higher.
* Cython 0.25.2 or any compatible version.
* [PyTorch](http://pytorch.org/) 1.0.0+.
* [EVALB](http://nlp.cs.nyu.edu/evalb/). Before starting, run `make` inside the `EVALB/` directory to compile an `evalb` executable. This will be called from Python for evaluation.
* [pytorch-transformers](https://github.com/huggingface/pytorch-transformers) PyTorch 1.0.0+ or any compatible version.
#### Pre-trained Models (PyTorch)
The following pre-trained models are available for download from Google Drive:
* [`LIMIT-BERT`](https://drive.google.com/open?id=1fm0cK2A91iLG3lCpwowCCQSALnWS2X4i):
PyTorch version, same setting with BERT-Large-WWM,loading model with [pytorch-transformers](https://github.com/huggingface/pytorch-transformers).
## How to use
```
from transformers import AutoTokenizer, AutoModel
tokenizer = AutoTokenizer.from_pretrained("cooelf/limitbert")
model = AutoModel.from_pretrained("cooelf/limitbert")
```
Please see our original repo for the training scripts.
https://github.com/cooelf/LIMIT-BERT
## Training
To train LIMIT-BERT, simply run:
```
sh run_limitbert.sh
```
### Evaluation Instructions
To test after setting model path:
```
sh test_bert.sh
```
## Citation
```
@article{zhou2019limit,
title={{LIMIT-BERT}: Linguistic informed multi-task {BERT}},
author={Zhou, Junru and Zhang, Zhuosheng and Zhao, Hai},
journal={arXiv preprint arXiv:1910.14296},
year={2019}
}
```
|
{}
| null |
cooelf/limitbert
|
[
"transformers",
"pytorch",
"arxiv:1910.14296",
"endpoints_compatible",
"region:us"
] |
2022-03-02T23:29:05+00:00
|
[
"1910.14296"
] |
[] |
TAGS
#transformers #pytorch #arxiv-1910.14296 #endpoints_compatible #region-us
|
# LIMIT-BERT
Code and model for the *EMNLP 2020 Findings* paper:
LIMIT-BERT: Linguistic Informed Multi-task BERT)
## Contents
1. Requirements
2. Training
## Requirements
* Python 3.6 or higher.
* Cython 0.25.2 or any compatible version.
* PyTorch 1.0.0+.
* EVALB. Before starting, run 'make' inside the 'EVALB/' directory to compile an 'evalb' executable. This will be called from Python for evaluation.
* pytorch-transformers PyTorch 1.0.0+ or any compatible version.
#### Pre-trained Models (PyTorch)
The following pre-trained models are available for download from Google Drive:
* 'LIMIT-BERT':
PyTorch version, same setting with BERT-Large-WWM,loading model with pytorch-transformers.
## How to use
Please see our original repo for the training scripts.
URL
## Training
To train LIMIT-BERT, simply run:
### Evaluation Instructions
To test after setting model path:
|
[
"# LIMIT-BERT\n\nCode and model for the *EMNLP 2020 Findings* paper: \n\nLIMIT-BERT: Linguistic Informed Multi-task BERT)",
"## Contents\n\n1. Requirements\n2. Training",
"## Requirements\n\n* Python 3.6 or higher.\n* Cython 0.25.2 or any compatible version.\n* PyTorch 1.0.0+. \n* EVALB. Before starting, run 'make' inside the 'EVALB/' directory to compile an 'evalb' executable. This will be called from Python for evaluation. \n* pytorch-transformers PyTorch 1.0.0+ or any compatible version.",
"#### Pre-trained Models (PyTorch)\nThe following pre-trained models are available for download from Google Drive:\n* 'LIMIT-BERT': \n PyTorch version, same setting with BERT-Large-WWM,loading model with pytorch-transformers.",
"## How to use\n\n\n\nPlease see our original repo for the training scripts.\n\nURL",
"## Training\n\nTo train LIMIT-BERT, simply run:",
"### Evaluation Instructions\n\nTo test after setting model path:"
] |
[
"TAGS\n#transformers #pytorch #arxiv-1910.14296 #endpoints_compatible #region-us \n",
"# LIMIT-BERT\n\nCode and model for the *EMNLP 2020 Findings* paper: \n\nLIMIT-BERT: Linguistic Informed Multi-task BERT)",
"## Contents\n\n1. Requirements\n2. Training",
"## Requirements\n\n* Python 3.6 or higher.\n* Cython 0.25.2 or any compatible version.\n* PyTorch 1.0.0+. \n* EVALB. Before starting, run 'make' inside the 'EVALB/' directory to compile an 'evalb' executable. This will be called from Python for evaluation. \n* pytorch-transformers PyTorch 1.0.0+ or any compatible version.",
"#### Pre-trained Models (PyTorch)\nThe following pre-trained models are available for download from Google Drive:\n* 'LIMIT-BERT': \n PyTorch version, same setting with BERT-Large-WWM,loading model with pytorch-transformers.",
"## How to use\n\n\n\nPlease see our original repo for the training scripts.\n\nURL",
"## Training\n\nTo train LIMIT-BERT, simply run:",
"### Evaluation Instructions\n\nTo test after setting model path:"
] |
[
30,
39,
10,
89,
66,
16,
13,
14
] |
[
"passage: TAGS\n#transformers #pytorch #arxiv-1910.14296 #endpoints_compatible #region-us \n# LIMIT-BERT\n\nCode and model for the *EMNLP 2020 Findings* paper: \n\nLIMIT-BERT: Linguistic Informed Multi-task BERT)## Contents\n\n1. Requirements\n2. Training## Requirements\n\n* Python 3.6 or higher.\n* Cython 0.25.2 or any compatible version.\n* PyTorch 1.0.0+. \n* EVALB. Before starting, run 'make' inside the 'EVALB/' directory to compile an 'evalb' executable. This will be called from Python for evaluation. \n* pytorch-transformers PyTorch 1.0.0+ or any compatible version.#### Pre-trained Models (PyTorch)\nThe following pre-trained models are available for download from Google Drive:\n* 'LIMIT-BERT': \n PyTorch version, same setting with BERT-Large-WWM,loading model with pytorch-transformers.## How to use\n\n\n\nPlease see our original repo for the training scripts.\n\nURL## Training\n\nTo train LIMIT-BERT, simply run:### Evaluation Instructions\n\nTo test after setting model path:"
] |
[
-0.08405596762895584,
0.1539323478937149,
-0.004068635869771242,
0.004152191337198019,
0.16250887513160706,
0.01883608102798462,
0.0329643152654171,
0.10204832255840302,
0.030445467680692673,
0.022949282079935074,
0.05577695369720459,
0.09900946170091629,
0.03549976646900177,
0.04607751592993736,
0.022234084084630013,
-0.18211062252521515,
-0.03295428678393364,
0.015341317281126976,
-0.07369709759950638,
0.10225756466388702,
0.06389744579792023,
-0.07160526514053345,
0.08318673819303513,
0.07510428130626678,
-0.08429938554763794,
0.018051620572805405,
-0.020760614424943924,
-0.06760334223508835,
0.05646655336022377,
0.005649711936712265,
0.13184931874275208,
-0.020824065431952477,
0.05737341567873955,
-0.14430417120456696,
-0.0021398556418716908,
0.062304168939590454,
0.0461496040225029,
0.05548804625868797,
0.14853566884994507,
-0.10604438185691833,
0.0840940773487091,
0.02958553284406662,
0.07744087278842926,
0.05544612556695938,
-0.022874755784869194,
-0.190943643450737,
-0.0766473039984703,
0.013099132105708122,
0.08073408156633377,
0.10152077674865723,
0.0062606907449662685,
0.11515558511018753,
-0.08486770838499069,
0.05806073918938637,
0.18390604853630066,
-0.21523110568523407,
0.017212262377142906,
0.04664047062397003,
0.08671218156814575,
-0.046564728021621704,
-0.06135993078351021,
-0.0798981636762619,
-0.0018893982050940394,
0.09632842987775803,
0.04425855353474617,
-0.037288691848516464,
-0.035414379090070724,
-0.02319704368710518,
-0.14340856671333313,
-0.0416690818965435,
0.20216500759124756,
-0.07459086924791336,
-0.10290659964084625,
-0.013755044899880886,
-0.031456269323825836,
-0.02484286017715931,
0.0303798858076334,
0.05370892211794853,
0.021600237116217613,
-0.017091067507863045,
0.021151158958673477,
-0.07317082583904266,
-0.11030694097280502,
-0.04560630023479462,
0.006261454429477453,
0.23147940635681152,
0.07098321616649628,
0.03883963078260422,
-0.11734646558761597,
0.16276569664478302,
-0.016336431726813316,
-0.08661877363920212,
-0.04447648674249649,
-0.05142932012677193,
-0.005456032697111368,
-0.0006481695454567671,
-0.07087138295173645,
-0.11051356792449951,
-0.021359549835324287,
0.14417269825935364,
-0.0800500437617302,
0.04534027725458145,
-0.008110230788588524,
0.024374479427933693,
-0.00491137383505702,
0.19044826924800873,
-0.005028268322348595,
0.055076517164707184,
0.027821602299809456,
-0.012973901815712452,
-0.03487108647823334,
0.05135000869631767,
-0.0319453589618206,
-0.06845036894083023,
0.033441536128520966,
0.0576280876994133,
0.005169611889868975,
0.07214280217885971,
-0.019092585891485214,
-0.05781573802232742,
0.11423058807849884,
-0.14002074301242828,
0.033408477902412415,
0.049200184643268585,
-0.06146328151226044,
0.0365540012717247,
0.1564822494983673,
-0.060062065720558167,
-0.1067359521985054,
0.16948577761650085,
-0.04983294755220413,
0.0037289706524461508,
-0.14070288836956024,
-0.08940006792545319,
0.04499185457825661,
-0.005264506675302982,
0.009633724577724934,
-0.10319917649030685,
-0.2122192084789276,
-0.009430359117686749,
0.04229571297764778,
0.04632066562771797,
0.041351936757564545,
0.01749468594789505,
-0.026781156659126282,
-0.025645524263381958,
-0.011741138063371181,
0.074482262134552,
-0.017699340358376503,
0.06805771589279175,
0.04729468747973442,
-0.007236058358103037,
0.028182022273540497,
0.0726415142416954,
-0.06629190593957901,
0.04371611028909683,
-0.10500053316354752,
0.03150933235883713,
-0.10260216146707535,
0.008115414530038834,
-0.07877271622419357,
-0.1071721538901329,
0.019218096509575844,
-0.002282933797687292,
0.05189426615834236,
0.09546079486608505,
-0.055010728538036346,
-0.023306667804718018,
0.22605310380458832,
-0.036648478358983994,
-0.025859631597995758,
0.08063448220491409,
-0.008684821426868439,
-0.0529402494430542,
0.03370694816112518,
0.06708178669214249,
0.15254715085029602,
-0.12708257138729095,
-0.011652934364974499,
0.02578940987586975,
-0.032668985426425934,
-0.03181121498346329,
0.07338465750217438,
-0.05529102310538292,
-0.08879368752241135,
0.026150187477469444,
-0.1369716078042984,
0.04547177627682686,
-0.019923383370041847,
0.0013563408283516765,
-0.06106250360608101,
-0.058428119868040085,
0.11606646329164505,
-0.020115338265895844,
0.002826395444571972,
-0.05900358036160469,
-0.13494545221328735,
0.13601841032505035,
0.14125125110149384,
-0.0541987307369709,
0.013710261322557926,
-0.09128998219966888,
0.1339370459318161,
-0.07803232222795486,
-0.035997238010168076,
-0.16024251282215118,
-0.03569510951638222,
0.051078811287879944,
-0.018781891092658043,
0.008649297058582306,
0.016572436317801476,
0.04651319608092308,
0.07361411303281784,
0.00730175944045186,
-0.04410712048411369,
-0.02403228171169758,
-0.06234901025891304,
-0.028968187049031258,
0.007929936051368713,
-0.08611996471881866,
-0.04088073968887329,
0.015262420289218426,
-0.17439018189907074,
0.037503186613321304,
-0.05184431001543999,
0.0352899394929409,
-0.03725104033946991,
-0.03671550378203392,
0.038946907967329025,
-0.01208301167935133,
-0.04933416470885277,
-0.034854136407375336,
0.018928196281194687,
0.031735558062791824,
0.01611614227294922,
0.03708425536751747,
-0.09525036811828613,
-0.1041967123746872,
0.08987996727228165,
0.011788477189838886,
-0.03385443612933159,
-0.0058011384680867195,
-0.059077296406030655,
-0.019660362973809242,
-0.11422697454690933,
-0.011516083963215351,
0.2285742461681366,
0.0494459867477417,
0.17211458086967468,
-0.09104922413825989,
-0.05135862156748772,
-0.016704648733139038,
-0.04331686720252037,
0.011266970075666904,
0.0658811703324318,
0.04951980710029602,
0.044667989015579224,
0.03778752312064171,
0.06100336089730263,
-0.13221503794193268,
0.07388231158256531,
-0.0036338400095701218,
-0.07724206894636154,
0.04068905860185623,
0.052805207669734955,
-0.006771249696612358,
0.0037567452527582645,
-0.09465320408344269,
0.045343976467847824,
0.07225397229194641,
-0.0004324779147282243,
0.039844732731580734,
-0.1468026340007782,
0.03845895826816559,
0.043970465660095215,
-0.023703107610344887,
-0.06509457528591156,
0.040551140904426575,
0.029754308983683586,
0.010213035158813,
0.007930366322398186,
0.08009158819913864,
-0.01099640503525734,
0.0011769297998398542,
-0.11631818115711212,
0.18481165170669556,
-0.12598229944705963,
-0.17729559540748596,
-0.23231014609336853,
-0.10877790302038193,
-0.059794407337903976,
0.015704812481999397,
0.05898204445838928,
-0.04377812519669533,
-0.06921520829200745,
0.0003672810853458941,
0.1006452888250351,
-0.0693129450082779,
-0.044430527836084366,
-0.08384259045124054,
0.00008308971155202016,
0.03453575447201729,
-0.140264093875885,
-0.019392104819417,
0.04725632071495056,
-0.11971607804298401,
0.040255844593048096,
0.01863044872879982,
0.002084207721054554,
0.08779068291187286,
-0.07932186126708984,
0.0020425699185580015,
0.03812072053551674,
0.16154758632183075,
-0.01607285439968109,
0.004833319690078497,
0.2206679731607437,
-0.05575290322303772,
0.09007523953914642,
-0.05840866267681122,
0.021760903298854828,
-0.031860947608947754,
0.0359506793320179,
0.027945253998041153,
-0.011879066936671734,
-0.3017558455467224,
-0.08075180649757385,
-0.0037239647936075926,
0.008264375850558281,
0.08825818449258804,
0.02409672737121582,
-0.008167503401637077,
0.10010485351085663,
-0.02873440459370613,
-0.022676430642604828,
-0.05860545486211777,
0.11741793900728226,
0.053187932819128036,
0.003007582388818264,
0.060773491859436035,
-0.04020600765943527,
0.013167588971555233,
0.036972273141145706,
0.04226892441511154,
0.1765737682580948,
-0.08104613423347473,
-0.00028919355827383697,
0.08819673210382462,
0.10812371224164963,
0.06294206529855728,
0.1134856566786766,
-0.08500993996858597,
0.026257822290062904,
0.03793193772435188,
-0.07335986942052841,
-0.10011787712574005,
0.031770721077919006,
-0.011143422685563564,
0.022622592747211456,
-0.059916310012340546,
-0.07193753123283386,
-0.050246626138687134,
0.18950121104717255,
0.019997861236333847,
-0.24183541536331177,
-0.08327862620353699,
0.009205496869981289,
-0.050228301435709,
-0.13590684533119202,
0.04747072234749794,
0.04080760478973389,
-0.18281902372837067,
0.05947312340140343,
-0.060540251433849335,
0.09609124809503555,
-0.02095799334347248,
-0.03913504257798195,
0.020383326336741447,
0.1281968057155609,
0.016467031091451645,
0.11681809276342392,
-0.12922430038452148,
0.06813517212867737,
0.012397912330925465,
0.037010300904512405,
-0.06988189369440079,
0.0511813648045063,
0.024115432053804398,
0.07691965997219086,
0.07428077608346939,
0.013599924743175507,
0.16968293488025665,
-0.022669566795229912,
-0.06104022637009621,
0.007107050623744726,
0.046700261533260345,
0.013489791192114353,
0.0914350375533104,
-0.03898005187511444,
-0.019814416766166687,
-0.033195070922374725,
-0.09149166196584702,
-0.061012011021375656,
-0.0634915828704834,
0.0034004992339760065,
-0.04428191855549812,
0.045729588717222214,
-0.07106856256723404,
-0.06703971326351166,
-0.04953457787632942,
0.1523219496011734,
-0.0646403506398201,
-0.1112566888332367,
-0.0932222232222557,
-0.03564853593707085,
0.10576581209897995,
-0.06999623030424118,
0.04475187510251999,
-0.049608178436756134,
0.14463599026203156,
-0.010860560461878777,
-0.11660244315862656,
-0.017204297706484795,
-0.12031496316194534,
-0.09796126931905746,
-0.0024714607279747725,
0.13918323814868927,
0.021522281691432,
0.056353695690631866,
-0.01314676832407713,
-0.008678487502038479,
-0.07210327684879303,
-0.05774017050862312,
-0.07284265756607056,
0.1952635645866394,
0.13715946674346924,
0.0664871409535408,
-0.17111819982528687,
0.035449571907520294,
-0.05163634940981865,
0.018311796709895134,
0.1319781243801117,
0.08589022606611252,
-0.06613669544458389,
0.0666046142578125,
0.0741051509976387,
-0.05392320454120636,
-0.2191518098115921,
0.03942165896296501,
0.13301752507686615,
0.026848752051591873,
-0.023206794634461403,
-0.1956978738307953,
0.14545764029026031,
0.028710084035992622,
-0.010178892873227596,
0.1622677743434906,
-0.21513819694519043,
-0.10102127492427826,
0.0874221995472908,
0.058579154312610626,
-0.08236417174339294,
-0.09910687059164047,
-0.022237258031964302,
-0.011068531312048435,
-0.15503959357738495,
0.08548079431056976,
0.05139869451522827,
0.09436333179473877,
-0.050981346517801285,
0.17705166339874268,
0.04753563925623894,
-0.09187383204698563,
0.06445520371198654,
-0.018792536109685898,
-0.006089875940233469,
-0.025370435789227486,
0.08474224805831909,
0.052458539605140686,
-0.029889177531003952,
0.16931629180908203,
-0.034633684903383255,
0.0751134529709816,
-0.23487083613872528,
-0.0632954016327858,
-0.12401311844587326,
0.09366058558225632,
-0.023461509495973587,
-0.040363576263189316,
0.009364452213048935,
-0.018673088401556015,
0.03961167857050896,
-0.005817950703203678,
-0.050120629370212555,
-0.017475057393312454,
-0.039555907249450684,
0.09931234270334244,
0.12800128757953644,
0.02609434723854065,
-0.22535206377506256,
-0.010914784856140614,
-0.0065523600205779076,
0.03807605057954788,
-0.15654711425304413,
0.0008304566144943237,
0.07303072512149811,
0.06110529974102974,
0.07710295170545578,
0.0526079460978508,
-0.11681412905454636,
-0.04639355465769768,
0.0552363246679306,
-0.1210615411400795,
-0.06116197630763054,
-0.07707063853740692,
0.15551453828811646,
-0.1161169782280922,
0.004672082606703043,
0.06330381333827972,
-0.039948515594005585,
-0.07062176614999771,
0.00737070431932807,
0.004204635042697191,
-0.06352788954973221,
0.12130516767501831,
0.05493535101413727,
0.04669313132762909,
-0.08519646525382996,
0.10257063806056976,
0.025760022923350334,
-0.03023589588701725,
0.018933456391096115,
0.13223105669021606,
-0.0746438205242157,
-0.054259758442640305,
0.0018250759458169341,
0.0913805142045021,
-0.08970437198877335,
-0.06051699444651604,
0.042977891862392426,
-0.018682045862078667,
0.04425444081425667,
0.06743109971284866,
0.08049267530441284,
-0.028908587992191315,
-0.05248201638460159,
-0.022779155522584915,
-0.12189851701259613,
0.07344482094049454,
0.05993211641907692,
0.09175508469343185,
-0.10154972970485687,
0.13644526898860931,
0.019771363586187363,
0.10287326574325562,
0.0038095666095614433,
-0.0280036348849535,
-0.030872762203216553,
0.0336095355451107,
-0.20434027910232544,
-0.014597434550523758,
-0.012424977496266365,
-0.0075478521175682545,
0.009764916263520718,
-0.024137115105986595,
0.014681803062558174,
0.03971530497074127,
-0.08094373345375061,
-0.05234207957983017,
-0.04991241171956062,
0.008562666364014149,
-0.08178137987852097,
-0.012898562476038933,
0.055478788912296295,
-0.11244513094425201,
0.033497702330350876,
0.09488442540168762,
-0.014944996684789658,
0.051640283316373825,
0.0004619385290425271,
-0.06459268182516098,
0.00493474630638957,
0.03169303387403488,
0.014907571487128735,
-0.08479339629411697,
0.06053062900900841,
-0.02094133011996746,
-0.001413579797372222,
-0.038376856595277786,
0.14210784435272217,
-0.1404804140329361,
-0.008874606341123581,
0.06889531761407852,
-0.05150993913412094,
-0.0870700478553772,
-0.004075317643582821,
0.003963674884289503,
0.09807759523391724,
0.13765978813171387,
-0.03844604268670082,
0.07852187752723694,
-0.05532917007803917,
-0.026903491467237473,
-0.030962252989411354,
-0.007758607156574726,
0.013414805755019188,
-0.002256168983876705,
0.026202799752354622,
-0.003948042169213295,
0.027966994792222977,
0.0029615217354148626,
0.08790203183889389,
-0.004887210670858622,
-0.019543606787919998,
0.022473303601145744,
-0.01949695125222206,
0.10728628188371658,
-0.025744909420609474,
-0.00007964754331624135,
-0.0033087902702391148,
0.04948040843009949,
0.04116179049015045,
-0.03467465937137604,
0.14457912743091583,
0.14653280377388,
-0.0914778932929039,
0.05220939591526985,
0.01568394899368286,
-0.058795057237148285,
-0.19434581696987152,
-0.1651080697774887,
-0.008121289312839508,
0.10037845373153687,
-0.07171627879142761,
0.22841794788837433,
0.04187818989157677,
-0.11126957088708878,
0.08620870858430862,
0.016786424443125725,
-0.07160203903913498,
-0.11946624517440796,
-0.07667244970798492,
-0.016905907541513443,
-0.05760757625102997,
0.044405996799468994,
-0.0826413631439209,
0.0342763215303421,
0.02255057916045189,
0.026983022689819336,
-0.05452549085021019,
0.17697136104106903,
-0.05460301414132118,
-0.11621516942977905,
-0.003127969801425934,
0.01429265458136797,
0.05950506031513214,
0.09905610978603363,
0.008509671315550804,
0.027718771249055862,
-0.011602160520851612,
0.08452486246824265,
0.04446500539779663,
-0.02608296647667885,
0.05458511412143707,
0.009420987218618393,
-0.03742705658078194,
0.000323945889249444,
0.027746038511395454,
0.018787657842040062,
0.16082468628883362,
0.013779627159237862,
0.027140608057379723,
-0.03104480169713497,
0.1765477955341339,
-0.07513932883739471,
-0.06499362736940384,
-0.09780015051364899,
0.2439052164554596,
0.07781361043453217,
-0.015597944147884846,
0.03365258499979973,
-0.08675020933151245,
-0.06685494631528854,
0.30536597967147827,
0.08597609400749207,
0.0737341120839119,
-0.005618728697299957,
0.053174786269664764,
0.006551012862473726,
-0.01936219446361065,
0.11842254549264908,
0.07697102427482605,
0.21307015419006348,
-0.062421247363090515,
-0.008850667625665665,
-0.008245316334068775,
0.0037948149256408215,
-0.10145818442106247,
0.014470570720732212,
-0.08401157706975937,
-0.07661111652851105,
0.010108868591487408,
0.001465821755118668,
-0.017442628741264343,
-0.1127045601606369,
-0.05776837840676308,
-0.014022983610630035,
-0.09233430027961731,
-0.03704919293522835,
0.024567795917391777,
-0.019359854981303215,
0.09199047833681107,
0.0011259051971137524,
-0.036437686532735825,
0.2010812759399414,
-0.00812202226370573,
-0.1032160073518753,
-0.042256541550159454,
0.1088394746184349,
-0.027583375573158264,
0.14348888397216797,
0.02705092914402485,
0.04671712592244148,
0.06750323623418808,
0.045505695044994354,
-0.10887862741947174,
0.03528480976819992,
0.030227046459913254,
-0.09806814789772034,
0.02428841032087803,
0.14375443756580353,
-0.03058869019150734,
-0.02195088192820549,
-0.06773924082517624,
-0.11579353362321854,
0.001300960429944098,
-0.013467571698129177,
0.03322993218898773,
-0.09740430861711502,
0.027174053713679314,
-0.1009562537074089,
0.10852885246276855,
0.2140398621559143,
-0.01164679229259491,
-0.03250876069068909,
-0.11307110637426376,
0.05894585698843002,
0.04740304499864578,
-0.01225400622934103,
-0.019746985286474228,
-0.14039826393127441,
0.00386173278093338,
-0.014690225012600422,
0.024490483105182648,
-0.3103349804878235,
0.01685292460024357,
0.04242321103811264,
-0.05086716637015343,
-0.0412069633603096,
0.07751788944005966,
-0.03000739961862564,
0.06922105699777603,
-0.014884501695632935,
-0.008526652120053768,
-0.0203261561691761,
0.05247380584478378,
-0.20110534131526947,
-0.08745216578245163
] |
null | null |
transformers
|
# Cicero-Similis
## Model description
A Latin Language Model, trained on Latin texts, and evaluated using the corpus of Cicero, as described in the paper _What Would Cicero Write? -- Examining Critical Textual Decisions with a Language Model_ by Todd Cook,
Published in Ciceroniana On Line, Vol. V, #2.
## Intended uses & limitations
#### How to use
Normalize text using JV Replacement and tokenize using CLTK to separate enclitics such as "-que", then:
```
from transformers import BertForMaskedLM, AutoTokenizer, FillMaskPipeline
tokenizer = AutoTokenizer.from_pretrained("cook/cicero-similis")
model = BertForMaskedLM.from_pretrained("cook/cicero-similis")
fill_mask = FillMaskPipeline(model=model, tokenizer=tokenizer, top_k=10_000)
# Cicero, De Re Publica, VI, 32, 2
# "animal" is found in A, Q, PhD manuscripts
# 'anima' H^1 Macr. et codd. Tusc.
results = fill_mask("inanimum est enim omne quod pulsu agitatur externo; quod autem est [MASK],")
```
#### Limitations and bias
Currently the model training data excludes modern and 19th century texts, but that weakness is the model's strength; it's not aimed to be a one-size-fits-all model.
## Training data
Trained on the corpora Phi5, Tesserae, Thomas Aquinas, and Patrologes Latina.
## Training procedure
5 epochs, masked language modeling .15, effective batch size 32
## Eval results
A novel evaluation metric is proposed in the paper _What Would Cicero Write? -- Examining Critical Textual Decisions with a Language Model_ by Todd Cook,
Published in Ciceroniana On Line, Vol. V, #2.
### BibTeX entry and citation info
TODO
_What Would Cicero Write? -- Examining Critical Textual Decisions with a Language Model_ by Todd Cook,
Published in Ciceroniana On Line, Vol. V, #2.
|
{"language": ["la"], "license": "apache-2.0", "tags": ["language model"], "datasets": ["Tesserae", "Phi5", "Thomas Aquinas", "Patrologia Latina"]}
|
fill-mask
|
cook/cicero-similis
|
[
"transformers",
"pytorch",
"tf",
"jax",
"bert",
"fill-mask",
"language model",
"la",
"license:apache-2.0",
"autotrain_compatible",
"endpoints_compatible",
"region:us"
] |
2022-03-02T23:29:05+00:00
|
[] |
[
"la"
] |
TAGS
#transformers #pytorch #tf #jax #bert #fill-mask #language model #la #license-apache-2.0 #autotrain_compatible #endpoints_compatible #region-us
|
# Cicero-Similis
## Model description
A Latin Language Model, trained on Latin texts, and evaluated using the corpus of Cicero, as described in the paper _What Would Cicero Write? -- Examining Critical Textual Decisions with a Language Model_ by Todd Cook,
Published in Ciceroniana On Line, Vol. V, #2.
## Intended uses & limitations
#### How to use
Normalize text using JV Replacement and tokenize using CLTK to separate enclitics such as "-que", then:
#### Limitations and bias
Currently the model training data excludes modern and 19th century texts, but that weakness is the model's strength; it's not aimed to be a one-size-fits-all model.
## Training data
Trained on the corpora Phi5, Tesserae, Thomas Aquinas, and Patrologes Latina.
## Training procedure
5 epochs, masked language modeling .15, effective batch size 32
## Eval results
A novel evaluation metric is proposed in the paper _What Would Cicero Write? -- Examining Critical Textual Decisions with a Language Model_ by Todd Cook,
Published in Ciceroniana On Line, Vol. V, #2.
### BibTeX entry and citation info
TODO
_What Would Cicero Write? -- Examining Critical Textual Decisions with a Language Model_ by Todd Cook,
Published in Ciceroniana On Line, Vol. V, #2.
|
[
"# Cicero-Similis",
"## Model description\n\nA Latin Language Model, trained on Latin texts, and evaluated using the corpus of Cicero, as described in the paper _What Would Cicero Write? -- Examining Critical Textual Decisions with a Language Model_ by Todd Cook,\nPublished in Ciceroniana On Line, Vol. V, #2.",
"## Intended uses & limitations",
"#### How to use\n\nNormalize text using JV Replacement and tokenize using CLTK to separate enclitics such as \"-que\", then:",
"#### Limitations and bias\n\nCurrently the model training data excludes modern and 19th century texts, but that weakness is the model's strength; it's not aimed to be a one-size-fits-all model.",
"## Training data\n\nTrained on the corpora Phi5, Tesserae, Thomas Aquinas, and Patrologes Latina.",
"## Training procedure\n\n5 epochs, masked language modeling .15, effective batch size 32",
"## Eval results\nA novel evaluation metric is proposed in the paper _What Would Cicero Write? -- Examining Critical Textual Decisions with a Language Model_ by Todd Cook,\nPublished in Ciceroniana On Line, Vol. V, #2.",
"### BibTeX entry and citation info\nTODO\n_What Would Cicero Write? -- Examining Critical Textual Decisions with a Language Model_ by Todd Cook,\nPublished in Ciceroniana On Line, Vol. V, #2."
] |
[
"TAGS\n#transformers #pytorch #tf #jax #bert #fill-mask #language model #la #license-apache-2.0 #autotrain_compatible #endpoints_compatible #region-us \n",
"# Cicero-Similis",
"## Model description\n\nA Latin Language Model, trained on Latin texts, and evaluated using the corpus of Cicero, as described in the paper _What Would Cicero Write? -- Examining Critical Textual Decisions with a Language Model_ by Todd Cook,\nPublished in Ciceroniana On Line, Vol. V, #2.",
"## Intended uses & limitations",
"#### How to use\n\nNormalize text using JV Replacement and tokenize using CLTK to separate enclitics such as \"-que\", then:",
"#### Limitations and bias\n\nCurrently the model training data excludes modern and 19th century texts, but that weakness is the model's strength; it's not aimed to be a one-size-fits-all model.",
"## Training data\n\nTrained on the corpora Phi5, Tesserae, Thomas Aquinas, and Patrologes Latina.",
"## Training procedure\n\n5 epochs, masked language modeling .15, effective batch size 32",
"## Eval results\nA novel evaluation metric is proposed in the paper _What Would Cicero Write? -- Examining Critical Textual Decisions with a Language Model_ by Todd Cook,\nPublished in Ciceroniana On Line, Vol. V, #2.",
"### BibTeX entry and citation info\nTODO\n_What Would Cicero Write? -- Examining Critical Textual Decisions with a Language Model_ by Todd Cook,\nPublished in Ciceroniana On Line, Vol. V, #2."
] |
[
55,
5,
69,
9,
35,
54,
26,
23,
55,
53
] |
[
"passage: TAGS\n#transformers #pytorch #tf #jax #bert #fill-mask #language model #la #license-apache-2.0 #autotrain_compatible #endpoints_compatible #region-us \n# Cicero-Similis## Model description\n\nA Latin Language Model, trained on Latin texts, and evaluated using the corpus of Cicero, as described in the paper _What Would Cicero Write? -- Examining Critical Textual Decisions with a Language Model_ by Todd Cook,\nPublished in Ciceroniana On Line, Vol. V, #2.## Intended uses & limitations#### How to use\n\nNormalize text using JV Replacement and tokenize using CLTK to separate enclitics such as \"-que\", then:#### Limitations and bias\n\nCurrently the model training data excludes modern and 19th century texts, but that weakness is the model's strength; it's not aimed to be a one-size-fits-all model.## Training data\n\nTrained on the corpora Phi5, Tesserae, Thomas Aquinas, and Patrologes Latina.## Training procedure\n\n5 epochs, masked language modeling .15, effective batch size 32## Eval results\nA novel evaluation metric is proposed in the paper _What Would Cicero Write? -- Examining Critical Textual Decisions with a Language Model_ by Todd Cook,\nPublished in Ciceroniana On Line, Vol. V, #2.### BibTeX entry and citation info\nTODO\n_What Would Cicero Write? -- Examining Critical Textual Decisions with a Language Model_ by Todd Cook,\nPublished in Ciceroniana On Line, Vol. V, #2."
] |
[
-0.024620162323117256,
0.11521816998720169,
-0.004350052215158939,
0.04935641586780548,
0.09208619594573975,
0.02049035020172596,
0.11419767886400223,
0.14593520760536194,
0.04192153736948967,
0.11501525342464447,
0.012995126657187939,
-0.0056021795608103275,
0.08901641517877579,
0.08481770753860474,
-0.0004127788997720927,
-0.21703459322452545,
0.010167262516915798,
-0.05805763974785805,
-0.013671929948031902,
0.08188935369253159,
0.11866312474012375,
-0.046842921525239944,
0.05884239077568054,
-0.0667387917637825,
0.003697102190926671,
0.02967708930373192,
-0.06858434528112411,
-0.03935587778687477,
0.0701846331357956,
0.08403962850570679,
0.05607490986585617,
0.047132112085819244,
0.037849877029657364,
-0.20930027961730957,
0.0026840290520340204,
0.07626654207706451,
-0.02018658071756363,
0.01441408134996891,
0.052917227149009705,
-0.004337472841143608,
0.21078506112098694,
-0.12056567519903183,
0.08085454255342484,
0.017649773508310318,
-0.11669903248548508,
-0.07709478586912155,
-0.07690668106079102,
0.06233900412917137,
0.041622474789619446,
0.06448271870613098,
-0.042926546186208725,
0.14011596143245697,
-0.036717548966407776,
0.04762770235538483,
0.15603108704090118,
-0.16918976604938507,
-0.06628197431564331,
0.002121666446328163,
0.11702678352594376,
0.1356794536113739,
-0.09831304103136063,
0.011213261634111404,
0.007035776507109404,
0.06571049243211746,
0.03452961519360542,
-0.03825453668832779,
0.08175233751535416,
0.008425906300544739,
-0.14292049407958984,
-0.08281078934669495,
0.11500710248947144,
-0.029996588826179504,
-0.0537424273788929,
-0.18949507176876068,
-0.00505663501098752,
0.029711514711380005,
-0.012995123863220215,
-0.11685299128293991,
0.022510681301355362,
-0.037032678723335266,
0.13651344180107117,
-0.12025021761655807,
-0.07632086426019669,
-0.0009331819019280374,
-0.004418991971760988,
0.19809317588806152,
0.04353664442896843,
0.004210065118968487,
-0.041792865842580795,
0.09098977595567703,
-0.13743522763252258,
-0.08358566462993622,
-0.00730690686032176,
-0.027807999402284622,
-0.09546854346990585,
-0.05242549255490303,
0.006660375278443098,
-0.08813346177339554,
0.007077279966324568,
0.10572079569101334,
0.004698054399341345,
0.005561851896345615,
0.027810627594590187,
0.010697814635932446,
0.07978363335132599,
0.12628263235092163,
-0.033063795417547226,
-0.04884621500968933,
-0.0038545667193830013,
0.08430790156126022,
0.012037632055580616,
-0.021862413734197617,
-0.04224362224340439,
-0.017553316429257393,
0.032792456448078156,
0.12339366227388382,
0.08945906162261963,
-0.03840753808617592,
-0.02063787542283535,
-0.05285713076591492,
0.06956630200147629,
-0.1311909407377243,
0.05115380138158798,
-0.02301492728292942,
-0.013041059486567974,
0.07556109130382538,
0.014035064727067947,
-0.04527813568711281,
-0.13971664011478424,
0.09652688354253769,
-0.05590379610657692,
-0.031145675107836723,
-0.06794562935829163,
-0.13854381442070007,
0.07304728031158447,
-0.061699721962213516,
-0.08447085320949554,
-0.05320359393954277,
-0.10668140649795532,
-0.07254127413034439,
-0.007134616374969482,
-0.09556014090776443,
-0.04826647788286209,
-0.014940165914595127,
-0.0645638033747673,
-0.05338433012366295,
0.060908570885658264,
0.013010087423026562,
0.0029148198664188385,
0.02147526852786541,
-0.01064817514270544,
0.05815461277961731,
0.04696350544691086,
0.047163087874650955,
-0.0673617571592331,
0.039447687566280365,
-0.15787851810455322,
0.1283360868692398,
-0.09241771697998047,
-0.034546561539173126,
-0.1218879371881485,
-0.05461820214986801,
-0.03646271303296089,
-0.0037429940421134233,
0.012433295138180256,
0.18508915603160858,
-0.1659952700138092,
-0.030115103349089622,
0.20042972266674042,
-0.11377480626106262,
-0.08291391283273697,
0.14626799523830414,
-0.003173903562128544,
0.05924553796648979,
0.1167488843202591,
0.0624392144382,
0.11271072179079056,
-0.13970713317394257,
-0.019344070926308632,
-0.035626236349344254,
0.0005786726251244545,
0.1748063564300537,
0.0686752200126648,
-0.05088034272193909,
0.04934557154774666,
-0.01141444779932499,
-0.11121314018964767,
-0.08445297181606293,
-0.035207029432058334,
-0.05523902550339699,
-0.022797483950853348,
-0.007916349917650223,
0.028875399380922318,
-0.015156332403421402,
-0.02586776204407215,
-0.012207661755383015,
-0.11437690258026123,
-0.06708841770887375,
0.0411028191447258,
-0.036453600972890854,
0.038435470312833786,
-0.0471649132668972,
0.08317917585372925,
-0.01651141420006752,
0.05826651304960251,
-0.146209716796875,
-0.10829678177833557,
0.0790635496377945,
-0.06881740689277649,
0.1167156845331192,
0.005500625818967819,
0.02324465848505497,
0.02152976766228676,
-0.09934962540864944,
0.00027753421454690397,
-0.0815957635641098,
0.0013300369028002024,
-0.08220288157463074,
-0.1979847401380539,
-0.0501023605465889,
-0.06578285992145538,
0.04764477163553238,
-0.16504013538360596,
0.049130842089653015,
0.025822274386882782,
0.06416656821966171,
0.03643450140953064,
-0.02509284019470215,
-0.016140373423695564,
0.024314243346452713,
0.007225379813462496,
-0.06194319948554039,
-0.019607307389378548,
-0.04592302069067955,
-0.1008773148059845,
0.0328415110707283,
-0.17446918785572052,
-0.09628178924322128,
0.04277626425027847,
0.11394055187702179,
-0.10835873335599899,
-0.08272982388734818,
-0.02933310531079769,
-0.05014074966311455,
-0.1259409487247467,
-0.09217053651809692,
0.13245798647403717,
0.05158020928502083,
0.034356798976659775,
-0.11761336773633957,
-0.052652742713689804,
-0.0038982126861810684,
-0.02779667265713215,
-0.02813379094004631,
0.13635633885860443,
0.12498264014720917,
-0.12749482691287994,
0.07104769349098206,
0.1059514656662941,
-0.04485613852739334,
0.08842530846595764,
0.006462319754064083,
-0.11567065864801407,
-0.05365496128797531,
0.07217439264059067,
0.050784479826688766,
0.04992213472723961,
-0.03230629116296768,
0.05047386884689331,
0.01754247210919857,
0.015772175043821335,
0.042308125644922256,
-0.08104240894317627,
0.03265606611967087,
0.024161363020539284,
-0.04264844208955765,
-0.03275137022137642,
-0.015479263849556446,
0.0202901940792799,
0.131864994764328,
0.012344078160822392,
0.07047981768846512,
-0.03294955939054489,
-0.06386899948120117,
-0.13207046687602997,
0.15816785395145416,
-0.03236604109406471,
-0.16066336631774902,
-0.11286363750696182,
0.05602002516388893,
0.0012562231859192252,
0.0021072274539619684,
0.008679413236677647,
0.008778602816164494,
-0.051538050174713135,
-0.09274807572364807,
0.1045464500784874,
0.0072057247161865234,
-0.0470484122633934,
-0.10572455078363419,
0.03923187032341957,
-0.0035358488094061613,
-0.08864910900592804,
-0.02076645940542221,
0.039886098355054855,
-0.007689230144023895,
0.00267079402692616,
-0.022481661289930344,
0.07264187186956406,
0.13130228221416473,
-0.014849412254989147,
-0.03348671272397041,
-0.045750994235277176,
0.21164864301681519,
-0.12496062368154526,
0.11256996542215347,
0.05559145659208298,
-0.00830164086073637,
0.0716131255030632,
0.10335810482501984,
0.020691266283392906,
-0.01968265138566494,
0.005017431918531656,
0.059789977967739105,
-0.04339221119880676,
-0.25520822405815125,
-0.06759274005889893,
-0.05756031721830368,
0.0194553192704916,
0.05852891877293587,
0.034051813185214996,
0.017248637974262238,
-0.020438125357031822,
-0.07920968532562256,
0.0029588378965854645,
0.09620276093482971,
0.10006240755319595,
0.09780769050121307,
0.04405840486288071,
0.04227212443947792,
-0.06608648598194122,
-0.048979777842760086,
0.09724204242229462,
0.07544149458408356,
0.2671872079372406,
0.02669547125697136,
0.15026341378688812,
0.032218046486377716,
-0.04320111870765686,
0.005021824035793543,
0.024807753041386604,
0.03150900825858116,
0.009312024340033531,
-0.04021947830915451,
-0.06509300321340561,
0.07470668107271194,
0.10651257634162903,
0.09039299935102463,
-0.07277089357376099,
-0.038758840411901474,
-0.025825366377830505,
0.0784483551979065,
0.17397618293762207,
0.037371013313531876,
-0.1072903424501419,
-0.017983276396989822,
0.0790177434682846,
-0.09563706815242767,
-0.060723189264535904,
-0.02904282696545124,
0.10234479606151581,
-0.18527592718601227,
0.06335535645484924,
-0.024656791239976883,
0.1176859512925148,
-0.021376170217990875,
-0.03549785166978836,
-0.026521390303969383,
0.06603574007749557,
-0.03282129019498825,
0.11107752472162247,
-0.16743075847625732,
0.1605239063501358,
0.014417850412428379,
0.0537739098072052,
-0.10240237414836884,
0.040526799857616425,
0.01917249523103237,
0.07405484467744827,
0.1373724639415741,
0.016720078885555267,
0.1135067269206047,
0.023226983845233917,
-0.07528631389141083,
-0.006754952948540449,
0.0849384069442749,
-0.0838901549577713,
0.11997827142477036,
-0.011208649724721909,
0.006662670522928238,
-0.029945392161607742,
0.041505366563797,
0.021732812747359276,
-0.18122559785842896,
0.08932806551456451,
-0.08818262815475464,
-0.039748236536979675,
-0.028434116393327713,
-0.09573311358690262,
-0.030860457569360733,
0.13434848189353943,
-0.04042016342282295,
-0.07835343480110168,
-0.10665418952703476,
0.01922796294093132,
0.1389305293560028,
-0.05444113165140152,
-0.009925342164933681,
-0.006915692705661058,
0.11579716205596924,
-0.07378613203763962,
0.009463167749345303,
0.06686108559370041,
-0.055537380278110504,
-0.1926211714744568,
-0.05035080760717392,
0.16567419469356537,
0.08398837596178055,
0.09108741581439972,
-0.011591439135372639,
-0.009587369859218597,
0.015788255259394646,
-0.1296565979719162,
0.039780374616384506,
0.059475988149642944,
-0.034021127969026566,
0.11710447072982788,
-0.07485101372003555,
-0.09153605252504349,
-0.14165081083774567,
-0.027340171858668327,
0.08066221326589584,
0.23733696341514587,
-0.04881272837519646,
0.11822663247585297,
0.064962238073349,
-0.14622436463832855,
-0.16323813796043396,
-0.030823254957795143,
0.049621615558862686,
0.02684057503938675,
0.0742175355553627,
-0.1125665232539177,
-0.0005813961615785956,
0.07275085896253586,
-0.00542650418356061,
0.09142733365297318,
-0.2849687933921814,
-0.1036623939871788,
0.017077434808015823,
-0.01609840802848339,
-0.1309930980205536,
-0.1712203472852707,
-0.07631704956293106,
-0.006685880944132805,
0.022443722933530807,
0.04672769457101822,
0.018641218543052673,
0.05393204838037491,
0.026825716719031334,
0.04113917425274849,
0.04436206817626953,
-0.023055721074342728,
0.162870392203331,
-0.004150571767240763,
-0.005433968268334866,
-0.01864728331565857,
-0.042717885226011276,
0.11154326796531677,
-0.04394569993019104,
0.1152636855840683,
-0.05046074092388153,
-0.008068879134953022,
-0.11326190084218979,
-0.06985369324684143,
-0.11417550593614578,
0.05607254058122635,
-0.08975283801555634,
-0.0177608709782362,
-0.031081808730959892,
0.0701545774936676,
0.08581778407096863,
-0.035557541996240616,
-0.05465397983789444,
-0.09863868355751038,
0.06315562129020691,
0.09202216565608978,
0.188415065407753,
0.08993706107139587,
-0.1326993852853775,
0.02398119494318962,
-0.004443526733666658,
0.013764600269496441,
-0.03364705666899681,
0.0403362400829792,
0.1281067430973053,
0.012793338857591152,
0.15633615851402283,
-0.01126145850867033,
-0.11781943589448929,
-0.04537324979901314,
0.039506375789642334,
-0.07599516212940216,
-0.1994149088859558,
-0.029088836163282394,
0.11130567640066147,
-0.19616252183914185,
-0.027036692947149277,
0.09953323006629944,
-0.05785045772790909,
-0.04846644401550293,
0.02080715261399746,
0.09916995465755463,
0.026728898286819458,
0.09314673393964767,
0.058884669095277786,
0.05782518535852432,
-0.04036879912018776,
0.10287697613239288,
0.1000068411231041,
-0.20519384741783142,
0.02139793150126934,
0.19508494436740875,
-0.041495081037282944,
-0.033056266605854034,
0.00857602246105671,
0.037972431629896164,
-0.002000250853598118,
-0.027847392484545708,
-0.004372274968773127,
-0.08184335380792618,
0.05434519052505493,
0.10441073775291443,
0.015503752045333385,
-0.027819015085697174,
-0.03436466306447983,
-0.006224967539310455,
-0.10222392529249191,
0.09883181750774384,
0.1107001006603241,
0.0008982030558399856,
-0.017754115164279938,
0.07408543676137924,
0.007060588803142309,
0.031854916363954544,
-0.027972202748060226,
-0.0061685554683208466,
-0.07893998920917511,
-0.016907207667827606,
-0.09184592217206955,
0.028842980042099953,
-0.09462545067071915,
-0.013829896226525307,
-0.026638580486178398,
-0.04558192566037178,
-0.002501807175576687,
-0.012422812171280384,
-0.07218792289495468,
-0.05649874731898308,
-0.028766252100467682,
0.08266159147024155,
-0.10800044238567352,
-0.027330994606018066,
0.06419161707162857,
-0.0902680829167366,
0.07514652609825134,
0.0159070435911417,
-0.031641632318496704,
-0.013330087065696716,
0.03128669783473015,
0.06949222087860107,
-0.013736204244196415,
0.006021167151629925,
-0.0008696937002241611,
-0.24255172908306122,
0.004719676915556192,
-0.02503523975610733,
-0.02581045776605606,
0.03843732178211212,
-0.03510496765375137,
-0.08949604630470276,
0.07510457932949066,
0.021287528797984123,
-0.12029480189085007,
-0.030071130022406578,
0.06261688470840454,
0.027973968535661697,
-0.020919643342494965,
0.09080509096384048,
-0.0459432490170002,
0.14508236944675446,
-0.14579978585243225,
0.0032857118640094995,
-0.007282153703272343,
0.04289170727133751,
0.00380503898486495,
-0.0015265721594914794,
0.06055604666471481,
-0.029580378904938698,
0.1343299001455307,
-0.012104460969567299,
0.08833860605955124,
0.06239284947514534,
-0.021722283214330673,
-0.02812357246875763,
0.015551348216831684,
0.006963278632611036,
0.00822039321064949,
-0.06655371189117432,
-0.029410840943455696,
-0.055404502898454666,
-0.08260027319192886,
0.042646270245313644,
0.1502975970506668,
0.14439639449119568,
0.1058536171913147,
0.06840406358242035,
0.0533008947968483,
-0.05354323983192444,
-0.0843559205532074,
-0.002115556737408042,
0.034369368106126785,
0.05490061268210411,
-0.037994496524333954,
0.15807855129241943,
0.08614712208509445,
-0.18008913099765778,
0.11475757509469986,
-0.04041831195354462,
-0.09766627103090286,
-0.05376413092017174,
-0.20254643261432648,
-0.0421079620718956,
-0.012065029703080654,
-0.03188719227910042,
-0.12969845533370972,
0.083628810942173,
0.0000807537289801985,
0.010751786641776562,
-0.07854484766721725,
0.12226294726133347,
-0.09639281779527664,
-0.15437015891075134,
0.11679557710886002,
0.04885876551270485,
0.12904350459575653,
0.029118143022060394,
0.05784885212779045,
-0.01652841456234455,
0.023686515167355537,
0.027579277753829956,
0.0726683959364891,
0.03709796816110611,
-0.007455070503056049,
-0.09265687316656113,
-0.07091006636619568,
0.01305133942514658,
-0.01740461401641369,
-0.011511377058923244,
0.1635083109140396,
-0.002604394219815731,
-0.04595227167010307,
-0.005149932578206062,
0.20218603312969208,
-0.07828354090452194,
-0.14292095601558685,
-0.17573246359825134,
0.19206365942955017,
0.008257932029664516,
-0.006815502420067787,
-0.01722421683371067,
-0.12958407402038574,
0.003137758234515786,
0.09957888722419739,
0.21341446042060852,
0.002251424128189683,
-0.002958443947136402,
0.0031706662848591805,
0.01588672213256359,
0.10178690403699875,
-0.03261987119913101,
-0.020153310149908066,
0.21981246769428253,
-0.10401123762130737,
0.1310679018497467,
-0.057770710438489914,
0.01673453487455845,
-0.049058347940444946,
0.17822089791297913,
0.04362667724490166,
-0.03118138387799263,
-0.06604300439357758,
0.13524511456489563,
-0.009270655922591686,
-0.22969530522823334,
-0.02582934871315956,
-0.1383797973394394,
-0.11462163180112839,
-0.013646643608808517,
-0.0714675560593605,
-0.018035896122455597,
0.09374899417161942,
0.032615140080451965,
-0.02959081530570984,
0.14015892148017883,
0.028542345389723778,
-0.0523780882358551,
-0.08213206380605698,
0.12973536550998688,
-0.042765870690345764,
0.0823274627327919,
0.0011099140392616391,
0.08687718957662582,
0.09076377004384995,
-0.022827953100204468,
-0.07538636773824692,
0.07028012722730637,
0.06847884505987167,
-0.0022353471722453833,
0.027457131072878838,
0.13480912148952484,
0.006087698042392731,
0.07538805902004242,
0.0901862159371376,
-0.027311529964208603,
0.004131932742893696,
-0.031143154948949814,
-0.037080682814121246,
-0.0874309316277504,
0.10527559369802475,
-0.10370506346225739,
0.11584873497486115,
0.20869626104831696,
-0.02860444411635399,
0.0019048501271754503,
-0.029102418571710587,
0.005548135843127966,
0.06390704214572906,
0.11737537384033203,
0.0013631372712552547,
-0.1444340944290161,
0.01230649184435606,
-0.049728959798812866,
0.07573312520980835,
-0.25765109062194824,
-0.069893479347229,
-0.006785169709473848,
-0.0008621909073553979,
-0.04147995635867119,
0.11040090769529343,
0.05221632868051529,
-0.015174729749560356,
-0.0378497876226902,
-0.1436414271593094,
0.006445874460041523,
0.12679919600486755,
-0.10432536900043488,
-0.007835181429982185
] |
null | null |
transformers
|
# Joreyar DialoGPT Model
|
{"tags": ["conversational"]}
|
text-generation
|
cookirei/DialoGPT-medium-Joreyar
|
[
"transformers",
"pytorch",
"gpt2",
"text-generation",
"conversational",
"autotrain_compatible",
"endpoints_compatible",
"text-generation-inference",
"region:us"
] |
2022-03-02T23:29:05+00:00
|
[] |
[] |
TAGS
#transformers #pytorch #gpt2 #text-generation #conversational #autotrain_compatible #endpoints_compatible #text-generation-inference #region-us
|
# Joreyar DialoGPT Model
|
[
"# Joreyar DialoGPT Model"
] |
[
"TAGS\n#transformers #pytorch #gpt2 #text-generation #conversational #autotrain_compatible #endpoints_compatible #text-generation-inference #region-us \n",
"# Joreyar DialoGPT Model"
] |
[
51,
9
] |
[
"passage: TAGS\n#transformers #pytorch #gpt2 #text-generation #conversational #autotrain_compatible #endpoints_compatible #text-generation-inference #region-us \n# Joreyar DialoGPT Model"
] |
[
-0.009433213621377945,
0.05888760834932327,
-0.006791951600462198,
0.010945454239845276,
0.14136968553066254,
-0.012575652450323105,
0.13843169808387756,
0.12132970988750458,
-0.03627154231071472,
-0.0291137732565403,
0.13306206464767456,
0.17937259376049042,
0.009237021207809448,
0.12436221539974213,
-0.07278509438037872,
-0.331073522567749,
0.05867588147521019,
0.05367891490459442,
0.07092801481485367,
0.1160341203212738,
0.1023203432559967,
-0.03856176137924194,
0.08425518870353699,
0.015671338886022568,
-0.13470400869846344,
0.02479201927781105,
-0.010396238416433334,
-0.11728964000940323,
0.1029379814863205,
0.05545426532626152,
0.03210984170436859,
0.026383686810731888,
-0.04719604551792145,
-0.15495845675468445,
0.03719698265194893,
-0.020338010042905807,
-0.0410240963101387,
0.04986805468797684,
0.03188291937112808,
-0.11261341720819473,
0.15079037845134735,
0.07572809606790543,
-0.005553504452109337,
0.04161961376667023,
-0.16241832077503204,
-0.031047141179442406,
0.002257700078189373,
0.04946034401655197,
0.0713132843375206,
0.07958745956420898,
-0.04710649698972702,
0.08130404353141785,
-0.06443548202514648,
0.10943141579627991,
0.13419654965400696,
-0.3167249858379364,
-0.027189845219254494,
0.11370468139648438,
0.05296752229332924,
0.05717643350362778,
-0.031164338812232018,
0.07972589135169983,
0.03191334754228592,
-0.005156553816050291,
-0.023733064532279968,
-0.08905690163373947,
-0.10260464996099472,
0.02200913615524769,
-0.08692943304777145,
-0.007129315286874771,
0.2535688281059265,
-0.051982149481773376,
0.083747997879982,
-0.08155631273984909,
-0.1016632616519928,
-0.03763507679104805,
-0.04568980261683464,
-0.039735786616802216,
-0.0805673897266388,
0.0682448297739029,
0.03322206810116768,
-0.08654212206602097,
-0.12238205969333649,
-0.029547713696956635,
-0.1732131689786911,
0.10738849639892578,
0.053667232394218445,
0.023433199152350426,
-0.21464556455612183,
0.10504709184169769,
-0.00878375768661499,
-0.10564865171909332,
0.019425850361585617,
-0.09011558443307877,
0.011530684307217598,
0.009861912578344345,
-0.030187269672751427,
-0.049922674894332886,
0.08616883307695389,
0.10188329964876175,
-0.004268479999154806,
0.019017504528164864,
-0.028335005044937134,
0.05724082887172699,
0.06386588513851166,
0.09896539896726608,
-0.00821240060031414,
-0.09565801918506622,
0.026821542531251907,
-0.0948813408613205,
-0.0009001395665109158,
-0.04967716336250305,
-0.16835160553455353,
-0.05597503110766411,
0.041806697845458984,
0.061796076595783234,
0.015050005167722702,
0.1299404799938202,
0.0029668130446225405,
-0.028146063908934593,
0.034797169268131256,
-0.030852975323796272,
-0.025192920118570328,
0.0210837721824646,
-0.011843412183225155,
0.15457752346992493,
0.035486482083797455,
0.049611374735832214,
-0.12688034772872925,
-0.016136089339852333,
-0.0343170091509819,
0.006743220612406731,
-0.01874317042529583,
-0.05392640829086304,
-0.003963242284953594,
-0.03305425867438316,
0.012148013338446617,
-0.16146671772003174,
-0.18668650090694427,
-0.01382212433964014,
-0.0048605529591441154,
-0.06985768675804138,
-0.09838088601827621,
-0.11655323207378387,
-0.004988800268620253,
0.031169239431619644,
-0.07679976522922516,
-0.020860694348812103,
-0.05924466624855995,
0.08847548812627792,
-0.017255675047636032,
0.10593117773532867,
-0.08881454914808273,
0.07235997915267944,
-0.0962829440832138,
-0.026566725224256516,
-0.06730631738901138,
0.11856058239936829,
0.012364714406430721,
0.06803644448518753,
-0.04303818568587303,
-0.010731518268585205,
-0.07689860463142395,
0.06487181782722473,
-0.04436744749546051,
0.22894108295440674,
-0.06967968493700027,
-0.10690836608409882,
0.2687036693096161,
-0.061697497963905334,
-0.10051393508911133,
0.1178135946393013,
-0.0022425674833357334,
0.12713678181171417,
0.14469274878501892,
0.1942538172006607,
0.007099841721355915,
-0.004451004322618246,
0.10183227062225342,
0.08853389322757721,
-0.08114459365606308,
-0.005604743957519531,
0.015943322330713272,
-0.01531553640961647,
-0.06400379538536072,
0.047586385160684586,
0.09239738434553146,
0.06360015273094177,
-0.04514668509364128,
-0.021472468972206116,
0.006364089902490377,
-0.0006969468668103218,
0.08652124553918839,
-0.018683195114135742,
0.13600292801856995,
-0.01659305952489376,
-0.029959768056869507,
0.014635761268436909,
0.021605879068374634,
-0.04883761331439018,
0.03816841542720795,
-0.054401151835918427,
0.05643221735954285,
-0.03453832119703293,
0.07241211086511612,
-0.12099632620811462,
-0.026109440252184868,
-0.038755543529987335,
0.13521964848041534,
0.036685358732938766,
0.12650202214717865,
0.060706689953804016,
-0.04513099044561386,
-0.018305769190192223,
0.03382200747728348,
0.17221501469612122,
-0.010712262243032455,
-0.07180780172348022,
-0.09603886306285858,
0.10046862065792084,
-0.06523384153842926,
0.10937704145908356,
-0.09309232980012894,
0.014620859175920486,
-0.022358108311891556,
0.11181055754423141,
-0.014183375053107738,
0.047460734844207764,
0.03383569419384003,
-0.007246281951665878,
-0.04662419483065605,
0.01351750548928976,
0.09961030632257462,
-0.008685440756380558,
-0.06511615216732025,
0.2566179633140564,
-0.17101320624351501,
0.1333148181438446,
0.16090020537376404,
-0.21998028457164764,
0.004902244545519352,
-0.15504707396030426,
-0.031098544597625732,
-0.009628348052501678,
0.060140468180179596,
-0.03044387511909008,
0.18573540449142456,
-0.013798357918858528,
0.19208590686321259,
-0.047296494245529175,
-0.04376250505447388,
-0.026333067566156387,
-0.0882377177476883,
0.01726868562400341,
0.11769524216651917,
0.08924181759357452,
-0.1631459891796112,
0.16551439464092255,
0.05688655376434326,
0.021981235593557358,
0.23435381054878235,
0.039410848170518875,
-0.010391445830464363,
0.0533284917473793,
0.009306102991104126,
-0.05098412558436394,
-0.08556883782148361,
-0.25160887837409973,
-0.04750178009271622,
0.07897670567035675,
0.04515905678272247,
0.11931432783603668,
-0.07794471830129623,
-0.023208796977996826,
-0.01037611160427332,
-0.017744028940796852,
0.03693518787622452,
0.1409512609243393,
0.03442826494574547,
0.11741423606872559,
-0.01634148135781288,
-0.03752748668193817,
0.048440609127283096,
0.016656000167131424,
-0.07483033835887909,
0.17460773885250092,
-0.11329218745231628,
-0.31365767121315,
-0.09553297609090805,
-0.19645144045352936,
-0.055596787482500076,
0.047167517244815826,
0.10542140901088715,
-0.1284620463848114,
-0.014101468026638031,
-0.001524139428511262,
0.09538181126117706,
-0.06742814928293228,
0.00007360591553151608,
-0.049587834626436234,
-0.0004897513426840305,
-0.11885583400726318,
-0.08653271943330765,
-0.04862034693360329,
-0.045981548726558685,
-0.0727807953953743,
0.10727477073669434,
-0.16216140985488892,
0.02206920087337494,
0.19826608896255493,
0.06173465773463249,
0.06833722442388535,
-0.038657184690237045,
0.18882280588150024,
-0.10000663995742798,
0.013171481899917126,
0.20531724393367767,
-0.026527229696512222,
0.04568033665418625,
0.15162618458271027,
-0.025320060551166534,
-0.07228496670722961,
0.038273587822914124,
-0.01923074573278427,
-0.06689101457595825,
-0.22457532584667206,
-0.12462790310382843,
-0.11390630155801773,
0.09172652661800385,
0.0383901484310627,
0.049486227333545685,
0.13131432235240936,
0.0713515430688858,
-0.05187919735908508,
0.008854193612933159,
0.07766927778720856,
0.07734702527523041,
0.2589840590953827,
-0.06419162452220917,
0.12700876593589783,
-0.02577885612845421,
-0.15843859314918518,
0.06355425715446472,
0.07967974990606308,
0.07078210264444351,
0.05479968711733818,
0.06016445904970169,
0.029397565871477127,
0.04988139867782593,
0.12442076206207275,
0.04707016423344612,
0.011994222179055214,
-0.036558859050273895,
-0.03627241030335426,
-0.04694477468729019,
-0.030530894175171852,
0.052548110485076904,
0.0512201152741909,
-0.13258570432662964,
-0.01764926314353943,
-0.038500089198350906,
0.0708877369761467,
0.030384834855794907,
0.06775233149528503,
-0.17926232516765594,
-0.0010118959471583366,
0.07225827872753143,
-0.035823579877614975,
-0.12112392485141754,
0.07440799474716187,
0.002492358675226569,
-0.1338099241256714,
0.05065179988741875,
-0.020759036764502525,
0.11144669353961945,
-0.11442208290100098,
0.07767622917890549,
-0.12173500657081604,
-0.05692759528756142,
0.018276754766702652,
0.10555976629257202,
-0.279156357049942,
0.19719316065311432,
-0.007182722445577383,
-0.03116830810904503,
-0.08942923694849014,
-0.0035802056081593037,
-0.0029290784150362015,
0.10613556206226349,
0.08765508234500885,
-0.017752541229128838,
0.06750048696994781,
-0.004267740063369274,
-0.04432413727045059,
0.03600382059812546,
0.06460742652416229,
-0.04601028934121132,
-0.012291583232581615,
-0.04441085457801819,
0.003158207517117262,
-0.041628144681453705,
-0.06502563506364822,
-0.018934691324830055,
-0.1936071217060089,
0.07490310817956924,
0.06347812712192535,
0.12150874733924866,
0.03534669429063797,
-0.03371020779013634,
-0.07863292843103409,
0.22339960932731628,
-0.010961567983031273,
-0.10348336398601532,
-0.08680389076471329,
-0.022900767624378204,
0.04876646772027016,
-0.07062746584415436,
0.020206112414598465,
-0.07174160331487656,
0.019506502896547318,
-0.077704519033432,
-0.16255760192871094,
0.09361965954303741,
-0.08432557433843613,
-0.05092676728963852,
-0.020466351881623268,
0.20312631130218506,
-0.003652668558061123,
0.0007870823610574007,
0.05738663673400879,
0.0014960174448788166,
-0.12317577004432678,
-0.08053303509950638,
-0.014025500044226646,
0.0721767395734787,
0.0015230490826070309,
0.0003403075970709324,
-0.01870369352400303,
-0.06581482291221619,
-0.046891726553440094,
-0.03699347376823425,
0.3007224202156067,
0.13868150115013123,
-0.02550419047474861,
0.17768333852291107,
0.15406878292560577,
-0.07428248971700668,
-0.2561604678630829,
-0.13751643896102905,
-0.049582596868276596,
-0.032427188009023666,
-0.06598716974258423,
-0.16653576493263245,
0.06325113028287888,
-0.024938413873314857,
-0.02116447128355503,
0.0406474806368351,
-0.3164790868759155,
-0.10169418901205063,
0.17468801140785217,
-0.031234489753842354,
0.4395732283592224,
-0.09672150015830994,
-0.0952032208442688,
-0.060410790145397186,
-0.1991077959537506,
0.1282195895910263,
-0.052347321063280106,
0.11514367163181305,
-0.013891194015741348,
0.1612309366464615,
0.05021553486585617,
0.00013114302419126034,
0.0920616090297699,
0.018753698095679283,
-0.0520181842148304,
-0.10573218762874603,
-0.07144909352064133,
-0.052113354206085205,
0.014329175464808941,
0.05611041188240051,
-0.05412473529577255,
0.020047465339303017,
-0.14830176532268524,
-0.06779222190380096,
-0.09336468577384949,
0.05060075595974922,
0.0375099703669548,
-0.07219147682189941,
0.00557128619402647,
-0.0538337267935276,
0.005266670137643814,
0.01232170406728983,
0.18353386223316193,
-0.11632157862186432,
0.1303877979516983,
0.10815972089767456,
0.1088942438364029,
-0.09560851007699966,
0.022560814395546913,
-0.07445025444030762,
-0.04571980983018875,
0.08301937580108643,
-0.10205531120300293,
0.015326045453548431,
0.09785660356283188,
-0.045032452791929245,
0.08839189261198044,
0.06663764268159866,
-0.014313602820038795,
0.03172682225704193,
0.09010976552963257,
-0.24179841578006744,
-0.034087590873241425,
-0.06273040920495987,
-0.0037630563601851463,
0.09595610201358795,
0.10290046036243439,
0.21488367021083832,
-0.01687302067875862,
-0.042366474866867065,
0.018372343853116035,
0.025412876158952713,
-0.04441606625914574,
0.08027424663305283,
-0.009764425456523895,
0.009537053294479847,
-0.15210840106010437,
0.05011196434497833,
0.021802090108394623,
-0.06620894372463226,
0.028948474675416946,
0.16608493030071259,
-0.10842111706733704,
-0.1088818907737732,
-0.07183405756950378,
0.1473400592803955,
-0.11023672670125961,
-0.020516911521553993,
-0.04709545522928238,
-0.129705011844635,
0.05308783799409866,
0.11049575358629227,
0.045387689024209976,
0.06306985765695572,
-0.08932353556156158,
-0.016504254192113876,
-0.025796737521886826,
0.010042501613497734,
0.06965772062540054,
-0.016162700951099396,
-0.04071717709302902,
0.04480282589793205,
-0.037569548934698105,
0.11877115070819855,
-0.08716464787721634,
-0.10629817098379135,
-0.15489429235458374,
0.04191043972969055,
-0.11379196494817734,
-0.08251356333494186,
-0.11308316886425018,
-0.046783700585365295,
-0.01501576229929924,
-0.03765799477696419,
-0.03864282742142677,
-0.04055587947368622,
-0.10065101832151413,
0.04684652015566826,
-0.05047095939517021,
0.05078008025884628,
-0.07474557310342789,
0.02757071517407894,
0.049306437373161316,
-0.014586773701012135,
0.15295451879501343,
0.12587273120880127,
-0.11771589517593384,
0.0975872054696083,
-0.1574132889509201,
-0.0695372074842453,
0.11037470400333405,
0.005719874519854784,
0.061628542840480804,
0.06431018561124802,
0.0033822625409811735,
0.05209542065858841,
0.047908954322338104,
0.04788267984986305,
0.051404912024736404,
-0.10895158350467682,
0.028383426368236542,
-0.05613546818494797,
-0.11836960166692734,
-0.04470084235072136,
-0.019193632528185844,
0.008951119147241116,
0.05105307325720787,
0.0747842788696289,
-0.08098666369915009,
0.0845528393983841,
-0.04945541173219681,
0.032820578664541245,
0.025803599506616592,
-0.175345778465271,
0.00003218324854969978,
-0.09418868273496628,
0.04512656107544899,
0.01371265109628439,
0.21571099758148193,
0.03257334604859352,
-0.024420712143182755,
0.016011685132980347,
0.055291611701250076,
0.010127253830432892,
-0.0046654194593429565,
0.161836177110672,
0.10580363124608994,
-0.02909003011882305,
-0.09641492366790771,
0.0974506065249443,
0.032851316034793854,
0.036680929362773895,
0.07921670377254486,
-0.033832501620054245,
0.004439678508788347,
0.09464728832244873,
-0.012361198663711548,
0.03662103787064552,
-0.06803640723228455,
-0.09267465770244598,
-0.02872929349541664,
0.0533234104514122,
-0.06133602187037468,
0.09267265349626541,
0.19876952469348907,
-0.004447258543223143,
0.0038318922743201256,
0.007299392484128475,
-0.059385284781455994,
-0.18057875335216522,
-0.2165454626083374,
-0.08574745059013367,
-0.14553870260715485,
0.004303126595914364,
-0.12099885940551758,
0.047897860407829285,
0.027352409437298775,
0.09292009472846985,
-0.06354883313179016,
0.08311533182859421,
0.11135603487491608,
-0.12951862812042236,
0.07050876319408417,
-0.041446126997470856,
0.10427425801753998,
-0.05423511564731598,
-0.00019959360361099243,
-0.06915152072906494,
0.0491371713578701,
0.0019094417802989483,
0.0515693798661232,
-0.037028227001428604,
-0.009997041895985603,
-0.12089958786964417,
-0.08923118561506271,
-0.05626301467418671,
0.08074934780597687,
-0.01153835840523243,
0.14443564414978027,
0.032556500285863876,
-0.042994145303964615,
0.026492226868867874,
0.23519927263259888,
-0.03922847658395767,
-0.0960652157664299,
-0.07387682050466537,
0.1611049771308899,
0.04282161593437195,
0.11373195052146912,
-0.0365368090569973,
0.01619715243577957,
-0.10260649770498276,
0.3383733332157135,
0.27001821994781494,
-0.06507724523544312,
0.014173741452395916,
0.005889794323593378,
0.047800030559301376,
0.11140023916959763,
0.08013954013586044,
0.0955292209982872,
0.29026955366134644,
-0.05679619684815407,
-0.002683569211512804,
-0.01110917516052723,
-0.03337821736931801,
-0.08472484350204468,
0.06214606761932373,
0.05443480983376503,
-0.05670248717069626,
-0.014967449940741062,
0.11544555425643921,
-0.2532108426094055,
0.08246752619743347,
-0.16836877167224884,
-0.162601500749588,
-0.08652053028345108,
-0.01266958937048912,
0.13516020774841309,
0.04494769498705864,
0.0781962126493454,
-0.006384823936969042,
-0.07133343070745468,
0.08458389341831207,
0.014016792178153992,
-0.16099494695663452,
-0.00803133100271225,
0.07452122122049332,
-0.058940596878528595,
-0.05698670446872711,
-0.02888055518269539,
0.0409608818590641,
0.06581445783376694,
0.04063611850142479,
-0.015709413215517998,
0.051261045038700104,
-0.007798944599926472,
-0.043679505586624146,
0.03138668090105057,
0.03844683989882469,
0.01905968226492405,
-0.0814608782529831,
0.08503535389900208,
-0.1240672841668129,
0.04194515943527222,
-0.029655735939741135,
-0.039526522159576416,
-0.029786687344312668,
0.05015967786312103,
-0.046239834278821945,
0.06019090861082077,
0.08808893710374832,
-0.015063931234180927,
-0.0084953298792243,
-0.04049711674451828,
-0.00523150572553277,
-0.02855060249567032,
-0.08556526899337769,
-0.08621158450841904,
-0.14818081259727478,
-0.11494308710098267,
0.10266400873661041,
0.018241025507450104,
-0.12955152988433838,
0.03091023489832878,
-0.1370568424463272,
0.05443088710308075,
-0.12227246910333633,
0.1050211638212204,
0.0666380301117897,
0.023002423346042633,
0.007357263471931219,
-0.0688241720199585,
0.047290682792663574,
0.09440835565328598,
-0.14386697113513947,
-0.09795612096786499
] |
null | null |
transformers
|
This is the SciBERT pretrained language model further fine-tuned on masked language modeling and cite-worthiness detection on the [CiteWorth](https://github.com/copenlu/cite-worth) dataset. Note that this model should be used for further fine-tuning on downstream scientific document understanding tasks.
|
{}
|
feature-extraction
|
copenlu/citebert
|
[
"transformers",
"pytorch",
"bert",
"feature-extraction",
"endpoints_compatible",
"region:us"
] |
2022-03-02T23:29:05+00:00
|
[] |
[] |
TAGS
#transformers #pytorch #bert #feature-extraction #endpoints_compatible #region-us
|
This is the SciBERT pretrained language model further fine-tuned on masked language modeling and cite-worthiness detection on the CiteWorth dataset. Note that this model should be used for further fine-tuning on downstream scientific document understanding tasks.
|
[] |
[
"TAGS\n#transformers #pytorch #bert #feature-extraction #endpoints_compatible #region-us \n"
] |
[
29
] |
[
"passage: TAGS\n#transformers #pytorch #bert #feature-extraction #endpoints_compatible #region-us \n"
] |
[
-0.0680389553308487,
-0.01353863999247551,
-0.009260591119527817,
0.003671469632536173,
0.13468711078166962,
0.03987877443432808,
-0.0037161505315452814,
0.08307137340307236,
0.06908576935529709,
-0.009869525209069252,
0.10839105397462845,
0.22950756549835205,
-0.03434249758720398,
0.027836797758936882,
-0.06780551373958588,
-0.2686935067176819,
0.08416040241718292,
0.1071663498878479,
-0.04096720367670059,
0.08816211670637131,
0.04718845710158348,
-0.10185960680246353,
0.059242263436317444,
-0.017401615157723427,
-0.13960762321949005,
0.0563788041472435,
0.027032675221562386,
-0.08215486258268356,
0.11170924454927444,
0.02429274097084999,
0.171868696808815,
0.00669759139418602,
-0.10259579122066498,
-0.1729365438222885,
0.024251695722341537,
-0.016173768788576126,
-0.06165656819939613,
0.030105262994766235,
0.07771246135234833,
-0.10020971298217773,
0.020183663815259933,
0.09852731972932816,
0.01621491089463234,
0.024930456653237343,
-0.16311487555503845,
-0.17609833180904388,
-0.05667632818222046,
0.04488549754023552,
0.011052189394831657,
0.0923970639705658,
0.017688613384962082,
0.13918437063694,
-0.16459354758262634,
0.0862865000963211,
0.20043151080608368,
-0.2896837890148163,
0.005618520081043243,
0.0522591732442379,
0.113655686378479,
0.001720004715025425,
-0.01478634774684906,
0.03469560667872429,
-0.004047111142426729,
0.02000080794095993,
-0.006694010924547911,
-0.09492320567369461,
-0.04227415472269058,
0.06858084350824356,
-0.10082858055830002,
-0.0836600661277771,
0.20075856149196625,
-0.01962403394281864,
0.051189083606004715,
0.03468365967273712,
-0.10027022659778595,
-0.05228475481271744,
-0.027127007022500038,
-0.0054167937487363815,
-0.017817793413996696,
0.05698308348655701,
0.01829976961016655,
-0.01984529010951519,
-0.10944897681474686,
0.021823197603225708,
-0.20916391909122467,
0.2347520887851715,
0.014309053309261799,
0.08769264817237854,
-0.20601022243499756,
0.05224275588989258,
-0.09036950021982193,
-0.09105360507965088,
0.021519731730222702,
-0.08566883206367493,
0.041528768837451935,
0.002083035884425044,
-0.07495059072971344,
0.017543062567710876,
0.047651853412389755,
0.14729511737823486,
-0.014067264273762703,
0.025938095524907112,
0.0008498468669131398,
0.1009284183382988,
0.030102098360657692,
0.13388332724571228,
0.011944600380957127,
-0.02840438298881054,
0.01732935756444931,
-0.1329825222492218,
-0.036133281886577606,
-0.051770441234111786,
-0.12022732943296432,
-0.047808099538087845,
0.045948151499032974,
0.08258914202451706,
0.022342177107930183,
0.005320239346474409,
-0.08945681154727936,
-0.015853654593229294,
0.059366438537836075,
-0.07202005386352539,
0.0043303403072059155,
-0.000528825621586293,
0.03741177171468735,
0.18082594871520996,
-0.029030190780758858,
-0.03096860460937023,
-0.04084136709570885,
0.09087810665369034,
-0.08448517322540283,
0.014714745804667473,
-0.05083002150058746,
-0.062201209366321564,
0.03654183819890022,
-0.16100244224071503,
0.057043030858039856,
-0.14560800790786743,
-0.09376321732997894,
0.039873939007520676,
0.05335168540477753,
-0.002770928665995598,
0.03388800472021103,
0.0009603195358067751,
-0.018828926607966423,
-0.007003897335380316,
-0.06842755526304245,
-0.08064226061105728,
-0.06478630751371384,
0.09923757612705231,
0.00029352123965509236,
0.04672098159790039,
-0.12116226553916931,
0.08672743290662766,
-0.09672944992780685,
0.03750492259860039,
-0.16180843114852905,
-0.008461673744022846,
-0.02150292508304119,
0.16466088593006134,
-0.005621116608381271,
-0.07621955871582031,
-0.11902043223381042,
0.047062430530786514,
-0.035698723047971725,
0.14959093928337097,
-0.05622879043221474,
-0.13087990880012512,
0.20922459661960602,
-0.11588329821825027,
-0.1731778234243393,
0.05696214735507965,
-0.008520878851413727,
-0.015484592877328396,
0.06328354775905609,
0.20762446522712708,
0.0946868285536766,
-0.044678352773189545,
0.08127391338348389,
0.1397486925125122,
-0.11663860827684402,
-0.14153334498405457,
0.027016308158636093,
-0.042085859924554825,
-0.07503706961870193,
0.041700031608343124,
0.011108353734016418,
0.09523002058267593,
-0.0771002322435379,
-0.030855905264616013,
-0.01680048368871212,
-0.01671411283314228,
0.08776957541704178,
0.055555809289216995,
0.10667075961828232,
-0.03498975560069084,
0.011802191846072674,
0.03473251312971115,
-0.014134183526039124,
0.0038637330289930105,
0.04732990637421608,
-0.060643456876277924,
0.1918257176876068,
-0.07546142488718033,
0.003813444171100855,
-0.2566893398761749,
-0.06994711607694626,
0.00528657017275691,
0.06658254563808441,
-0.04811577871441841,
0.15633022785186768,
0.09267178922891617,
-0.07167497277259827,
0.016395436599850655,
-0.03712666034698486,
0.08581963181495667,
0.02451246976852417,
-0.033985935151576996,
-0.04179177060723305,
-0.011763811111450195,
-0.07896506786346436,
-0.09305226802825928,
-0.010189443826675415,
-0.01599530130624771,
0.09464821219444275,
0.10299675166606903,
0.01377725787460804,
0.03143538534641266,
-0.06555043905973434,
0.06333392858505249,
-0.022575706243515015,
0.018025120720267296,
0.09356045722961426,
-0.021321585401892662,
-0.06097353622317314,
0.13765394687652588,
-0.094614177942276,
0.3545747399330139,
0.19013811647891998,
-0.3164325952529907,
0.018932169303297997,
-0.04782366380095482,
-0.00977459829300642,
0.036739129573106766,
0.09889727830886841,
-0.029969865456223488,
0.09724640101194382,
0.027196763083338737,
0.13298392295837402,
-0.030379584059119225,
-0.03850182890892029,
0.0005746455863118172,
-0.02981492318212986,
-0.05865705385804176,
0.07086624205112457,
0.07261653989553452,
-0.15486454963684082,
0.16527150571346283,
0.26989927887916565,
0.03292781859636307,
0.12406831979751587,
-0.0661960020661354,
-0.0376574881374836,
0.019656166434288025,
0.009992681443691254,
-0.040347639471292496,
0.046730417758226395,
-0.2736447751522064,
-0.052413634955883026,
0.0692915990948677,
0.02405851148068905,
0.0952937975525856,
-0.12900009751319885,
-0.04021916538476944,
0.03706459701061249,
0.014877407811582088,
-0.08638262748718262,
0.0609026663005352,
0.05720122531056404,
0.05891529843211174,
0.019035693258047104,
-0.06259000301361084,
0.10445338487625122,
0.00871498417109251,
-0.04073162376880646,
0.17662526667118073,
-0.123042032122612,
-0.2620071768760681,
-0.12311730533838272,
-0.15138909220695496,
0.015030097216367722,
0.01922003924846649,
0.08840186893939972,
-0.06919815391302109,
-0.031516414135694504,
0.06873156130313873,
0.03529629856348038,
-0.14966927468776703,
0.029128234833478928,
-0.07160747051239014,
0.03280840069055557,
-0.07802597433328629,
-0.0789455845952034,
-0.06994608044624329,
-0.06953756511211395,
-0.009727881290018559,
0.09203583002090454,
-0.1189604178071022,
0.10165828466415405,
0.13272233307361603,
0.0363771878182888,
0.08464014530181885,
-0.008833634667098522,
0.1828852891921997,
-0.05849464610219002,
-0.0809895321726799,
0.21144624054431915,
-0.04404043033719063,
0.0901838093996048,
0.09279557317495346,
0.039735835045576096,
-0.06724223494529724,
-0.04217485338449478,
-0.06174955144524574,
-0.10350338369607925,
-0.18064221739768982,
-0.09564316272735596,
-0.14665037393569946,
0.014125813730061054,
0.01768936589360237,
0.03677418455481529,
0.08474641293287277,
0.06241949275135994,
0.0594039149582386,
-0.04961218684911728,
-0.04142293706536293,
0.02869315631687641,
0.21291007101535797,
-0.022173935547471046,
0.09922134131193161,
-0.0371907539665699,
-0.0987340658903122,
0.07145325094461441,
0.03712000325322151,
0.24907712638378143,
0.10089749097824097,
0.035659585148096085,
0.0526948980987072,
0.17874057590961456,
0.13417154550552368,
0.17221486568450928,
-0.020648453384637833,
-0.02667684480547905,
-0.01199409831315279,
0.002160619245842099,
-0.05968237295746803,
0.013288183137774467,
0.17365947365760803,
-0.1238851547241211,
-0.08988935500383377,
-0.2173749804496765,
0.07477087527513504,
0.06237781420350075,
0.031422216445207596,
-0.18417076766490936,
0.003690242301672697,
0.0649406686425209,
-0.00521667068824172,
-0.04713871702551842,
0.07263871282339096,
-0.017426704987883568,
-0.11952719837427139,
0.034282006323337555,
-0.05946141108870506,
0.10967221111059189,
-0.012345034629106522,
0.07638204097747803,
-0.026442036032676697,
-0.12944473326206207,
0.06673547625541687,
0.07164321839809418,
-0.19538965821266174,
0.2909071147441864,
-0.012455099262297153,
-0.06202757731080055,
-0.04829925298690796,
0.005193088203668594,
0.012985559180378914,
0.160504549741745,
0.1260947436094284,
0.022533811628818512,
-0.0578787624835968,
-0.1674206554889679,
0.04693714529275894,
0.028735041618347168,
0.13825884461402893,
-0.05239944905042648,
-0.014248479157686234,
-0.02063719928264618,
-0.011673306114971638,
-0.020329756662249565,
0.05532294511795044,
0.08330490440130234,
-0.14671963453292847,
0.052545733749866486,
-0.06558147072792053,
0.0409327894449234,
-0.012272844091057777,
-0.00765871349722147,
-0.047818366438150406,
0.14944994449615479,
-0.0652761161327362,
-0.048871852457523346,
-0.1053028553724289,
-0.10936398059129715,
0.12579044699668884,
-0.0932580903172493,
0.09765078127384186,
-0.06662343442440033,
-0.03391622006893158,
-0.06140284985303879,
-0.20473268628120422,
0.1305530071258545,
-0.09915255755186081,
0.04976314306259155,
-0.038567788898944855,
0.181097149848938,
-0.060539573431015015,
0.005303262732923031,
0.026644282042980194,
0.01667754538357258,
-0.11381230503320694,
-0.08549114316701889,
-0.015935804694890976,
-0.016310077160596848,
0.0518048033118248,
0.06849704682826996,
-0.062081992626190186,
0.04358658939599991,
0.00031327479518949986,
0.06365568935871124,
0.24294216930866241,
0.14630047976970673,
-0.051170576363801956,
0.11532986164093018,
0.14450006186962128,
-0.031972140073776245,
-0.27944883704185486,
-0.06474616378545761,
-0.13329371809959412,
-0.03996938094496727,
-0.0014406027039512992,
-0.13789600133895874,
0.14261819422245026,
0.044858112931251526,
-0.006724648643285036,
0.11656755954027176,
-0.24167363345623016,
-0.05383818969130516,
0.16473250091075897,
0.01709013618528843,
0.44809144735336304,
-0.11115505546331406,
-0.09658455848693848,
0.012760866433382034,
-0.2474503070116043,
0.10122992098331451,
0.014938225969672203,
0.0646388828754425,
-0.02196873165667057,
0.05254409834742546,
0.0362543947994709,
-0.0707058236002922,
0.1153612732887268,
0.036213282495737076,
0.044825151562690735,
-0.05749816447496414,
-0.12735342979431152,
0.05762515589594841,
-0.0197214987128973,
-0.0027702997904270887,
0.06281710416078568,
0.01907024346292019,
-0.15264934301376343,
-0.028649672865867615,
-0.1261925846338272,
0.07312501221895218,
0.036964092403650284,
-0.035512425005435944,
0.003519417019560933,
-0.027797704562544823,
-0.003173819277435541,
0.024623822420835495,
0.2571793794631958,
-0.02694554440677166,
0.12917625904083252,
0.020508399233222008,
0.05970452353358269,
-0.2093375027179718,
-0.1727571189403534,
-0.06916570663452148,
-0.04265722632408142,
0.09737759083509445,
-0.03340640291571617,
0.05482974648475647,
0.14861060678958893,
-0.01582632027566433,
0.028938481584191322,
0.1354859471321106,
0.012413929216563702,
-0.017079832032322884,
0.12271753698587418,
-0.1915288269519806,
-0.02804369106888771,
-0.03969001770019531,
-0.08020538836717606,
0.08018501847982407,
0.07493545114994049,
0.09324722737073898,
0.06881885975599289,
-0.012770483270287514,
-0.0276129599660635,
-0.03462065011262894,
-0.07952789962291718,
0.0472898855805397,
0.03613487631082535,
0.03859974071383476,
-0.13946987688541412,
0.03557739406824112,
-0.016765620559453964,
-0.2670823633670807,
-0.05293544381856918,
0.07872454822063446,
-0.11887070536613464,
-0.10548925399780273,
-0.08829343318939209,
0.11399594694375992,
-0.1680411845445633,
-0.027427881956100464,
-0.03792887181043625,
-0.12483807653188705,
0.07226365804672241,
0.21823963522911072,
0.10136004537343979,
0.1148689016699791,
-0.045093145221471786,
0.0007684463635087013,
0.024442041292786598,
-0.0601712167263031,
0.01604810729622841,
0.016433462500572205,
-0.0998239740729332,
-0.0008209992665797472,
-0.020151354372501373,
0.15397760272026062,
-0.0796075239777565,
-0.06533236801624298,
-0.15189164876937866,
0.07058283686637878,
-0.0721585750579834,
-0.08680808544158936,
-0.1218729019165039,
-0.05743737146258354,
0.024261746555566788,
-0.05391566827893257,
-0.03601766377687454,
-0.021656449884176254,
-0.14623980224132538,
0.04485916718840599,
0.010332317091524601,
-0.005168382078409195,
-0.06595148891210556,
-0.030757123604416847,
0.11516020447015762,
-0.06426966190338135,
0.07983355224132538,
0.19698777794837952,
-0.06767240911722183,
0.13421446084976196,
-0.12187573313713074,
-0.17356571555137634,
0.10550028830766678,
0.028678571805357933,
0.08807408809661865,
0.07333525270223618,
0.031008796766400337,
0.07151902467012405,
-0.0006563866045325994,
0.03527871519327164,
-0.026205046102404594,
-0.13518503308296204,
-0.022110003978013992,
0.008841688744723797,
-0.18046444654464722,
-0.03447321802377701,
-0.07454892992973328,
0.15258778631687164,
0.02735028602182865,
0.11539342999458313,
0.016432136297225952,
0.10955704003572464,
-0.04023033380508423,
-0.0037069369573146105,
0.006354177836328745,
-0.1867031753063202,
0.027574164792895317,
-0.07603352516889572,
0.009099473245441914,
0.004562267567962408,
0.26294976472854614,
-0.016851287335157394,
0.06874511390924454,
0.019947905093431473,
0.0317598320543766,
0.06296208500862122,
0.029733985662460327,
0.2593200206756592,
0.1191045418381691,
-0.04764638841152191,
-0.09192530065774918,
0.09628601372241974,
0.0015705273253843188,
0.0005639182054437697,
0.12658140063285828,
0.12427230179309845,
0.03164798021316528,
0.10732870548963547,
0.03856581449508667,
0.04636436328291893,
-0.1138598844408989,
-0.24980735778808594,
0.006955720484256744,
0.07651596516370773,
0.030513912439346313,
0.09611864387989044,
0.11702555418014526,
-0.040339987725019455,
0.09750796854496002,
-0.006009524688124657,
-0.03278311714529991,
-0.1306307315826416,
-0.048490166664123535,
-0.05248153209686279,
-0.1226581484079361,
0.010182006284594536,
-0.07812222838401794,
0.0005351413274183869,
0.15948551893234253,
0.02424205094575882,
-0.019147196784615517,
0.14117267727851868,
0.03290129452943802,
-0.05950130149722099,
0.0636630430817604,
-0.017126450315117836,
0.0027530856896191835,
0.04465898126363754,
-0.016934748739004135,
-0.11656554788351059,
-0.08354712277650833,
-0.050883643329143524,
0.024923330172896385,
-0.09700026363134384,
0.004247597418725491,
-0.11320921033620834,
-0.11535467207431793,
-0.04546694457530975,
0.048496924340724945,
-0.07876671850681305,
0.1265949159860611,
-0.016160227358341217,
0.0028664041310548782,
0.009360520169138908,
0.15711569786071777,
-0.07741065323352814,
-0.012710070237517357,
-0.020163269713521004,
0.21036958694458008,
0.0989537462592125,
0.10912171006202698,
-0.0009331207838840783,
0.015002057887613773,
-0.05219440162181854,
0.29989543557167053,
0.2444397360086441,
-0.028167791664600372,
0.04460100829601288,
0.0873914435505867,
0.038083989173173904,
0.0968138724565506,
0.09690817445516586,
0.10102183371782303,
0.3200364112854004,
-0.07682528346776962,
-0.045907747000455856,
-0.03448496013879776,
-0.00849792081862688,
-0.09551121294498444,
0.035898253321647644,
0.07948186993598938,
-0.06152723729610443,
-0.07321841269731522,
0.10746033489704132,
-0.16515599191188812,
0.11578583717346191,
0.11013679206371307,
-0.20921821892261505,
-0.049416057765483856,
-0.07384659349918365,
0.17109091579914093,
-0.0024887267500162125,
0.1266387403011322,
-0.04354546591639519,
-0.13439299166202545,
0.06285285204648972,
0.048469748347997665,
-0.2756679356098175,
-0.0980004072189331,
0.11060073226690292,
0.024665147066116333,
0.007802571170032024,
-0.02169145829975605,
-0.004367694724351168,
0.06355959177017212,
0.09860705584287643,
-0.0003893781395163387,
0.02548590861260891,
0.03634477034211159,
-0.10912884771823883,
-0.08365445584058762,
0.008976423181593418,
0.008719995617866516,
-0.08448972553014755,
0.023103585466742516,
-0.19627802073955536,
0.044169794768095016,
-0.0157186109572649,
-0.044235143810510635,
0.003991053905338049,
-0.029606744647026062,
-0.059212785214185715,
0.03327903896570206,
0.08572027087211609,
0.023666096851229668,
-0.03819211944937706,
-0.05403012037277222,
0.0019490038976073265,
0.07524687796831131,
-0.06805311143398285,
-0.173606276512146,
-0.04840735346078873,
-0.08657971769571304,
0.0992082953453064,
-0.05511601269245148,
-0.0752784013748169,
-0.04562166705727577,
-0.03257971256971359,
0.06480588763952255,
-0.12087775766849518,
0.04490482062101364,
0.03911556303501129,
0.041156258434057236,
0.0160878524184227,
-0.035335659980773926,
0.044597625732421875,
0.07137373089790344,
-0.11931539326906204,
-0.07447930425405502
] |
null | null |
transformers
|
# Uzbek news category classifier (based on UzBERT)
UzBERT fine-tuned to classify news articles into one of the following
categories:
- дунё
- жамият
- жиноят
- иқтисодиёт
- маданият
- реклама
- саломатлик
- сиёсат
- спорт
- фан ва техника
- шоу-бизнес
## How to use
```python
>>> from transformers import pipeline
>>> classifier = pipeline('text-classification', model='coppercitylabs/uzbek-news-category-classifier')
>>> text = """Маҳоратли пара-енгил атлетикачимиз Ҳусниддин Норбеков Токио-2020 Паралимпия ўйинларида ғалаба қозониб, делегациямиз ҳисобига навбатдаги олтин медални келтирди. Бу ҳақда МОҚ хабар берди.
Норбеков ҳозиргина ядро улоқтириш дастурида ўз ғалабасини тантана қилди. Ушбу машқда вакилимиз 16:13 метр натижа билан энг яхши кўрсаткични қайд этди.
Шу тариқа, делегациямиз ҳисобидаги медаллар сони 16 (6 та олтин, 4 та кумуш ва 6 та бронза) тага етди. Кейинги кун дастурларида иштирок этадиган ҳамюртларимизга омад тилаб қоламиз!"""
>>> classifier(text)
[{'label': 'спорт', 'score': 0.9865401983261108}]
```
## Fine-tuning data
Fine-tuned on ~60K news articles for 3 epochs.
|
{"language": "uz", "license": "mit", "tags": ["uzbek", "cyrillic", "news category classifier"], "datasets": ["webcrawl"]}
|
text-classification
|
coppercitylabs/uzbek-news-category-classifier
|
[
"transformers",
"pytorch",
"safetensors",
"bert",
"text-classification",
"uzbek",
"cyrillic",
"news category classifier",
"uz",
"dataset:webcrawl",
"license:mit",
"autotrain_compatible",
"endpoints_compatible",
"has_space",
"region:us"
] |
2022-03-02T23:29:05+00:00
|
[] |
[
"uz"
] |
TAGS
#transformers #pytorch #safetensors #bert #text-classification #uzbek #cyrillic #news category classifier #uz #dataset-webcrawl #license-mit #autotrain_compatible #endpoints_compatible #has_space #region-us
|
# Uzbek news category classifier (based on UzBERT)
UzBERT fine-tuned to classify news articles into one of the following
categories:
- дунё
- жамият
- жиноят
- иқтисодиёт
- маданият
- реклама
- саломатлик
- сиёсат
- спорт
- фан ва техника
- шоу-бизнес
## How to use
## Fine-tuning data
Fine-tuned on ~60K news articles for 3 epochs.
|
[
"# Uzbek news category classifier (based on UzBERT)\n\nUzBERT fine-tuned to classify news articles into one of the following\ncategories:\n\n- дунё\n- жамият\n- жиноят\n- иқтисодиёт\n- маданият\n- реклама\n- саломатлик\n- сиёсат\n- спорт\n- фан ва техника\n- шоу-бизнес",
"## How to use",
"## Fine-tuning data\nFine-tuned on ~60K news articles for 3 epochs."
] |
[
"TAGS\n#transformers #pytorch #safetensors #bert #text-classification #uzbek #cyrillic #news category classifier #uz #dataset-webcrawl #license-mit #autotrain_compatible #endpoints_compatible #has_space #region-us \n",
"# Uzbek news category classifier (based on UzBERT)\n\nUzBERT fine-tuned to classify news articles into one of the following\ncategories:\n\n- дунё\n- жамият\n- жиноят\n- иқтисодиёт\n- маданият\n- реклама\n- саломатлик\n- сиёсат\n- спорт\n- фан ва техника\n- шоу-бизнес",
"## How to use",
"## Fine-tuning data\nFine-tuned on ~60K news articles for 3 epochs."
] |
[
71,
77,
4,
23
] |
[
"passage: TAGS\n#transformers #pytorch #safetensors #bert #text-classification #uzbek #cyrillic #news category classifier #uz #dataset-webcrawl #license-mit #autotrain_compatible #endpoints_compatible #has_space #region-us \n# Uzbek news category classifier (based on UzBERT)\n\nUzBERT fine-tuned to classify news articles into one of the following\ncategories:\n\n- дунё\n- жамият\n- жиноят\n- иқтисодиёт\n- маданият\n- реклама\n- саломатлик\n- сиёсат\n- спорт\n- фан ва техника\n- шоу-бизнес## How to use## Fine-tuning data\nFine-tuned on ~60K news articles for 3 epochs."
] |
[
0.05361315608024597,
0.020613793283700943,
-0.005120933521538973,
-0.03096797876060009,
0.1434817612171173,
0.03398703411221504,
0.22901393473148346,
0.043960221111774445,
-0.0033455672673881054,
-0.039374660700559616,
0.10839200019836426,
-0.00034895160933956504,
-0.019897330552339554,
0.15893107652664185,
-0.04746760055422783,
-0.23754867911338806,
0.09113328903913498,
-0.05511350929737091,
0.08339094370603561,
0.11255243420600891,
0.18242579698562622,
-0.05362608656287193,
-0.014039051719009876,
-0.07882499694824219,
-0.00485730217769742,
0.031100859865546227,
0.04179105535149574,
-0.10072389990091324,
0.05568617582321167,
0.013188689015805721,
0.12407389283180237,
0.1139635443687439,
-0.004035919439047575,
-0.17736852169036865,
0.04085680842399597,
-0.019562579691410065,
-0.11670476943254471,
0.001177417580038309,
0.08945930004119873,
-0.07514234632253647,
0.18803288042545319,
-0.2591835856437683,
-0.08627946674823761,
0.034895796328783035,
-0.1075102761387825,
-0.05487925186753273,
-0.06877255439758301,
0.13872097432613373,
0.12051844596862793,
0.0964709147810936,
-0.07886462658643723,
0.11189122498035431,
-0.11489237844944,
0.07071571797132492,
0.0688161700963974,
-0.32414376735687256,
-0.03547109290957451,
0.011522823013365269,
-0.0789744108915329,
0.06695500016212463,
-0.08887987583875656,
0.0900062769651413,
-0.001999998465180397,
-0.05183447524905205,
-0.04496167227625847,
-0.06590288132429123,
-0.04127541556954384,
-0.039437245577573776,
-0.12370476126670837,
-0.006746056489646435,
0.15069176256656647,
0.03674376755952835,
0.048917464911937714,
-0.10746937990188599,
0.015730008482933044,
0.052646663039922714,
-0.10819059610366821,
0.06351935118436813,
-0.099856436252594,
-0.034061823040246964,
0.01601509191095829,
0.027681168168783188,
-0.15821890532970428,
0.01999158412218094,
-0.13536770641803741,
0.2744598090648651,
0.01151445135474205,
-0.000290507945464924,
0.02072814479470253,
0.011797179467976093,
0.0960724726319313,
-0.06813084334135056,
0.09408409148454666,
-0.0658169835805893,
0.008365821093320847,
0.015248848125338554,
-0.031825773417949677,
-0.0016782148741185665,
0.12369789183139801,
0.00680389441549778,
-0.19794341921806335,
0.07674019038677216,
0.06749631464481354,
0.07229303568601608,
0.01573408581316471,
-0.026138223707675934,
-0.11132387071847916,
-0.059492241591215134,
-0.044898007065057755,
-0.0023764867801219225,
0.0379943810403347,
0.010385793633759022,
-0.09795507043600082,
-0.02846122719347477,
0.06618396192789078,
0.02367735654115677,
0.040430258959531784,
0.14973990619182587,
-0.020036892965435982,
0.04252417013049126,
0.08572828024625778,
-0.09275657683610916,
0.0074033597484230995,
0.014094178564846516,
0.006503607612103224,
0.01197576243430376,
-0.1131749302148819,
0.054763492196798325,
-0.036385681480169296,
0.12789107859134674,
0.006605582777410746,
0.07129301130771637,
0.05072322487831116,
-0.06820280849933624,
0.035359468311071396,
-0.08912566304206848,
-0.02353842929005623,
-0.14964039623737335,
-0.029011178761720657,
-0.03642619028687477,
-0.015254498459398746,
-0.02266388013958931,
0.0010849800892174244,
-0.03845113515853882,
-0.037967558950185776,
0.07151015847921371,
-0.04643503949046135,
0.0067468625493347645,
-0.1190624013543129,
0.09868039935827255,
-0.11155041307210922,
0.05534401908516884,
-0.03732654079794884,
0.03411796689033508,
-0.08396928757429123,
-0.018148429691791534,
0.014460086822509766,
0.08948814868927002,
-0.16670700907707214,
0.10972189158201218,
-0.044660784304142,
-0.014816784299910069,
-0.0030923488084226847,
0.04649518057703972,
-0.029633861035108566,
0.18438640236854553,
-0.1395585983991623,
-0.03430812060832977,
0.03288256376981735,
-0.058942969888448715,
0.026545461267232895,
0.08147820085287094,
-0.03774591535329819,
0.027934756129980087,
0.15148992836475372,
0.20044422149658203,
0.08798986673355103,
0.045715153217315674,
-0.11432050913572311,
-0.012379764579236507,
-0.06255387514829636,
0.1322057992219925,
0.06295761466026306,
0.07845698297023773,
-0.08425575494766235,
0.018958505243062973,
-0.06773696839809418,
-0.019285444170236588,
-0.03131818771362305,
-0.09260419011116028,
0.0997830480337143,
0.012447964400053024,
0.2258368283510208,
0.01284796092659235,
0.04900050908327103,
-0.12515786290168762,
-0.0995086133480072,
-0.06453678756952286,
0.05403255671262741,
0.060490839183330536,
0.05557867884635925,
-0.1773689240217209,
0.07231297343969345,
0.11142632365226746,
0.08240659534931183,
-0.08778047561645508,
-0.006665251683443785,
-0.04185664281249046,
0.17003391683101654,
0.03707002475857735,
-0.003399198642000556,
0.019274698570370674,
-0.06584151834249496,
-0.06825632601976395,
-0.03117610514163971,
0.01122270617634058,
0.012530282139778137,
-0.011369282379746437,
-0.19559061527252197,
0.0937262699007988,
-0.04554577171802521,
0.14843904972076416,
-0.079210564494133,
-0.010447193868458271,
0.11533854156732559,
0.08819165080785751,
-0.045335568487644196,
0.09352661669254303,
0.013029140420258045,
0.06876885890960693,
-0.027570713311433792,
0.06597362458705902,
0.11563816666603088,
-0.033638931810855865,
-0.15625426173210144,
0.13474974036216736,
-0.026527544483542442,
0.15343502163887024,
0.12179643660783768,
-0.11575396358966827,
-0.05201015621423721,
-0.043926939368247986,
-0.024578340351581573,
0.020253242924809456,
0.09624987840652466,
0.025197584182024002,
-0.007315033581107855,
-0.01184599008411169,
0.0532764308154583,
-0.013312962837517262,
0.007418166380375624,
0.00022524439555127174,
-0.028903992846608162,
-0.1229063868522644,
0.12086331844329834,
-0.06924725323915482,
-0.2858530580997467,
0.13352830708026886,
0.2373872995376587,
0.10118816792964935,
0.29866641759872437,
-0.028750808909535408,
0.05196462199091911,
0.019036944955587387,
-0.050965916365385056,
-0.06327762454748154,
0.03032839298248291,
-0.024758312851190567,
0.03609711304306984,
0.036841172724962234,
-0.0076751187443733215,
0.026999423280358315,
-0.043664198368787766,
-0.10345079749822617,
-0.07851201295852661,
-0.07562381774187088,
-0.11899671703577042,
0.03816961869597435,
0.00032091312459670007,
0.09313814342021942,
0.03724672272801399,
-0.040833812206983566,
0.06061036139726639,
-0.05258616432547569,
-0.09083308279514313,
0.06712442636489868,
-0.12030220776796341,
-0.28173813223838806,
-0.01859988085925579,
-0.11518663167953491,
-0.07384845614433289,
0.010963398963212967,
0.0524769127368927,
-0.12968264520168304,
-0.0418037474155426,
-0.06582971662282944,
-0.09546783566474915,
0.11289665102958679,
0.026322467252612114,
0.0341484509408474,
0.06522499769926071,
0.007522126659750938,
0.019396178424358368,
-0.013797673396766186,
-0.09526585787534714,
-0.03409687057137489,
0.09200019389390945,
-0.031812917441129684,
0.12956438958644867,
0.023493517190217972,
0.010545596480369568,
0.004900199826806784,
-0.07787766307592392,
0.13529007136821747,
-0.16521012783050537,
0.02264590561389923,
0.0076150656677782536,
-0.029327817261219025,
0.08258561044931412,
0.23906433582305908,
0.03908725827932358,
0.022558994591236115,
0.051673732697963715,
0.0320073701441288,
0.03264164924621582,
-0.1186591163277626,
-0.18199194967746735,
-0.03596631810069084,
0.02987077087163925,
-0.047106947749853134,
0.04078667238354683,
-0.06030180677771568,
0.04451162740588188,
-0.13022319972515106,
-0.08273555338382721,
0.1309981346130371,
0.05268881469964981,
0.19013209640979767,
0.02127283625304699,
0.1070585548877716,
-0.0802835151553154,
-0.05030212551355362,
0.08693517744541168,
-0.07664111256599426,
0.07176045328378677,
0.08582703024148941,
0.05994098260998726,
0.09415438771247864,
0.06677543371915817,
0.07760050892829895,
-0.04099282994866371,
0.06154822185635567,
-0.08348199725151062,
-0.005662315990775824,
-0.053858835250139236,
0.06705065071582794,
0.020537441596388817,
-0.047338005155324936,
-0.14276160299777985,
0.006723123136907816,
-0.0464010089635849,
0.21696004271507263,
0.07216235250234604,
0.05544991418719292,
-0.07317479699850082,
-0.037788789719343185,
0.06676630675792694,
-0.022746410220861435,
-0.035555653274059296,
0.016183903440833092,
-0.0004830235557164997,
-0.09619078785181046,
0.2087130844593048,
0.03432566672563553,
0.12345876544713974,
0.03388824686408043,
0.0839775875210762,
-0.08549196273088455,
-0.1752607375383377,
-0.08458510786294937,
0.15885235369205475,
-0.2307494729757309,
0.27843284606933594,
0.01701923832297325,
0.023691069334745407,
-0.013805296272039413,
-0.12626834213733673,
0.09104149043560028,
0.2043781876564026,
0.04530404508113861,
0.008910167030990124,
-0.021827492862939835,
-0.15267838537693024,
-0.11650077253580093,
0.02375365048646927,
0.052626825869083405,
-0.06208460405468941,
0.08067819476127625,
-0.03636832535266876,
-0.002721067052334547,
-0.0014812821755185723,
-0.06665569543838501,
-0.23123499751091003,
-0.12155906856060028,
0.055281903594732285,
0.12916047871112823,
0.07838553935289383,
-0.022519469261169434,
-0.09339297562837601,
-0.16947384178638458,
-0.038453664630651474,
-0.21890828013420105,
-0.05893150717020035,
-0.07778190076351166,
0.0042896275408566,
-0.08784276992082596,
-0.07519179582595825,
-0.055579617619514465,
0.033562734723091125,
0.0703713595867157,
-0.030109887942671776,
-0.08729434013366699,
0.002479620510712266,
-0.044609397649765015,
-0.19170725345611572,
0.005094675812870264,
0.1061197966337204,
0.0802493467926979,
0.03866579756140709,
0.035108525305986404,
0.02819685824215412,
0.030519383028149605,
-0.11887487024068832,
0.044138383120298386,
-0.08055451512336731,
0.05124102160334587,
0.07755271345376968,
-0.029430976137518883,
-0.326196551322937,
-0.1731356382369995,
-0.05808539316058159,
0.15179511904716492,
0.2402157485485077,
-0.10180407017469406,
0.1390279233455658,
0.1970057338476181,
0.04327842965722084,
-0.3413771092891693,
-0.14166779816150665,
-0.006605975329875946,
-0.04427627474069595,
0.027430227026343346,
-0.12142283469438553,
-0.011584168300032616,
-0.0353522002696991,
-0.03513100743293762,
0.022076258435845375,
-0.11577295511960983,
-0.12957970798015594,
0.11893188953399658,
-0.06999532133340836,
0.15527822077274323,
-0.10423019528388977,
-0.05520740523934364,
-0.08704715222120285,
0.0599784217774868,
0.15072165429592133,
-0.1111697107553482,
0.029489193111658096,
-0.03397177904844284,
0.06565163284540176,
0.004867065232247114,
0.049526046961545944,
0.14566117525100708,
-0.01816827617585659,
0.029292253777384758,
-0.17800869047641754,
-0.11668254435062408,
0.0970044732093811,
-0.010697579011321068,
-0.05207904428243637,
-0.11567917466163635,
-0.04567617177963257,
-0.14470472931861877,
-0.026452157646417618,
-0.051585856825113297,
0.04743213206529617,
-0.03440919518470764,
-0.01911972463130951,
-0.06196502968668938,
0.09359622001647949,
0.011192884296178818,
0.00023647505440749228,
0.2985978126525879,
-0.09669767320156097,
0.013131008483469486,
-0.05495671182870865,
0.10209406912326813,
-0.08111657947301865,
0.1253049671649933,
-0.087319016456604,
-0.03945263847708702,
0.06210380420088768,
-0.10237716138362885,
-0.028685437515378,
0.029513977468013763,
-0.06359965354204178,
0.040027864277362823,
0.03403470292687416,
-0.05180127173662186,
0.03471405431628227,
0.17895567417144775,
-0.22184839844703674,
-0.049029137939214706,
-0.05751034989953041,
-0.01695316657423973,
0.03736456111073494,
0.034972988069057465,
0.07630685716867447,
-0.015299861319363117,
0.0019717696122825146,
0.07100268453359604,
0.0403502881526947,
0.03596578165888786,
0.026240620762109756,
0.06370406597852707,
-0.004386119078844786,
-0.10315699130296707,
0.06582368910312653,
0.11340268701314926,
-0.009120320901274681,
-0.0029164704028517008,
0.1525191366672516,
-0.16395366191864014,
-0.13113892078399658,
-0.03551041707396507,
0.16259843111038208,
-0.006083558779209852,
-0.1277676522731781,
-0.0272587388753891,
-0.10289652645587921,
0.06550221145153046,
0.09614685922861099,
0.07712297141551971,
0.029357491061091423,
0.045871518552303314,
-0.03496579825878143,
0.06331447511911392,
0.12476713210344315,
0.07457480579614639,
-0.05628137290477753,
-0.13562768697738647,
-0.018220359459519386,
0.004039572551846504,
0.15128204226493835,
-0.08440808951854706,
-0.022522473707795143,
-0.06317029148340225,
0.029411260038614273,
-0.12532275915145874,
0.036900732666254044,
-0.1363568902015686,
-0.005561539437621832,
-0.035592205822467804,
-0.08592858910560608,
-0.0848349928855896,
-0.054340094327926636,
-0.03388907387852669,
-0.026851514354348183,
0.012092114426195621,
0.10435979813337326,
-0.14021681249141693,
-0.014271792955696583,
0.029654495418071747,
-0.016340207308530807,
0.07989731431007385,
0.06517922878265381,
0.00470219599083066,
0.1450415700674057,
-0.21220406889915466,
0.004529639147222042,
0.009692145511507988,
-0.03677486628293991,
-0.0017553159268572927,
0.09311620146036148,
-0.033432770520448685,
0.02053484320640564,
0.014704586006700993,
0.11828094720840454,
0.13413697481155396,
-0.08822999149560928,
0.1371375173330307,
-0.08756153285503387,
-0.07688067853450775,
0.005886587779968977,
0.037360720336437225,
0.07649803906679153,
0.02798481471836567,
0.2518641948699951,
-0.13711968064308167,
0.03670906275510788,
0.009730339050292969,
0.061398718506097794,
-0.040043190121650696,
-0.17279450595378876,
-0.1451692283153534,
-0.07884485274553299,
0.031561870127916336,
-0.044740717858076096,
0.10412369668483734,
0.08324339240789413,
-0.12655960023403168,
0.08664710074663162,
0.07401470094919205,
-0.060760267078876495,
0.036950889974832535,
0.08883494883775711,
0.05721507966518402,
-0.04659916087985039,
-0.13888342678546906,
-0.04759027063846588,
-0.0009874787647277117,
-0.09795469045639038,
0.07651243358850479,
0.12863387167453766,
0.03634297475218773,
0.037008918821811676,
-0.025445351377129555,
-0.05167397856712341,
0.030326848849654198,
0.030835730955004692,
-0.17881837487220764,
-0.019275600090622902,
-0.054530296474695206,
0.10160514712333679,
0.20200881361961365,
-0.09152150899171829,
-0.000458119495306164,
-0.06115765497088432,
-0.016038233414292336,
-0.0016979631036520004,
-0.13824033737182617,
-0.1078265905380249,
-0.08781976252794266,
-0.01291255559772253,
-0.03578381612896919,
-0.022485168650746346,
0.09322582930326462,
0.02354174479842186,
-0.03773793950676918,
0.13516125082969666,
-0.008201060816645622,
-0.04361146688461304,
0.17332565784454346,
-0.04869063198566437,
0.005623013712465763,
-0.023219577968120575,
-0.08855056762695312,
0.0355389267206192,
-0.0143283074721694,
-0.0030398231465369463,
0.05310684069991112,
-0.017326263710856438,
0.023753806948661804,
-0.1263149529695511,
-0.1381380558013916,
0.038624923676252365,
0.07495076954364777,
0.13647250831127167,
0.10944216698408127,
0.04074319079518318,
0.03900760039687157,
0.01465009618550539,
0.24017681181430817,
0.09230372309684753,
-0.12462592869997025,
-0.003924803342670202,
0.04589380696415901,
0.05291232839226723,
0.05184002220630646,
-0.011881290934979916,
-0.08203555643558502,
0.013547614216804504,
0.145530104637146,
0.2978101670742035,
-0.044508401304483414,
0.06624998152256012,
-0.1416289508342743,
0.0716131255030632,
0.08936584740877151,
0.1108035296201706,
-0.030793849378824234,
0.1771126389503479,
-0.0088166743516922,
-0.036857862025499344,
-0.08623287081718445,
0.03677795082330704,
-0.12346099317073822,
0.027167413383722305,
0.12431124597787857,
-0.04506504908204079,
-0.0890093445777893,
0.19079305231571198,
-0.09963760524988174,
0.002819780493155122,
-0.03727499023079872,
-0.10868533700704575,
-0.0381157286465168,
-0.0032905680127441883,
0.13078083097934723,
0.05360571667551994,
0.02779090404510498,
0.031547605991363525,
0.025316568091511726,
-0.17053498327732086,
0.04154867306351662,
0.014705673791468143,
0.02681283839046955,
0.07396749407052994,
0.026035692542791367,
0.19279760122299194,
-0.0458395779132843,
0.14000603556632996,
0.08299165964126587,
-0.008495626971125603,
-0.03613314405083656,
0.1554429978132248,
0.05497552454471588,
0.056026533246040344,
0.0800473541021347,
-0.016054954379796982,
0.02059631608426571,
-0.08991409093141556,
0.16383035480976105,
-0.07847567647695541,
0.0747232511639595,
-0.07274734228849411,
-0.08090873062610626,
-0.034689921885728836,
0.20191247761249542,
-0.0802304595708847,
0.051668908447027206,
0.1392015665769577,
-0.034519243985414505,
0.0019414103589951992,
-0.035333771258592606,
0.006496346555650234,
-0.052052486687898636,
-0.06724903732538223,
-0.03179193288087845,
-0.08989676833152771,
-0.01814877614378929,
0.0010898936307057738,
0.07780087739229202,
-0.16830864548683167,
0.05895843356847763,
-0.1019907295703888,
0.07376934587955475,
-0.03024028055369854,
0.053475938737392426,
0.039667610079050064,
-0.06858731061220169,
-0.01587027870118618,
-0.17070713639259338,
0.024593526497483253,
0.04047003015875816,
-0.08184704184532166,
-0.06405852735042572
] |
null | null |
transformers
|
# UzBERT base model (uncased)
Pretrained model on Uzbek language (Cyrillic script) using a masked
language modeling and next sentence prediction objectives.
## How to use
You can use this model directly with a pipeline for masked language modeling:
```python
>>> from transformers import pipeline
>>> unmasker = pipeline('fill-mask', model='coppercitylabs/uzbert-base-uncased')
>>> unmasker("Алишер Навоий – улуғ ўзбек ва бошқа туркий халқларнинг [MASK], мутафаккири ва давлат арбоби бўлган.")
[
{
'token_str': 'шоири',
'token': 13587,
'score': 0.7974384427070618,
'sequence': 'алишер навоий – улуғ ўзбек ва бошқа туркий халқларнинг шоири, мутафаккир ##и ва давлат арбоби бўлган.'
},
{
'token_str': 'олими',
'token': 18500,
'score': 0.09166576713323593,
'sequence': 'алишер навоий – улуғ ўзбек ва бошқа туркий халқларнинг олими, мутафаккир ##и ва давлат арбоби бўлган.'
},
{
'token_str': 'асосчиси',
'token': 7469,
'score': 0.02451123297214508,
'sequence': 'алишер навоий – улуғ ўзбек ва бошқа туркий халқларнинг асосчиси, мутафаккир ##и ва давлат арбоби бўлган.'
},
{
'token_str': 'ёзувчиси',
'token': 22439,
'score': 0.017601722851395607,
'sequence': 'алишер навоий – улуғ ўзбек ва бошқа туркий халқларнинг ёзувчиси, мутафаккир ##и ва давлат арбоби бўлган.'
},
{
'token_str': 'устози',
'token': 11494,
'score': 0.010115668177604675,
'sequence': 'алишер навоий – улуғ ўзбек ва бошқа туркий халқларнинг устози, мутафаккир ##и ва давлат арбоби бўлган.'
}
]
```
## Training data
UzBERT model was pretrained on \~625K news articles (\~142M words).
## BibTeX entry and citation info
```bibtex
@misc{mansurov2021uzbert,
title={{UzBERT: pretraining a BERT model for Uzbek}},
author={B. Mansurov and A. Mansurov},
year={2021},
eprint={2108.09814},
archivePrefix={arXiv},
primaryClass={cs.CL}
}
```
|
{"language": "uz", "license": "mit", "tags": ["uzbert", "uzbek", "bert", "cyrillic"], "datasets": ["webcrawl"]}
|
fill-mask
|
coppercitylabs/uzbert-base-uncased
|
[
"transformers",
"pytorch",
"safetensors",
"bert",
"fill-mask",
"uzbert",
"uzbek",
"cyrillic",
"uz",
"dataset:webcrawl",
"arxiv:2108.09814",
"license:mit",
"autotrain_compatible",
"endpoints_compatible",
"region:us"
] |
2022-03-02T23:29:05+00:00
|
[
"2108.09814"
] |
[
"uz"
] |
TAGS
#transformers #pytorch #safetensors #bert #fill-mask #uzbert #uzbek #cyrillic #uz #dataset-webcrawl #arxiv-2108.09814 #license-mit #autotrain_compatible #endpoints_compatible #region-us
|
# UzBERT base model (uncased)
Pretrained model on Uzbek language (Cyrillic script) using a masked
language modeling and next sentence prediction objectives.
## How to use
You can use this model directly with a pipeline for masked language modeling:
## Training data
UzBERT model was pretrained on \~625K news articles (\~142M words).
## BibTeX entry and citation info
|
[
"# UzBERT base model (uncased)\n\nPretrained model on Uzbek language (Cyrillic script) using a masked\nlanguage modeling and next sentence prediction objectives.",
"## How to use\n\nYou can use this model directly with a pipeline for masked language modeling:",
"## Training data\n\nUzBERT model was pretrained on \\~625K news articles (\\~142M words).",
"## BibTeX entry and citation info"
] |
[
"TAGS\n#transformers #pytorch #safetensors #bert #fill-mask #uzbert #uzbek #cyrillic #uz #dataset-webcrawl #arxiv-2108.09814 #license-mit #autotrain_compatible #endpoints_compatible #region-us \n",
"# UzBERT base model (uncased)\n\nPretrained model on Uzbek language (Cyrillic script) using a masked\nlanguage modeling and next sentence prediction objectives.",
"## How to use\n\nYou can use this model directly with a pipeline for masked language modeling:",
"## Training data\n\nUzBERT model was pretrained on \\~625K news articles (\\~142M words).",
"## BibTeX entry and citation info"
] |
[
74,
41,
21,
27,
10
] |
[
"passage: TAGS\n#transformers #pytorch #safetensors #bert #fill-mask #uzbert #uzbek #cyrillic #uz #dataset-webcrawl #arxiv-2108.09814 #license-mit #autotrain_compatible #endpoints_compatible #region-us \n# UzBERT base model (uncased)\n\nPretrained model on Uzbek language (Cyrillic script) using a masked\nlanguage modeling and next sentence prediction objectives.## How to use\n\nYou can use this model directly with a pipeline for masked language modeling:## Training data\n\nUzBERT model was pretrained on \\~625K news articles (\\~142M words).## BibTeX entry and citation info"
] |
[
-0.0372869074344635,
-0.04074510559439659,
-0.0029964225832372904,
-0.00836238730698824,
0.1619156301021576,
-0.0012576759327203035,
0.2426205724477768,
-0.02326267585158348,
0.05565932020545006,
-0.01585574448108673,
0.16779664158821106,
-0.061929021030664444,
0.042332377284765244,
0.19921934604644775,
0.03656643629074097,
-0.25831905007362366,
0.06132466346025467,
-0.11162280291318893,
-0.021388785913586617,
0.11125914007425308,
0.1185057982802391,
-0.027225494384765625,
0.028535228222608566,
-0.001678568427450955,
-0.1087208092212677,
0.07174912840127945,
-0.02277989313006401,
-0.04537064582109451,
0.019282884895801544,
0.08640401065349579,
0.08759752660989761,
0.06317656487226486,
0.06808072328567505,
-0.16996116936206818,
0.04235268756747246,
-0.05026719346642494,
-0.11439677327871323,
0.01119928527623415,
0.0040786960162222385,
-0.03909441456198692,
0.1192411556839943,
-0.07893957197666168,
-0.09438680112361908,
0.020725039765238762,
-0.09034930169582367,
0.04665089026093483,
-0.01850411668419838,
0.1329488903284073,
-0.00529114156961441,
0.09921442717313766,
-0.05942928045988083,
0.07545866817235947,
-0.09307562559843063,
0.04879235103726387,
-0.01633003167808056,
-0.3374549150466919,
-0.030622664839029312,
-0.015346181578934193,
-0.039231713861227036,
0.06156821921467781,
-0.021397283300757408,
0.06805682182312012,
0.06803546845912933,
-0.01685429736971855,
-0.07879345864057541,
-0.025184359401464462,
0.02152649313211441,
-0.06010821834206581,
-0.13317300379276276,
0.0043720826506614685,
0.12454574555158615,
0.025548752397298813,
-0.03612591326236725,
-0.040834128856658936,
-0.02803918533027172,
0.11707303673028946,
-0.0655376985669136,
0.02362710051238537,
-0.05268386751413345,
-0.007674104068428278,
-0.00756288506090641,
-0.011715848930180073,
-0.09738748520612717,
-0.01637202687561512,
-0.09296886622905731,
0.2940867245197296,
0.04556504264473915,
0.07748863101005554,
-0.08796628564596176,
-0.008283719420433044,
-0.0017674177652224898,
-0.14073875546455383,
0.04837008938193321,
-0.07842551171779633,
0.0061240429058671,
0.06603503972291946,
-0.017862122505903244,
-0.04572877287864685,
0.10765711218118668,
0.0665069967508316,
-0.0591043084859848,
0.03034045733511448,
0.005140210036188364,
0.10647731274366379,
0.03386196494102478,
0.05883367359638214,
-0.14824187755584717,
-0.05363072454929352,
-0.004287181422114372,
0.022579889744520187,
0.03768034651875496,
0.004028503783047199,
-0.1711011528968811,
-0.07169806957244873,
0.015348458662629128,
0.0663425475358963,
-0.015496909618377686,
0.11312039941549301,
-0.0075253830291330814,
-0.01593216508626938,
0.06363613158464432,
-0.07723809778690338,
-0.04116964340209961,
0.02151515707373619,
-0.04327002167701721,
0.025868132710456848,
0.00936376303434372,
0.01980338990688324,
-0.0700172707438469,
0.01036215852946043,
-0.020420463755726814,
0.02990821748971939,
-0.020821137353777885,
-0.12921291589736938,
0.007993694394826889,
0.008367846719920635,
0.030777525156736374,
-0.18838649988174438,
-0.08899660408496857,
-0.043244369328022,
0.027216892689466476,
-0.022421585395932198,
0.04165390133857727,
-0.14684730768203735,
0.009731214493513107,
0.04774273931980133,
-0.03887493163347244,
0.0034831047523766756,
-0.0597197487950325,
0.03879199177026749,
-0.06813125312328339,
0.07569289952516556,
-0.04688838869333267,
0.026318492367863655,
-0.1296701729297638,
-0.026601390913128853,
-0.007697076071053743,
0.06071271002292633,
-0.10551877319812775,
0.12007482349872589,
-0.058373816311359406,
-0.03060608170926571,
-0.011115046218037605,
0.04939330369234085,
0.09633239358663559,
0.19014514982700348,
-0.12917982041835785,
-0.0318630151450634,
0.18062932789325714,
-0.05941304191946983,
-0.0329456701874733,
0.13856357336044312,
-0.039278846234083176,
0.05809171870350838,
0.0848940834403038,
0.17747795581817627,
-0.023106394335627556,
-0.056226782500743866,
0.006607560906559229,
0.061819929629564285,
-0.057150598615407944,
0.08652155846357346,
0.05668586120009422,
0.03109297715127468,
-0.1719284951686859,
0.02204703725874424,
0.008801767602562904,
0.07283423840999603,
-0.059196293354034424,
-0.09478681534528732,
0.07033269107341766,
-0.09881032258272171,
0.14554110169410706,
-0.012170419096946716,
0.09330907464027405,
-0.03986823186278343,
-0.1136840209364891,
-0.048330217599868774,
0.11454866081476212,
-0.005717709194868803,
0.03430744260549545,
-0.13312619924545288,
0.10288112610578537,
-0.0198258925229311,
0.06484692543745041,
-0.08904639631509781,
0.059129077941179276,
-0.03443184122443199,
0.1278298944234848,
0.09257638454437256,
-0.08046937733888626,
0.04296908527612686,
0.04031439870595932,
-0.014192941598594189,
-0.001072361716069281,
0.01437319628894329,
-0.02183646336197853,
-0.029313581064343452,
-0.206928089261055,
0.04272877424955368,
-0.05139438435435295,
0.02133270725607872,
-0.09505244344472885,
-0.029437512159347534,
-0.09049269556999207,
0.031176656484603882,
-0.046856630593538284,
0.0860406756401062,
-0.016307499259710312,
0.04264889657497406,
-0.03363129496574402,
0.04771487042307854,
0.09178267419338226,
-0.012205063365399837,
-0.15847235918045044,
0.16576562821865082,
-0.021695483475923538,
0.02301894873380661,
0.09347236156463623,
-0.0777178406715393,
-0.020383086055517197,
-0.016248784959316254,
-0.015349638648331165,
-0.0030755167827010155,
0.13345055282115936,
0.03759555146098137,
0.09946905821561813,
-0.02787456288933754,
0.09473153203725815,
-0.04570407792925835,
0.08502417057752609,
0.012194916605949402,
-0.06407371908426285,
-0.06849422305822372,
0.14041449129581451,
-0.031020965427160263,
-0.2622110843658447,
0.11547768861055374,
0.11525922268629074,
0.04630235955119133,
0.3199775815010071,
0.025059130042791367,
-0.01343485526740551,
-0.0065024481154978275,
-0.028120798990130424,
-0.0225753802806139,
0.11277911812067032,
-0.07878703624010086,
-0.030081680044531822,
0.023592252284288406,
-0.0018011457286775112,
0.06326721608638763,
-0.035036444664001465,
-0.06594660878181458,
-0.06489735841751099,
-0.041885118931531906,
-0.1765170693397522,
0.04417791962623596,
-0.07764501124620438,
0.0819631963968277,
0.030527591705322266,
-0.04599358141422272,
0.04397505894303322,
-0.05271342024207115,
-0.12587085366249084,
0.17315569519996643,
-0.12418653815984726,
-0.2763039469718933,
-0.0931733101606369,
-0.09248437732458115,
-0.04879730939865112,
0.03658214956521988,
0.02013825997710228,
-0.14228671789169312,
-0.019998447969555855,
0.017709942534565926,
-0.007196828257292509,
0.010002574883401394,
-0.0327647365629673,
0.016121935099363327,
0.02085183747112751,
-0.0057053579948842525,
-0.035880040377378464,
-0.03161091357469559,
-0.10740518569946289,
-0.007880587130784988,
0.05750177055597305,
-0.11108116805553436,
0.13025392591953278,
0.06495536118745804,
0.002143366727977991,
0.010219004936516285,
-0.016679855063557625,
0.18252046406269073,
-0.08019277453422546,
-0.03954281657934189,
0.06999427825212479,
-0.04706563800573349,
0.08647745102643967,
0.21294452250003815,
0.029825840145349503,
0.0026613620575517416,
0.05118459090590477,
-0.07391050457954407,
-0.024316392838954926,
-0.11946653574705124,
-0.13586966693401337,
-0.0740644708275795,
-0.05425461009144783,
0.006176202092319727,
0.01259322464466095,
-0.07061810791492462,
0.08841113746166229,
-0.06228681653738022,
0.032113805413246155,
0.03389367088675499,
0.051661692559719086,
-0.0433410182595253,
0.00006364898581523448,
0.08160758763551712,
-0.00022930765408091247,
-0.058933984488248825,
0.030617086216807365,
-0.07156214863061905,
0.1749269664287567,
0.06207642704248428,
0.09919341653585434,
0.10327515006065369,
0.11483895033597946,
0.13387905061244965,
0.044880591332912445,
-0.02025015838444233,
-0.03162957355380058,
-0.0024208463728427887,
-0.09892558306455612,
0.029744334518909454,
0.06653984636068344,
-0.042477741837501526,
0.00021950999507680535,
-0.05738190934062004,
0.025620844215154648,
0.1326572448015213,
0.07373028993606567,
0.0836227685213089,
-0.13807153701782227,
-0.09878765046596527,
0.03169436380267143,
0.00007940183422761038,
-0.04826926067471504,
0.05355330929160118,
-0.012854870408773422,
-0.09006016701459885,
0.08519239723682404,
-0.0007443287177011371,
0.11564671248197556,
0.13212788105010986,
0.052436262369155884,
-0.09912249445915222,
0.039604686200618744,
-0.07197078317403793,
0.17433540523052216,
-0.36150923371315,
0.25079652667045593,
-0.008364534005522728,
0.07948067784309387,
-0.04277779161930084,
-0.07597915828227997,
0.10192517936229706,
0.12654714286327362,
0.11896836757659912,
0.03430646285414696,
0.08411987870931625,
-0.05784878134727478,
-0.12344925105571747,
0.06840404123067856,
0.04568278044462204,
0.0061509800143539906,
0.048387542366981506,
0.010825000703334808,
-0.005987989250570536,
-0.007863988168537617,
-0.05120649188756943,
-0.3135398030281067,
-0.12868347764015198,
-0.0008435709751211107,
-0.00852891243994236,
0.04126405715942383,
0.0014567826874554157,
-0.10479188710451126,
-0.04450947791337967,
0.041844382882118225,
-0.07925925403833389,
-0.08706437051296234,
-0.0448751337826252,
0.058637507259845734,
-0.019812459126114845,
-0.12688098847866058,
-0.029570428654551506,
-0.006818451453000307,
0.05652740225195885,
-0.07098338007926941,
-0.1399293839931488,
0.03384485840797424,
-0.13026200234889984,
-0.11321213841438293,
-0.01253083162009716,
0.043927956372499466,
0.14290404319763184,
0.030906790867447853,
0.02239198610186577,
-0.024275459349155426,
-0.02563347853720188,
-0.09646774083375931,
-0.03885090723633766,
-0.026142314076423645,
0.03291476517915726,
0.10508376359939575,
-0.0701771005988121,
-0.22432367503643036,
-0.14111508429050446,
-0.046194352209568024,
0.16850510239601135,
0.12086363881826401,
-0.07613358646631241,
0.16842350363731384,
0.36495500802993774,
-0.037173908203840256,
-0.35682541131973267,
-0.1331370621919632,
0.0227561853826046,
0.11295460909605026,
-0.016984958201646805,
-0.142746239900589,
-0.03128695860505104,
-0.12452773749828339,
-0.006313770543783903,
0.10167858004570007,
-0.14427736401557922,
-0.14235946536064148,
0.20393475890159607,
0.003570212982594967,
0.28812676668167114,
-0.04917473718523979,
-0.034353770315647125,
-0.10545261204242706,
0.034682415425777435,
0.09498181939125061,
-0.006183275952935219,
0.06834516674280167,
-0.009888788685202599,
0.12912169098854065,
0.012033229693770409,
-0.009431292302906513,
0.11739647388458252,
-0.03431249409914017,
-0.03010866418480873,
-0.15758714079856873,
-0.1446189284324646,
0.029052551835775375,
0.00965228583663702,
-0.012975222431123257,
-0.08758973330259323,
0.020146695896983147,
-0.0722256451845169,
-0.060630764812231064,
-0.055784475058317184,
0.007623868528753519,
-0.025664130225777626,
-0.045733172446489334,
-0.0270874984562397,
0.10032343119382858,
0.09054499864578247,
0.03257504850625992,
0.1577785313129425,
-0.07356881350278854,
-0.0434957779943943,
0.04235303774476051,
0.09967366605997086,
-0.05762907490134239,
0.18532869219779968,
0.0016781912418082356,
-0.061176951974630356,
0.13496260344982147,
-0.09230094403028488,
-0.013054883107542992,
0.09176670014858246,
0.0017417232738807797,
0.06181056797504425,
0.03496520221233368,
-0.11021091789007187,
0.038281962275505066,
0.11323511600494385,
-0.13743798434734344,
-0.09142103046178818,
-0.07890815287828445,
-0.047978129237890244,
0.017234401777386665,
-0.012636614963412285,
0.08153938502073288,
-0.0996420755982399,
-0.008113540709018707,
0.009085522964596748,
0.059404000639915466,
-0.04968646541237831,
0.0664190798997879,
0.12433480471372604,
-0.0007956427289173007,
-0.0821712464094162,
0.09289419651031494,
0.013479853048920631,
0.11565481871366501,
0.05915052443742752,
0.05416296422481537,
-0.1444254219532013,
-0.09746754169464111,
-0.05814613774418831,
0.20554803311824799,
-0.028356747701764107,
-0.14453831315040588,
-0.03321215882897377,
-0.0818554237484932,
0.02808011882007122,
0.06495573371648788,
0.06558769941329956,
-0.05239851772785187,
-0.038236718624830246,
-0.022364582866430283,
-0.014630062505602837,
0.11116708070039749,
0.12557654082775116,
-0.06846050173044205,
-0.040717147290706635,
0.0015537029830738902,
0.03315958008170128,
0.19692958891391754,
-0.09063556790351868,
-0.013225657865405083,
-0.1431078463792801,
0.051189787685871124,
-0.26544883847236633,
0.07717831432819366,
-0.0874195545911789,
-0.007909659296274185,
-0.05940620228648186,
-0.07731901854276657,
-0.06188337132334709,
0.03819042444229126,
-0.07248009741306305,
0.02087380364537239,
-0.004285607952624559,
0.01887066289782524,
-0.04769829660654068,
0.007602524943649769,
0.02316262014210224,
0.0006321566179394722,
0.06299491226673126,
0.11773279309272766,
0.007532673422247171,
0.16184529662132263,
-0.2426217645406723,
-0.0075642624869942665,
-0.07963291555643082,
0.004358537495136261,
0.040317825973033905,
0.028416387736797333,
-0.014406675472855568,
-0.004685283172875643,
-0.0019339276477694511,
-0.004763352684676647,
0.15093784034252167,
-0.05898541957139969,
0.052773840725421906,
-0.015113875269889832,
0.01873539201915264,
-0.057154495269060135,
0.10928162187337875,
-0.07357770949602127,
0.08822298794984818,
0.12632770836353302,
-0.14147049188613892,
0.04707939177751541,
-0.0013713070657104254,
0.050472158938646317,
-0.009178739972412586,
-0.06363809108734131,
-0.10458153486251831,
-0.10572461038827896,
0.04395372420549393,
-0.05215524137020111,
0.12045756727457047,
0.010475503280758858,
0.03967982158064842,
-0.0017052064649760723,
0.021472979336977005,
-0.07665847986936569,
-0.01755036972463131,
0.09728532284498215,
-0.0008470985339954495,
0.04197775200009346,
-0.19419342279434204,
-0.005226931069046259,
0.01569407619535923,
0.03989198058843613,
0.05272550508379936,
0.04148038104176521,
0.07685892283916473,
0.09168770164251328,
-0.0023686056956648827,
0.003107574535533786,
0.029303519055247307,
-0.05711716040968895,
-0.10419493913650513,
-0.03460574150085449,
-0.04628615826368332,
0.11967573314905167,
0.2175590544939041,
-0.04475422576069832,
0.026228168979287148,
-0.044410333037376404,
-0.10760646313428879,
-0.0792531967163086,
-0.23185522854328156,
-0.06306398659944534,
-0.06434730440378189,
0.03552797809243202,
-0.08462617546319962,
-0.010286259464919567,
0.0894942507147789,
0.03183471038937569,
-0.0449344776570797,
0.07542456686496735,
0.01708257757127285,
-0.07975788414478302,
0.13184750080108643,
-0.07152330875396729,
0.05121833458542824,
0.07213596999645233,
-0.07596583664417267,
0.052131593227386475,
-0.047276537865400314,
0.01998145319521427,
0.03765737637877464,
0.009234433993697166,
0.05791835859417915,
-0.03196641430258751,
-0.0841187909245491,
-0.02272876910865307,
0.05257216468453407,
0.1775883436203003,
0.14701184630393982,
0.08767860382795334,
0.027027273550629616,
-0.019841255620121956,
0.1383586823940277,
0.051808834075927734,
-0.14521662890911102,
-0.08989151567220688,
0.15277835726737976,
0.006713781040161848,
0.06559917330741882,
-0.006891700439155102,
-0.07844734191894531,
-0.04613414406776428,
0.2825692594051361,
0.32223382592201233,
-0.12448025494813919,
0.011202561669051647,
-0.046905677765607834,
0.04257269948720932,
0.046085480600595474,
0.17492714524269104,
0.009021989069879055,
0.23376645147800446,
-0.042328767478466034,
-0.0022807044442743063,
-0.11033908277750015,
-0.01824437454342842,
-0.08209939301013947,
0.04093150421977043,
0.07240615785121918,
-0.042702846229076385,
-0.06022892892360687,
0.11790581047534943,
-0.2079332172870636,
-0.06190146505832672,
-0.06198442354798317,
-0.0662161260843277,
-0.09082940220832825,
-0.04564124345779419,
0.06577432155609131,
0.13411526381969452,
0.08586718887090683,
-0.028525177389383316,
0.051271021366119385,
-0.03844846785068512,
0.02294246293604374,
0.016432056203484535,
-0.03773381561040878,
0.06961669027805328,
0.04637925326824188,
0.1484372317790985,
-0.02361798845231533,
0.14490042626857758,
0.07235351949930191,
0.07135720551013947,
0.0017403109231963754,
0.07891356945037842,
0.017021628096699715,
0.06004208326339722,
0.07922834903001785,
0.010719621554017067,
-0.015851210802793503,
-0.10277507454156876,
0.07874051481485367,
-0.06635483354330063,
0.06582753360271454,
-0.07051996141672134,
-0.04783278703689575,
-0.028845855966210365,
0.17773720622062683,
-0.08256799727678299,
0.08475521951913834,
0.15029625594615936,
-0.043617404997348785,
-0.036399345844984055,
-0.04888845980167389,
0.07510384172201157,
-0.02450408972799778,
0.015288949012756348,
-0.02664145827293396,
-0.12213563174009323,
-0.02198660559952259,
0.012742187827825546,
0.03773731365799904,
-0.24726763367652893,
0.06473834812641144,
-0.13486433029174805,
0.05941394343972206,
-0.00933091901242733,
0.0994258001446724,
0.0929541289806366,
0.034411635249853134,
-0.016651596873998642,
-0.09527471661567688,
0.01629968173801899,
0.03319908678531647,
-0.0999860018491745,
-0.12686318159103394
] |
null | null |
transformers
|
# Rick Sanchez
|
{"tags": ["conversational"]}
|
text-generation
|
cosmic/DialoGPT-Rick
|
[
"transformers",
"pytorch",
"gpt2",
"text-generation",
"conversational",
"autotrain_compatible",
"endpoints_compatible",
"text-generation-inference",
"region:us"
] |
2022-03-02T23:29:05+00:00
|
[] |
[] |
TAGS
#transformers #pytorch #gpt2 #text-generation #conversational #autotrain_compatible #endpoints_compatible #text-generation-inference #region-us
|
# Rick Sanchez
|
[
"# Rick Sanchez"
] |
[
"TAGS\n#transformers #pytorch #gpt2 #text-generation #conversational #autotrain_compatible #endpoints_compatible #text-generation-inference #region-us \n",
"# Rick Sanchez"
] |
[
51,
3
] |
[
"passage: TAGS\n#transformers #pytorch #gpt2 #text-generation #conversational #autotrain_compatible #endpoints_compatible #text-generation-inference #region-us \n# Rick Sanchez"
] |
[
-0.04527350142598152,
0.09403416514396667,
-0.0068147871643304825,
0.037174955010414124,
0.15092049539089203,
-0.005295475013554096,
0.1055806428194046,
0.15254977345466614,
-0.013614901341497898,
-0.0006894561811350286,
0.17456907033920288,
0.27453774213790894,
-0.0069238306023180485,
0.017756406217813492,
-0.10510535538196564,
-0.2525657117366791,
0.01939491182565689,
0.057530369609594345,
-0.015158702619373798,
0.12222006171941757,
0.07067728787660599,
-0.05898860841989517,
0.09720586985349655,
-0.03136802837252617,
-0.15240928530693054,
0.02114509418606758,
0.08080068230628967,
-0.1395425945520401,
0.12722578644752502,
0.08316820114850998,
0.058731868863105774,
0.06465934216976166,
-0.04700164496898651,
-0.09814803302288055,
0.043733906000852585,
0.013082643039524555,
-0.052057355642318726,
0.07517674565315247,
0.06159641593694687,
-0.13699495792388916,
0.050209470093250275,
0.06643001735210419,
-0.020416701212525368,
0.0787515938282013,
-0.20377126336097717,
-0.02055356651544571,
-0.05373164638876915,
0.026823347434401512,
0.06448816508054733,
0.07736878097057343,
-0.02517380379140377,
0.0800534263253212,
-0.03561456501483917,
0.057345911860466,
0.12958787381649017,
-0.27716851234436035,
-0.04127482697367668,
0.027944965288043022,
0.06203962117433548,
0.08915871381759644,
-0.015304370783269405,
0.10037414729595184,
0.05883878096938133,
-0.011588585563004017,
-0.005175962578505278,
-0.09876047074794769,
-0.1008872464299202,
0.049462441354990005,
-0.04600450396537781,
-0.02520371787250042,
0.24847273528575897,
-0.031891558319330215,
0.07694052159786224,
-0.049898985773324966,
-0.11173702031373978,
-0.00029195589013397694,
-0.004712163470685482,
-0.034067269414663315,
-0.08524423092603683,
0.06796267628669739,
0.00632272195070982,
-0.06930716335773468,
-0.14487230777740479,
-0.015383689664304256,
-0.18347492814064026,
0.2023255079984665,
0.015101203694939613,
0.030952220782637596,
-0.19542630016803741,
0.07272392511367798,
0.07909320294857025,
-0.11834423989057541,
0.05694868415594101,
-0.07757401466369629,
0.05558342486619949,
0.03920832276344299,
-0.018479522317647934,
-0.10040099173784256,
0.08461688458919525,
0.0995546355843544,
0.01950136385858059,
0.008561805821955204,
-0.03570287674665451,
0.08772113174200058,
0.03066709078848362,
0.08883350342512131,
0.02363949455320835,
-0.006802714895457029,
0.025162464007735252,
-0.11114726960659027,
0.03515183553099632,
-0.08997438848018646,
-0.20331905782222748,
0.0035396323073655367,
0.0039023826830089092,
0.08143576979637146,
0.06462354958057404,
0.09844201058149338,
-0.042566489428281784,
-0.05477497726678848,
0.03352411091327667,
-0.027195604518055916,
-0.021747753024101257,
0.013903116807341576,
0.02375275082886219,
0.1764853596687317,
-0.009281577542424202,
0.03042648173868656,
-0.06458026170730591,
0.02574620209634304,
-0.06815493851900101,
-0.042742177844047546,
-0.032315321266651154,
-0.037623923271894455,
0.029696498066186905,
-0.03063409961760044,
0.007347370032221079,
-0.17739452421665192,
-0.09827125817537308,
-0.022606754675507545,
-0.030101533979177475,
-0.04876469820737839,
-0.0785822793841362,
-0.07546032965183258,
0.022602878510951996,
0.03994806855916977,
-0.07006209343671799,
0.000599235063418746,
-0.05477055162191391,
0.1462310552597046,
0.0047696735709905624,
0.06714696437120438,
-0.0828816145658493,
0.06736654043197632,
-0.07013542950153351,
-0.021580995991826057,
-0.09262711554765701,
0.09315744042396545,
-0.0031570810824632645,
0.0961395800113678,
-0.03972741588950157,
0.0005040590185672045,
-0.11286541819572449,
0.07475902140140533,
-0.08398273587226868,
0.23996730148792267,
-0.10918182879686356,
-0.11572649329900742,
0.2718099057674408,
-0.022941581904888153,
-0.1427580565214157,
0.0915837436914444,
-0.0006381447892636061,
0.08840902149677277,
0.14103364944458008,
0.20393794775009155,
-0.010877060703933239,
-0.02969890646636486,
0.10982359200716019,
0.10405677556991577,
-0.056666646152734756,
-0.04262764751911163,
0.05901365727186203,
-0.05552645027637482,
-0.09218686074018478,
0.02912897989153862,
0.015374640002846718,
0.05799146369099617,
-0.036446355283260345,
-0.02354741469025612,
0.028277361765503883,
0.0141216441988945,
0.0782637745141983,
-0.002646298846229911,
0.10853579640388489,
-0.0526253804564476,
-0.05750279873609543,
-0.11168254166841507,
-0.008058974519371986,
-0.010834147222340107,
0.014269829727709293,
-0.06584107130765915,
0.08111438900232315,
-0.027058660984039307,
0.05115412548184395,
-0.1355028748512268,
-0.07753666490316391,
-0.0523231104016304,
0.24767158925533295,
0.06731544435024261,
0.07338158786296844,
0.031842492520809174,
-0.07853475958108902,
0.004777651745826006,
0.011944776400923729,
0.17498639225959778,
-0.013271036557853222,
-0.05014170706272125,
-0.10008122026920319,
0.08723782002925873,
-0.05786330997943878,
0.042045071721076965,
-0.05753082409501076,
0.01404295489192009,
0.024106157943606377,
0.05081797391176224,
-0.011349170468747616,
0.038025863468647,
-0.02505946345627308,
-0.006059340201318264,
-0.08981060981750488,
-0.03450954332947731,
0.10976221412420273,
0.01770242489874363,
-0.11342077702283859,
0.21745137870311737,
-0.20224565267562866,
0.13943229615688324,
0.16003625094890594,
-0.2801443338394165,
-0.006271810736507177,
-0.06572245806455612,
-0.013218488544225693,
0.008108419366180897,
0.014798164367675781,
-0.05130258575081825,
0.1743362694978714,
-0.009645489044487476,
0.19109410047531128,
-0.060351498425006866,
-0.02908548340201378,
-0.022674325853586197,
-0.054018404334783554,
0.008967289701104164,
0.10935953259468079,
0.14471352100372314,
-0.15203538537025452,
0.20957453548908234,
0.13110966980457306,
0.08628218621015549,
0.1637745499610901,
0.018922822549939156,
0.021681711077690125,
0.06674927473068237,
0.013592846691608429,
-0.0057266633957624435,
-0.051320724189281464,
-0.11934579163789749,
-0.016854261979460716,
0.05457533895969391,
0.015695983543992043,
0.09772743284702301,
-0.13443943858146667,
-0.065802663564682,
0.0019221059046685696,
0.0026051795575767756,
0.040862761437892914,
0.1059814989566803,
0.0047357408329844475,
0.13045349717140198,
0.01772903837263584,
-0.04724204167723656,
0.09163372218608856,
0.03109852969646454,
-0.10622908920049667,
0.17094466090202332,
-0.1086428090929985,
-0.32822245359420776,
-0.11856727302074432,
-0.1684766709804535,
-0.03724953904747963,
0.08762621134519577,
0.13389068841934204,
-0.14868208765983582,
0.02046336978673935,
0.06615202128887177,
0.10362138599157333,
-0.10872546583414078,
-0.015919700264930725,
-0.020790517330169678,
0.00038650110946036875,
-0.11667069792747498,
-0.07307395339012146,
-0.06335043162107468,
-0.022308724001049995,
-0.0465569905936718,
0.11240088194608688,
-0.1357823759317398,
0.08371490240097046,
0.2345692366361618,
0.10359416902065277,
0.05047173425555229,
-0.05230170115828514,
0.14579768478870392,
-0.10346180945634842,
0.007456586696207523,
0.23650553822517395,
-0.03873399645090103,
0.06997847557067871,
0.05755212903022766,
0.006492575164884329,
-0.074039526283741,
0.005750405602157116,
-0.01689676009118557,
-0.0764658972620964,
-0.24829024076461792,
-0.11424380540847778,
-0.10509561747312546,
0.07870790362358093,
0.07766003906726837,
0.03815693035721779,
0.1789003312587738,
0.1026630699634552,
-0.04779671132564545,
0.02055530436336994,
0.027471600100398064,
0.08584575355052948,
0.2141295075416565,
-0.06891098618507385,
0.12528350949287415,
-0.03335701674222946,
-0.15679311752319336,
0.08111413568258286,
0.09485863149166107,
0.04862729832530022,
0.12143583595752716,
0.165474534034729,
0.03303223475813866,
0.05438592657446861,
0.06439254432916641,
0.04186417907476425,
0.017688574269413948,
-0.02978948876261711,
-0.07204700261354446,
-0.03647342696785927,
-0.07475192099809647,
0.008598792366683483,
0.01190872024744749,
-0.1306357979774475,
-0.04847932979464531,
-0.044777821749448776,
0.068152517080307,
0.07133156061172485,
0.004839334171265364,
-0.183217391371727,
-0.017323177307844162,
0.09659425169229507,
0.012265682220458984,
-0.0866841971874237,
0.0745689645409584,
-0.0010384207125753164,
-0.12354627996683121,
0.04976995289325714,
-0.05230013653635979,
0.1398981362581253,
-0.05648891255259514,
0.09903870522975922,
-0.1313413679599762,
-0.07929785549640656,
0.026302481070160866,
0.1342857927083969,
-0.28568777441978455,
0.2076827585697174,
0.0003784189757425338,
-0.06815044581890106,
-0.10676170885562897,
-0.009770759381353855,
-0.00992414727807045,
0.06715008616447449,
0.14201991260051727,
-0.020261453464627266,
-0.06644631177186966,
-0.03054914064705372,
-0.035832732915878296,
0.029216520488262177,
0.10430718213319778,
-0.11564747989177704,
-0.003940532449632883,
-0.054077792912721634,
0.009117668494582176,
-0.002007695147767663,
-0.02052541822195053,
0.02024446614086628,
-0.20117917656898499,
0.10096002370119095,
0.018883395940065384,
0.0794067531824112,
0.039795540273189545,
-0.008691570721566677,
-0.14851754903793335,
0.191484272480011,
-0.10216841846704483,
-0.07825374603271484,
-0.11153554171323776,
-0.02341429516673088,
-0.03055044636130333,
-0.08415119349956512,
-0.04787517338991165,
-0.061034880578517914,
0.045848503708839417,
-0.08580923825502396,
-0.19426392018795013,
0.1416672170162201,
-0.10897083580493927,
-0.036677032709121704,
-0.06709298491477966,
0.22058290243148804,
-0.04692186415195465,
0.019504964351654053,
0.04200461134314537,
-0.021843716502189636,
-0.10222187638282776,
-0.09099125117063522,
0.03668582811951637,
-0.022455153986811638,
0.06404747068881989,
-0.03864425793290138,
-0.07449594140052795,
0.011489600874483585,
-0.08810146152973175,
-0.03870675712823868,
0.32416659593582153,
0.10912380367517471,
-0.05773016810417175,
0.17879235744476318,
0.06497807800769806,
-0.08745943009853363,
-0.257942795753479,
-0.11983251571655273,
-0.09694825112819672,
-0.05842367187142372,
-0.015522985719144344,
-0.20781105756759644,
0.05350235849618912,
0.035660210996866226,
-0.02366085723042488,
0.10129446536302567,
-0.3208862841129303,
-0.06838615983724594,
0.1120605394244194,
-0.04095805808901787,
0.462792307138443,
-0.15499167144298553,
-0.12400732189416885,
-0.06244893744587898,
-0.11408447474241257,
0.19281280040740967,
-0.015173417516052723,
0.0936613529920578,
0.004479188937693834,
0.1455763727426529,
0.04722744971513748,
0.006649802904576063,
0.10546676814556122,
-0.013571439310908318,
-0.054383911192417145,
-0.07953587919473648,
-0.12307494133710861,
-0.017057253047823906,
-0.0011354227317497134,
-0.06402701884508133,
-0.09574134647846222,
0.0009973619598895311,
-0.15668293833732605,
-0.040377963334321976,
-0.09264995157718658,
0.025155281648039818,
0.024325555190443993,
-0.051766522228717804,
0.012589060701429844,
-0.08193489909172058,
0.011150561273097992,
0.003664606949314475,
0.2604365348815918,
-0.1064150407910347,
0.23415061831474304,
0.02656470239162445,
0.12225531786680222,
-0.09654293954372406,
-0.06387371569871902,
-0.11940693110227585,
-0.047382887452840805,
0.08462925255298615,
-0.141569584608078,
0.05946176499128342,
0.1073966696858406,
-0.022225208580493927,
0.08109968900680542,
0.08976561576128006,
-0.005153774283826351,
0.0349012091755867,
0.10934462398290634,
-0.22722843289375305,
-0.061754416674375534,
-0.07127482444047928,
0.052535995841026306,
0.10476603358983994,
0.07875483483076096,
0.1844569891691208,
0.046017762273550034,
-0.06049343943595886,
0.024548694491386414,
0.011974174529314041,
-0.01459431555122137,
0.0483841598033905,
0.029660286381840706,
0.006683246698230505,
-0.1358560025691986,
0.05590024217963219,
0.02542257308959961,
-0.13697032630443573,
-0.00874112918972969,
0.153293639421463,
-0.0857769101858139,
-0.11506575345993042,
-0.02429141104221344,
0.13447798788547516,
-0.184596985578537,
0.0051256706938147545,
-0.0851592868566513,
-0.13233305513858795,
0.053693149238824844,
0.1391209363937378,
0.039257194846868515,
0.04566508159041405,
-0.045492853969335556,
-0.0181962288916111,
-0.005072917323559523,
-0.04363017901778221,
0.010048030875623226,
-0.0018928050994873047,
-0.070187047123909,
0.06783110648393631,
-0.009011556394398212,
0.13500073552131653,
-0.07312558591365814,
-0.06974007189273834,
-0.1680999994277954,
0.04644541069865227,
-0.07399226725101471,
-0.04186522215604782,
-0.07482082396745682,
-0.056720566004514694,
-0.017087170854210854,
-0.01553626824170351,
-0.028045058250427246,
-0.059247326105833054,
-0.11017576605081558,
0.04728822037577629,
-0.030694447457790375,
0.03856903687119484,
-0.06321539729833603,
0.012616250663995743,
0.062039170414209366,
-0.015358847565948963,
0.1074066162109375,
0.1081935316324234,
-0.08133231103420258,
0.09625187516212463,
-0.1762605905532837,
-0.07050389051437378,
0.10880580544471741,
0.018883924931287766,
0.046162113547325134,
0.09875522553920746,
0.0045609124936163425,
0.05105376988649368,
0.02629788964986801,
0.0419139489531517,
-0.0018075787229463458,
-0.12640580534934998,
0.08777038753032684,
0.00436761137098074,
-0.13569366931915283,
-0.05650797486305237,
-0.010171134024858475,
0.030381403863430023,
0.015257269144058228,
0.09884802252054214,
-0.07036726176738739,
0.12296242266893387,
-0.06682790815830231,
0.04977739602327347,
0.01869700662791729,
-0.1639510691165924,
-0.06344898045063019,
-0.07236345112323761,
0.0456651970744133,
0.014973219484090805,
0.16215866804122925,
-0.0045206486247479916,
0.044974930584430695,
0.027770057320594788,
0.09232581406831741,
0.013189778663218021,
-0.01552429050207138,
0.20017777383327484,
0.09071408212184906,
-0.03713056817650795,
-0.11287624388933182,
0.0977899432182312,
0.04504776746034622,
0.02565142884850502,
0.15858194231987,
0.05001664161682129,
0.03097686357796192,
0.06378943473100662,
0.004378981422632933,
0.023804133757948875,
-0.083034448325634,
-0.09933778643608093,
-0.016826527193188667,
0.021293899044394493,
0.0057694497518241405,
0.06494104117155075,
0.13979898393154144,
-0.008022678084671497,
0.014091171324253082,
-0.03663317859172821,
-0.01849249191582203,
-0.17629528045654297,
-0.18610110878944397,
-0.06783495843410492,
-0.12830722332000732,
-0.002990484004840255,
-0.09145475924015045,
0.05682706832885742,
0.02691599912941456,
0.05313609912991524,
-0.09180378168821335,
0.05450896918773651,
0.07437022030353546,
-0.1708812415599823,
0.049409594386816025,
-0.01191256195306778,
0.1005161926150322,
-0.0902952030301094,
0.012605261988937855,
-0.06949155777692795,
0.04862265661358833,
0.015647247433662415,
0.043580491095781326,
0.002730787266045809,
-0.0031160558573901653,
-0.16583579778671265,
-0.10076854377985,
-0.046446043998003006,
0.060436006635427475,
-0.008992696180939674,
0.16795912384986877,
-0.009514333680272102,
0.005286072846502066,
0.046815741807222366,
0.24226242303848267,
-0.05532388389110565,
-0.0019803913310170174,
-0.042917318642139435,
0.18271920084953308,
-0.025371616706252098,
0.09933151304721832,
-0.05240577831864357,
0.008286453783512115,
-0.05167416110634804,
0.3831975758075714,
0.278762549161911,
-0.1027526780962944,
0.011026903055608273,
-0.03334201127290726,
0.04905674606561661,
0.13519220054149628,
0.09633447229862213,
0.0516064316034317,
0.2572248578071594,
-0.06513991206884384,
-0.05586755648255348,
-0.00527684111148119,
0.03373415395617485,
-0.08575454354286194,
0.12174323201179504,
0.021206725388765335,
-0.04374081268906593,
-0.0012069694930687547,
0.13476043939590454,
-0.19854101538658142,
0.02760256640613079,
-0.10279709845781326,
-0.20490245521068573,
-0.06724314391613007,
-0.010509228333830833,
0.14361463487148285,
0.016032366082072258,
0.11765425652265549,
0.012340190820395947,
-0.10465054214000702,
0.02563752792775631,
0.047517355531454086,
-0.21395954489707947,
0.000511474150698632,
0.059539590030908585,
-0.05128778517246246,
0.007713132072240114,
-0.03171154111623764,
0.04003685340285301,
0.07500994950532913,
0.05157764256000519,
-0.018872756510972977,
0.03365769609808922,
0.019308898597955704,
-0.03174303472042084,
0.04497220367193222,
-0.039917830377817154,
0.012485153041779995,
-0.04381822049617767,
0.08443128317594528,
-0.19617265462875366,
0.035166434943675995,
0.052924204617738724,
-0.06152346357703209,
-0.016388695687055588,
0.05214067921042442,
-0.06675417721271515,
0.06353174895048141,
0.05668171867728233,
-0.009289020672440529,
-0.036249496042728424,
-0.03787888213992119,
-0.019810296595096588,
0.02244558557868004,
0.006365479901432991,
-0.12566713988780975,
-0.16022540628910065,
-0.1284390538930893,
0.05159524083137512,
0.01895393617451191,
-0.21973228454589844,
0.040707778185606,
-0.09971363097429276,
0.03658977150917053,
-0.13223294913768768,
0.04527859389781952,
0.06989004462957382,
0.01512517873197794,
-0.005392218474298716,
-0.04413820803165436,
0.04780951142311096,
0.08782719075679779,
-0.10140315443277359,
-0.03210532292723656
] |
null | null |
transformers
|
# Harry Potter DialoGPT Model
|
{"tags": ["conversational"]}
|
text-generation
|
cosmicray001/prod-harry
|
[
"transformers",
"pytorch",
"gpt2",
"text-generation",
"conversational",
"autotrain_compatible",
"endpoints_compatible",
"text-generation-inference",
"region:us"
] |
2022-03-02T23:29:05+00:00
|
[] |
[] |
TAGS
#transformers #pytorch #gpt2 #text-generation #conversational #autotrain_compatible #endpoints_compatible #text-generation-inference #region-us
|
# Harry Potter DialoGPT Model
|
[
"# Harry Potter DialoGPT Model"
] |
[
"TAGS\n#transformers #pytorch #gpt2 #text-generation #conversational #autotrain_compatible #endpoints_compatible #text-generation-inference #region-us \n",
"# Harry Potter DialoGPT Model"
] |
[
51,
8
] |
[
"passage: TAGS\n#transformers #pytorch #gpt2 #text-generation #conversational #autotrain_compatible #endpoints_compatible #text-generation-inference #region-us \n# Harry Potter DialoGPT Model"
] |
[
-0.0009023238671943545,
0.07815738022327423,
-0.006546166725456715,
0.07792752981185913,
0.10655936598777771,
0.048972971737384796,
0.17639793455600739,
0.12185695022344589,
0.016568755730986595,
-0.04774167761206627,
0.11647630482912064,
0.2130284160375595,
-0.002118367003276944,
0.024608047679066658,
-0.05022026598453522,
-0.3065771162509918,
0.0474756620824337,
0.014356585219502449,
-0.07174845039844513,
0.11724270135164261,
0.09064973145723343,
-0.046179238706827164,
0.08330509811639786,
-0.009135239757597446,
-0.13198648393154144,
-0.039482954889535904,
0.019292812794446945,
-0.11745545268058777,
0.1662212759256363,
0.05298272892832756,
0.02469746209681034,
-0.008447164669632912,
-0.06598151475191116,
-0.15036040544509888,
0.037190426141023636,
-0.027472136542201042,
-0.01080626156181097,
0.05462246760725975,
0.023526115342974663,
-0.07521048933267593,
0.170567125082016,
0.17678891122341156,
0.0833497866988182,
0.0349111407995224,
-0.14917024970054626,
-0.045548245310783386,
0.008950977586209774,
0.05421316996216774,
-0.017893504351377487,
0.09349167346954346,
-0.019903047010302544,
0.11801653355360031,
-0.04491448402404785,
0.09210366010665894,
0.15255063772201538,
-0.4016275703907013,
-0.027563704177737236,
0.08920855820178986,
0.05989706888794899,
0.12076901644468307,
-0.10560955852270126,
0.03972794860601425,
-0.0039703017100691795,
0.01236654631793499,
-0.014540530741214752,
-0.08304883539676666,
-0.07308239489793777,
0.032504837960004807,
-0.1272556483745575,
0.008525865152478218,
0.23756256699562073,
-0.10643257945775986,
0.037069112062454224,
-0.09791990369558334,
-0.07414398342370987,
0.048336777836084366,
-0.053761593997478485,
-0.081727035343647,
-0.054839808493852615,
0.06347949057817459,
0.004366500303149223,
-0.06301609426736832,
-0.08326146006584167,
-0.0006536149303428829,
-0.12781435251235962,
0.17595994472503662,
0.061243366450071335,
0.041611745953559875,
-0.21322020888328552,
0.08940251916646957,
0.04477722570300102,
-0.04711297154426575,
0.007116159424185753,
-0.11796226352453232,
0.04023287072777748,
0.005483259446918964,
-0.03256071358919144,
-0.021854614838957787,
0.0393419973552227,
0.13909944891929626,
-0.01777748204767704,
0.03252175822854042,
0.006831915583461523,
0.05811219662427902,
0.08162496984004974,
0.02222144603729248,
0.019291909411549568,
-0.0818009302020073,
0.019385190680623055,
-0.08128736168146133,
-0.0030400939285755157,
-0.048940129578113556,
-0.17071883380413055,
-0.07477642595767975,
0.052610911428928375,
0.020047198981046677,
0.03746970370411873,
0.08054786175489426,
-0.0017944995779544115,
-0.05560554191470146,
0.03284840285778046,
0.01671096310019493,
-0.020622212439775467,
-0.010361049324274063,
-0.02412462793290615,
0.19123271107673645,
0.019619356840848923,
0.014111656695604324,
-0.12379156798124313,
0.10023640841245651,
-0.08179095387458801,
0.0037731381598860025,
0.02743307314813137,
-0.04204464703798294,
-0.004716555587947369,
0.02917117439210415,
0.023101668804883957,
-0.1252521574497223,
-0.1099385917186737,
-0.0030569476075470448,
-0.012054097838699818,
-0.036421261727809906,
-0.10490952432155609,
-0.08483029156923294,
-0.012153145857155323,
0.0449371263384819,
-0.013397793285548687,
0.007936403155326843,
-0.05143149942159653,
0.0985720232129097,
-0.0514979362487793,
0.09873400628566742,
-0.08342572301626205,
0.06359215080738068,
-0.09124887734651566,
-0.061886150389909744,
-0.11452563107013702,
0.05216052383184433,
0.012905281968414783,
0.066250741481781,
0.016998225823044777,
-0.044836658984422684,
-0.014836243353784084,
0.05253177136182785,
-0.07656687498092651,
0.1940697431564331,
-0.041674621403217316,
-0.12459053844213486,
0.24146439135074615,
-0.09138800948858261,
-0.1802034229040146,
0.12973085045814514,
-0.022254703566432,
0.08523941785097122,
0.12802475690841675,
0.20380465686321259,
-0.00019822151807602495,
-0.01302915159612894,
0.07281201332807541,
0.07031642645597458,
-0.09803894907236099,
0.06239739805459976,
0.029653839766979218,
-0.008071083575487137,
-0.08906278014183044,
0.05762826278805733,
0.046033453196287155,
-0.010650773532688618,
-0.035073768347501755,
-0.001896020956337452,
-0.012895751744508743,
-0.022185025736689568,
0.14126582443714142,
-0.02006692811846733,
0.1300428807735443,
-0.06926563382148743,
-0.03515486419200897,
-0.009500149637460709,
0.03533667325973511,
-0.04091939330101013,
0.08151165395975113,
-0.0436173714697361,
0.10586477071046829,
0.09034156054258347,
0.053724925965070724,
-0.13120363652706146,
0.00466286763548851,
-0.015246815048158169,
0.17014820873737335,
0.08964069187641144,
0.05222717300057411,
0.06265474855899811,
-0.0020888058934360743,
-0.06708643585443497,
0.045407816767692566,
0.13778303563594818,
-0.037020038813352585,
-0.12218865007162094,
-0.1755627691745758,
0.051157694309949875,
-0.045444171875715256,
0.10855234414339066,
-0.10010123997926712,
0.022670533508062363,
-0.055906031280756,
0.07772238552570343,
-0.024998966604471207,
0.020512236282229424,
-0.0013405600329861045,
-0.021700702607631683,
-0.08356887847185135,
-0.002377772703766823,
0.08597290515899658,
-0.02048647589981556,
-0.06707409024238586,
0.16556480526924133,
-0.16400809586048126,
0.1631954461336136,
0.2116095870733261,
-0.28542569279670715,
-0.005696662236005068,
-0.15163889527320862,
-0.0208092350512743,
0.019645055755972862,
0.07834604382514954,
0.026225795969367027,
0.2044338881969452,
-0.012928472831845284,
0.16565458476543427,
-0.05699567869305611,
-0.07730039209127426,
-0.06881127506494522,
-0.048101142048835754,
0.013522743247449398,
0.09095205366611481,
0.04542696103453636,
-0.11962861567735672,
0.13119758665561676,
0.1054433062672615,
0.06484298408031464,
0.12711186707019806,
0.1030748188495636,
-0.008113685995340347,
0.07252490520477295,
-0.03624548763036728,
-0.03462279960513115,
-0.09254947304725647,
-0.30446043610572815,
-0.04840317741036415,
0.0939924493432045,
0.007963384501636028,
0.09285714477300644,
-0.0919896736741066,
-0.03311870992183685,
0.006042704917490482,
0.009473444893956184,
0.028337622061371803,
0.09653715789318085,
0.013490920886397362,
0.15320514142513275,
-0.008011690340936184,
-0.03430786728858948,
0.05891305208206177,
0.017982570454478264,
-0.09147711098194122,
0.17280617356300354,
-0.17050009965896606,
-0.27190929651260376,
-0.06990014761686325,
-0.21745692193508148,
-0.013139115646481514,
0.05258983001112938,
0.0786920040845871,
-0.11818131804466248,
-0.018352627754211426,
-0.006239492911845446,
0.05685517191886902,
-0.2425733357667923,
0.0004911290016025305,
-0.1354890614748001,
0.0501418262720108,
-0.1974833607673645,
-0.09718500077724457,
-0.02271542325615883,
-0.013450481928884983,
-0.0464281290769577,
0.13365240395069122,
-0.1448695808649063,
-0.011572926305234432,
0.2329535037279129,
0.032479673624038696,
0.027794739231467247,
-0.05020907148718834,
0.19788463413715363,
-0.0958966314792633,
-0.023973820731043816,
0.11024576425552368,
-0.05038975924253464,
0.04834126681089401,
0.06649978458881378,
-0.012981836684048176,
-0.08557141572237015,
0.023789849132299423,
-0.068336620926857,
-0.03150583803653717,
-0.27926525473594666,
-0.0930178239941597,
-0.09319330751895905,
0.11305391043424606,
0.04079577326774597,
0.06421639025211334,
0.16545771062374115,
0.05191578343510628,
-0.024325082078576088,
-0.03006586618721485,
0.11609793454408646,
0.12905290722846985,
0.2277202159166336,
-0.06067761778831482,
0.10221996158361435,
0.009445492178201675,
-0.08203992247581482,
0.06062209978699684,
0.056782789528369904,
0.06324724853038788,
0.02584579586982727,
0.03694582358002663,
-0.030939655378460884,
0.1121687963604927,
0.12571842968463898,
0.05258069559931755,
0.0481170229613781,
0.0002127334737451747,
-0.0561506561934948,
-0.008168719708919525,
-0.05726633965969086,
0.06774696707725525,
0.061340972781181335,
-0.12918008863925934,
-0.08061543852090836,
0.0011613310780376196,
0.06660808622837067,
-0.016230419278144836,
0.06823775917291641,
-0.13560809195041656,
-0.03582429885864258,
0.0790911465883255,
-0.07693151384592056,
-0.14156894385814667,
0.11972879618406296,
-0.026570770889520645,
-0.19904157519340515,
0.05265914276242256,
0.007704653777182102,
0.0908159390091896,
-0.06360849738121033,
0.05343840271234512,
-0.13023801147937775,
-0.12935101985931396,
-0.018437571823596954,
0.07945099472999573,
-0.3450873792171478,
0.13536721467971802,
-0.013286802917718887,
-0.02876877970993519,
-0.06474969536066055,
-0.02640824392437935,
0.013905409723520279,
0.12719078361988068,
0.08667250722646713,
0.0008821099763736129,
0.0991629809141159,
0.03823768347501755,
0.04188435152173042,
-0.002011700300499797,
0.10950417071580887,
0.0050011589191854,
0.004797275178134441,
-0.04982118681073189,
0.007274609990417957,
-0.05164213851094246,
-0.07472953200340271,
0.08393982797861099,
-0.20678792893886566,
0.09087453782558441,
-0.03378438204526901,
0.08427679538726807,
0.04304937273263931,
-0.018965769559144974,
-0.1001204177737236,
0.19745583832263947,
-0.012206900864839554,
-0.11405988782644272,
-0.07517550885677338,
-0.02810264565050602,
0.09103139489889145,
-0.013817726634442806,
0.012886416167020798,
-0.045470476150512695,
0.032183047384023666,
-0.1263762265443802,
-0.1597503274679184,
0.08734500408172607,
-0.04441224783658981,
-0.10894393920898438,
-0.025462759658694267,
0.20382575690746307,
-0.007266622502356768,
0.08242089301347733,
0.01605331338942051,
0.010653935372829437,
-0.18066231906414032,
-0.04018142446875572,
0.02645772136747837,
-0.0016437612939625978,
0.005979063920676708,
0.047698814421892166,
0.019091911613941193,
0.06207629665732384,
-0.1069745197892189,
-0.013920160941779613,
0.3158324360847473,
0.15978319942951202,
-0.00912671908736229,
0.14943915605545044,
0.1093616932630539,
-0.08669080585241318,
-0.17238758504390717,
-0.1171615794301033,
-0.1210922971367836,
-0.08425768464803696,
-0.10681738704442978,
-0.1525043100118637,
0.09535340964794159,
-0.03392014652490616,
0.03498011827468872,
0.14615866541862488,
-0.280263751745224,
-0.10949636250734329,
0.13820378482341766,
0.010744688101112843,
0.3510635495185852,
-0.12303631007671356,
-0.044944874942302704,
-0.06214528530836105,
-0.16933435201644897,
0.08021392673254013,
-0.031203703954815865,
0.11581093072891235,
-0.0744495838880539,
0.19395925104618073,
0.01719796098768711,
0.014287159778177738,
0.0916559100151062,
0.05038322135806084,
-0.05808406323194504,
-0.07368700206279755,
-0.10248131304979324,
0.010812131687998772,
0.03546109423041344,
0.010252019390463829,
-0.008802837692201138,
0.0211968794465065,
-0.11341743916273117,
-0.050869911909103394,
-0.06302189081907272,
0.0072614275850355625,
-0.01001308299601078,
-0.042155615985393524,
-0.05533592775464058,
-0.022557416930794716,
-0.020093943923711777,
0.02266426384449005,
0.14185629785060883,
-0.07527699321508408,
0.18586260080337524,
0.02357078716158867,
0.1586609035730362,
-0.11956068128347397,
-0.06724818795919418,
-0.029193658381700516,
-0.05280323326587677,
0.06468886137008667,
-0.08884575963020325,
-0.027708567678928375,
0.1332162618637085,
-0.01903904788196087,
0.04655366763472557,
0.12936700880527496,
0.02046884410083294,
0.015383756719529629,
0.034968774765729904,
-0.2578005790710449,
-0.07463036477565765,
-0.03505445644259453,
-0.012416874058544636,
0.05272092670202255,
0.05525677278637886,
0.19735674560070038,
-0.03551921248435974,
-0.08521962910890579,
0.020131373777985573,
0.02735883742570877,
-0.02776256389915943,
0.10749414563179016,
0.019579345360398293,
-0.004837906453758478,
-0.16151933372020721,
0.08257976174354553,
-0.005964108742773533,
-0.08297000825405121,
0.028665626421570778,
0.2024049311876297,
-0.12141239643096924,
-0.10309756547212601,
-0.06804922968149185,
0.07315051555633545,
-0.09220825880765915,
0.016043387353420258,
-0.005091092549264431,
-0.1521538347005844,
0.06916408240795135,
0.07598215341567993,
0.04075418785214424,
0.06513199955224991,
-0.11743064224720001,
-0.015730571001768112,
-0.04170290008187294,
-0.002195435343310237,
0.03521120920777321,
0.01863143965601921,
-0.057492829859256744,
0.15846455097198486,
-0.0676199421286583,
0.08538917452096939,
-0.0744810476899147,
-0.1058846190571785,
-0.1395980566740036,
0.04660497233271599,
-0.08038312196731567,
-0.07247276604175568,
-0.12832807004451752,
-0.052204377949237823,
-0.0067099276930093765,
-0.03388519585132599,
0.006552806124091148,
-0.06627799570560455,
-0.10922821611166,
0.01822470687329769,
-0.00743203004822135,
-0.009385870769619942,
-0.06096754968166351,
0.026706209406256676,
0.06246216222643852,
-0.039788868278265,
0.15730851888656616,
0.22509248554706573,
-0.13591648638248444,
0.11564400047063828,
-0.09797432273626328,
-0.105463907122612,
0.046008042991161346,
0.009427277371287346,
0.03594303876161575,
0.0503489226102829,
-0.03594081476330757,
0.0044484552927315235,
0.03905477747321129,
0.08074651658535004,
0.08456914126873016,
-0.06776505708694458,
0.020801106467843056,
-0.05122765153646469,
-0.14904099702835083,
-0.016655439510941505,
-0.0464773029088974,
0.06876829266548157,
-0.006725262850522995,
0.11020535975694656,
-0.0515950471162796,
0.07739507406949997,
-0.07558431476354599,
0.050614211708307266,
0.021146971732378006,
-0.14688286185264587,
-0.006612539757043123,
-0.07093682140111923,
0.042144812643527985,
-0.008834975771605968,
0.20241086184978485,
-0.03228091076016426,
0.010342049412429333,
0.033811055123806,
0.06203942745923996,
-0.01957780309021473,
0.009357001632452011,
0.2014283686876297,
0.12640917301177979,
-0.08496357500553131,
-0.02679651789367199,
0.06793134659528732,
0.07248228788375854,
0.07093550264835358,
0.10807815194129944,
-0.015352966263890266,
0.028434239327907562,
0.07829629629850388,
-0.060215238481760025,
0.07576877623796463,
-0.08603982627391815,
-0.11668483167886734,
0.05793621391057968,
0.012955795042216778,
-0.055695828050374985,
0.20305177569389343,
0.19142870604991913,
-0.026278704404830933,
0.018410727381706238,
-0.0029499190859496593,
-0.10117456316947937,
-0.15619947016239166,
-0.05423750728368759,
-0.07170962542295456,
-0.1319410353899002,
-0.004549739416688681,
-0.16646917164325714,
0.022016216069459915,
-0.01132756657898426,
0.09506805986166,
-0.06855440139770508,
-0.01345991250127554,
0.1364889293909073,
-0.1055467277765274,
0.0847758799791336,
-0.024517204612493515,
0.07877567410469055,
-0.03746940940618515,
-0.018209461122751236,
-0.10342709720134735,
0.007514837197959423,
0.01131442841142416,
0.06840907037258148,
-0.10897937417030334,
0.02432350255548954,
-0.12208317965269089,
-0.08617185056209564,
-0.026142612099647522,
0.09279687702655792,
-0.0403008833527565,
0.15116846561431885,
0.02645145356655121,
-0.06710928678512573,
-0.004313822835683823,
0.2646709978580475,
-0.08046227693557739,
-0.08319197595119476,
-0.030799202620983124,
0.2152107208967209,
0.04053696244955063,
0.06396269053220749,
0.019140036776661873,
0.038027774542570114,
-0.07184682041406631,
0.2957373559474945,
0.34401440620422363,
-0.1318037211894989,
-0.007773484103381634,
0.04225075617432594,
0.04406323283910751,
0.14687567949295044,
0.07998795062303543,
0.11360671371221542,
0.2849363386631012,
-0.09197647124528885,
0.016657205298542976,
-0.04230864346027374,
-0.01424806285649538,
-0.06908884644508362,
0.045314885675907135,
0.08216670155525208,
-0.09241747111082077,
-0.022950593382120132,
0.08125471323728561,
-0.29741767048835754,
0.10791494697332382,
-0.15600289404392242,
-0.14948409795761108,
-0.05027429759502411,
-0.008771711029112339,
0.014683255925774574,
0.019041186198592186,
0.09663030505180359,
0.025651484727859497,
-0.07275258749723434,
0.07816889137029648,
0.024486342445015907,
-0.23020237684249878,
-0.01345184724777937,
0.1456068754196167,
-0.06789913028478622,
-0.025938833132386208,
-0.021313713863492012,
0.051610056310892105,
0.05763651058077812,
0.09027529507875443,
-0.03809558227658272,
-0.0746568813920021,
-0.007141788024455309,
-0.022818787023425102,
0.01914946548640728,
0.0597183033823967,
0.06841408461332321,
-0.0920223817229271,
0.1167774423956871,
-0.07350476831197739,
0.0650370642542839,
0.037623800337314606,
-0.022277191281318665,
0.0018526542698964477,
0.013183658011257648,
-0.06512464582920074,
0.05533479526638985,
0.1295643299818039,
-0.025459708645939827,
-0.002524374984204769,
-0.028180841356515884,
-0.0767761766910553,
-0.024015206843614578,
-0.04643676429986954,
-0.09101243317127228,
-0.18130090832710266,
-0.12738600373268127,
0.041754670441150665,
-0.03240608796477318,
-0.2046082615852356,
0.0060346988029778,
-0.1128578633069992,
0.03700976446270943,
-0.14154092967510223,
0.10004086047410965,
0.07216610759496689,
0.004716616589576006,
0.006774604320526123,
0.0675399899482727,
0.045677728950977325,
0.14796748757362366,
-0.16543124616146088,
-0.04919974133372307
] |
null | null |
transformers
|
# Harry Potter DialoGPT Model
|
{"tags": ["conversational"]}
|
text-generation
|
cosmicray001/small-harry
|
[
"transformers",
"pytorch",
"gpt2",
"text-generation",
"conversational",
"autotrain_compatible",
"endpoints_compatible",
"text-generation-inference",
"region:us"
] |
2022-03-02T23:29:05+00:00
|
[] |
[] |
TAGS
#transformers #pytorch #gpt2 #text-generation #conversational #autotrain_compatible #endpoints_compatible #text-generation-inference #region-us
|
# Harry Potter DialoGPT Model
|
[
"# Harry Potter DialoGPT Model"
] |
[
"TAGS\n#transformers #pytorch #gpt2 #text-generation #conversational #autotrain_compatible #endpoints_compatible #text-generation-inference #region-us \n",
"# Harry Potter DialoGPT Model"
] |
[
51,
8
] |
[
"passage: TAGS\n#transformers #pytorch #gpt2 #text-generation #conversational #autotrain_compatible #endpoints_compatible #text-generation-inference #region-us \n# Harry Potter DialoGPT Model"
] |
[
-0.0009023238671943545,
0.07815738022327423,
-0.006546166725456715,
0.07792752981185913,
0.10655936598777771,
0.048972971737384796,
0.17639793455600739,
0.12185695022344589,
0.016568755730986595,
-0.04774167761206627,
0.11647630482912064,
0.2130284160375595,
-0.002118367003276944,
0.024608047679066658,
-0.05022026598453522,
-0.3065771162509918,
0.0474756620824337,
0.014356585219502449,
-0.07174845039844513,
0.11724270135164261,
0.09064973145723343,
-0.046179238706827164,
0.08330509811639786,
-0.009135239757597446,
-0.13198648393154144,
-0.039482954889535904,
0.019292812794446945,
-0.11745545268058777,
0.1662212759256363,
0.05298272892832756,
0.02469746209681034,
-0.008447164669632912,
-0.06598151475191116,
-0.15036040544509888,
0.037190426141023636,
-0.027472136542201042,
-0.01080626156181097,
0.05462246760725975,
0.023526115342974663,
-0.07521048933267593,
0.170567125082016,
0.17678891122341156,
0.0833497866988182,
0.0349111407995224,
-0.14917024970054626,
-0.045548245310783386,
0.008950977586209774,
0.05421316996216774,
-0.017893504351377487,
0.09349167346954346,
-0.019903047010302544,
0.11801653355360031,
-0.04491448402404785,
0.09210366010665894,
0.15255063772201538,
-0.4016275703907013,
-0.027563704177737236,
0.08920855820178986,
0.05989706888794899,
0.12076901644468307,
-0.10560955852270126,
0.03972794860601425,
-0.0039703017100691795,
0.01236654631793499,
-0.014540530741214752,
-0.08304883539676666,
-0.07308239489793777,
0.032504837960004807,
-0.1272556483745575,
0.008525865152478218,
0.23756256699562073,
-0.10643257945775986,
0.037069112062454224,
-0.09791990369558334,
-0.07414398342370987,
0.048336777836084366,
-0.053761593997478485,
-0.081727035343647,
-0.054839808493852615,
0.06347949057817459,
0.004366500303149223,
-0.06301609426736832,
-0.08326146006584167,
-0.0006536149303428829,
-0.12781435251235962,
0.17595994472503662,
0.061243366450071335,
0.041611745953559875,
-0.21322020888328552,
0.08940251916646957,
0.04477722570300102,
-0.04711297154426575,
0.007116159424185753,
-0.11796226352453232,
0.04023287072777748,
0.005483259446918964,
-0.03256071358919144,
-0.021854614838957787,
0.0393419973552227,
0.13909944891929626,
-0.01777748204767704,
0.03252175822854042,
0.006831915583461523,
0.05811219662427902,
0.08162496984004974,
0.02222144603729248,
0.019291909411549568,
-0.0818009302020073,
0.019385190680623055,
-0.08128736168146133,
-0.0030400939285755157,
-0.048940129578113556,
-0.17071883380413055,
-0.07477642595767975,
0.052610911428928375,
0.020047198981046677,
0.03746970370411873,
0.08054786175489426,
-0.0017944995779544115,
-0.05560554191470146,
0.03284840285778046,
0.01671096310019493,
-0.020622212439775467,
-0.010361049324274063,
-0.02412462793290615,
0.19123271107673645,
0.019619356840848923,
0.014111656695604324,
-0.12379156798124313,
0.10023640841245651,
-0.08179095387458801,
0.0037731381598860025,
0.02743307314813137,
-0.04204464703798294,
-0.004716555587947369,
0.02917117439210415,
0.023101668804883957,
-0.1252521574497223,
-0.1099385917186737,
-0.0030569476075470448,
-0.012054097838699818,
-0.036421261727809906,
-0.10490952432155609,
-0.08483029156923294,
-0.012153145857155323,
0.0449371263384819,
-0.013397793285548687,
0.007936403155326843,
-0.05143149942159653,
0.0985720232129097,
-0.0514979362487793,
0.09873400628566742,
-0.08342572301626205,
0.06359215080738068,
-0.09124887734651566,
-0.061886150389909744,
-0.11452563107013702,
0.05216052383184433,
0.012905281968414783,
0.066250741481781,
0.016998225823044777,
-0.044836658984422684,
-0.014836243353784084,
0.05253177136182785,
-0.07656687498092651,
0.1940697431564331,
-0.041674621403217316,
-0.12459053844213486,
0.24146439135074615,
-0.09138800948858261,
-0.1802034229040146,
0.12973085045814514,
-0.022254703566432,
0.08523941785097122,
0.12802475690841675,
0.20380465686321259,
-0.00019822151807602495,
-0.01302915159612894,
0.07281201332807541,
0.07031642645597458,
-0.09803894907236099,
0.06239739805459976,
0.029653839766979218,
-0.008071083575487137,
-0.08906278014183044,
0.05762826278805733,
0.046033453196287155,
-0.010650773532688618,
-0.035073768347501755,
-0.001896020956337452,
-0.012895751744508743,
-0.022185025736689568,
0.14126582443714142,
-0.02006692811846733,
0.1300428807735443,
-0.06926563382148743,
-0.03515486419200897,
-0.009500149637460709,
0.03533667325973511,
-0.04091939330101013,
0.08151165395975113,
-0.0436173714697361,
0.10586477071046829,
0.09034156054258347,
0.053724925965070724,
-0.13120363652706146,
0.00466286763548851,
-0.015246815048158169,
0.17014820873737335,
0.08964069187641144,
0.05222717300057411,
0.06265474855899811,
-0.0020888058934360743,
-0.06708643585443497,
0.045407816767692566,
0.13778303563594818,
-0.037020038813352585,
-0.12218865007162094,
-0.1755627691745758,
0.051157694309949875,
-0.045444171875715256,
0.10855234414339066,
-0.10010123997926712,
0.022670533508062363,
-0.055906031280756,
0.07772238552570343,
-0.024998966604471207,
0.020512236282229424,
-0.0013405600329861045,
-0.021700702607631683,
-0.08356887847185135,
-0.002377772703766823,
0.08597290515899658,
-0.02048647589981556,
-0.06707409024238586,
0.16556480526924133,
-0.16400809586048126,
0.1631954461336136,
0.2116095870733261,
-0.28542569279670715,
-0.005696662236005068,
-0.15163889527320862,
-0.0208092350512743,
0.019645055755972862,
0.07834604382514954,
0.026225795969367027,
0.2044338881969452,
-0.012928472831845284,
0.16565458476543427,
-0.05699567869305611,
-0.07730039209127426,
-0.06881127506494522,
-0.048101142048835754,
0.013522743247449398,
0.09095205366611481,
0.04542696103453636,
-0.11962861567735672,
0.13119758665561676,
0.1054433062672615,
0.06484298408031464,
0.12711186707019806,
0.1030748188495636,
-0.008113685995340347,
0.07252490520477295,
-0.03624548763036728,
-0.03462279960513115,
-0.09254947304725647,
-0.30446043610572815,
-0.04840317741036415,
0.0939924493432045,
0.007963384501636028,
0.09285714477300644,
-0.0919896736741066,
-0.03311870992183685,
0.006042704917490482,
0.009473444893956184,
0.028337622061371803,
0.09653715789318085,
0.013490920886397362,
0.15320514142513275,
-0.008011690340936184,
-0.03430786728858948,
0.05891305208206177,
0.017982570454478264,
-0.09147711098194122,
0.17280617356300354,
-0.17050009965896606,
-0.27190929651260376,
-0.06990014761686325,
-0.21745692193508148,
-0.013139115646481514,
0.05258983001112938,
0.0786920040845871,
-0.11818131804466248,
-0.018352627754211426,
-0.006239492911845446,
0.05685517191886902,
-0.2425733357667923,
0.0004911290016025305,
-0.1354890614748001,
0.0501418262720108,
-0.1974833607673645,
-0.09718500077724457,
-0.02271542325615883,
-0.013450481928884983,
-0.0464281290769577,
0.13365240395069122,
-0.1448695808649063,
-0.011572926305234432,
0.2329535037279129,
0.032479673624038696,
0.027794739231467247,
-0.05020907148718834,
0.19788463413715363,
-0.0958966314792633,
-0.023973820731043816,
0.11024576425552368,
-0.05038975924253464,
0.04834126681089401,
0.06649978458881378,
-0.012981836684048176,
-0.08557141572237015,
0.023789849132299423,
-0.068336620926857,
-0.03150583803653717,
-0.27926525473594666,
-0.0930178239941597,
-0.09319330751895905,
0.11305391043424606,
0.04079577326774597,
0.06421639025211334,
0.16545771062374115,
0.05191578343510628,
-0.024325082078576088,
-0.03006586618721485,
0.11609793454408646,
0.12905290722846985,
0.2277202159166336,
-0.06067761778831482,
0.10221996158361435,
0.009445492178201675,
-0.08203992247581482,
0.06062209978699684,
0.056782789528369904,
0.06324724853038788,
0.02584579586982727,
0.03694582358002663,
-0.030939655378460884,
0.1121687963604927,
0.12571842968463898,
0.05258069559931755,
0.0481170229613781,
0.0002127334737451747,
-0.0561506561934948,
-0.008168719708919525,
-0.05726633965969086,
0.06774696707725525,
0.061340972781181335,
-0.12918008863925934,
-0.08061543852090836,
0.0011613310780376196,
0.06660808622837067,
-0.016230419278144836,
0.06823775917291641,
-0.13560809195041656,
-0.03582429885864258,
0.0790911465883255,
-0.07693151384592056,
-0.14156894385814667,
0.11972879618406296,
-0.026570770889520645,
-0.19904157519340515,
0.05265914276242256,
0.007704653777182102,
0.0908159390091896,
-0.06360849738121033,
0.05343840271234512,
-0.13023801147937775,
-0.12935101985931396,
-0.018437571823596954,
0.07945099472999573,
-0.3450873792171478,
0.13536721467971802,
-0.013286802917718887,
-0.02876877970993519,
-0.06474969536066055,
-0.02640824392437935,
0.013905409723520279,
0.12719078361988068,
0.08667250722646713,
0.0008821099763736129,
0.0991629809141159,
0.03823768347501755,
0.04188435152173042,
-0.002011700300499797,
0.10950417071580887,
0.0050011589191854,
0.004797275178134441,
-0.04982118681073189,
0.007274609990417957,
-0.05164213851094246,
-0.07472953200340271,
0.08393982797861099,
-0.20678792893886566,
0.09087453782558441,
-0.03378438204526901,
0.08427679538726807,
0.04304937273263931,
-0.018965769559144974,
-0.1001204177737236,
0.19745583832263947,
-0.012206900864839554,
-0.11405988782644272,
-0.07517550885677338,
-0.02810264565050602,
0.09103139489889145,
-0.013817726634442806,
0.012886416167020798,
-0.045470476150512695,
0.032183047384023666,
-0.1263762265443802,
-0.1597503274679184,
0.08734500408172607,
-0.04441224783658981,
-0.10894393920898438,
-0.025462759658694267,
0.20382575690746307,
-0.007266622502356768,
0.08242089301347733,
0.01605331338942051,
0.010653935372829437,
-0.18066231906414032,
-0.04018142446875572,
0.02645772136747837,
-0.0016437612939625978,
0.005979063920676708,
0.047698814421892166,
0.019091911613941193,
0.06207629665732384,
-0.1069745197892189,
-0.013920160941779613,
0.3158324360847473,
0.15978319942951202,
-0.00912671908736229,
0.14943915605545044,
0.1093616932630539,
-0.08669080585241318,
-0.17238758504390717,
-0.1171615794301033,
-0.1210922971367836,
-0.08425768464803696,
-0.10681738704442978,
-0.1525043100118637,
0.09535340964794159,
-0.03392014652490616,
0.03498011827468872,
0.14615866541862488,
-0.280263751745224,
-0.10949636250734329,
0.13820378482341766,
0.010744688101112843,
0.3510635495185852,
-0.12303631007671356,
-0.044944874942302704,
-0.06214528530836105,
-0.16933435201644897,
0.08021392673254013,
-0.031203703954815865,
0.11581093072891235,
-0.0744495838880539,
0.19395925104618073,
0.01719796098768711,
0.014287159778177738,
0.0916559100151062,
0.05038322135806084,
-0.05808406323194504,
-0.07368700206279755,
-0.10248131304979324,
0.010812131687998772,
0.03546109423041344,
0.010252019390463829,
-0.008802837692201138,
0.0211968794465065,
-0.11341743916273117,
-0.050869911909103394,
-0.06302189081907272,
0.0072614275850355625,
-0.01001308299601078,
-0.042155615985393524,
-0.05533592775464058,
-0.022557416930794716,
-0.020093943923711777,
0.02266426384449005,
0.14185629785060883,
-0.07527699321508408,
0.18586260080337524,
0.02357078716158867,
0.1586609035730362,
-0.11956068128347397,
-0.06724818795919418,
-0.029193658381700516,
-0.05280323326587677,
0.06468886137008667,
-0.08884575963020325,
-0.027708567678928375,
0.1332162618637085,
-0.01903904788196087,
0.04655366763472557,
0.12936700880527496,
0.02046884410083294,
0.015383756719529629,
0.034968774765729904,
-0.2578005790710449,
-0.07463036477565765,
-0.03505445644259453,
-0.012416874058544636,
0.05272092670202255,
0.05525677278637886,
0.19735674560070038,
-0.03551921248435974,
-0.08521962910890579,
0.020131373777985573,
0.02735883742570877,
-0.02776256389915943,
0.10749414563179016,
0.019579345360398293,
-0.004837906453758478,
-0.16151933372020721,
0.08257976174354553,
-0.005964108742773533,
-0.08297000825405121,
0.028665626421570778,
0.2024049311876297,
-0.12141239643096924,
-0.10309756547212601,
-0.06804922968149185,
0.07315051555633545,
-0.09220825880765915,
0.016043387353420258,
-0.005091092549264431,
-0.1521538347005844,
0.06916408240795135,
0.07598215341567993,
0.04075418785214424,
0.06513199955224991,
-0.11743064224720001,
-0.015730571001768112,
-0.04170290008187294,
-0.002195435343310237,
0.03521120920777321,
0.01863143965601921,
-0.057492829859256744,
0.15846455097198486,
-0.0676199421286583,
0.08538917452096939,
-0.0744810476899147,
-0.1058846190571785,
-0.1395980566740036,
0.04660497233271599,
-0.08038312196731567,
-0.07247276604175568,
-0.12832807004451752,
-0.052204377949237823,
-0.0067099276930093765,
-0.03388519585132599,
0.006552806124091148,
-0.06627799570560455,
-0.10922821611166,
0.01822470687329769,
-0.00743203004822135,
-0.009385870769619942,
-0.06096754968166351,
0.026706209406256676,
0.06246216222643852,
-0.039788868278265,
0.15730851888656616,
0.22509248554706573,
-0.13591648638248444,
0.11564400047063828,
-0.09797432273626328,
-0.105463907122612,
0.046008042991161346,
0.009427277371287346,
0.03594303876161575,
0.0503489226102829,
-0.03594081476330757,
0.0044484552927315235,
0.03905477747321129,
0.08074651658535004,
0.08456914126873016,
-0.06776505708694458,
0.020801106467843056,
-0.05122765153646469,
-0.14904099702835083,
-0.016655439510941505,
-0.0464773029088974,
0.06876829266548157,
-0.006725262850522995,
0.11020535975694656,
-0.0515950471162796,
0.07739507406949997,
-0.07558431476354599,
0.050614211708307266,
0.021146971732378006,
-0.14688286185264587,
-0.006612539757043123,
-0.07093682140111923,
0.042144812643527985,
-0.008834975771605968,
0.20241086184978485,
-0.03228091076016426,
0.010342049412429333,
0.033811055123806,
0.06203942745923996,
-0.01957780309021473,
0.009357001632452011,
0.2014283686876297,
0.12640917301177979,
-0.08496357500553131,
-0.02679651789367199,
0.06793134659528732,
0.07248228788375854,
0.07093550264835358,
0.10807815194129944,
-0.015352966263890266,
0.028434239327907562,
0.07829629629850388,
-0.060215238481760025,
0.07576877623796463,
-0.08603982627391815,
-0.11668483167886734,
0.05793621391057968,
0.012955795042216778,
-0.055695828050374985,
0.20305177569389343,
0.19142870604991913,
-0.026278704404830933,
0.018410727381706238,
-0.0029499190859496593,
-0.10117456316947937,
-0.15619947016239166,
-0.05423750728368759,
-0.07170962542295456,
-0.1319410353899002,
-0.004549739416688681,
-0.16646917164325714,
0.022016216069459915,
-0.01132756657898426,
0.09506805986166,
-0.06855440139770508,
-0.01345991250127554,
0.1364889293909073,
-0.1055467277765274,
0.0847758799791336,
-0.024517204612493515,
0.07877567410469055,
-0.03746940940618515,
-0.018209461122751236,
-0.10342709720134735,
0.007514837197959423,
0.01131442841142416,
0.06840907037258148,
-0.10897937417030334,
0.02432350255548954,
-0.12208317965269089,
-0.08617185056209564,
-0.026142612099647522,
0.09279687702655792,
-0.0403008833527565,
0.15116846561431885,
0.02645145356655121,
-0.06710928678512573,
-0.004313822835683823,
0.2646709978580475,
-0.08046227693557739,
-0.08319197595119476,
-0.030799202620983124,
0.2152107208967209,
0.04053696244955063,
0.06396269053220749,
0.019140036776661873,
0.038027774542570114,
-0.07184682041406631,
0.2957373559474945,
0.34401440620422363,
-0.1318037211894989,
-0.007773484103381634,
0.04225075617432594,
0.04406323283910751,
0.14687567949295044,
0.07998795062303543,
0.11360671371221542,
0.2849363386631012,
-0.09197647124528885,
0.016657205298542976,
-0.04230864346027374,
-0.01424806285649538,
-0.06908884644508362,
0.045314885675907135,
0.08216670155525208,
-0.09241747111082077,
-0.022950593382120132,
0.08125471323728561,
-0.29741767048835754,
0.10791494697332382,
-0.15600289404392242,
-0.14948409795761108,
-0.05027429759502411,
-0.008771711029112339,
0.014683255925774574,
0.019041186198592186,
0.09663030505180359,
0.025651484727859497,
-0.07275258749723434,
0.07816889137029648,
0.024486342445015907,
-0.23020237684249878,
-0.01345184724777937,
0.1456068754196167,
-0.06789913028478622,
-0.025938833132386208,
-0.021313713863492012,
0.051610056310892105,
0.05763651058077812,
0.09027529507875443,
-0.03809558227658272,
-0.0746568813920021,
-0.007141788024455309,
-0.022818787023425102,
0.01914946548640728,
0.0597183033823967,
0.06841408461332321,
-0.0920223817229271,
0.1167774423956871,
-0.07350476831197739,
0.0650370642542839,
0.037623800337314606,
-0.022277191281318665,
0.0018526542698964477,
0.013183658011257648,
-0.06512464582920074,
0.05533479526638985,
0.1295643299818039,
-0.025459708645939827,
-0.002524374984204769,
-0.028180841356515884,
-0.0767761766910553,
-0.024015206843614578,
-0.04643676429986954,
-0.09101243317127228,
-0.18130090832710266,
-0.12738600373268127,
0.041754670441150665,
-0.03240608796477318,
-0.2046082615852356,
0.0060346988029778,
-0.1128578633069992,
0.03700976446270943,
-0.14154092967510223,
0.10004086047410965,
0.07216610759496689,
0.004716616589576006,
0.006774604320526123,
0.0675399899482727,
0.045677728950977325,
0.14796748757362366,
-0.16543124616146088,
-0.04919974133372307
] |
null | null |
transformers
|
# Pretrained BART in Korean
This is pretrained BART model with multiple Korean Datasets.
I used multiple datasets for generalizing the model for both colloquial and written texts.
The training is supported by [TPU Research Cloud](https://sites.research.google/trc/) program.
The script which is used to pre-train model is [here](https://github.com/cosmoquester/transformers-bart-pretrain).
When you use the reference API, you must wrap the sentence with `[BOS]` and `[EOS]` like below example.
```
[BOS] 안녕하세요? 반가워요~~ [EOS]
```
You can also test mask filling performance using `[MASK]` token like this.
```
[BOS] [MASK] 먹었어? [EOS]
```
## Benchmark
<style>
table {
border-collapse: collapse;
border-style: hidden;
width: 100%;
}
td, th {
border: 1px solid #4d5562;
padding: 8px;
}
</style>
<table>
<tr>
<th>Dataset</th>
<td>KLUE NLI dev</th>
<td>NSMC test</td>
<td>QuestionPair test</td>
<td colspan="2">KLUE TC dev</td>
<td colspan="3">KLUE STS dev</td>
<td colspan="3">KorSTS dev</td>
<td colspan="2">HateSpeech dev</td>
</tr>
<tr>
<th>Metric</th>
<!-- KLUE NLI -->
<td>Acc</th>
<!-- NSMC -->
<td>Acc</td>
<!-- QuestionPair -->
<td>Acc</td>
<!-- KLUE TC -->
<td>Acc</td>
<td>F1</td>
<!-- KLUE STS -->
<td>F1</td>
<td>Pearson</td>
<td>Spearman</td>
<!-- KorSTS -->
<td>F1</td>
<td>Pearson</td>
<td>Spearman</td>
<!-- HateSpeech -->
<td>Bias Acc</td>
<td>Hate Acc</td>
</tr>
<tr>
<th>Score</th>
<!-- KLUE NLI -->
<td>0.7390</th>
<!-- NSMC -->
<td>0.8877</td>
<!-- QuestionPair -->
<td>0.9208</td>
<!-- KLUE TC -->
<td>0.8667</td>
<td>0.8637</td>
<!-- KLUE STS -->
<td>0.7654</td>
<td>0.8090</td>
<td>0.8040</td>
<!-- KorSTS -->
<td>0.8067</td>
<td>0.7909</td>
<td>0.7784</td>
<!-- HateSpeech -->
<td>0.8280</td>
<td>0.5669</td>
</tr>
</table>
- The performance was measured using [the notebooks here](https://github.com/cosmoquester/transformers-bart-finetune) with colab.
## Used Datasets
### [모두의 말뭉치](https://corpus.korean.go.kr/)
- 일상 대화 말뭉치 2020
- 구어 말뭉치
- 문어 말뭉치
- 신문 말뭉치
### AIhub
- [개방데이터 전문분야말뭉치](https://aihub.or.kr/aidata/30717)
- [개방데이터 한국어대화요약](https://aihub.or.kr/aidata/30714)
- [개방데이터 감성 대화 말뭉치](https://aihub.or.kr/aidata/7978)
- [개방데이터 한국어 음성](https://aihub.or.kr/aidata/105)
- [개방데이터 한국어 SNS](https://aihub.or.kr/aidata/30718)
### [세종 말뭉치](https://ithub.korean.go.kr/)
|
{"language": "ko"}
|
text2text-generation
|
cosmoquester/bart-ko-base
|
[
"transformers",
"pytorch",
"tf",
"bart",
"text2text-generation",
"ko",
"autotrain_compatible",
"endpoints_compatible",
"region:us"
] |
2022-03-02T23:29:05+00:00
|
[] |
[
"ko"
] |
TAGS
#transformers #pytorch #tf #bart #text2text-generation #ko #autotrain_compatible #endpoints_compatible #region-us
|
Pretrained BART in Korean
=========================
This is pretrained BART model with multiple Korean Datasets.
I used multiple datasets for generalizing the model for both colloquial and written texts.
The training is supported by TPU Research Cloud program.
The script which is used to pre-train model is here.
When you use the reference API, you must wrap the sentence with '[BOS]' and '[EOS]' like below example.
You can also test mask filling performance using '[MASK]' token like this.
Benchmark
---------
table {
border-collapse: collapse;
border-style: hidden;
width: 100%;
}
td, th {
border: 1px solid #4d5562;
padding: 8px;
}
* The performance was measured using the notebooks here with colab.
Used Datasets
-------------
### 모두의 말뭉치
* 일상 대화 말뭉치 2020
* 구어 말뭉치
* 문어 말뭉치
* 신문 말뭉치
### AIhub
* 개방데이터 전문분야말뭉치
* 개방데이터 한국어대화요약
* 개방데이터 감성 대화 말뭉치
* 개방데이터 한국어 음성
* 개방데이터 한국어 SNS
### 세종 말뭉치
|
[
"### 모두의 말뭉치\n\n\n* 일상 대화 말뭉치 2020\n* 구어 말뭉치\n* 문어 말뭉치\n* 신문 말뭉치",
"### AIhub\n\n\n* 개방데이터 전문분야말뭉치\n* 개방데이터 한국어대화요약\n* 개방데이터 감성 대화 말뭉치\n* 개방데이터 한국어 음성\n* 개방데이터 한국어 SNS",
"### 세종 말뭉치"
] |
[
"TAGS\n#transformers #pytorch #tf #bart #text2text-generation #ko #autotrain_compatible #endpoints_compatible #region-us \n",
"### 모두의 말뭉치\n\n\n* 일상 대화 말뭉치 2020\n* 구어 말뭉치\n* 문어 말뭉치\n* 신문 말뭉치",
"### AIhub\n\n\n* 개방데이터 전문분야말뭉치\n* 개방데이터 한국어대화요약\n* 개방데이터 감성 대화 말뭉치\n* 개방데이터 한국어 음성\n* 개방데이터 한국어 SNS",
"### 세종 말뭉치"
] |
[
43,
32,
49,
6
] |
[
"passage: TAGS\n#transformers #pytorch #tf #bart #text2text-generation #ko #autotrain_compatible #endpoints_compatible #region-us \n### 모두의 말뭉치\n\n\n* 일상 대화 말뭉치 2020\n* 구어 말뭉치\n* 문어 말뭉치\n* 신문 말뭉치### AIhub\n\n\n* 개방데이터 전문분야말뭉치\n* 개방데이터 한국어대화요약\n* 개방데이터 감성 대화 말뭉치\n* 개방데이터 한국어 음성\n* 개방데이터 한국어 SNS### 세종 말뭉치"
] |
[
0.00722058629617095,
-0.001254827482625842,
-0.008510214276611805,
-0.0010907857213169336,
0.11697158217430115,
-0.0051061674021184444,
0.10110268741846085,
0.09009839594364166,
0.04375792294740677,
-0.025579269975423813,
0.11776313930749893,
0.186994731426239,
0.030944567173719406,
0.13421067595481873,
-0.04972754791378975,
-0.3011391758918762,
0.03733888640999794,
0.06297292560338974,
0.050072185695171356,
0.1322658658027649,
0.10580512136220932,
-0.0508919358253479,
0.1036534532904625,
-0.007534457370638847,
-0.08407194167375565,
0.017493393272161484,
0.023366140201687813,
-0.10370234400033951,
0.10713430494070053,
0.030409790575504303,
0.053483717143535614,
0.07496431469917297,
-0.056899867951869965,
-0.07949717342853546,
0.04377928748726845,
-0.03161245211958885,
-0.06915891170501709,
0.0236267801374197,
0.004653028678148985,
-0.09060561656951904,
0.20800673961639404,
0.0349828265607357,
-0.016998374834656715,
0.06393101066350937,
-0.13071884214878082,
-0.09281522035598755,
-0.047990329563617706,
0.07260633260011673,
0.09542502462863922,
0.0464799664914608,
-0.017543181777000427,
0.14902016520500183,
-0.09439186006784439,
0.1219521313905716,
0.1091277152299881,
-0.2988019585609436,
-0.044770341366529465,
0.023592565208673477,
0.050827011466026306,
0.044477429240942,
-0.044547371566295624,
0.043610330671072006,
0.05674757435917854,
0.029808932915329933,
0.00032646721228957176,
-0.09089580923318863,
-0.087791308760643,
-0.015566300600767136,
-0.07273948192596436,
0.012963708490133286,
0.2335260659456253,
-0.021659525111317635,
0.0018461683066561818,
-0.02284504845738411,
-0.03339356929063797,
-0.08033913373947144,
-0.04620051011443138,
-0.05500594154000282,
-0.05234914273023605,
0.0028309710323810577,
-0.041887883096933365,
-0.058152154088020325,
-0.09125722199678421,
0.006982083898037672,
-0.18643063306808472,
0.24169909954071045,
0.022921236231923103,
-0.004624856635928154,
-0.1143282800912857,
0.05765601620078087,
0.06222061067819595,
-0.1222824901342392,
0.01590915396809578,
-0.07056394219398499,
0.044576678425073624,
0.012749021872878075,
-0.011236963793635368,
-0.05922146886587143,
0.04482525214552879,
0.16396836936473846,
0.03283818066120148,
0.04233388230204582,
-0.021482232958078384,
0.06583033502101898,
0.036242999136447906,
0.027658352628350258,
-0.012891811318695545,
-0.08141759783029556,
-0.0004777545982506126,
-0.10264456272125244,
0.02273421548306942,
-0.051925018429756165,
-0.10494762659072876,
-0.01138134952634573,
0.022997839376330376,
0.036192551255226135,
0.052194055169820786,
0.14598262310028076,
-0.02037164196372032,
-0.028194749727845192,
0.06365625560283661,
-0.01867477223277092,
-0.03021242655813694,
-0.0425073504447937,
-0.024210425093770027,
0.1252015084028244,
-0.01646456867456436,
0.05298353731632233,
-0.03121832013130188,
0.10075972229242325,
-0.039699867367744446,
-0.002502037910744548,
-0.014258971437811852,
-0.004540278110653162,
0.05496205762028694,
-0.08043008297681808,
0.045111142098903656,
-0.1874980926513672,
-0.1296684890985489,
-0.0028751411009579897,
-0.0068449839018285275,
-0.01418987289071083,
-0.06923253834247589,
-0.03801179304718971,
-0.024714067578315735,
0.03241853788495064,
-0.05983585864305496,
0.03005143441259861,
-0.04195226728916168,
0.08961641788482666,
-0.02807752601802349,
0.10998939722776413,
-0.09750990569591522,
0.052944596856832504,
-0.09391463547945023,
-0.0030314119067043066,
-0.10209288448095322,
0.006820650305598974,
-0.051800213754177094,
0.09891573339700699,
0.009993898682296276,
0.01446601189672947,
-0.10445286333560944,
0.04951571300625801,
-0.024375466629862785,
0.202469602227211,
-0.07499539107084274,
-0.10109414160251617,
0.19774937629699707,
-0.0725560188293457,
-0.16776810586452484,
0.12891444563865662,
0.043258290737867355,
0.07979649305343628,
0.10372111201286316,
0.1409372240304947,
0.03227933496236801,
-0.07345300167798996,
-0.029069365933537483,
0.07788696885108948,
-0.10437218099832535,
0.0063390121795237064,
0.05870363488793373,
0.032312504947185516,
-0.08764678984880447,
0.07087334245443344,
0.09526985138654709,
0.07573939859867096,
-0.09361792355775833,
-0.016703002154827118,
0.008507235907018185,
-0.030645763501524925,
0.13027383387088776,
0.03655606880784035,
0.09414941072463989,
-0.09075423330068588,
-0.02491200901567936,
-0.048903390765190125,
0.030874133110046387,
0.057784583419561386,
0.03230753913521767,
-0.10360255837440491,
0.06090031936764717,
0.07420065999031067,
0.035407911986112595,
-0.0924357995390892,
-0.025832513347268105,
-0.024891400709748268,
0.12668579816818237,
0.031010881066322327,
0.07403454929590225,
0.05951870605349541,
-0.04833417758345604,
-0.05983000248670578,
-0.013190656900405884,
0.13377498090267181,
0.013722047209739685,
-0.03434976190328598,
-0.1075260266661644,
0.08377602696418762,
-0.031219840049743652,
0.05769108235836029,
-0.025805672630667686,
0.019024893641471863,
0.07750765979290009,
0.17421355843544006,
0.0051370528526604176,
0.045365720987319946,
-0.01286324206739664,
0.0495365746319294,
-0.06359894573688507,
0.03226381540298462,
0.0567457340657711,
0.019237706437706947,
-0.10821662098169327,
0.2584822177886963,
-0.08462506532669067,
0.24963052570819855,
0.17386387288570404,
-0.20614828169345856,
-0.048739444464445114,
0.01544263493269682,
-0.032708048820495605,
-0.03167468309402466,
0.07323437184095383,
-0.014138382859528065,
0.07854413986206055,
-0.015193016268312931,
0.15102125704288483,
-0.028981123119592667,
-0.03350753337144852,
0.030213503167033195,
-0.0872134193778038,
-0.03569704666733742,
0.09452952444553375,
0.03396201878786087,
-0.15636086463928223,
0.19177761673927307,
0.15363264083862305,
0.04329318925738335,
0.25826284289360046,
0.026803117245435715,
0.010309343226253986,
-0.022176969796419144,
-0.023119673132896423,
-0.05087527632713318,
-0.004307251889258623,
-0.22429297864437103,
-0.031983211636543274,
0.044449545443058014,
-0.006369985640048981,
0.04198455065488815,
-0.06294340640306473,
-0.061615727841854095,
-0.016525980085134506,
0.018041161820292473,
0.058515097945928574,
0.14417871832847595,
-0.003765908069908619,
0.13049791753292084,
0.02142532356083393,
-0.030253039672970772,
0.05020388215780258,
0.027458151802420616,
-0.08376656472682953,
0.11230548471212387,
-0.09539085626602173,
-0.2838422656059265,
-0.035791005939245224,
-0.15712237358093262,
-0.019304784014821053,
-0.002319697290658951,
0.07911215722560883,
-0.0680195540189743,
-0.012091096490621567,
0.016311470419168472,
0.03587022051215172,
-0.03473494574427605,
0.026984168216586113,
-0.02304527536034584,
0.026487527415156364,
-0.053314223885536194,
-0.04173661395907402,
-0.0596969798207283,
-0.008315463550388813,
-0.07207431644201279,
0.1264612078666687,
-0.0980963259935379,
0.13208116590976715,
0.07734721899032593,
0.04718268662691116,
0.03952287882566452,
-0.04296256974339485,
0.12482886016368866,
-0.13229970633983612,
0.03964315727353096,
0.11773296445608139,
-0.04383677989244461,
0.05203826352953911,
0.12690146267414093,
0.012059335596859455,
-0.023430244997143745,
0.06353916227817535,
0.00533685740083456,
-0.07881911098957062,
-0.1813926100730896,
-0.08799649775028229,
-0.08489277213811874,
0.1577799767255783,
-0.036452993750572205,
0.04049890488386154,
0.20018447935581207,
0.0652206689119339,
-0.04042106866836548,
0.002648376626893878,
-0.03362112119793892,
0.06196212023496628,
0.1486785113811493,
-0.0473230741918087,
0.1076311320066452,
-0.06890564411878586,
-0.09319504350423813,
0.07856731116771698,
-0.02179865352809429,
0.006589213851839304,
0.07422181963920593,
-0.0015141115291044116,
0.05793347954750061,
0.12139901518821716,
0.10420774668455124,
0.012634623795747757,
0.011897803284227848,
-0.07556223124265671,
-0.00005137367406859994,
-0.019810281693935394,
-0.04168904200196266,
0.0396013967692852,
0.04629909247159958,
-0.0914047360420227,
-0.04242745786905289,
-0.0874577984213829,
0.082374207675457,
0.06780899316072464,
0.061453402042388916,
-0.104221411049366,
-0.0458533875644207,
0.017057189717888832,
-0.041519373655319214,
-0.05619801580905914,
0.05789807438850403,
0.011964886449277401,
-0.18116633594036102,
0.12614071369171143,
0.01724599301815033,
0.0756109356880188,
-0.0529816597700119,
0.06553293019533157,
-0.07382123172283173,
-0.10663246363401413,
-0.01578616350889206,
0.036546740680933,
-0.3281756639480591,
0.23136642575263977,
-0.007007644511759281,
-0.0433565117418766,
-0.08435788750648499,
-0.06026393547654152,
0.04378290846943855,
0.0887942686676979,
0.11720054596662521,
0.01960507407784462,
-0.03705175593495369,
-0.12161795049905777,
-0.032038867473602295,
0.019659405574202538,
0.11394743621349335,
-0.09018199890851974,
0.012777901254594326,
-0.0042094760574400425,
-0.022563928738236427,
-0.036781057715415955,
0.01283932477235794,
-0.06607818603515625,
-0.0655023455619812,
0.08769925683736801,
0.06834353506565094,
0.07282204180955887,
0.015788614749908447,
-0.07306429743766785,
-0.11130332946777344,
0.14520253241062164,
-0.08731409907341003,
-0.06522851437330246,
-0.1041770726442337,
-0.04310445114970207,
-0.005933379754424095,
-0.11181634664535522,
0.014820581302046776,
-0.061121679842472076,
-0.018294943496584892,
-0.017311619594693184,
-0.1252954751253128,
0.08103667944669724,
-0.06914156675338745,
-0.11287820339202881,
-0.028233662247657776,
0.13905435800552368,
-0.008766649290919304,
0.05964835360646248,
-0.0008732136921025813,
-0.0160911176353693,
-0.008007715456187725,
-0.08169157803058624,
0.0324784554541111,
-0.0533096008002758,
0.01951550878584385,
0.0010925825918093324,
-0.027026206254959106,
-0.05364498868584633,
-0.05788976699113846,
-0.07513272762298584,
0.17770595848560333,
0.264872670173645,
-0.031737688928842545,
0.1226063072681427,
0.12071467190980911,
0.012235641479492188,
-0.26849913597106934,
-0.13872122764587402,
-0.047676682472229004,
-0.011820060200989246,
-0.019839376211166382,
-0.15282967686653137,
0.0168027151376009,
0.005104138050228357,
-0.037604738026857376,
0.06311497837305069,
-0.1797841638326645,
-0.10787118226289749,
0.1396447718143463,
-0.040389470756053925,
0.3088575303554535,
-0.10867345333099365,
-0.08525542169809341,
-0.006964711006730795,
-0.1785494089126587,
0.11161645501852036,
-0.035513460636138916,
0.06330035626888275,
-0.024753959849476814,
0.07196208089590073,
0.025241995230317116,
0.005401457194238901,
0.07698767632246017,
-0.04532604664564133,
-0.018930641934275627,
-0.14453692734241486,
-0.11341668665409088,
0.009039661847054958,
0.00687166303396225,
0.0826038122177124,
-0.07601387798786163,
-0.019358329474925995,
-0.11134108155965805,
-0.028801443055272102,
-0.11398661136627197,
0.08230698853731155,
-0.009263977408409119,
-0.07849166542291641,
-0.014069097116589546,
0.017781998962163925,
-0.03449472039937973,
-0.0008448849548585713,
0.19538426399230957,
-0.0359748899936676,
0.15501610934734344,
0.08076851069927216,
0.12911295890808105,
-0.11061282455921173,
0.11893817782402039,
-0.07953190803527832,
-0.08292914927005768,
0.03786863014101982,
-0.08016945421695709,
-0.00797303020954132,
0.08844676613807678,
0.0041729481890797615,
0.050409819930791855,
0.049162283539772034,
-0.050738800317049026,
0.02207757718861103,
0.13201487064361572,
-0.20272886753082275,
-0.04797305911779404,
-0.09655258804559708,
-0.01961461454629898,
0.0947871133685112,
0.09428403526544571,
0.13740527629852295,
-0.020046882331371307,
-0.040665093809366226,
-0.009522587060928345,
-0.020251210778951645,
-0.0455506294965744,
0.018237732350826263,
0.07639513164758682,
0.0036200368776917458,
-0.09577019512653351,
0.024861129000782967,
0.0010902805952355266,
-0.13289600610733032,
0.0297183059155941,
0.15515756607055664,
-0.09175734221935272,
-0.10378400981426239,
-0.04588431864976883,
0.10877954214811325,
-0.06324482709169388,
-0.030319571495056152,
-0.04617167264223099,
-0.10947603732347488,
0.07232397794723511,
0.2244558185338974,
0.07630383968353271,
0.09360431134700775,
0.02358664944767952,
0.009475297294557095,
0.0028333740774542093,
0.013642607256770134,
0.012869765982031822,
0.015233117155730724,
-0.08404674381017685,
0.09583171457052231,
0.0264564398676157,
0.16192857921123505,
-0.08881949633359909,
-0.057915907353162766,
-0.13642176985740662,
0.018090367317199707,
-0.0902426466345787,
-0.14164714515209198,
-0.1404273509979248,
-0.07486418634653091,
0.002649314934387803,
-0.11211150884628296,
-0.07775251567363739,
-0.057331182062625885,
-0.09006335586309433,
0.01376090757548809,
0.02990969829261303,
0.055311162024736404,
-0.058719344437122345,
-0.017920222133398056,
0.10833943635225296,
-0.018052080646157265,
0.10993124544620514,
0.14099657535552979,
-0.022720247507095337,
0.08376451581716537,
-0.1448357105255127,
0.00533570209518075,
0.052928317338228226,
-0.0019443087512627244,
0.04578431323170662,
0.0997096374630928,
-0.024509737268090248,
0.03470915928483009,
0.07528603821992874,
0.09244631975889206,
0.047606486827135086,
-0.09990107268095016,
0.07230920344591141,
0.03905332088470459,
-0.13860708475112915,
-0.04586617276072502,
0.0031085675582289696,
0.05474536120891571,
0.012975596822798252,
0.07768737524747849,
-0.054253578186035156,
0.08029098063707352,
-0.0686967745423317,
0.04421279951930046,
-0.018368875607848167,
-0.15577606856822968,
0.006834575440734625,
-0.08931552618741989,
0.018510818481445312,
-0.00410487549379468,
0.14685390889644623,
0.010451001115143299,
-0.05389745905995369,
0.038011014461517334,
0.021096473559737206,
-0.019709071144461632,
0.013410472311079502,
0.08936577290296555,
0.07601988315582275,
-0.06418944895267487,
-0.10644760727882385,
0.06637108325958252,
-0.007159242872148752,
-0.10208486765623093,
0.0852150246500969,
0.02581564337015152,
0.024384602904319763,
0.053443554788827896,
0.00448610121384263,
-0.0036281628999859095,
-0.08786248415708542,
-0.21989180147647858,
-0.14162033796310425,
0.03164607286453247,
-0.01840435154736042,
0.09447073191404343,
0.12489786744117737,
-0.0458107590675354,
0.015298171900212765,
-0.019234856590628624,
0.0026164338923990726,
-0.12386064976453781,
-0.14956997334957123,
-0.07728858292102814,
-0.09023091942071915,
0.0044733681716024876,
-0.03651294857263565,
0.029458381235599518,
-0.016118193045258522,
0.06489648669958115,
-0.06536668539047241,
0.12557147443294525,
0.03863273561000824,
-0.08794034272432327,
0.12353615462779999,
-0.0210277009755373,
0.009407310746610165,
-0.13162945210933685,
-0.005129092838615179,
-0.12656889855861664,
0.04938535764813423,
-0.04885542392730713,
0.025768162682652473,
-0.1172080859541893,
-0.008967021480202675,
-0.07690497487783432,
-0.11235843598842621,
-0.01124939788132906,
0.00916771125048399,
0.04491376131772995,
0.042264632880687714,
-0.006826534867286682,
0.05193501338362694,
0.012589828111231327,
0.23936684429645538,
-0.017783263698220253,
-0.05570817366242409,
-0.08024824410676956,
0.1598552167415619,
0.03089327923953533,
0.035273339599370956,
-0.02810274064540863,
0.032636966556310654,
-0.06437958031892776,
0.3050055205821991,
0.22230264544487,
-0.035642459988594055,
0.03973822295665741,
0.0029528809245675802,
0.05191722884774208,
0.0701768696308136,
0.06748387962579727,
0.07801203429698944,
0.27503448724746704,
-0.0761997178196907,
0.004062772262841463,
-0.02951410599052906,
-0.0005859793163836002,
-0.02677103877067566,
0.09216415137052536,
0.040561892092227936,
-0.0498555488884449,
-0.06404249370098114,
0.08554325252771378,
-0.21031133830547333,
0.09985397011041641,
-0.09013193100690842,
-0.209071084856987,
-0.0767730325460434,
0.017832104116678238,
0.09115412831306458,
0.09671557694673538,
0.06758809834718704,
0.030804326757788658,
-0.015375316143035889,
0.00025119417114183307,
0.03580682724714279,
-0.11820828914642334,
0.004044294357299805,
0.09202390909194946,
-0.09501063823699951,
0.07479114085435867,
-0.03674072027206421,
0.012713665142655373,
0.11461369693279266,
0.04307352751493454,
-0.05026368796825409,
0.030460180714726448,
0.058158669620752335,
-0.04274089261889458,
-0.01264999806880951,
0.07759379595518112,
0.04857760667800903,
-0.06572335958480835,
0.07266008853912354,
-0.10904157161712646,
0.06896749883890152,
0.015038402751088142,
0.004278169479221106,
-0.029130732640624046,
0.11319370567798615,
-0.04476064443588257,
0.0918772965669632,
0.11094380915164948,
-0.030417365953326225,
-0.020444756373763084,
-0.040026795119047165,
-0.032552458345890045,
0.006628773640841246,
-0.06395917385816574,
-0.0791594609618187,
-0.13391625881195068,
-0.05133502185344696,
0.08271179348230362,
0.015199041925370693,
-0.16803725063800812,
-0.00463718781247735,
-0.058556217700242996,
0.019213249906897545,
-0.10173645615577698,
0.011809540912508965,
0.03968973085284233,
0.011440732516348362,
0.017300507053732872,
-0.060865793377161026,
0.0334864966571331,
0.0711347684264183,
-0.13091662526130676,
-0.07487737387418747
] |
null | null |
transformers
|
# Pretrained BART in Korean
This is pretrained BART model with multiple Korean Datasets.
I used multiple datasets for generalizing the model for both colloquial and written texts.
The training is supported by [TPU Research Cloud](https://sites.research.google/trc/) program.
The script which is used to pre-train model is [here](https://github.com/cosmoquester/transformers-bart-pretrain).
When you use the reference API, you must wrap the sentence with `[BOS]` and `[EOS]` like below example.
```
[BOS] 안녕하세요? 반가워요~~ [EOS]
```
You can also test mask filling performance using `[MASK]` token like this.
```
[BOS] [MASK] 먹었어? [EOS]
```
## Benchmark
<style>
table {
border-collapse: collapse;
border-style: hidden;
width: 100%;
}
td, th {
border: 1px solid #4d5562;
padding: 8px;
}
</style>
<table>
<tr>
<th>Dataset</th>
<td>KLUE NLI dev</th>
<td>NSMC test</td>
<td>QuestionPair test</td>
<td colspan="2">KLUE TC dev</td>
<td colspan="3">KLUE STS dev</td>
<td colspan="3">KorSTS dev</td>
<td colspan="2">HateSpeech dev</td>
</tr>
<tr>
<th>Metric</th>
<!-- KLUE NLI -->
<td>Acc</th>
<!-- NSMC -->
<td>Acc</td>
<!-- QuestionPair -->
<td>Acc</td>
<!-- KLUE TC -->
<td>Acc</td>
<td>F1</td>
<!-- KLUE STS -->
<td>F1</td>
<td>Pearson</td>
<td>Spearman</td>
<!-- KorSTS -->
<td>F1</td>
<td>Pearson</td>
<td>Spearman</td>
<!-- HateSpeech -->
<td>Bias Acc</td>
<td>Hate Acc</td>
</tr>
<tr>
<th>Score</th>
<!-- KLUE NLI -->
<td>0.5253</th>
<!-- NSMC -->
<td>0.8425</td>
<!-- QuestionPair -->
<td>0.8945</td>
<!-- KLUE TC -->
<td>0.8047</td>
<td>0.7988</td>
<!-- KLUE STS -->
<td>0.7411</td>
<td>0.7471</td>
<td>0.7399</td>
<!-- KorSTS -->
<td>0.7725</td>
<td>0.6503</td>
<td>0.6191</td>
<!-- HateSpeech -->
<td>0.7537</td>
<td>0.5605</td>
</tr>
</table>
- The performance was measured using [the notebooks here](https://github.com/cosmoquester/transformers-bart-finetune) with colab.
## Used Datasets
### [모두의 말뭉치](https://corpus.korean.go.kr/)
- 일상 대화 말뭉치 2020
- 구어 말뭉치
- 문어 말뭉치
- 신문 말뭉치
### AIhub
- [개방데이터 전문분야말뭉치](https://aihub.or.kr/aidata/30717)
- [개방데이터 한국어대화요약](https://aihub.or.kr/aidata/30714)
- [개방데이터 감성 대화 말뭉치](https://aihub.or.kr/aidata/7978)
- [개방데이터 한국어 음성](https://aihub.or.kr/aidata/105)
- [개방데이터 한국어 SNS](https://aihub.or.kr/aidata/30718)
### [세종 말뭉치](https://ithub.korean.go.kr/)
|
{"language": "ko"}
|
text2text-generation
|
cosmoquester/bart-ko-mini
|
[
"transformers",
"pytorch",
"tf",
"bart",
"text2text-generation",
"ko",
"autotrain_compatible",
"endpoints_compatible",
"region:us"
] |
2022-03-02T23:29:05+00:00
|
[] |
[
"ko"
] |
TAGS
#transformers #pytorch #tf #bart #text2text-generation #ko #autotrain_compatible #endpoints_compatible #region-us
|
Pretrained BART in Korean
=========================
This is pretrained BART model with multiple Korean Datasets.
I used multiple datasets for generalizing the model for both colloquial and written texts.
The training is supported by TPU Research Cloud program.
The script which is used to pre-train model is here.
When you use the reference API, you must wrap the sentence with '[BOS]' and '[EOS]' like below example.
You can also test mask filling performance using '[MASK]' token like this.
Benchmark
---------
table {
border-collapse: collapse;
border-style: hidden;
width: 100%;
}
td, th {
border: 1px solid #4d5562;
padding: 8px;
}
* The performance was measured using the notebooks here with colab.
Used Datasets
-------------
### 모두의 말뭉치
* 일상 대화 말뭉치 2020
* 구어 말뭉치
* 문어 말뭉치
* 신문 말뭉치
### AIhub
* 개방데이터 전문분야말뭉치
* 개방데이터 한국어대화요약
* 개방데이터 감성 대화 말뭉치
* 개방데이터 한국어 음성
* 개방데이터 한국어 SNS
### 세종 말뭉치
|
[
"### 모두의 말뭉치\n\n\n* 일상 대화 말뭉치 2020\n* 구어 말뭉치\n* 문어 말뭉치\n* 신문 말뭉치",
"### AIhub\n\n\n* 개방데이터 전문분야말뭉치\n* 개방데이터 한국어대화요약\n* 개방데이터 감성 대화 말뭉치\n* 개방데이터 한국어 음성\n* 개방데이터 한국어 SNS",
"### 세종 말뭉치"
] |
[
"TAGS\n#transformers #pytorch #tf #bart #text2text-generation #ko #autotrain_compatible #endpoints_compatible #region-us \n",
"### 모두의 말뭉치\n\n\n* 일상 대화 말뭉치 2020\n* 구어 말뭉치\n* 문어 말뭉치\n* 신문 말뭉치",
"### AIhub\n\n\n* 개방데이터 전문분야말뭉치\n* 개방데이터 한국어대화요약\n* 개방데이터 감성 대화 말뭉치\n* 개방데이터 한국어 음성\n* 개방데이터 한국어 SNS",
"### 세종 말뭉치"
] |
[
43,
32,
49,
6
] |
[
"passage: TAGS\n#transformers #pytorch #tf #bart #text2text-generation #ko #autotrain_compatible #endpoints_compatible #region-us \n### 모두의 말뭉치\n\n\n* 일상 대화 말뭉치 2020\n* 구어 말뭉치\n* 문어 말뭉치\n* 신문 말뭉치### AIhub\n\n\n* 개방데이터 전문분야말뭉치\n* 개방데이터 한국어대화요약\n* 개방데이터 감성 대화 말뭉치\n* 개방데이터 한국어 음성\n* 개방데이터 한국어 SNS### 세종 말뭉치"
] |
[
0.00722058629617095,
-0.001254827482625842,
-0.008510214276611805,
-0.0010907857213169336,
0.11697158217430115,
-0.0051061674021184444,
0.10110268741846085,
0.09009839594364166,
0.04375792294740677,
-0.025579269975423813,
0.11776313930749893,
0.186994731426239,
0.030944567173719406,
0.13421067595481873,
-0.04972754791378975,
-0.3011391758918762,
0.03733888640999794,
0.06297292560338974,
0.050072185695171356,
0.1322658658027649,
0.10580512136220932,
-0.0508919358253479,
0.1036534532904625,
-0.007534457370638847,
-0.08407194167375565,
0.017493393272161484,
0.023366140201687813,
-0.10370234400033951,
0.10713430494070053,
0.030409790575504303,
0.053483717143535614,
0.07496431469917297,
-0.056899867951869965,
-0.07949717342853546,
0.04377928748726845,
-0.03161245211958885,
-0.06915891170501709,
0.0236267801374197,
0.004653028678148985,
-0.09060561656951904,
0.20800673961639404,
0.0349828265607357,
-0.016998374834656715,
0.06393101066350937,
-0.13071884214878082,
-0.09281522035598755,
-0.047990329563617706,
0.07260633260011673,
0.09542502462863922,
0.0464799664914608,
-0.017543181777000427,
0.14902016520500183,
-0.09439186006784439,
0.1219521313905716,
0.1091277152299881,
-0.2988019585609436,
-0.044770341366529465,
0.023592565208673477,
0.050827011466026306,
0.044477429240942,
-0.044547371566295624,
0.043610330671072006,
0.05674757435917854,
0.029808932915329933,
0.00032646721228957176,
-0.09089580923318863,
-0.087791308760643,
-0.015566300600767136,
-0.07273948192596436,
0.012963708490133286,
0.2335260659456253,
-0.021659525111317635,
0.0018461683066561818,
-0.02284504845738411,
-0.03339356929063797,
-0.08033913373947144,
-0.04620051011443138,
-0.05500594154000282,
-0.05234914273023605,
0.0028309710323810577,
-0.041887883096933365,
-0.058152154088020325,
-0.09125722199678421,
0.006982083898037672,
-0.18643063306808472,
0.24169909954071045,
0.022921236231923103,
-0.004624856635928154,
-0.1143282800912857,
0.05765601620078087,
0.06222061067819595,
-0.1222824901342392,
0.01590915396809578,
-0.07056394219398499,
0.044576678425073624,
0.012749021872878075,
-0.011236963793635368,
-0.05922146886587143,
0.04482525214552879,
0.16396836936473846,
0.03283818066120148,
0.04233388230204582,
-0.021482232958078384,
0.06583033502101898,
0.036242999136447906,
0.027658352628350258,
-0.012891811318695545,
-0.08141759783029556,
-0.0004777545982506126,
-0.10264456272125244,
0.02273421548306942,
-0.051925018429756165,
-0.10494762659072876,
-0.01138134952634573,
0.022997839376330376,
0.036192551255226135,
0.052194055169820786,
0.14598262310028076,
-0.02037164196372032,
-0.028194749727845192,
0.06365625560283661,
-0.01867477223277092,
-0.03021242655813694,
-0.0425073504447937,
-0.024210425093770027,
0.1252015084028244,
-0.01646456867456436,
0.05298353731632233,
-0.03121832013130188,
0.10075972229242325,
-0.039699867367744446,
-0.002502037910744548,
-0.014258971437811852,
-0.004540278110653162,
0.05496205762028694,
-0.08043008297681808,
0.045111142098903656,
-0.1874980926513672,
-0.1296684890985489,
-0.0028751411009579897,
-0.0068449839018285275,
-0.01418987289071083,
-0.06923253834247589,
-0.03801179304718971,
-0.024714067578315735,
0.03241853788495064,
-0.05983585864305496,
0.03005143441259861,
-0.04195226728916168,
0.08961641788482666,
-0.02807752601802349,
0.10998939722776413,
-0.09750990569591522,
0.052944596856832504,
-0.09391463547945023,
-0.0030314119067043066,
-0.10209288448095322,
0.006820650305598974,
-0.051800213754177094,
0.09891573339700699,
0.009993898682296276,
0.01446601189672947,
-0.10445286333560944,
0.04951571300625801,
-0.024375466629862785,
0.202469602227211,
-0.07499539107084274,
-0.10109414160251617,
0.19774937629699707,
-0.0725560188293457,
-0.16776810586452484,
0.12891444563865662,
0.043258290737867355,
0.07979649305343628,
0.10372111201286316,
0.1409372240304947,
0.03227933496236801,
-0.07345300167798996,
-0.029069365933537483,
0.07788696885108948,
-0.10437218099832535,
0.0063390121795237064,
0.05870363488793373,
0.032312504947185516,
-0.08764678984880447,
0.07087334245443344,
0.09526985138654709,
0.07573939859867096,
-0.09361792355775833,
-0.016703002154827118,
0.008507235907018185,
-0.030645763501524925,
0.13027383387088776,
0.03655606880784035,
0.09414941072463989,
-0.09075423330068588,
-0.02491200901567936,
-0.048903390765190125,
0.030874133110046387,
0.057784583419561386,
0.03230753913521767,
-0.10360255837440491,
0.06090031936764717,
0.07420065999031067,
0.035407911986112595,
-0.0924357995390892,
-0.025832513347268105,
-0.024891400709748268,
0.12668579816818237,
0.031010881066322327,
0.07403454929590225,
0.05951870605349541,
-0.04833417758345604,
-0.05983000248670578,
-0.013190656900405884,
0.13377498090267181,
0.013722047209739685,
-0.03434976190328598,
-0.1075260266661644,
0.08377602696418762,
-0.031219840049743652,
0.05769108235836029,
-0.025805672630667686,
0.019024893641471863,
0.07750765979290009,
0.17421355843544006,
0.0051370528526604176,
0.045365720987319946,
-0.01286324206739664,
0.0495365746319294,
-0.06359894573688507,
0.03226381540298462,
0.0567457340657711,
0.019237706437706947,
-0.10821662098169327,
0.2584822177886963,
-0.08462506532669067,
0.24963052570819855,
0.17386387288570404,
-0.20614828169345856,
-0.048739444464445114,
0.01544263493269682,
-0.032708048820495605,
-0.03167468309402466,
0.07323437184095383,
-0.014138382859528065,
0.07854413986206055,
-0.015193016268312931,
0.15102125704288483,
-0.028981123119592667,
-0.03350753337144852,
0.030213503167033195,
-0.0872134193778038,
-0.03569704666733742,
0.09452952444553375,
0.03396201878786087,
-0.15636086463928223,
0.19177761673927307,
0.15363264083862305,
0.04329318925738335,
0.25826284289360046,
0.026803117245435715,
0.010309343226253986,
-0.022176969796419144,
-0.023119673132896423,
-0.05087527632713318,
-0.004307251889258623,
-0.22429297864437103,
-0.031983211636543274,
0.044449545443058014,
-0.006369985640048981,
0.04198455065488815,
-0.06294340640306473,
-0.061615727841854095,
-0.016525980085134506,
0.018041161820292473,
0.058515097945928574,
0.14417871832847595,
-0.003765908069908619,
0.13049791753292084,
0.02142532356083393,
-0.030253039672970772,
0.05020388215780258,
0.027458151802420616,
-0.08376656472682953,
0.11230548471212387,
-0.09539085626602173,
-0.2838422656059265,
-0.035791005939245224,
-0.15712237358093262,
-0.019304784014821053,
-0.002319697290658951,
0.07911215722560883,
-0.0680195540189743,
-0.012091096490621567,
0.016311470419168472,
0.03587022051215172,
-0.03473494574427605,
0.026984168216586113,
-0.02304527536034584,
0.026487527415156364,
-0.053314223885536194,
-0.04173661395907402,
-0.0596969798207283,
-0.008315463550388813,
-0.07207431644201279,
0.1264612078666687,
-0.0980963259935379,
0.13208116590976715,
0.07734721899032593,
0.04718268662691116,
0.03952287882566452,
-0.04296256974339485,
0.12482886016368866,
-0.13229970633983612,
0.03964315727353096,
0.11773296445608139,
-0.04383677989244461,
0.05203826352953911,
0.12690146267414093,
0.012059335596859455,
-0.023430244997143745,
0.06353916227817535,
0.00533685740083456,
-0.07881911098957062,
-0.1813926100730896,
-0.08799649775028229,
-0.08489277213811874,
0.1577799767255783,
-0.036452993750572205,
0.04049890488386154,
0.20018447935581207,
0.0652206689119339,
-0.04042106866836548,
0.002648376626893878,
-0.03362112119793892,
0.06196212023496628,
0.1486785113811493,
-0.0473230741918087,
0.1076311320066452,
-0.06890564411878586,
-0.09319504350423813,
0.07856731116771698,
-0.02179865352809429,
0.006589213851839304,
0.07422181963920593,
-0.0015141115291044116,
0.05793347954750061,
0.12139901518821716,
0.10420774668455124,
0.012634623795747757,
0.011897803284227848,
-0.07556223124265671,
-0.00005137367406859994,
-0.019810281693935394,
-0.04168904200196266,
0.0396013967692852,
0.04629909247159958,
-0.0914047360420227,
-0.04242745786905289,
-0.0874577984213829,
0.082374207675457,
0.06780899316072464,
0.061453402042388916,
-0.104221411049366,
-0.0458533875644207,
0.017057189717888832,
-0.041519373655319214,
-0.05619801580905914,
0.05789807438850403,
0.011964886449277401,
-0.18116633594036102,
0.12614071369171143,
0.01724599301815033,
0.0756109356880188,
-0.0529816597700119,
0.06553293019533157,
-0.07382123172283173,
-0.10663246363401413,
-0.01578616350889206,
0.036546740680933,
-0.3281756639480591,
0.23136642575263977,
-0.007007644511759281,
-0.0433565117418766,
-0.08435788750648499,
-0.06026393547654152,
0.04378290846943855,
0.0887942686676979,
0.11720054596662521,
0.01960507407784462,
-0.03705175593495369,
-0.12161795049905777,
-0.032038867473602295,
0.019659405574202538,
0.11394743621349335,
-0.09018199890851974,
0.012777901254594326,
-0.0042094760574400425,
-0.022563928738236427,
-0.036781057715415955,
0.01283932477235794,
-0.06607818603515625,
-0.0655023455619812,
0.08769925683736801,
0.06834353506565094,
0.07282204180955887,
0.015788614749908447,
-0.07306429743766785,
-0.11130332946777344,
0.14520253241062164,
-0.08731409907341003,
-0.06522851437330246,
-0.1041770726442337,
-0.04310445114970207,
-0.005933379754424095,
-0.11181634664535522,
0.014820581302046776,
-0.061121679842472076,
-0.018294943496584892,
-0.017311619594693184,
-0.1252954751253128,
0.08103667944669724,
-0.06914156675338745,
-0.11287820339202881,
-0.028233662247657776,
0.13905435800552368,
-0.008766649290919304,
0.05964835360646248,
-0.0008732136921025813,
-0.0160911176353693,
-0.008007715456187725,
-0.08169157803058624,
0.0324784554541111,
-0.0533096008002758,
0.01951550878584385,
0.0010925825918093324,
-0.027026206254959106,
-0.05364498868584633,
-0.05788976699113846,
-0.07513272762298584,
0.17770595848560333,
0.264872670173645,
-0.031737688928842545,
0.1226063072681427,
0.12071467190980911,
0.012235641479492188,
-0.26849913597106934,
-0.13872122764587402,
-0.047676682472229004,
-0.011820060200989246,
-0.019839376211166382,
-0.15282967686653137,
0.0168027151376009,
0.005104138050228357,
-0.037604738026857376,
0.06311497837305069,
-0.1797841638326645,
-0.10787118226289749,
0.1396447718143463,
-0.040389470756053925,
0.3088575303554535,
-0.10867345333099365,
-0.08525542169809341,
-0.006964711006730795,
-0.1785494089126587,
0.11161645501852036,
-0.035513460636138916,
0.06330035626888275,
-0.024753959849476814,
0.07196208089590073,
0.025241995230317116,
0.005401457194238901,
0.07698767632246017,
-0.04532604664564133,
-0.018930641934275627,
-0.14453692734241486,
-0.11341668665409088,
0.009039661847054958,
0.00687166303396225,
0.0826038122177124,
-0.07601387798786163,
-0.019358329474925995,
-0.11134108155965805,
-0.028801443055272102,
-0.11398661136627197,
0.08230698853731155,
-0.009263977408409119,
-0.07849166542291641,
-0.014069097116589546,
0.017781998962163925,
-0.03449472039937973,
-0.0008448849548585713,
0.19538426399230957,
-0.0359748899936676,
0.15501610934734344,
0.08076851069927216,
0.12911295890808105,
-0.11061282455921173,
0.11893817782402039,
-0.07953190803527832,
-0.08292914927005768,
0.03786863014101982,
-0.08016945421695709,
-0.00797303020954132,
0.08844676613807678,
0.0041729481890797615,
0.050409819930791855,
0.049162283539772034,
-0.050738800317049026,
0.02207757718861103,
0.13201487064361572,
-0.20272886753082275,
-0.04797305911779404,
-0.09655258804559708,
-0.01961461454629898,
0.0947871133685112,
0.09428403526544571,
0.13740527629852295,
-0.020046882331371307,
-0.040665093809366226,
-0.009522587060928345,
-0.020251210778951645,
-0.0455506294965744,
0.018237732350826263,
0.07639513164758682,
0.0036200368776917458,
-0.09577019512653351,
0.024861129000782967,
0.0010902805952355266,
-0.13289600610733032,
0.0297183059155941,
0.15515756607055664,
-0.09175734221935272,
-0.10378400981426239,
-0.04588431864976883,
0.10877954214811325,
-0.06324482709169388,
-0.030319571495056152,
-0.04617167264223099,
-0.10947603732347488,
0.07232397794723511,
0.2244558185338974,
0.07630383968353271,
0.09360431134700775,
0.02358664944767952,
0.009475297294557095,
0.0028333740774542093,
0.013642607256770134,
0.012869765982031822,
0.015233117155730724,
-0.08404674381017685,
0.09583171457052231,
0.0264564398676157,
0.16192857921123505,
-0.08881949633359909,
-0.057915907353162766,
-0.13642176985740662,
0.018090367317199707,
-0.0902426466345787,
-0.14164714515209198,
-0.1404273509979248,
-0.07486418634653091,
0.002649314934387803,
-0.11211150884628296,
-0.07775251567363739,
-0.057331182062625885,
-0.09006335586309433,
0.01376090757548809,
0.02990969829261303,
0.055311162024736404,
-0.058719344437122345,
-0.017920222133398056,
0.10833943635225296,
-0.018052080646157265,
0.10993124544620514,
0.14099657535552979,
-0.022720247507095337,
0.08376451581716537,
-0.1448357105255127,
0.00533570209518075,
0.052928317338228226,
-0.0019443087512627244,
0.04578431323170662,
0.0997096374630928,
-0.024509737268090248,
0.03470915928483009,
0.07528603821992874,
0.09244631975889206,
0.047606486827135086,
-0.09990107268095016,
0.07230920344591141,
0.03905332088470459,
-0.13860708475112915,
-0.04586617276072502,
0.0031085675582289696,
0.05474536120891571,
0.012975596822798252,
0.07768737524747849,
-0.054253578186035156,
0.08029098063707352,
-0.0686967745423317,
0.04421279951930046,
-0.018368875607848167,
-0.15577606856822968,
0.006834575440734625,
-0.08931552618741989,
0.018510818481445312,
-0.00410487549379468,
0.14685390889644623,
0.010451001115143299,
-0.05389745905995369,
0.038011014461517334,
0.021096473559737206,
-0.019709071144461632,
0.013410472311079502,
0.08936577290296555,
0.07601988315582275,
-0.06418944895267487,
-0.10644760727882385,
0.06637108325958252,
-0.007159242872148752,
-0.10208486765623093,
0.0852150246500969,
0.02581564337015152,
0.024384602904319763,
0.053443554788827896,
0.00448610121384263,
-0.0036281628999859095,
-0.08786248415708542,
-0.21989180147647858,
-0.14162033796310425,
0.03164607286453247,
-0.01840435154736042,
0.09447073191404343,
0.12489786744117737,
-0.0458107590675354,
0.015298171900212765,
-0.019234856590628624,
0.0026164338923990726,
-0.12386064976453781,
-0.14956997334957123,
-0.07728858292102814,
-0.09023091942071915,
0.0044733681716024876,
-0.03651294857263565,
0.029458381235599518,
-0.016118193045258522,
0.06489648669958115,
-0.06536668539047241,
0.12557147443294525,
0.03863273561000824,
-0.08794034272432327,
0.12353615462779999,
-0.0210277009755373,
0.009407310746610165,
-0.13162945210933685,
-0.005129092838615179,
-0.12656889855861664,
0.04938535764813423,
-0.04885542392730713,
0.025768162682652473,
-0.1172080859541893,
-0.008967021480202675,
-0.07690497487783432,
-0.11235843598842621,
-0.01124939788132906,
0.00916771125048399,
0.04491376131772995,
0.042264632880687714,
-0.006826534867286682,
0.05193501338362694,
0.012589828111231327,
0.23936684429645538,
-0.017783263698220253,
-0.05570817366242409,
-0.08024824410676956,
0.1598552167415619,
0.03089327923953533,
0.035273339599370956,
-0.02810274064540863,
0.032636966556310654,
-0.06437958031892776,
0.3050055205821991,
0.22230264544487,
-0.035642459988594055,
0.03973822295665741,
0.0029528809245675802,
0.05191722884774208,
0.0701768696308136,
0.06748387962579727,
0.07801203429698944,
0.27503448724746704,
-0.0761997178196907,
0.004062772262841463,
-0.02951410599052906,
-0.0005859793163836002,
-0.02677103877067566,
0.09216415137052536,
0.040561892092227936,
-0.0498555488884449,
-0.06404249370098114,
0.08554325252771378,
-0.21031133830547333,
0.09985397011041641,
-0.09013193100690842,
-0.209071084856987,
-0.0767730325460434,
0.017832104116678238,
0.09115412831306458,
0.09671557694673538,
0.06758809834718704,
0.030804326757788658,
-0.015375316143035889,
0.00025119417114183307,
0.03580682724714279,
-0.11820828914642334,
0.004044294357299805,
0.09202390909194946,
-0.09501063823699951,
0.07479114085435867,
-0.03674072027206421,
0.012713665142655373,
0.11461369693279266,
0.04307352751493454,
-0.05026368796825409,
0.030460180714726448,
0.058158669620752335,
-0.04274089261889458,
-0.01264999806880951,
0.07759379595518112,
0.04857760667800903,
-0.06572335958480835,
0.07266008853912354,
-0.10904157161712646,
0.06896749883890152,
0.015038402751088142,
0.004278169479221106,
-0.029130732640624046,
0.11319370567798615,
-0.04476064443588257,
0.0918772965669632,
0.11094380915164948,
-0.030417365953326225,
-0.020444756373763084,
-0.040026795119047165,
-0.032552458345890045,
0.006628773640841246,
-0.06395917385816574,
-0.0791594609618187,
-0.13391625881195068,
-0.05133502185344696,
0.08271179348230362,
0.015199041925370693,
-0.16803725063800812,
-0.00463718781247735,
-0.058556217700242996,
0.019213249906897545,
-0.10173645615577698,
0.011809540912508965,
0.03968973085284233,
0.011440732516348362,
0.017300507053732872,
-0.060865793377161026,
0.0334864966571331,
0.0711347684264183,
-0.13091662526130676,
-0.07487737387418747
] |
null | null |
transformers
|
# Pretrained BART in Korean
This is pretrained BART model with multiple Korean Datasets.
I used multiple datasets for generalizing the model for both colloquial and written texts.
The training is supported by [TPU Research Cloud](https://sites.research.google/trc/) program.
The script which is used to pre-train model is [here](https://github.com/cosmoquester/transformers-bart-pretrain).
When you use the reference API, you must wrap the sentence with `[BOS]` and `[EOS]` like below example.
```
[BOS] 안녕하세요? 반가워요~~ [EOS]
```
You can also test mask filling performance using `[MASK]` token like this.
```
[BOS] [MASK] 먹었어? [EOS]
```
## Benchmark
<style>
table {
border-collapse: collapse;
border-style: hidden;
width: 100%;
}
td, th {
border: 1px solid #4d5562;
padding: 8px;
}
</style>
<table>
<tr>
<th>Dataset</th>
<td>KLUE NLI dev</th>
<td>NSMC test</td>
<td>QuestionPair test</td>
<td colspan="2">KLUE TC dev</td>
<td colspan="3">KLUE STS dev</td>
<td colspan="3">KorSTS dev</td>
<td colspan="2">HateSpeech dev</td>
</tr>
<tr>
<th>Metric</th>
<!-- KLUE NLI -->
<td>Acc</th>
<!-- NSMC -->
<td>Acc</td>
<!-- QuestionPair -->
<td>Acc</td>
<!-- KLUE TC -->
<td>Acc</td>
<td>F1</td>
<!-- KLUE STS -->
<td>F1</td>
<td>Pearson</td>
<td>Spearman</td>
<!-- KorSTS -->
<td>F1</td>
<td>Pearson</td>
<td>Spearman</td>
<!-- HateSpeech -->
<td>Bias Acc</td>
<td>Hate Acc</td>
</tr>
<tr>
<th>Score</th>
<!-- KLUE NLI -->
<td>0.639</th>
<!-- NSMC -->
<td>0.8721</td>
<!-- QuestionPair -->
<td>0.905</td>
<!-- KLUE TC -->
<td>0.8551</td>
<td>0.8515</td>
<!-- KLUE STS -->
<td>0.7406</td>
<td>0.7593</td>
<td>0.7551</td>
<!-- KorSTS -->
<td>0.7897</td>
<td>0.7269</td>
<td>0.7037</td>
<!-- HateSpeech -->
<td>0.8068</td>
<td>0.5966</td>
</tr>
</table>
- The performance was measured using [the notebooks here](https://github.com/cosmoquester/transformers-bart-finetune) with colab.
## Used Datasets
### [모두의 말뭉치](https://corpus.korean.go.kr/)
- 일상 대화 말뭉치 2020
- 구어 말뭉치
- 문어 말뭉치
- 신문 말뭉치
### AIhub
- [개방데이터 전문분야말뭉치](https://aihub.or.kr/aidata/30717)
- [개방데이터 한국어대화요약](https://aihub.or.kr/aidata/30714)
- [개방데이터 감성 대화 말뭉치](https://aihub.or.kr/aidata/7978)
- [개방데이터 한국어 음성](https://aihub.or.kr/aidata/105)
- [개방데이터 한국어 SNS](https://aihub.or.kr/aidata/30718)
### [세종 말뭉치](https://ithub.korean.go.kr/)
|
{"language": "ko"}
|
text2text-generation
|
cosmoquester/bart-ko-small
|
[
"transformers",
"pytorch",
"tf",
"bart",
"text2text-generation",
"ko",
"autotrain_compatible",
"endpoints_compatible",
"region:us"
] |
2022-03-02T23:29:05+00:00
|
[] |
[
"ko"
] |
TAGS
#transformers #pytorch #tf #bart #text2text-generation #ko #autotrain_compatible #endpoints_compatible #region-us
|
Pretrained BART in Korean
=========================
This is pretrained BART model with multiple Korean Datasets.
I used multiple datasets for generalizing the model for both colloquial and written texts.
The training is supported by TPU Research Cloud program.
The script which is used to pre-train model is here.
When you use the reference API, you must wrap the sentence with '[BOS]' and '[EOS]' like below example.
You can also test mask filling performance using '[MASK]' token like this.
Benchmark
---------
table {
border-collapse: collapse;
border-style: hidden;
width: 100%;
}
td, th {
border: 1px solid #4d5562;
padding: 8px;
}
* The performance was measured using the notebooks here with colab.
Used Datasets
-------------
### 모두의 말뭉치
* 일상 대화 말뭉치 2020
* 구어 말뭉치
* 문어 말뭉치
* 신문 말뭉치
### AIhub
* 개방데이터 전문분야말뭉치
* 개방데이터 한국어대화요약
* 개방데이터 감성 대화 말뭉치
* 개방데이터 한국어 음성
* 개방데이터 한국어 SNS
### 세종 말뭉치
|
[
"### 모두의 말뭉치\n\n\n* 일상 대화 말뭉치 2020\n* 구어 말뭉치\n* 문어 말뭉치\n* 신문 말뭉치",
"### AIhub\n\n\n* 개방데이터 전문분야말뭉치\n* 개방데이터 한국어대화요약\n* 개방데이터 감성 대화 말뭉치\n* 개방데이터 한국어 음성\n* 개방데이터 한국어 SNS",
"### 세종 말뭉치"
] |
[
"TAGS\n#transformers #pytorch #tf #bart #text2text-generation #ko #autotrain_compatible #endpoints_compatible #region-us \n",
"### 모두의 말뭉치\n\n\n* 일상 대화 말뭉치 2020\n* 구어 말뭉치\n* 문어 말뭉치\n* 신문 말뭉치",
"### AIhub\n\n\n* 개방데이터 전문분야말뭉치\n* 개방데이터 한국어대화요약\n* 개방데이터 감성 대화 말뭉치\n* 개방데이터 한국어 음성\n* 개방데이터 한국어 SNS",
"### 세종 말뭉치"
] |
[
43,
32,
49,
6
] |
[
"passage: TAGS\n#transformers #pytorch #tf #bart #text2text-generation #ko #autotrain_compatible #endpoints_compatible #region-us \n### 모두의 말뭉치\n\n\n* 일상 대화 말뭉치 2020\n* 구어 말뭉치\n* 문어 말뭉치\n* 신문 말뭉치### AIhub\n\n\n* 개방데이터 전문분야말뭉치\n* 개방데이터 한국어대화요약\n* 개방데이터 감성 대화 말뭉치\n* 개방데이터 한국어 음성\n* 개방데이터 한국어 SNS### 세종 말뭉치"
] |
[
0.00722058629617095,
-0.001254827482625842,
-0.008510214276611805,
-0.0010907857213169336,
0.11697158217430115,
-0.0051061674021184444,
0.10110268741846085,
0.09009839594364166,
0.04375792294740677,
-0.025579269975423813,
0.11776313930749893,
0.186994731426239,
0.030944567173719406,
0.13421067595481873,
-0.04972754791378975,
-0.3011391758918762,
0.03733888640999794,
0.06297292560338974,
0.050072185695171356,
0.1322658658027649,
0.10580512136220932,
-0.0508919358253479,
0.1036534532904625,
-0.007534457370638847,
-0.08407194167375565,
0.017493393272161484,
0.023366140201687813,
-0.10370234400033951,
0.10713430494070053,
0.030409790575504303,
0.053483717143535614,
0.07496431469917297,
-0.056899867951869965,
-0.07949717342853546,
0.04377928748726845,
-0.03161245211958885,
-0.06915891170501709,
0.0236267801374197,
0.004653028678148985,
-0.09060561656951904,
0.20800673961639404,
0.0349828265607357,
-0.016998374834656715,
0.06393101066350937,
-0.13071884214878082,
-0.09281522035598755,
-0.047990329563617706,
0.07260633260011673,
0.09542502462863922,
0.0464799664914608,
-0.017543181777000427,
0.14902016520500183,
-0.09439186006784439,
0.1219521313905716,
0.1091277152299881,
-0.2988019585609436,
-0.044770341366529465,
0.023592565208673477,
0.050827011466026306,
0.044477429240942,
-0.044547371566295624,
0.043610330671072006,
0.05674757435917854,
0.029808932915329933,
0.00032646721228957176,
-0.09089580923318863,
-0.087791308760643,
-0.015566300600767136,
-0.07273948192596436,
0.012963708490133286,
0.2335260659456253,
-0.021659525111317635,
0.0018461683066561818,
-0.02284504845738411,
-0.03339356929063797,
-0.08033913373947144,
-0.04620051011443138,
-0.05500594154000282,
-0.05234914273023605,
0.0028309710323810577,
-0.041887883096933365,
-0.058152154088020325,
-0.09125722199678421,
0.006982083898037672,
-0.18643063306808472,
0.24169909954071045,
0.022921236231923103,
-0.004624856635928154,
-0.1143282800912857,
0.05765601620078087,
0.06222061067819595,
-0.1222824901342392,
0.01590915396809578,
-0.07056394219398499,
0.044576678425073624,
0.012749021872878075,
-0.011236963793635368,
-0.05922146886587143,
0.04482525214552879,
0.16396836936473846,
0.03283818066120148,
0.04233388230204582,
-0.021482232958078384,
0.06583033502101898,
0.036242999136447906,
0.027658352628350258,
-0.012891811318695545,
-0.08141759783029556,
-0.0004777545982506126,
-0.10264456272125244,
0.02273421548306942,
-0.051925018429756165,
-0.10494762659072876,
-0.01138134952634573,
0.022997839376330376,
0.036192551255226135,
0.052194055169820786,
0.14598262310028076,
-0.02037164196372032,
-0.028194749727845192,
0.06365625560283661,
-0.01867477223277092,
-0.03021242655813694,
-0.0425073504447937,
-0.024210425093770027,
0.1252015084028244,
-0.01646456867456436,
0.05298353731632233,
-0.03121832013130188,
0.10075972229242325,
-0.039699867367744446,
-0.002502037910744548,
-0.014258971437811852,
-0.004540278110653162,
0.05496205762028694,
-0.08043008297681808,
0.045111142098903656,
-0.1874980926513672,
-0.1296684890985489,
-0.0028751411009579897,
-0.0068449839018285275,
-0.01418987289071083,
-0.06923253834247589,
-0.03801179304718971,
-0.024714067578315735,
0.03241853788495064,
-0.05983585864305496,
0.03005143441259861,
-0.04195226728916168,
0.08961641788482666,
-0.02807752601802349,
0.10998939722776413,
-0.09750990569591522,
0.052944596856832504,
-0.09391463547945023,
-0.0030314119067043066,
-0.10209288448095322,
0.006820650305598974,
-0.051800213754177094,
0.09891573339700699,
0.009993898682296276,
0.01446601189672947,
-0.10445286333560944,
0.04951571300625801,
-0.024375466629862785,
0.202469602227211,
-0.07499539107084274,
-0.10109414160251617,
0.19774937629699707,
-0.0725560188293457,
-0.16776810586452484,
0.12891444563865662,
0.043258290737867355,
0.07979649305343628,
0.10372111201286316,
0.1409372240304947,
0.03227933496236801,
-0.07345300167798996,
-0.029069365933537483,
0.07788696885108948,
-0.10437218099832535,
0.0063390121795237064,
0.05870363488793373,
0.032312504947185516,
-0.08764678984880447,
0.07087334245443344,
0.09526985138654709,
0.07573939859867096,
-0.09361792355775833,
-0.016703002154827118,
0.008507235907018185,
-0.030645763501524925,
0.13027383387088776,
0.03655606880784035,
0.09414941072463989,
-0.09075423330068588,
-0.02491200901567936,
-0.048903390765190125,
0.030874133110046387,
0.057784583419561386,
0.03230753913521767,
-0.10360255837440491,
0.06090031936764717,
0.07420065999031067,
0.035407911986112595,
-0.0924357995390892,
-0.025832513347268105,
-0.024891400709748268,
0.12668579816818237,
0.031010881066322327,
0.07403454929590225,
0.05951870605349541,
-0.04833417758345604,
-0.05983000248670578,
-0.013190656900405884,
0.13377498090267181,
0.013722047209739685,
-0.03434976190328598,
-0.1075260266661644,
0.08377602696418762,
-0.031219840049743652,
0.05769108235836029,
-0.025805672630667686,
0.019024893641471863,
0.07750765979290009,
0.17421355843544006,
0.0051370528526604176,
0.045365720987319946,
-0.01286324206739664,
0.0495365746319294,
-0.06359894573688507,
0.03226381540298462,
0.0567457340657711,
0.019237706437706947,
-0.10821662098169327,
0.2584822177886963,
-0.08462506532669067,
0.24963052570819855,
0.17386387288570404,
-0.20614828169345856,
-0.048739444464445114,
0.01544263493269682,
-0.032708048820495605,
-0.03167468309402466,
0.07323437184095383,
-0.014138382859528065,
0.07854413986206055,
-0.015193016268312931,
0.15102125704288483,
-0.028981123119592667,
-0.03350753337144852,
0.030213503167033195,
-0.0872134193778038,
-0.03569704666733742,
0.09452952444553375,
0.03396201878786087,
-0.15636086463928223,
0.19177761673927307,
0.15363264083862305,
0.04329318925738335,
0.25826284289360046,
0.026803117245435715,
0.010309343226253986,
-0.022176969796419144,
-0.023119673132896423,
-0.05087527632713318,
-0.004307251889258623,
-0.22429297864437103,
-0.031983211636543274,
0.044449545443058014,
-0.006369985640048981,
0.04198455065488815,
-0.06294340640306473,
-0.061615727841854095,
-0.016525980085134506,
0.018041161820292473,
0.058515097945928574,
0.14417871832847595,
-0.003765908069908619,
0.13049791753292084,
0.02142532356083393,
-0.030253039672970772,
0.05020388215780258,
0.027458151802420616,
-0.08376656472682953,
0.11230548471212387,
-0.09539085626602173,
-0.2838422656059265,
-0.035791005939245224,
-0.15712237358093262,
-0.019304784014821053,
-0.002319697290658951,
0.07911215722560883,
-0.0680195540189743,
-0.012091096490621567,
0.016311470419168472,
0.03587022051215172,
-0.03473494574427605,
0.026984168216586113,
-0.02304527536034584,
0.026487527415156364,
-0.053314223885536194,
-0.04173661395907402,
-0.0596969798207283,
-0.008315463550388813,
-0.07207431644201279,
0.1264612078666687,
-0.0980963259935379,
0.13208116590976715,
0.07734721899032593,
0.04718268662691116,
0.03952287882566452,
-0.04296256974339485,
0.12482886016368866,
-0.13229970633983612,
0.03964315727353096,
0.11773296445608139,
-0.04383677989244461,
0.05203826352953911,
0.12690146267414093,
0.012059335596859455,
-0.023430244997143745,
0.06353916227817535,
0.00533685740083456,
-0.07881911098957062,
-0.1813926100730896,
-0.08799649775028229,
-0.08489277213811874,
0.1577799767255783,
-0.036452993750572205,
0.04049890488386154,
0.20018447935581207,
0.0652206689119339,
-0.04042106866836548,
0.002648376626893878,
-0.03362112119793892,
0.06196212023496628,
0.1486785113811493,
-0.0473230741918087,
0.1076311320066452,
-0.06890564411878586,
-0.09319504350423813,
0.07856731116771698,
-0.02179865352809429,
0.006589213851839304,
0.07422181963920593,
-0.0015141115291044116,
0.05793347954750061,
0.12139901518821716,
0.10420774668455124,
0.012634623795747757,
0.011897803284227848,
-0.07556223124265671,
-0.00005137367406859994,
-0.019810281693935394,
-0.04168904200196266,
0.0396013967692852,
0.04629909247159958,
-0.0914047360420227,
-0.04242745786905289,
-0.0874577984213829,
0.082374207675457,
0.06780899316072464,
0.061453402042388916,
-0.104221411049366,
-0.0458533875644207,
0.017057189717888832,
-0.041519373655319214,
-0.05619801580905914,
0.05789807438850403,
0.011964886449277401,
-0.18116633594036102,
0.12614071369171143,
0.01724599301815033,
0.0756109356880188,
-0.0529816597700119,
0.06553293019533157,
-0.07382123172283173,
-0.10663246363401413,
-0.01578616350889206,
0.036546740680933,
-0.3281756639480591,
0.23136642575263977,
-0.007007644511759281,
-0.0433565117418766,
-0.08435788750648499,
-0.06026393547654152,
0.04378290846943855,
0.0887942686676979,
0.11720054596662521,
0.01960507407784462,
-0.03705175593495369,
-0.12161795049905777,
-0.032038867473602295,
0.019659405574202538,
0.11394743621349335,
-0.09018199890851974,
0.012777901254594326,
-0.0042094760574400425,
-0.022563928738236427,
-0.036781057715415955,
0.01283932477235794,
-0.06607818603515625,
-0.0655023455619812,
0.08769925683736801,
0.06834353506565094,
0.07282204180955887,
0.015788614749908447,
-0.07306429743766785,
-0.11130332946777344,
0.14520253241062164,
-0.08731409907341003,
-0.06522851437330246,
-0.1041770726442337,
-0.04310445114970207,
-0.005933379754424095,
-0.11181634664535522,
0.014820581302046776,
-0.061121679842472076,
-0.018294943496584892,
-0.017311619594693184,
-0.1252954751253128,
0.08103667944669724,
-0.06914156675338745,
-0.11287820339202881,
-0.028233662247657776,
0.13905435800552368,
-0.008766649290919304,
0.05964835360646248,
-0.0008732136921025813,
-0.0160911176353693,
-0.008007715456187725,
-0.08169157803058624,
0.0324784554541111,
-0.0533096008002758,
0.01951550878584385,
0.0010925825918093324,
-0.027026206254959106,
-0.05364498868584633,
-0.05788976699113846,
-0.07513272762298584,
0.17770595848560333,
0.264872670173645,
-0.031737688928842545,
0.1226063072681427,
0.12071467190980911,
0.012235641479492188,
-0.26849913597106934,
-0.13872122764587402,
-0.047676682472229004,
-0.011820060200989246,
-0.019839376211166382,
-0.15282967686653137,
0.0168027151376009,
0.005104138050228357,
-0.037604738026857376,
0.06311497837305069,
-0.1797841638326645,
-0.10787118226289749,
0.1396447718143463,
-0.040389470756053925,
0.3088575303554535,
-0.10867345333099365,
-0.08525542169809341,
-0.006964711006730795,
-0.1785494089126587,
0.11161645501852036,
-0.035513460636138916,
0.06330035626888275,
-0.024753959849476814,
0.07196208089590073,
0.025241995230317116,
0.005401457194238901,
0.07698767632246017,
-0.04532604664564133,
-0.018930641934275627,
-0.14453692734241486,
-0.11341668665409088,
0.009039661847054958,
0.00687166303396225,
0.0826038122177124,
-0.07601387798786163,
-0.019358329474925995,
-0.11134108155965805,
-0.028801443055272102,
-0.11398661136627197,
0.08230698853731155,
-0.009263977408409119,
-0.07849166542291641,
-0.014069097116589546,
0.017781998962163925,
-0.03449472039937973,
-0.0008448849548585713,
0.19538426399230957,
-0.0359748899936676,
0.15501610934734344,
0.08076851069927216,
0.12911295890808105,
-0.11061282455921173,
0.11893817782402039,
-0.07953190803527832,
-0.08292914927005768,
0.03786863014101982,
-0.08016945421695709,
-0.00797303020954132,
0.08844676613807678,
0.0041729481890797615,
0.050409819930791855,
0.049162283539772034,
-0.050738800317049026,
0.02207757718861103,
0.13201487064361572,
-0.20272886753082275,
-0.04797305911779404,
-0.09655258804559708,
-0.01961461454629898,
0.0947871133685112,
0.09428403526544571,
0.13740527629852295,
-0.020046882331371307,
-0.040665093809366226,
-0.009522587060928345,
-0.020251210778951645,
-0.0455506294965744,
0.018237732350826263,
0.07639513164758682,
0.0036200368776917458,
-0.09577019512653351,
0.024861129000782967,
0.0010902805952355266,
-0.13289600610733032,
0.0297183059155941,
0.15515756607055664,
-0.09175734221935272,
-0.10378400981426239,
-0.04588431864976883,
0.10877954214811325,
-0.06324482709169388,
-0.030319571495056152,
-0.04617167264223099,
-0.10947603732347488,
0.07232397794723511,
0.2244558185338974,
0.07630383968353271,
0.09360431134700775,
0.02358664944767952,
0.009475297294557095,
0.0028333740774542093,
0.013642607256770134,
0.012869765982031822,
0.015233117155730724,
-0.08404674381017685,
0.09583171457052231,
0.0264564398676157,
0.16192857921123505,
-0.08881949633359909,
-0.057915907353162766,
-0.13642176985740662,
0.018090367317199707,
-0.0902426466345787,
-0.14164714515209198,
-0.1404273509979248,
-0.07486418634653091,
0.002649314934387803,
-0.11211150884628296,
-0.07775251567363739,
-0.057331182062625885,
-0.09006335586309433,
0.01376090757548809,
0.02990969829261303,
0.055311162024736404,
-0.058719344437122345,
-0.017920222133398056,
0.10833943635225296,
-0.018052080646157265,
0.10993124544620514,
0.14099657535552979,
-0.022720247507095337,
0.08376451581716537,
-0.1448357105255127,
0.00533570209518075,
0.052928317338228226,
-0.0019443087512627244,
0.04578431323170662,
0.0997096374630928,
-0.024509737268090248,
0.03470915928483009,
0.07528603821992874,
0.09244631975889206,
0.047606486827135086,
-0.09990107268095016,
0.07230920344591141,
0.03905332088470459,
-0.13860708475112915,
-0.04586617276072502,
0.0031085675582289696,
0.05474536120891571,
0.012975596822798252,
0.07768737524747849,
-0.054253578186035156,
0.08029098063707352,
-0.0686967745423317,
0.04421279951930046,
-0.018368875607848167,
-0.15577606856822968,
0.006834575440734625,
-0.08931552618741989,
0.018510818481445312,
-0.00410487549379468,
0.14685390889644623,
0.010451001115143299,
-0.05389745905995369,
0.038011014461517334,
0.021096473559737206,
-0.019709071144461632,
0.013410472311079502,
0.08936577290296555,
0.07601988315582275,
-0.06418944895267487,
-0.10644760727882385,
0.06637108325958252,
-0.007159242872148752,
-0.10208486765623093,
0.0852150246500969,
0.02581564337015152,
0.024384602904319763,
0.053443554788827896,
0.00448610121384263,
-0.0036281628999859095,
-0.08786248415708542,
-0.21989180147647858,
-0.14162033796310425,
0.03164607286453247,
-0.01840435154736042,
0.09447073191404343,
0.12489786744117737,
-0.0458107590675354,
0.015298171900212765,
-0.019234856590628624,
0.0026164338923990726,
-0.12386064976453781,
-0.14956997334957123,
-0.07728858292102814,
-0.09023091942071915,
0.0044733681716024876,
-0.03651294857263565,
0.029458381235599518,
-0.016118193045258522,
0.06489648669958115,
-0.06536668539047241,
0.12557147443294525,
0.03863273561000824,
-0.08794034272432327,
0.12353615462779999,
-0.0210277009755373,
0.009407310746610165,
-0.13162945210933685,
-0.005129092838615179,
-0.12656889855861664,
0.04938535764813423,
-0.04885542392730713,
0.025768162682652473,
-0.1172080859541893,
-0.008967021480202675,
-0.07690497487783432,
-0.11235843598842621,
-0.01124939788132906,
0.00916771125048399,
0.04491376131772995,
0.042264632880687714,
-0.006826534867286682,
0.05193501338362694,
0.012589828111231327,
0.23936684429645538,
-0.017783263698220253,
-0.05570817366242409,
-0.08024824410676956,
0.1598552167415619,
0.03089327923953533,
0.035273339599370956,
-0.02810274064540863,
0.032636966556310654,
-0.06437958031892776,
0.3050055205821991,
0.22230264544487,
-0.035642459988594055,
0.03973822295665741,
0.0029528809245675802,
0.05191722884774208,
0.0701768696308136,
0.06748387962579727,
0.07801203429698944,
0.27503448724746704,
-0.0761997178196907,
0.004062772262841463,
-0.02951410599052906,
-0.0005859793163836002,
-0.02677103877067566,
0.09216415137052536,
0.040561892092227936,
-0.0498555488884449,
-0.06404249370098114,
0.08554325252771378,
-0.21031133830547333,
0.09985397011041641,
-0.09013193100690842,
-0.209071084856987,
-0.0767730325460434,
0.017832104116678238,
0.09115412831306458,
0.09671557694673538,
0.06758809834718704,
0.030804326757788658,
-0.015375316143035889,
0.00025119417114183307,
0.03580682724714279,
-0.11820828914642334,
0.004044294357299805,
0.09202390909194946,
-0.09501063823699951,
0.07479114085435867,
-0.03674072027206421,
0.012713665142655373,
0.11461369693279266,
0.04307352751493454,
-0.05026368796825409,
0.030460180714726448,
0.058158669620752335,
-0.04274089261889458,
-0.01264999806880951,
0.07759379595518112,
0.04857760667800903,
-0.06572335958480835,
0.07266008853912354,
-0.10904157161712646,
0.06896749883890152,
0.015038402751088142,
0.004278169479221106,
-0.029130732640624046,
0.11319370567798615,
-0.04476064443588257,
0.0918772965669632,
0.11094380915164948,
-0.030417365953326225,
-0.020444756373763084,
-0.040026795119047165,
-0.032552458345890045,
0.006628773640841246,
-0.06395917385816574,
-0.0791594609618187,
-0.13391625881195068,
-0.05133502185344696,
0.08271179348230362,
0.015199041925370693,
-0.16803725063800812,
-0.00463718781247735,
-0.058556217700242996,
0.019213249906897545,
-0.10173645615577698,
0.011809540912508965,
0.03968973085284233,
0.011440732516348362,
0.017300507053732872,
-0.060865793377161026,
0.0334864966571331,
0.0711347684264183,
-0.13091662526130676,
-0.07487737387418747
] |
null | null |
transformers
|
# Wav2Vec2-Large-XLSR-53-eo
Fine-tuned [facebook/wav2vec2-large-xlsr-53](https://huggingface.co/facebook/wav2vec2-large-xlsr-53) on esperanto using the [Common Voice](https://huggingface.co/datasets/common_voice) dataset.
When using this model, make sure that your speech input is sampled at 16kHz.
## Usage
The model can be used directly (without a language model) as follows:
```python
import torch
import torchaudio
from datasets import load_dataset
from transformers import Wav2Vec2ForCTC, Wav2Vec2Processor
test_dataset = load_dataset("common_voice", "eo", split="test[:2%]")
processor = Wav2Vec2Processor.from_pretrained("cpierse/wav2vec2-large-xlsr-53-esperanto")
model = Wav2Vec2ForCTC.from_pretrained("cpierse/wav2vec2-large-xlsr-53-esperanto")
resampler = torchaudio.transforms.Resample(48_000, 16_000)
# Preprocessing the datasets.
# We need to read the aduio files as arrays
def speech_file_to_array_fn(batch):
speech_array, sampling_rate = torchaudio.load(batch["path"])
batch["speech"] = resampler(speech_array).squeeze().numpy()
return batch
test_dataset = test_dataset.map(speech_file_to_array_fn)
inputs = processor(test_dataset["speech"][:2], sampling_rate=16_000, return_tensors="pt", padding=True)
with torch.no_grad():
logits = model(inputs.input_values, attention_mask=inputs.attention_mask).logits
predicted_ids = torch.argmax(logits, dim=-1)
print("Prediction:", processor.batch_decode(predicted_ids))
print("Reference:", test_dataset["sentence"][:2])
```
## Evaluation
The model can be evaluated as follows on the Esperanto test data of Common Voice.
```python
import torch
import torchaudio
from datasets import load_dataset, load_metric
from transformers import Wav2Vec2ForCTC, Wav2Vec2Processor
import re
import jiwer
def chunked_wer(targets, predictions, chunk_size=None):
if chunk_size is None: return jiwer.wer(targets, predictions)
start = 0
end = chunk_size
H, S, D, I = 0, 0, 0, 0
while start < len(targets):
chunk_metrics = jiwer.compute_measures(targets[start:end], predictions[start:end])
H = H + chunk_metrics["hits"]
S = S + chunk_metrics["substitutions"]
D = D + chunk_metrics["deletions"]
I = I + chunk_metrics["insertions"]
start += chunk_size
end += chunk_size
return float(S + D + I) / float(H + S + D)
test_dataset = load_dataset("common_voice", "eo", split="test") #TODO: replace {lang_id} in your language code here. Make sure the code is one of the *ISO codes* of [this](https://huggingface.co/languages) site.
wer = load_metric("wer")
processor = Wav2Vec2Processor.from_pretrained("cpierse/wav2vec2-large-xlsr-53-esperanto")
model = Wav2Vec2ForCTC.from_pretrained("cpierse/wav2vec2-large-xlsr-53-esperanto")
model.to("cuda")
chars_to_ignore_regex = '[\,\?\.\!\-\;\:\"\“\%\‘\”\�\„\«\(\»\)\’\']'
resampler = torchaudio.transforms.Resample(48_000, 16_000)
# Preprocessing the datasets.
# We need to read the aduio files as arrays
def speech_file_to_array_fn(batch):
batch["sentence"] = re.sub(chars_to_ignore_regex, '', batch["sentence"]).lower()
speech_array, sampling_rate = torchaudio.load(batch["path"])
batch["speech"] = resampler(speech_array).squeeze().numpy()
return batch
test_dataset = test_dataset.map(speech_file_to_array_fn)
# Preprocessing the datasets.
# We need to read the aduio files as arrays
def evaluate(batch):
inputs = processor(batch["speech"], sampling_rate=16_000, return_tensors="pt", padding=True)
with torch.no_grad():
logits = model(inputs.input_values.to("cuda"), attention_mask=inputs.attention_mask.to("cuda")).logits
pred_ids = torch.argmax(logits, dim=-1)
batch["pred_strings"] = processor.batch_decode(pred_ids)
return batch
result = test_dataset.map(evaluate, batched=True, batch_size=8)
print("WER: {:2f}".format(100 * chunked_wer(predictions=result["pred_strings"], targets=result["sentence"],chunk_size=2000)))
```
**Test Result**: 12.31 %
## Training
The Common Voice `train`, `validation` datasets were used for training.
|
{"language": "eo", "license": "apache-2.0", "tags": ["audio", "automatic-speech-recognition", "speech", "xlsr-fine-tuning-week"], "datasets": ["common_voice"], "metrics": ["wer"], "model-index": [{"name": "XLSR Wav2Vec2 Esperanto by Charles Pierse", "results": [{"task": {"type": "automatic-speech-recognition", "name": "Speech Recognition"}, "dataset": {"name": "Common Voice eo", "type": "common_voice", "args": "eo"}, "metrics": [{"type": "wer", "value": 12.31, "name": "Test WER"}]}]}]}
|
automatic-speech-recognition
|
cpierse/wav2vec2-large-xlsr-53-esperanto
|
[
"transformers",
"pytorch",
"jax",
"safetensors",
"wav2vec2",
"automatic-speech-recognition",
"audio",
"speech",
"xlsr-fine-tuning-week",
"eo",
"dataset:common_voice",
"license:apache-2.0",
"model-index",
"endpoints_compatible",
"has_space",
"region:us"
] |
2022-03-02T23:29:05+00:00
|
[] |
[
"eo"
] |
TAGS
#transformers #pytorch #jax #safetensors #wav2vec2 #automatic-speech-recognition #audio #speech #xlsr-fine-tuning-week #eo #dataset-common_voice #license-apache-2.0 #model-index #endpoints_compatible #has_space #region-us
|
# Wav2Vec2-Large-XLSR-53-eo
Fine-tuned facebook/wav2vec2-large-xlsr-53 on esperanto using the Common Voice dataset.
When using this model, make sure that your speech input is sampled at 16kHz.
## Usage
The model can be used directly (without a language model) as follows:
## Evaluation
The model can be evaluated as follows on the Esperanto test data of Common Voice.
Test Result: 12.31 %
## Training
The Common Voice 'train', 'validation' datasets were used for training.
|
[
"# Wav2Vec2-Large-XLSR-53-eo \n\nFine-tuned facebook/wav2vec2-large-xlsr-53 on esperanto using the Common Voice dataset. \n\nWhen using this model, make sure that your speech input is sampled at 16kHz.",
"## Usage\n\nThe model can be used directly (without a language model) as follows:",
"## Evaluation\n\nThe model can be evaluated as follows on the Esperanto test data of Common Voice. \n\n\n\n\nTest Result: 12.31 %",
"## Training\n\nThe Common Voice 'train', 'validation' datasets were used for training."
] |
[
"TAGS\n#transformers #pytorch #jax #safetensors #wav2vec2 #automatic-speech-recognition #audio #speech #xlsr-fine-tuning-week #eo #dataset-common_voice #license-apache-2.0 #model-index #endpoints_compatible #has_space #region-us \n",
"# Wav2Vec2-Large-XLSR-53-eo \n\nFine-tuned facebook/wav2vec2-large-xlsr-53 on esperanto using the Common Voice dataset. \n\nWhen using this model, make sure that your speech input is sampled at 16kHz.",
"## Usage\n\nThe model can be used directly (without a language model) as follows:",
"## Evaluation\n\nThe model can be evaluated as follows on the Esperanto test data of Common Voice. \n\n\n\n\nTest Result: 12.31 %",
"## Training\n\nThe Common Voice 'train', 'validation' datasets were used for training."
] |
[
89,
63,
20,
27,
23
] |
[
"passage: TAGS\n#transformers #pytorch #jax #safetensors #wav2vec2 #automatic-speech-recognition #audio #speech #xlsr-fine-tuning-week #eo #dataset-common_voice #license-apache-2.0 #model-index #endpoints_compatible #has_space #region-us \n# Wav2Vec2-Large-XLSR-53-eo \n\nFine-tuned facebook/wav2vec2-large-xlsr-53 on esperanto using the Common Voice dataset. \n\nWhen using this model, make sure that your speech input is sampled at 16kHz.## Usage\n\nThe model can be used directly (without a language model) as follows:## Evaluation\n\nThe model can be evaluated as follows on the Esperanto test data of Common Voice. \n\n\n\n\nTest Result: 12.31 %## Training\n\nThe Common Voice 'train', 'validation' datasets were used for training."
] |
[
-0.16154038906097412,
0.06198317930102348,
-0.003109044162556529,
-0.025911051779985428,
0.0692373514175415,
-0.05567727982997894,
0.14156568050384521,
0.07458481192588806,
-0.004783949814736843,
0.00746217230334878,
0.03523481637239456,
0.03806774318218231,
0.03123379312455654,
0.16235175728797913,
-0.06940998136997223,
-0.17910616099834442,
0.01591757871210575,
0.03972204029560089,
0.07448448240756989,
0.10392060875892639,
0.12942874431610107,
-0.10454881191253662,
-0.004384366795420647,
0.06950534880161285,
-0.10534156858921051,
0.07010669261217117,
0.029871199280023575,
-0.13318341970443726,
0.13657541573047638,
0.07300208508968353,
0.07257802039384842,
0.08892887830734253,
0.060039620846509933,
-0.20041660964488983,
0.014158484525978565,
0.02643844112753868,
0.01180483028292656,
-0.0002210638631368056,
0.048586729913949966,
-0.050503551959991455,
-0.012472482398152351,
0.05419390648603439,
-0.01817423105239868,
0.045477207750082016,
-0.05749610438942909,
-0.23125459253787994,
0.008312305435538292,
-0.04284448176622391,
0.12234847247600555,
0.15144169330596924,
-0.08126381039619446,
0.12765677273273468,
-0.11247988045215607,
0.08860961347818375,
0.11444628983736038,
-0.1271333396434784,
0.01381022110581398,
0.008390014991164207,
0.06632321327924728,
0.07667966187000275,
-0.06001663580536842,
0.013121603056788445,
0.1091214045882225,
0.007592554669827223,
0.022596748545765877,
-0.0473000705242157,
-0.19739173352718353,
-0.03714403882622719,
-0.13109083473682404,
-0.014334113337099552,
0.2560978829860687,
0.012663403525948524,
-0.09381020814180374,
-0.1256461888551712,
-0.03322144225239754,
0.02374417521059513,
0.05265917629003525,
-0.09888163954019547,
0.0337369330227375,
-0.0023127617314457893,
-0.00075766711961478,
-0.01720787212252617,
-0.132709801197052,
-0.12486784160137177,
-0.025830110535025597,
0.12006036192178726,
0.037869974970817566,
-0.011547084897756577,
-0.12151047587394714,
0.06943614780902863,
-0.09423261880874634,
-0.08487468957901001,
-0.017384842038154602,
0.05235059931874275,
-0.03984742984175682,
0.018764901906251907,
-0.07363490760326385,
-0.14413690567016602,
0.061575859785079956,
0.011569852009415627,
-0.06809477508068085,
0.003550885012373328,
-0.004720175173133612,
0.04452861100435257,
0.09887834638357162,
0.09879081696271896,
-0.02138639986515045,
-0.04137483239173889,
0.03968627005815506,
0.00002384263825661037,
-0.03166375681757927,
-0.0057889362797141075,
-0.05517858266830444,
-0.022653184831142426,
0.05610556900501251,
0.05815674737095833,
-0.04223937913775444,
-0.02155306003987789,
-0.057390354573726654,
-0.0056089479476213455,
0.017378129065036774,
-0.11622853577136993,
-0.021221250295639038,
0.06577137857675552,
-0.01626838929951191,
0.07645150274038315,
0.0024561393074691296,
0.05607007071375847,
-0.07153519988059998,
-0.015732625499367714,
0.002259202068671584,
0.01055870857089758,
-0.017928173765540123,
-0.11554443836212158,
0.01148559432476759,
-0.07548422366380692,
0.043715301901102066,
-0.12931513786315918,
-0.15265129506587982,
-0.11493141949176788,
-0.04302709549665451,
0.04511309042572975,
-0.029326466843485832,
-0.1336076259613037,
-0.0026629604399204254,
-0.02334839664399624,
-0.09555701911449432,
0.013509523123502731,
-0.06493358314037323,
0.04887429624795914,
0.0466703400015831,
0.03458894416689873,
0.04162536561489105,
0.07227861881256104,
-0.11104694753885269,
-0.06547016650438309,
0.0004186754522379488,
0.1352730244398117,
-0.003857308765873313,
-0.07527435570955276,
-0.07024561613798141,
-0.06630092859268188,
-0.04141179099678993,
0.11099427938461304,
0.029439788311719894,
0.1075291708111763,
-0.24578368663787842,
-0.08836539089679718,
0.16016416251659393,
-0.13860706984996796,
-0.0529961884021759,
0.19488655030727386,
-0.018062273040413857,
0.11046300828456879,
0.16034890711307526,
0.27011415362358093,
0.039001770317554474,
-0.17507605254650116,
-0.007914721965789795,
-0.0034986063838005066,
0.0050134556367993355,
-0.03193168714642525,
0.07875745743513107,
-0.0769713968038559,
-0.0019181410316377878,
-0.009816769510507584,
-0.07139907032251358,
0.030284779146313667,
-0.043168213218450546,
-0.018780987709760666,
0.008410471491515636,
-0.07539425045251846,
0.05176996812224388,
0.016133468598127365,
0.01966129057109356,
-0.0762426108121872,
-0.07929757237434387,
0.0977238342165947,
0.1274118274450302,
-0.14728812873363495,
0.04491053521633148,
-0.11533495038747787,
0.0641198456287384,
-0.05758664384484291,
-0.04015859588980675,
-0.13103660941123962,
0.12422432750463486,
-0.007067971862852573,
0.04504789412021637,
0.01325440313667059,
0.17659741640090942,
-0.012426895089447498,
0.017701368778944016,
-0.026747340336441994,
-0.08097273111343384,
-0.006512237247079611,
-0.005133397411555052,
-0.04227215424180031,
-0.09152907133102417,
0.04072874039411545,
-0.08455207198858261,
0.053203191608190536,
-0.16179423034191132,
0.002564473543316126,
0.025951460003852844,
0.024926824495196342,
0.014549890533089638,
0.013106605969369411,
0.030839048326015472,
0.07253383845090866,
-0.024639781564474106,
0.0022668640594929457,
-0.01426197774708271,
0.010703482665121555,
-0.031190482899546623,
0.14111226797103882,
-0.18043093383312225,
0.053266219794750214,
0.122419074177742,
-0.03133339062333107,
-0.007009051740169525,
0.05619008094072342,
-0.020381975919008255,
0.001878625131212175,
-0.13418631255626678,
-0.05569085851311684,
0.30217546224594116,
-0.053877875208854675,
0.11907805502414703,
-0.14278317987918854,
-0.02158910036087036,
-0.001333682332187891,
-0.09728574752807617,
0.017378320917487144,
0.08093862980604172,
-0.04599086567759514,
0.0042172642424702644,
0.08039189130067825,
-0.027739809826016426,
-0.0814090222120285,
0.2331019788980484,
0.006314137950539589,
-0.07963257282972336,
0.01996162161231041,
-0.0099188769236207,
-0.05523369833827019,
0.08706282079219818,
-0.16589859127998352,
-0.01958264596760273,
0.013198602013289928,
0.08081194758415222,
0.10595115274190903,
-0.1592661589384079,
0.030491795390844345,
0.027131611481308937,
-0.1112499088048935,
-0.13858017325401306,
0.04618432745337486,
-0.03800845146179199,
0.04681983217597008,
-0.15320312976837158,
-0.06650654226541519,
0.006377757526934147,
-0.032002948224544525,
-0.17738103866577148,
0.1785762459039688,
-0.09341005235910416,
-0.27749621868133545,
-0.0949084535241127,
0.05815911293029785,
0.03293314203619957,
0.05147190019488335,
0.1531316637992859,
-0.09652121365070343,
-0.026675408706068993,
-0.05721272528171539,
0.11531690508127213,
0.0069991168566048145,
-0.0182038601487875,
-0.031371258199214935,
-0.00046110458788461983,
0.055533140897750854,
-0.15362387895584106,
-0.004167658742517233,
-0.06893354654312134,
-0.030780043452978134,
0.023839524015784264,
0.004051547963172197,
0.027865253388881683,
0.15802405774593353,
-0.008189631626009941,
-0.027427539229393005,
-0.05308631435036659,
0.1824968010187149,
-0.09295237809419632,
-0.04730754718184471,
0.2305641621351242,
-0.003108890261501074,
-0.032450295984745026,
0.0786084309220314,
-0.019814476370811462,
-0.09129603952169418,
0.01993095688521862,
0.006874787155538797,
-0.04233166575431824,
-0.2842758595943451,
-0.0835396870970726,
-0.02772858925163746,
-0.08156944811344147,
-0.023307567462325096,
0.019053608179092407,
0.056714437901973724,
0.03892865777015686,
-0.027797546237707138,
-0.0766710638999939,
0.04899780452251434,
-0.012594720348715782,
0.10020635277032852,
-0.028057441115379333,
0.08503717184066772,
-0.010743259452283382,
-0.05661831051111221,
0.011854696087539196,
0.042644210159778595,
0.12026818096637726,
0.041721560060977936,
0.0047067576088011265,
0.09473752975463867,
0.05038689076900482,
0.06862533837556839,
0.06384584307670593,
-0.045252371579408646,
-0.009518438950181007,
-0.013586169108748436,
-0.035196807235479355,
-0.009659327566623688,
0.0654061958193779,
0.11324936151504517,
-0.014332172460854053,
-0.11021651327610016,
-0.00948508083820343,
0.03832399100065231,
0.14006683230400085,
0.10464031249284744,
-0.23358787596225739,
-0.040608689188957214,
-0.0025254448410123587,
-0.051040925085544586,
-0.011571490205824375,
0.07796625047922134,
0.20969606935977936,
-0.09816756844520569,
0.023317918181419373,
0.05291815474629402,
0.08105597645044327,
0.0014819749630987644,
0.024463066831231117,
-0.11191634833812714,
0.05752155929803848,
-0.023124555125832558,
0.09049494564533234,
-0.2509032189846039,
0.20324070751667023,
-0.006713220849633217,
0.1614624559879303,
-0.03162722289562225,
0.0014416520716622472,
-0.03771865740418434,
0.0483722947537899,
0.14544212818145752,
-0.009557221084833145,
-0.028923815116286278,
-0.0692141056060791,
-0.07970370352268219,
0.06957963109016418,
-0.017669865861535072,
0.01159952487796545,
0.03485633060336113,
0.04530920088291168,
0.02004343830049038,
0.0375082902610302,
-0.059168923646211624,
-0.17753174901008606,
-0.04350941628217697,
-0.040820568799972534,
0.17116239666938782,
0.10169663280248642,
-0.030840696766972542,
-0.08940058201551437,
-0.09670108556747437,
0.02975940890610218,
-0.10864750295877457,
-0.09333916008472443,
-0.055424969643354416,
-0.03654417023062706,
0.09008046984672546,
-0.06839869171380997,
-0.00017112988280132413,
0.130680650472641,
0.12971794605255127,
-0.04302220046520233,
0.004889294039458036,
0.08784526586532593,
-0.13963598012924194,
-0.11866225302219391,
-0.03909048065543175,
0.16247251629829407,
0.11142046004533768,
0.06056629866361618,
0.07838274538516998,
-0.021219907328486443,
-0.007405390962958336,
-0.05083466321229935,
0.010385008528828621,
0.10306841135025024,
-0.039830487221479416,
0.05095827952027321,
0.0009502756875008345,
-0.18903698027133942,
-0.12288843095302582,
-0.0640692487359047,
0.15042293071746826,
0.1449378877878189,
-0.03379517421126366,
0.12854386866092682,
0.2369607388973236,
-0.12671494483947754,
-0.18385639786720276,
0.015844564884901047,
0.10055485367774963,
0.12064529955387115,
0.008757544681429863,
-0.14995789527893066,
0.057254355400800705,
0.04082643613219261,
-0.01212434284389019,
-0.06801627576351166,
-0.2598027288913727,
-0.15653075277805328,
0.18383799493312836,
-0.02685174159705639,
0.16878058016300201,
-0.02496413327753544,
-0.009069643914699554,
-0.03363775834441185,
0.051169656217098236,
0.046132151037454605,
-0.10854888707399368,
0.08530416339635849,
0.050521306693553925,
0.04691276699304581,
0.03550555184483528,
-0.0052731395699083805,
0.109903484582901,
0.10626722127199173,
0.02865317277610302,
0.038468338549137115,
0.07117558270692825,
0.002511399332433939,
0.01793386973440647,
0.13822419941425323,
-0.08019508421421051,
0.03210590034723282,
-0.10959828644990921,
-0.11379645764827728,
-0.04729127511382103,
0.08935019373893738,
0.021782007068395615,
-0.04438411071896553,
0.027976570650935173,
-0.05692315846681595,
0.027765419334173203,
-0.0066115884110331535,
-0.008954108692705631,
-0.12189853191375732,
0.04873169586062431,
0.12648499011993408,
0.17634408175945282,
-0.07479061186313629,
-0.12844567000865936,
0.0025853037368506193,
-0.025237197056412697,
0.12468904256820679,
-0.05342341586947441,
0.044871293008327484,
0.07345745712518692,
0.01939212717115879,
0.16134195029735565,
0.02493145875632763,
-0.0892266184091568,
0.08835018426179886,
0.029384486377239227,
-0.05159635841846466,
-0.11643616855144501,
-0.032894447445869446,
-0.04874693229794502,
-0.008232839405536652,
0.06299641728401184,
0.13926610350608826,
-0.07777488976716995,
-0.026040639728307724,
-0.07310979068279266,
0.03876058757305145,
-0.06692180782556534,
0.2592964470386505,
0.03352246433496475,
0.06539372354745865,
-0.09790410846471786,
0.05030139535665512,
-0.0028325854800641537,
-0.08196082711219788,
0.07679177075624466,
-0.08954566717147827,
-0.04363468661904335,
-0.040246255695819855,
-0.01697508431971073,
0.07653608918190002,
0.004593821242451668,
-0.18174941837787628,
-0.11638212203979492,
-0.10684919357299805,
-0.005334252491593361,
0.09271832555532455,
0.05542455613613129,
0.012916783802211285,
-0.041477739810943604,
-0.05055077746510506,
-0.107604019343853,
0.04630283638834953,
0.11961717903614044,
0.0021094123367220163,
-0.12247586250305176,
0.1852312833070755,
0.07518232613801956,
0.02999863401055336,
-0.03881024941802025,
-0.032602351158857346,
-0.04227465018630028,
0.08058397471904755,
-0.04622999578714371,
0.06858012080192566,
-0.03481902554631233,
-0.011999551206827164,
0.02973211370408535,
-0.07451769709587097,
-0.032987359911203384,
0.1054171621799469,
-0.08456013351678848,
0.08905062079429626,
0.0302735548466444,
0.0777515098452568,
-0.08688852936029434,
-0.010575445368885994,
-0.019120970740914345,
-0.0683094933629036,
0.07872625440359116,
0.09942534565925598,
-0.09936440736055374,
0.0935392901301384,
-0.26314443349838257,
-0.04101007804274559,
0.1067299023270607,
0.07583896070718765,
-0.01982656493782997,
-0.12590940296649933,
0.051901526749134064,
0.11873959749937057,
0.020055733621120453,
-0.040987465530633926,
0.03610905632376671,
-0.07082576304674149,
0.016155235469341278,
-0.06515748053789139,
-0.034877657890319824,
-0.03169791027903557,
-0.008787598460912704,
0.059075113385915756,
0.11396382749080658,
0.17983189225196838,
-0.10680430382490158,
0.08762825280427933,
-0.11330435425043106,
0.018517455086112022,
-0.030838822945952415,
-0.007150445133447647,
-0.12200029194355011,
-0.029641026630997658,
0.07565659284591675,
-0.048648934811353683,
0.15552347898483276,
0.05183188244700432,
0.06084137037396431,
-0.02106504701077938,
-0.11325128376483917,
0.07986189424991608,
0.0091196708381176,
0.20562274754047394,
-0.021086866036057472,
0.03218642994761467,
-0.06038998067378998,
0.005897673312574625,
0.09651375561952591,
0.07319599390029907,
0.03413042426109314,
0.17057733237743378,
0.00955033116042614,
0.12864795327186584,
0.05818290263414383,
-0.0717352107167244,
-0.0640421137213707,
-0.05210569128394127,
-0.06585966795682907,
0.01810443215072155,
-0.009492051787674427,
0.11557791382074356,
0.13486944139003754,
-0.10559503734111786,
0.0491369254887104,
0.011904630810022354,
-0.08154043555259705,
-0.18177205324172974,
-0.07544084638357162,
-0.08601060509681702,
-0.1370357871055603,
0.013996878638863564,
-0.1425609290599823,
0.005400953348726034,
0.0241839699447155,
0.036082517355680466,
-0.0224723219871521,
0.11007625609636307,
0.016996894031763077,
-0.12248564511537552,
0.050011515617370605,
-0.06240907311439514,
0.03734125196933746,
-0.0740496814250946,
-0.007009507156908512,
0.17380648851394653,
0.02383076399564743,
0.042111411690711975,
-0.015811696648597717,
-0.01828608289361,
0.044156547635793686,
-0.0645635649561882,
-0.027303341776132584,
-0.018598221242427826,
-0.008401360362768173,
0.08217926323413849,
0.10230312496423721,
0.14033691585063934,
-0.08576643466949463,
0.029071006923913956,
0.13781249523162842,
-0.021047240123152733,
-0.12225445359945297,
-0.13653530180454254,
0.13213710486888885,
0.1013336330652237,
0.08008655905723572,
0.04330844059586525,
-0.09840591251850128,
-0.008091420866549015,
0.16432207822799683,
0.1941756308078766,
0.05087918043136597,
0.023206762969493866,
-0.06622426956892014,
0.00014925516734365374,
-0.007385601289570332,
0.017584528774023056,
0.08549666404724121,
0.274752140045166,
0.0033151304814964533,
0.020893292501568794,
-0.08154259622097015,
-0.00996145699173212,
0.0026097807567566633,
0.046022310853004456,
-0.05737724155187607,
-0.08391605317592621,
0.0168788842856884,
0.11883819848299026,
-0.006707283668220043,
-0.15028318762779236,
-0.09943519532680511,
-0.09017316997051239,
-0.0801577940583229,
0.005649655591696501,
0.06996981054544449,
0.08645602315664291,
0.0419015996158123,
-0.06188368797302246,
0.003592784283682704,
0.12660707533359528,
0.004460099618881941,
-0.08477707952260971,
-0.03909657523036003,
0.024121202528476715,
-0.08436080813407898,
0.07039359956979752,
-0.006069396156817675,
0.2094770073890686,
0.025767993181943893,
0.0787079930305481,
-0.008638104423880577,
0.18471963703632355,
-0.034462958574295044,
-0.06238424777984619,
0.08594371378421783,
0.08437443524599075,
-0.03363008052110672,
0.1336340606212616,
0.034584689885377884,
-0.12279403954744339,
0.05447319522500038,
-0.09796798974275589,
-0.03754871338605881,
-0.09442738443613052,
0.062102749943733215,
-0.07209384441375732,
0.07558400928974152,
0.03462917357683182,
-0.07637029886245728,
-0.032698120921850204,
-0.01631423458456993,
0.10185736417770386,
0.03232802823185921,
-0.023369457572698593,
0.011564924381673336,
-0.2782880961894989,
0.024553358554840088,
-0.04308648034930229,
-0.005987939890474081,
-0.193547323346138,
0.002815389772877097,
-0.029926134273409843,
-0.09241098910570145,
-0.016938092187047005,
0.003575987182557583,
0.06708350032567978,
0.02453734539449215,
-0.035201314836740494,
0.010231606662273407,
0.0032993487548083067,
0.12613382935523987,
-0.10514427721500397,
-0.12490289658308029
] |
null | null |
transformers
|
# Wav2Vec2-Large-XLSR-53-Irish
Fine-tuned [facebook/wav2vec2-large-xlsr-53](https://huggingface.co/facebook/wav2vec2-large-xlsr-53) on Irish using the [Common Voice](https://huggingface.co/datasets/common_voice) dataset.
When using this model, make sure that your speech input is sampled at 16kHz.
## Usage
The model can be used directly (without a language model) as follows:
```python
import torch
import torchaudio
from datasets import load_dataset
from transformers import Wav2Vec2ForCTC, Wav2Vec2Processor
test_dataset = load_dataset("common_voice", "ga-IE", split="test[:2%]") #TODO: replace {lang_id} in your language code here. Make sure the code is one of the *ISO codes* of [this](https://huggingface.co/languages) site.
processor = Wav2Vec2Processor.from_pretrained("cpierse/wav2vec2-large-xlsr-53-irish")
model = Wav2Vec2ForCTC.from_pretrained("cpierse/wav2vec2-large-xlsr-53-irish")
resampler = torchaudio.transforms.Resample(48_000, 16_000)
# Preprocessing the datasets.
# We need to read the aduio files as arrays
def speech_file_to_array_fn(batch):
speech_array, sampling_rate = torchaudio.load(batch["path"])
batch["speech"] = resampler(speech_array).squeeze().numpy()
return batch
test_dataset = test_dataset.map(speech_file_to_array_fn)
inputs = processor(test_dataset["speech"][:2], sampling_rate=16_000, return_tensors="pt", padding=True)
with torch.no_grad():
logits = model(inputs.input_values, attention_mask=inputs.attention_mask).logits
predicted_ids = torch.argmax(logits, dim=-1)
print("Prediction:", processor.batch_decode(predicted_ids))
print("Reference:", test_dataset["sentence"][:2])
```
## Evaluation
The model can be evaluated as follows on the Irish test data of Common Voice.
```python
import torch
import torchaudio
from datasets import load_dataset, load_metric
from transformers import Wav2Vec2ForCTC, Wav2Vec2Processor
import re
test_dataset = load_dataset("common_voice", "ga-IE", split="test")
wer = load_metric("wer")
processor = Wav2Vec2Processor.from_pretrained("cpierse/wav2vec2-large-xlsr-53-irish")
model = Wav2Vec2ForCTC.from_pretrained("cpierse/wav2vec2-large-xlsr-53-irish")
model.to("cuda")
chars_to_ignore_regex = '[\,\?\.\!\-\;\:\"\“\%\‘\”\�\„\«\(\»\)\’\']'
resampler = torchaudio.transforms.Resample(48_000, 16_000)
# Preprocessing the datasets.
# We need to read the aduio files as arrays
def speech_file_to_array_fn(batch):
batch["sentence"] = re.sub(chars_to_ignore_regex, '', batch["sentence"]).lower()
speech_array, sampling_rate = torchaudio.load(batch["path"])
batch["speech"] = resampler(speech_array).squeeze().numpy()
return batch
test_dataset = test_dataset.map(speech_file_to_array_fn)
# Preprocessing the datasets.
# We need to read the aduio files as arrays
def evaluate(batch):
inputs = processor(batch["speech"], sampling_rate=16_000, return_tensors="pt", padding=True)
with torch.no_grad():
logits = model(inputs.input_values.to("cuda"), attention_mask=inputs.attention_mask.to("cuda")).logits
pred_ids = torch.argmax(logits, dim=-1)
batch["pred_strings"] = processor.batch_decode(pred_ids)
return batch
result = test_dataset.map(evaluate, batched=True, batch_size=8)
print("WER: {:2f}".format(100 * wer.compute(predictions=result["pred_strings"], references=result["sentence"])))
```
**Test Result**: 43.06 %
|
{"language": "ga-IE", "license": "apache-2.0", "tags": ["audio", "automatic-speech-recognition", "speech", "xlsr-fine-tuning-week"], "datasets": ["common_voice"], "metrics": ["wer"], "model-index": [{"name": "cpierse/wav2vec2-large-xlsr-53-irish", "results": [{"task": {"type": "automatic-speech-recognition", "name": "Speech Recognition"}, "dataset": {"name": "Common Voice ga-IE", "type": "common_voice", "args": "ga-IE"}, "metrics": [{"type": "wer", "value": 43.06, "name": "Test WER"}]}]}]}
|
automatic-speech-recognition
|
cpierse/wav2vec2-large-xlsr-53-irish
|
[
"transformers",
"pytorch",
"jax",
"wav2vec2",
"automatic-speech-recognition",
"audio",
"speech",
"xlsr-fine-tuning-week",
"dataset:common_voice",
"license:apache-2.0",
"model-index",
"endpoints_compatible",
"region:us"
] |
2022-03-02T23:29:05+00:00
|
[] |
[
"ga-IE"
] |
TAGS
#transformers #pytorch #jax #wav2vec2 #automatic-speech-recognition #audio #speech #xlsr-fine-tuning-week #dataset-common_voice #license-apache-2.0 #model-index #endpoints_compatible #region-us
|
# Wav2Vec2-Large-XLSR-53-Irish
Fine-tuned facebook/wav2vec2-large-xlsr-53 on Irish using the Common Voice dataset.
When using this model, make sure that your speech input is sampled at 16kHz.
## Usage
The model can be used directly (without a language model) as follows:
## Evaluation
The model can be evaluated as follows on the Irish test data of Common Voice.
Test Result: 43.06 %
|
[
"# Wav2Vec2-Large-XLSR-53-Irish \n\nFine-tuned facebook/wav2vec2-large-xlsr-53 on Irish using the Common Voice dataset. \n\nWhen using this model, make sure that your speech input is sampled at 16kHz.",
"## Usage\n\nThe model can be used directly (without a language model) as follows:",
"## Evaluation\n\nThe model can be evaluated as follows on the Irish test data of Common Voice. \n\n\n\nTest Result: 43.06 %"
] |
[
"TAGS\n#transformers #pytorch #jax #wav2vec2 #automatic-speech-recognition #audio #speech #xlsr-fine-tuning-week #dataset-common_voice #license-apache-2.0 #model-index #endpoints_compatible #region-us \n",
"# Wav2Vec2-Large-XLSR-53-Irish \n\nFine-tuned facebook/wav2vec2-large-xlsr-53 on Irish using the Common Voice dataset. \n\nWhen using this model, make sure that your speech input is sampled at 16kHz.",
"## Usage\n\nThe model can be used directly (without a language model) as follows:",
"## Evaluation\n\nThe model can be evaluated as follows on the Irish test data of Common Voice. \n\n\n\nTest Result: 43.06 %"
] |
[
78,
64,
20,
28
] |
[
"passage: TAGS\n#transformers #pytorch #jax #wav2vec2 #automatic-speech-recognition #audio #speech #xlsr-fine-tuning-week #dataset-common_voice #license-apache-2.0 #model-index #endpoints_compatible #region-us \n# Wav2Vec2-Large-XLSR-53-Irish \n\nFine-tuned facebook/wav2vec2-large-xlsr-53 on Irish using the Common Voice dataset. \n\nWhen using this model, make sure that your speech input is sampled at 16kHz.## Usage\n\nThe model can be used directly (without a language model) as follows:## Evaluation\n\nThe model can be evaluated as follows on the Irish test data of Common Voice. \n\n\n\nTest Result: 43.06 %"
] |
[
-0.21176375448703766,
0.062171027064323425,
-0.0024591528344899416,
-0.02821255289018154,
0.024834400042891502,
-0.09078190475702286,
0.13264374434947968,
0.055002689361572266,
0.10525020211935043,
0.031061138957738876,
0.0758173018693924,
0.05908990278840065,
0.022738400846719742,
0.12595854699611664,
-0.021503429859876633,
-0.08220996707677841,
0.06242867559194565,
-0.0025734570808708668,
0.010735499672591686,
0.11129318177700043,
0.07734852284193039,
-0.05723106116056442,
-0.01206301711499691,
0.08509470522403717,
-0.07554742693901062,
0.07703544199466705,
0.057056453078985214,
-0.1198851466178894,
0.15329313278198242,
0.12181408703327179,
-0.0019828707445412874,
0.051854874938726425,
0.011581405997276306,
-0.15262991189956665,
0.027027668431401253,
0.0031102898065000772,
0.04102380946278572,
-0.00018946689669974148,
0.04806530848145485,
0.03197215124964714,
0.0584203377366066,
0.1244439035654068,
-0.028160834684967995,
0.04369749873876572,
0.01482877042144537,
-0.2066238969564438,
0.003338983515277505,
0.01364014483988285,
0.09371799230575562,
0.13173933327198029,
-0.0753907561302185,
0.10430017858743668,
-0.12123426795005798,
0.061972539871931076,
0.1139301061630249,
-0.1534619778394699,
0.030691253021359444,
0.0802098736166954,
0.0004555473569780588,
0.06343398988246918,
0.0012493450194597244,
0.008704027161002159,
-0.023723822087049484,
0.0474381148815155,
-0.11182140558958054,
-0.015102982521057129,
-0.09749500453472137,
0.0009236877085641026,
-0.10967078804969788,
-0.023630760610103607,
0.19315612316131592,
-0.01459224708378315,
-0.049085114151239395,
-0.14051294326782227,
-0.047723203897476196,
0.10342921316623688,
-0.027529239654541016,
-0.1270967572927475,
-0.015554483979940414,
0.02572590485215187,
-0.01661624014377594,
-0.029744619503617287,
-0.10725276172161102,
-0.10027438402175903,
-0.0790630429983139,
0.09399569779634476,
0.028200270608067513,
0.03954099491238594,
-0.07824010401964188,
0.05003577470779419,
-0.1089097410440445,
-0.003173436736688018,
-0.04466289281845093,
0.06042603403329849,
-0.042317554354667664,
0.050129495561122894,
-0.04752074554562569,
-0.10661952197551727,
0.07894063740968704,
-0.04959879070520401,
0.005231339484453201,
-0.020814199000597,
-0.0013868471141904593,
0.07141363620758057,
0.03817658871412277,
0.15055181086063385,
-0.10261300206184387,
-0.14539837837219238,
0.04515503719449043,
-0.016572222113609314,
-0.008538085967302322,
0.004630874842405319,
-0.10816650837659836,
-0.06467166543006897,
-0.001053283573128283,
0.024295086041092873,
-0.014063783921301365,
-0.020733656361699104,
-0.050175413489341736,
-0.0933336690068245,
0.17717309296131134,
-0.08946854621171951,
-0.03676215559244156,
0.06390773504972458,
0.016560956835746765,
0.2505244016647339,
0.05998251959681511,
0.05605020746588707,
-0.12904223799705505,
-0.01597500592470169,
0.02814120426774025,
0.05261459946632385,
0.044239502400159836,
-0.05818597227334976,
0.017164256423711777,
0.06335770338773727,
-0.045245058834552765,
-0.04174447059631348,
-0.07700243592262268,
-0.0712151899933815,
-0.030980462208390236,
0.0339563749730587,
-0.07325959950685501,
-0.11876474320888519,
0.03136911615729332,
-0.06614112108945847,
-0.051525067538022995,
-0.03883190453052521,
-0.019502872601151466,
0.05677924305200577,
0.053873129189014435,
0.04307384788990021,
-0.08130083978176117,
0.1036762222647667,
-0.15523870289325714,
-0.09341086447238922,
-0.0935182198882103,
0.12875117361545563,
-0.04771095886826515,
-0.06189797818660736,
-0.10889765620231628,
-0.08146561682224274,
-0.02675463631749153,
0.047552064061164856,
0.001208960427902639,
0.034029778093099594,
-0.22174061834812164,
-0.10338354855775833,
0.10056502372026443,
-0.14462745189666748,
-0.006085749249905348,
0.21880269050598145,
0.03446592390537262,
0.031000668182969093,
0.14990459382534027,
0.1860177218914032,
0.08847496658563614,
-0.20014210045337677,
0.0595819428563118,
0.01330108568072319,
-0.05151497200131416,
-0.10982590913772583,
0.09361835569143295,
-0.11556793749332428,
0.07172423601150513,
0.046765804290771484,
-0.06795093417167664,
0.052547819912433624,
0.01648952066898346,
-0.06144220009446144,
-0.007488023955374956,
-0.05921368673443794,
0.03015347383916378,
0.06408124417066574,
-0.03891487047076225,
-0.021302778273820877,
-0.03374289721250534,
0.012730447575449944,
0.10890934616327286,
-0.12729132175445557,
0.03602373227477074,
-0.1483876258134842,
0.1848832219839096,
-0.11586447805166245,
-0.0035489825531840324,
-0.10547616332769394,
0.1634168028831482,
-0.04314545542001724,
0.05120126157999039,
0.1135399267077446,
0.1767117828130722,
-0.018427902832627296,
0.01118705328553915,
0.01805950701236725,
0.002788928337395191,
0.10626805573701859,
-0.060976359993219376,
-0.010767980478703976,
-0.06967834383249283,
0.0426873154938221,
-0.038110483437776566,
0.03526584431529045,
-0.13627362251281738,
-0.06006808206439018,
0.042736850678920746,
-0.049386799335479736,
-0.04324137419462204,
-0.018637575209140778,
0.025990255177021027,
0.08841332793235779,
-0.04175699129700661,
0.005949310027062893,
0.06620458513498306,
-0.03066493570804596,
0.009692824445664883,
0.17587406933307648,
-0.10992293804883957,
0.059398505836725235,
0.13419882953166962,
-0.02214495837688446,
0.04395671933889389,
0.0366872176527977,
-0.0024303009267896414,
0.010039380751550198,
-0.039313655346632004,
0.036363955587148666,
0.3508138954639435,
0.03774041682481766,
0.10706929862499237,
-0.11201805621385574,
-0.019846882671117783,
0.011596030555665493,
-0.018832994624972343,
0.006568339187651873,
0.0849156454205513,
0.0020784023217856884,
-0.05380693078041077,
-0.0025295913219451904,
-0.03629693761467934,
-0.042620595544576645,
0.1681833267211914,
-0.009447119198739529,
-0.09948037564754486,
0.03959288075566292,
-0.008559965528547764,
-0.048030219972133636,
0.06916358321905136,
-0.21954110264778137,
-0.018937839195132256,
0.040380071848630905,
-0.005431707948446274,
0.07177162915468216,
-0.1035093367099762,
0.03161826729774475,
0.012248650193214417,
-0.16264808177947998,
-0.15653574466705322,
0.07077046483755112,
0.00019504840020090342,
0.01690954901278019,
-0.11255121231079102,
-0.08546596020460129,
0.006322962697595358,
-0.026563892140984535,
-0.16525229811668396,
0.1037946343421936,
-0.07150905579328537,
-0.27641165256500244,
-0.1580469310283661,
0.006596618331968784,
-0.002728645922616124,
-0.009179843589663506,
0.0924031212925911,
-0.05307479202747345,
-0.044477514922618866,
-0.03524615243077278,
0.1067260131239891,
-0.04395579919219017,
-0.12394329160451889,
-0.05436910316348076,
-0.04908592253923416,
0.021445417776703835,
-0.15216994285583496,
0.016348667442798615,
-0.04573998972773552,
-0.014539200812578201,
-0.02394213154911995,
-0.06155918166041374,
-0.0011003728723153472,
0.21707218885421753,
-0.029218612238764763,
0.030989395454525948,
-0.010352290235459805,
0.18969815969467163,
-0.07236385345458984,
-0.021896209567785263,
0.14767614006996155,
0.04245118796825409,
-0.00023299307213164866,
0.08558792620897293,
0.0038300417363643646,
-0.025968657806515694,
-0.07761100679636002,
-0.039004236459732056,
-0.06301699578762054,
-0.23907576501369476,
-0.16885051131248474,
-0.02261992357671261,
-0.035319432616233826,
-0.04810463637113571,
0.031327277421951294,
0.027135442942380905,
0.028270810842514038,
-0.03431601822376251,
-0.11117468029260635,
0.034940604120492935,
-0.019693268463015556,
0.275858610868454,
-0.003562096506357193,
0.10592631995677948,
-0.04026947543025017,
0.011013532057404518,
0.0681656002998352,
0.005084312055259943,
0.10121329128742218,
0.038533538579940796,
0.09151828289031982,
0.047505635768175125,
0.16214582324028015,
0.11564000695943832,
0.09008781611919403,
-0.05449025332927704,
0.007974272593855858,
-0.01599273271858692,
-0.07276381552219391,
0.001746311434544623,
0.023362262174487114,
0.17084206640720367,
-0.05516510456800461,
0.03322305530309677,
0.022993071004748344,
-0.033975567668676376,
0.13156569004058838,
0.04815174266695976,
-0.16764728724956512,
-0.06526603549718857,
-0.07490766048431396,
-0.07822153717279434,
0.03823760896921158,
0.10936473309993744,
0.15754379332065582,
-0.08834991604089737,
0.0004216553352307528,
0.011491693556308746,
0.061154987663030624,
0.010789421387016773,
0.00725496606901288,
-0.113592728972435,
0.022055890411138535,
0.04118793457746506,
0.09843441098928452,
-0.14772559702396393,
0.1876438856124878,
-0.020278893411159515,
0.09768536686897278,
-0.017634069547057152,
-0.009576443582773209,
-0.025324370712041855,
0.11553751677274704,
0.09747939556837082,
0.03293776884675026,
0.055611759424209595,
-0.07512635737657547,
-0.08956003934144974,
0.06332825124263763,
-0.09126058965921402,
0.08651936799287796,
0.013888470828533173,
0.00397852249443531,
-0.02815706469118595,
-0.019873464480042458,
-0.05598783865571022,
-0.0692792758345604,
-0.11087723821401596,
-0.011052639223635197,
0.2417198270559311,
0.0538267120718956,
0.005140696652233601,
-0.09357020258903503,
-0.14897529780864716,
0.08831228315830231,
-0.08221639692783356,
-0.05153417959809303,
-0.02951822243630886,
-0.11363045871257782,
0.14319592714309692,
-0.06949694454669952,
-0.054441187530756,
0.02168826013803482,
0.07819090783596039,
-0.05240284278988838,
-0.05464371293783188,
0.07477978616952896,
-0.12285179644823074,
-0.07563178986310959,
0.008595476858317852,
0.21719346940517426,
0.07718999683856964,
0.03844757378101349,
0.11005896329879761,
-0.00937748234719038,
-0.05554282292723656,
-0.05922086536884308,
-0.03762679547071457,
0.0721568837761879,
-0.1486874371767044,
0.023975707590579987,
0.10329540073871613,
-0.18667200207710266,
-0.11390778422355652,
-0.03122030943632126,
0.16049087047576904,
0.02006159909069538,
-0.06030386686325073,
0.1715361773967743,
0.25748831033706665,
-0.08018626272678375,
-0.18370264768600464,
-0.08563172072172165,
0.028249407187104225,
0.059450339525938034,
-0.031992074102163315,
-0.10654586553573608,
0.16850689053535461,
0.03448418155312538,
-0.021726438775658607,
-0.03299105167388916,
-0.25461000204086304,
-0.15740707516670227,
0.20801323652267456,
-0.026668690145015717,
0.20114891231060028,
0.025143994018435478,
-0.016736147925257683,
0.006119336932897568,
0.015698807314038277,
-0.03540138155221939,
-0.015257553197443485,
0.06553749740123749,
0.00808669626712799,
0.18983668088912964,
0.03779925778508186,
-0.0018414970254525542,
0.028736673295497894,
0.10423502326011658,
-0.03728806599974632,
0.02241487428545952,
0.0005426655989140272,
0.05015280842781067,
0.06423070281744003,
0.15582390129566193,
-0.07402676343917847,
0.06608809530735016,
-0.023302625864744186,
-0.12281924486160278,
-0.08458620309829712,
0.05063391849398613,
0.026230525225400925,
0.038800254464149475,
-0.04120396077632904,
-0.04262032359838486,
-0.0343519002199173,
0.058526359498500824,
-0.053934235125780106,
-0.13571858406066895,
-0.02207690291106701,
0.15544787049293518,
0.17931321263313293,
-0.128274068236351,
-0.18082165718078613,
-0.04720282554626465,
-0.035443585366010666,
0.09441284090280533,
0.01216056291013956,
0.030590666458010674,
0.10730008035898209,
0.05688157677650452,
0.048243410885334015,
-0.014730958268046379,
-0.10213737189769745,
0.054253753274679184,
0.011694139800965786,
-0.040709760040044785,
-0.18424569070339203,
-0.016682133078575134,
-0.07146333903074265,
0.03365620970726013,
0.022249100729823112,
0.08539196103811264,
-0.048697832971811295,
-0.027974765747785568,
-0.004623326938599348,
-0.045249324291944504,
-0.06602295488119125,
0.28016397356987,
-0.04974151775240898,
0.04539193585515022,
-0.14986680448055267,
-0.019085455685853958,
-0.005412232130765915,
-0.04288109019398689,
-0.008987445384263992,
-0.0027523150201886892,
-0.051398199051618576,
-0.06706556677818298,
-0.05251318961381912,
0.06447537243366241,
-0.006837574765086174,
-0.1508205533027649,
0.0002631685638334602,
-0.06532981246709824,
0.036197200417518616,
0.12667670845985413,
0.0743139311671257,
-0.0065092965960502625,
-0.11927355825901031,
-0.11864052712917328,
-0.057274896651506424,
0.09588375687599182,
0.061525579541921616,
-0.04747477173805237,
-0.0962008461356163,
0.12219969928264618,
0.05654759705066681,
0.005224770400673151,
-0.04255455732345581,
-0.12055358290672302,
0.08483721315860748,
0.04680902138352394,
-0.10803265124559402,
0.05503566563129425,
-0.04282756894826889,
0.012421929277479649,
0.03252144157886505,
-0.102654829621315,
0.022580131888389587,
0.07850514352321625,
-0.07239748537540436,
0.06438364088535309,
0.008426515385508537,
0.043708931654691696,
-0.09686197340488434,
0.04386904463171959,
0.005945032928138971,
0.012523776851594448,
0.07476989179849625,
0.12342182546854019,
-0.1654215306043625,
0.059233710169792175,
-0.2349890172481537,
-0.07361844182014465,
0.07350604981184006,
0.10997151583433151,
0.012422287836670876,
-0.07742136716842651,
0.01340821199119091,
0.18315686285495758,
0.10604295879602432,
-0.0066766454838216305,
0.10051698237657547,
-0.0693417638540268,
0.00209584878757596,
-0.07975412160158157,
-0.09835582971572876,
-0.0000861869120853953,
-0.023350706323981285,
0.06438511610031128,
0.12583057582378387,
0.20671874284744263,
-0.13751867413520813,
0.07325165718793869,
-0.08410248160362244,
0.03869083151221275,
-0.03785772621631622,
0.02471568062901497,
-0.15469345450401306,
-0.03114590048789978,
0.002160674659535289,
-0.014732320792973042,
0.18629257380962372,
-0.02624928019940853,
0.07521352171897888,
-0.020375357940793037,
-0.0807916447520256,
-0.011177953332662582,
-0.06613491475582123,
0.15496431291103363,
0.05148419737815857,
0.04626617208123207,
-0.028344837948679924,
-0.006383552215993404,
0.029028844088315964,
0.08770609647035599,
-0.027004040777683258,
0.08595170080661774,
0.05401019752025604,
0.08306079357862473,
0.06860294938087463,
0.007478403393179178,
-0.050738830119371414,
-0.00798962451517582,
-0.12191782146692276,
0.016896231099963188,
-0.02148366905748844,
0.2641502022743225,
0.16025006771087646,
-0.033714793622493744,
0.069659523665905,
0.0531725138425827,
-0.059002410620450974,
-0.15030133724212646,
-0.1430279016494751,
-0.09086872637271881,
-0.20056813955307007,
0.022671613842248917,
-0.07477618008852005,
0.04981193318963051,
0.05601631850004196,
0.10552569478750229,
-0.06647840887308121,
0.09726022183895111,
-0.013504178263247013,
-0.09012994915246964,
0.04892115667462349,
-0.07667578756809235,
0.02168748341500759,
-0.015123688615858555,
0.06284356862306595,
0.1473594456911087,
0.002244433853775263,
0.09110996872186661,
0.0494372732937336,
-0.028079351410269737,
0.025678835809230804,
-0.12542203068733215,
-0.016772186383605003,
-0.05114198103547096,
0.006652761250734329,
0.0537138357758522,
0.14735743403434753,
0.1208062544465065,
-0.059203434735536575,
-0.0001514465839136392,
0.012531633488833904,
-0.032788846641778946,
-0.22693760693073273,
-0.043393295258283615,
0.13694609701633453,
0.006150152534246445,
0.06961437314748764,
-0.02400091663002968,
0.0016439419705420732,
0.00665661646053195,
0.2227783203125,
0.18083243072032928,
0.07841816544532776,
-0.019017480313777924,
-0.03244491666555405,
-0.022429171949625015,
-0.028030354529619217,
-0.03653262183070183,
0.09573351591825485,
0.34577545523643494,
0.0289349053055048,
-0.0747835710644722,
-0.10480978339910507,
-0.03228491544723511,
-0.09284428507089615,
-0.022104963660240173,
-0.05197302997112274,
-0.11745906621217728,
-0.010945597663521767,
0.1049925684928894,
-0.03886767476797104,
-0.060323137789964676,
-0.11163319647312164,
-0.04237944632768631,
-0.06284955143928528,
-0.03297905623912811,
0.019423097372055054,
0.08376117795705795,
0.0028974469751119614,
-0.049071915447711945,
0.0007088623242452741,
0.11415999382734299,
-0.038585834205150604,
-0.20224182307720184,
0.040238264948129654,
0.03712982311844826,
-0.18751958012580872,
0.018917130306363106,
0.019040949642658234,
0.1883094757795334,
0.01570015400648117,
0.1287049800157547,
0.0327482633292675,
0.13183721899986267,
-0.07093117386102676,
-0.06562060117721558,
0.07144464552402496,
0.05598215013742447,
0.037001609802246094,
0.1293528825044632,
0.043442949652671814,
-0.0587858185172081,
0.06541138142347336,
-0.10545841604471207,
-0.022575926035642624,
-0.1014411523938179,
0.042859166860580444,
-0.03455840051174164,
0.04554806277155876,
-0.010938995517790318,
-0.0032002367079257965,
-0.02199021354317665,
-0.05347111448645592,
0.050878725945949554,
-0.015602421946823597,
-0.04070485755801201,
-0.02527792565524578,
-0.16192063689231873,
0.010152256116271019,
-0.1901092678308487,
-0.037793468683958054,
-0.200520321726799,
-0.0006503635086119175,
-0.0440385602414608,
-0.04452603682875633,
0.016847532242536545,
0.0531000979244709,
0.0807938203215599,
0.022537296637892723,
0.02433628775179386,
0.05995653569698334,
0.0174463652074337,
0.10754630714654922,
-0.13601577281951904,
-0.06449535489082336
] |
null | null |
transformers
|
# Named Entity Recognition based on FERNET-CC_sk
This model is a fine-tuned version of [fav-kky/FERNET-CC_sk](https://huggingface.co/fav-kky/FERNET-CC_sk) on the Slovak wikiann dataset.
It achieves the following results on the evaluation set:
- Loss: 0.1763
- Precision: 0.9360
- Recall: 0.9472
- F1: 0.9416
- Accuracy: 0.9789
## Intended uses & limitation
Supported classes: LOCATION, PERSON, ORGANIZATION
```
from transformers import pipeline
ner_pipeline = pipeline(task='ner', model='crabz/slovakbert-ner')
input_sentence = "Minister financií a líder mandátovo najsilnejšieho hnutia OĽaNO Igor Matovič upozorňuje, že následky tretej vlny budú na Slovensku veľmi veľké."
classifications = ner_pipeline(input_sentence)
```
## Training procedure
### Training hyperparameters
The following hyperparameters were used during training:
- learning_rate: 5e-05
- train_batch_size: 24
- eval_batch_size: 24
- seed: 42
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- num_epochs: 10.0
### Training results
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
|:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|
| 0.1259 | 1.0 | 834 | 0.1095 | 0.8963 | 0.9182 | 0.9071 | 0.9697 |
| 0.071 | 2.0 | 1668 | 0.0974 | 0.9270 | 0.9357 | 0.9313 | 0.9762 |
| 0.0323 | 3.0 | 2502 | 0.1259 | 0.9257 | 0.9330 | 0.9293 | 0.9745 |
| 0.0175 | 4.0 | 3336 | 0.1347 | 0.9241 | 0.9360 | 0.9300 | 0.9756 |
| 0.0156 | 5.0 | 4170 | 0.1407 | 0.9337 | 0.9404 | 0.9370 | 0.9780 |
| 0.0062 | 6.0 | 5004 | 0.1522 | 0.9267 | 0.9410 | 0.9338 | 0.9774 |
| 0.0055 | 7.0 | 5838 | 0.1559 | 0.9322 | 0.9429 | 0.9375 | 0.9780 |
| 0.0024 | 8.0 | 6672 | 0.1733 | 0.9321 | 0.9438 | 0.9379 | 0.9779 |
| 0.0009 | 9.0 | 7506 | 0.1765 | 0.9347 | 0.9468 | 0.9407 | 0.9784 |
| 0.0002 | 10.0 | 8340 | 0.1763 | 0.9360 | 0.9472 | 0.9416 | 0.9789 |
### Framework versions
- Transformers 4.14.0.dev0
- Pytorch 1.10.0
- Datasets 1.16.1
- Tokenizers 0.10.3
|
{"language": ["sk"], "license": "cc-by-nc-sa-4.0", "tags": ["generated_from_trainer"], "datasets": ["wikiann"], "metrics": ["precision", "recall", "f1", "accuracy"], "inference": false, "model-index": [{"name": "fernet-sk-ner", "results": [{"task": {"type": "token-classification", "name": "Token Classification"}, "dataset": {"name": "wikiann sk", "type": "wikiann", "args": "sk"}, "metrics": [{"type": "precision", "value": 0.9359821760118826, "name": "Precision"}, {"type": "recall", "value": 0.9472378804960541, "name": "Recall"}, {"type": "f1", "value": 0.9415763914830033, "name": "F1"}, {"type": "accuracy", "value": 0.9789063466534702, "name": "Accuracy"}]}]}]}
|
token-classification
|
crabz/FERNET-CC_sk-ner
|
[
"transformers",
"pytorch",
"bert",
"token-classification",
"generated_from_trainer",
"sk",
"dataset:wikiann",
"license:cc-by-nc-sa-4.0",
"model-index",
"autotrain_compatible",
"region:us"
] |
2022-03-02T23:29:05+00:00
|
[] |
[
"sk"
] |
TAGS
#transformers #pytorch #bert #token-classification #generated_from_trainer #sk #dataset-wikiann #license-cc-by-nc-sa-4.0 #model-index #autotrain_compatible #region-us
|
Named Entity Recognition based on FERNET-CC\_sk
===============================================
This model is a fine-tuned version of fav-kky/FERNET-CC\_sk on the Slovak wikiann dataset.
It achieves the following results on the evaluation set:
* Loss: 0.1763
* Precision: 0.9360
* Recall: 0.9472
* F1: 0.9416
* Accuracy: 0.9789
Intended uses & limitation
--------------------------
Supported classes: LOCATION, PERSON, ORGANIZATION
Training procedure
------------------
### Training hyperparameters
The following hyperparameters were used during training:
* learning\_rate: 5e-05
* train\_batch\_size: 24
* eval\_batch\_size: 24
* seed: 42
* optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
* lr\_scheduler\_type: linear
* num\_epochs: 10.0
### Training results
### Framework versions
* Transformers 4.14.0.dev0
* Pytorch 1.10.0
* Datasets 1.16.1
* Tokenizers 0.10.3
|
[
"### Training hyperparameters\n\n\nThe following hyperparameters were used during training:\n\n\n* learning\\_rate: 5e-05\n* train\\_batch\\_size: 24\n* eval\\_batch\\_size: 24\n* seed: 42\n* optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08\n* lr\\_scheduler\\_type: linear\n* num\\_epochs: 10.0",
"### Training results",
"### Framework versions\n\n\n* Transformers 4.14.0.dev0\n* Pytorch 1.10.0\n* Datasets 1.16.1\n* Tokenizers 0.10.3"
] |
[
"TAGS\n#transformers #pytorch #bert #token-classification #generated_from_trainer #sk #dataset-wikiann #license-cc-by-nc-sa-4.0 #model-index #autotrain_compatible #region-us \n",
"### Training hyperparameters\n\n\nThe following hyperparameters were used during training:\n\n\n* learning\\_rate: 5e-05\n* train\\_batch\\_size: 24\n* eval\\_batch\\_size: 24\n* seed: 42\n* optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08\n* lr\\_scheduler\\_type: linear\n* num\\_epochs: 10.0",
"### Training results",
"### Framework versions\n\n\n* Transformers 4.14.0.dev0\n* Pytorch 1.10.0\n* Datasets 1.16.1\n* Tokenizers 0.10.3"
] |
[
61,
99,
4,
33
] |
[
"passage: TAGS\n#transformers #pytorch #bert #token-classification #generated_from_trainer #sk #dataset-wikiann #license-cc-by-nc-sa-4.0 #model-index #autotrain_compatible #region-us \n### Training hyperparameters\n\n\nThe following hyperparameters were used during training:\n\n\n* learning\\_rate: 5e-05\n* train\\_batch\\_size: 24\n* eval\\_batch\\_size: 24\n* seed: 42\n* optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08\n* lr\\_scheduler\\_type: linear\n* num\\_epochs: 10.0### Training results### Framework versions\n\n\n* Transformers 4.14.0.dev0\n* Pytorch 1.10.0\n* Datasets 1.16.1\n* Tokenizers 0.10.3"
] |
[
-0.11834384500980377,
0.08386336266994476,
-0.0015712843742221594,
0.1278567910194397,
0.17781756818294525,
0.036650270223617554,
0.13113877177238464,
0.0945262536406517,
-0.06744645535945892,
0.009905016981065273,
0.13092701137065887,
0.17755623161792755,
-0.0013785759219899774,
0.11962369084358215,
-0.03522995486855507,
-0.2628045082092285,
-0.00041794072603806853,
0.038991108536720276,
-0.08500749617815018,
0.14307314157485962,
0.0902528315782547,
-0.15739978849887848,
0.08695539087057114,
0.007395296357572079,
-0.24274493753910065,
0.0001592268090462312,
0.03321659937500954,
-0.07591413706541061,
0.1588478684425354,
0.00787799060344696,
0.13512025773525238,
0.012423915788531303,
0.11432117968797684,
-0.1470392644405365,
0.01251062098890543,
0.04067127779126167,
0.022488735616207123,
0.10171330720186234,
0.039734333753585815,
0.020907703787088394,
0.10265772044658661,
-0.06951753795146942,
0.051359325647354126,
0.013926793821156025,
-0.12763823568820953,
-0.23646894097328186,
-0.07222052663564682,
0.03790917992591858,
0.05087320879101753,
0.08521971106529236,
0.0010297528933733702,
0.15715248882770538,
-0.11285319179296494,
0.07987948507070541,
0.20690885186195374,
-0.2678869664669037,
-0.06247676536440849,
0.05430017411708832,
-0.029910633340477943,
0.07490724325180054,
-0.121968574821949,
-0.008189289830625057,
0.050117142498493195,
0.03873514384031296,
0.16012290120124817,
-0.03731312230229378,
-0.0989455059170723,
0.036865949630737305,
-0.14879152178764343,
-0.019701499491930008,
0.15692897140979767,
0.04844171926379204,
-0.04000261798501015,
-0.003068632911890745,
-0.04664919897913933,
-0.11653991043567657,
-0.038144875317811966,
-0.021785948425531387,
0.048995815217494965,
-0.052765488624572754,
-0.10013280063867569,
0.005963046569377184,
-0.09008574485778809,
-0.08441465348005295,
-0.08131823688745499,
0.20279866456985474,
0.03991428390145302,
0.02350572869181633,
-0.015570423565804958,
0.10641250759363174,
0.006215838249772787,
-0.1163850873708725,
0.023437198251485825,
0.019200779497623444,
-0.009919542819261551,
-0.05844124034047127,
-0.04589054360985756,
-0.013448404148221016,
0.004417184740304947,
0.09321971237659454,
-0.05469959229230881,
0.022487003356218338,
0.06270285695791245,
0.02999923937022686,
-0.09194520115852356,
0.1905478686094284,
-0.060395244508981705,
0.01248189527541399,
0.010859005153179169,
0.05192378908395767,
-0.01839674450457096,
-0.010708382353186607,
-0.12452723830938339,
-0.009961212053894997,
0.09491012990474701,
0.0014020856469869614,
-0.0968896895647049,
0.08169852942228317,
-0.048826683312654495,
-0.03822396695613861,
0.02142290398478508,
-0.08147436380386353,
0.03203918784856796,
-0.004945709370076656,
-0.0951346680521965,
-0.00838936772197485,
0.004304395988583565,
0.00724633177742362,
0.0021979010198265314,
0.12743054330348969,
-0.11338287591934204,
0.03792252391576767,
-0.08732277899980545,
-0.11838679015636444,
-0.0003039286530110985,
-0.07366017997264862,
0.032060593366622925,
-0.10018955171108246,
-0.15886461734771729,
-0.0025695154909044504,
0.023529158905148506,
-0.011518105864524841,
-0.06789986044168472,
-0.04713920131325722,
-0.0688808411359787,
-0.00132618541829288,
-0.013889600522816181,
0.11269430071115494,
-0.06588121503591537,
0.1104646772146225,
0.027200592681765556,
0.057187214493751526,
-0.060186296701431274,
0.05255751311779022,
-0.10911490023136139,
-0.000042152612877544016,
-0.20809273421764374,
0.04506397619843483,
-0.06941543519496918,
0.05527827888727188,
-0.0847247987985611,
-0.11360115557909012,
0.03135986626148224,
-0.0017738783499225974,
0.06852652877569199,
0.10947253555059433,
-0.15925602614879608,
-0.08323904871940613,
0.1449924260377884,
-0.06025780737400055,
-0.11673673242330551,
0.10656674206256866,
-0.07959845662117004,
0.0440390519797802,
0.0854976624250412,
0.16739702224731445,
0.052949052304029465,
-0.07796881347894669,
0.021735792979598045,
0.0013809872325509787,
0.058969128876924515,
-0.07763940095901489,
0.07686571776866913,
0.005571781657636166,
-0.034419845789670944,
0.02928782068192959,
-0.07015742361545563,
0.07154610008001328,
-0.12166190892457962,
-0.0865626111626625,
-0.02303566038608551,
-0.10128858685493469,
0.07399725914001465,
0.06208916753530502,
0.08033495396375656,
-0.1034335345029831,
-0.05574515461921692,
0.11804728209972382,
0.09544152766466141,
-0.04125763475894928,
0.012727323919534683,
-0.07050348818302155,
0.05638720467686653,
-0.055293578654527664,
-0.030756428837776184,
-0.1676643341779709,
-0.038582462817430496,
0.013181287795305252,
0.020499160513281822,
0.03574905917048454,
0.014886301010847092,
0.05758971348404884,
0.07639723271131516,
-0.04848593845963478,
-0.011066745035350323,
-0.05619977414608002,
0.013457480818033218,
-0.1374238133430481,
-0.20112811028957367,
-0.03482378274202347,
-0.002503341529518366,
0.11773901432752609,
-0.21202069520950317,
0.029640886932611465,
-0.013637547381222248,
0.06942633539438248,
0.0007062365766614676,
-0.011736806482076645,
-0.04076208174228668,
0.08973078429698944,
-0.019974466413259506,
-0.041481707245111465,
0.06783999502658844,
-0.012290451675653458,
-0.09759747982025146,
-0.04274759814143181,
-0.06759321689605713,
0.18796351552009583,
0.13048981130123138,
-0.1450382024049759,
-0.07371606677770615,
-0.007170294411480427,
-0.0445689857006073,
-0.025096308439970016,
-0.06561241298913956,
0.043586160987615585,
0.1674908846616745,
-0.015730582177639008,
0.13638338446617126,
-0.07110781967639923,
-0.023720266297459602,
0.020780615508556366,
-0.02936091274023056,
0.0481291338801384,
0.1223318874835968,
0.1406557410955429,
-0.09239490330219269,
0.1400451809167862,
0.16588841378688812,
-0.08353207260370255,
0.11465313285589218,
-0.04171497002243996,
-0.06926646828651428,
-0.025868242606520653,
-0.06334390491247177,
-0.024900631979107857,
0.12607674300670624,
-0.1169004887342453,
-0.011782116256654263,
0.024001648649573326,
0.023690614849328995,
-0.00749277463182807,
-0.2191622108221054,
-0.06391756236553192,
0.034311193972826004,
-0.035434216260910034,
-0.03807320445775986,
-0.013664565049111843,
0.010442337952554226,
0.11252520233392715,
0.005806248169392347,
-0.10270444303750992,
0.03268468752503395,
0.01983039081096649,
-0.06885824352502823,
0.21389149129390717,
-0.08013346791267395,
-0.10992343723773956,
-0.11317767947912216,
-0.07249931991100311,
-0.06578931212425232,
0.005273689050227404,
0.038982272148132324,
-0.09944433718919754,
-0.02061964012682438,
-0.043678220361471176,
0.03729794919490814,
-0.015635624527931213,
0.03508744388818741,
-0.0005137674743309617,
-0.028363998979330063,
0.05956707149744034,
-0.10274745523929596,
-0.007403235882520676,
-0.061079416424036026,
-0.06961362808942795,
0.05108962208032608,
0.0379897765815258,
0.1274603009223938,
0.1537950187921524,
-0.03438246250152588,
0.01114301010966301,
-0.03511558100581169,
0.2626996338367462,
-0.0658675953745842,
-0.027339115738868713,
0.12137339264154434,
-0.0011712730629369617,
0.038462091237306595,
0.08843895047903061,
0.09374701976776123,
-0.08969507366418839,
-0.006227049510926008,
0.03700852766633034,
-0.04230516031384468,
-0.20125314593315125,
-0.04711633548140526,
-0.03806876018643379,
-0.03307085484266281,
0.09671711921691895,
0.020742081105709076,
0.029779264703392982,
0.0861615389585495,
0.0449337363243103,
0.0784635990858078,
-0.06180626153945923,
0.0510714054107666,
0.1282883584499359,
0.05642323940992355,
0.12922433018684387,
-0.03586628660559654,
-0.0667363777756691,
0.04207244887948036,
-0.03114280290901661,
0.21055905520915985,
0.007308409549295902,
0.11597135663032532,
0.0626051127910614,
0.19330431520938873,
0.014529522508382797,
0.07102088630199432,
0.020541353151202202,
-0.039619896560907364,
-0.0184040330350399,
-0.041583675891160965,
-0.03269601985812187,
0.005625611171126366,
-0.06892457604408264,
0.061221007257699966,
-0.12269146740436554,
-0.003924142103642225,
0.0559958778321743,
0.24056188762187958,
0.029764391481876373,
-0.33774903416633606,
-0.10302457213401794,
-0.02015402354300022,
-0.011266052722930908,
-0.009158127009868622,
0.02641548030078411,
0.0897560864686966,
-0.10420216619968414,
0.02180362120270729,
-0.04817349836230278,
0.09464158117771149,
-0.051102183759212494,
0.04739357903599739,
0.057126209139823914,
0.12732923030853271,
-0.016228556632995605,
0.07567747682332993,
-0.28792786598205566,
0.27987590432167053,
0.007579457014799118,
0.06102422997355461,
-0.06573101878166199,
-0.038086943328380585,
0.04619365930557251,
0.10853566974401474,
0.049915023148059845,
0.006565828807651997,
0.00018251001893077046,
-0.23276305198669434,
-0.04552913084626198,
0.0407525897026062,
0.07393921166658401,
-0.05344301089644432,
0.08284716308116913,
-0.01613795757293701,
0.017040925100445747,
0.07973544299602509,
-0.00940832681953907,
-0.06141214072704315,
-0.04543549194931984,
-0.03411351889371872,
0.04474678635597229,
-0.033637456595897675,
-0.05326438322663307,
-0.12039081007242203,
-0.14281630516052246,
0.09805659204721451,
0.01570967771112919,
-0.024667445570230484,
-0.1155184805393219,
0.09993962198495865,
0.0806381031870842,
-0.09256928414106369,
0.03104679100215435,
0.011088354513049126,
0.04971573129296303,
0.045380961149930954,
-0.05718972533941269,
0.11185098439455032,
-0.050158631056547165,
-0.16082242131233215,
-0.04331495240330696,
0.07645030319690704,
0.05457519739866257,
0.0680510625243187,
-0.01060151681303978,
0.018926182761788368,
-0.01993858441710472,
-0.10269217938184738,
0.03852427378296852,
-0.024756943807005882,
0.05581827089190483,
0.03935035690665245,
-0.04562757909297943,
0.05217203125357628,
-0.07337897270917892,
-0.02897615358233452,
0.16791589558124542,
0.2601950168609619,
-0.10451886802911758,
0.005112411919981241,
0.056357771158218384,
-0.06525809317827225,
-0.1951184868812561,
0.06512250006198883,
0.04038533568382263,
0.008198307827115059,
0.05164611339569092,
-0.19230931997299194,
0.1533472239971161,
0.12604711949825287,
-0.006938265636563301,
0.08527915179729462,
-0.30496278405189514,
-0.1265185922384262,
0.1369638442993164,
0.16076761484146118,
0.14192728698253632,
-0.11983303725719452,
-0.007000662386417389,
-0.013790307566523552,
-0.10633568465709686,
0.11652309447526932,
-0.08511717617511749,
0.10696440935134888,
-0.03287133574485779,
0.10520727187395096,
0.010844318196177483,
-0.04192112013697624,
0.12576040625572205,
0.04126393422484398,
0.11721456795930862,
-0.05230466648936272,
-0.04922457039356232,
0.0487263984978199,
-0.02367047406733036,
0.002696763025596738,
-0.05319776013493538,
0.03488747403025627,
-0.08242474496364594,
-0.016911806538701057,
-0.09222033619880676,
0.047796137630939484,
-0.03052964061498642,
-0.07682495564222336,
-0.04543200135231018,
0.03249164670705795,
0.031414613127708435,
-0.025407614186406136,
0.11905542761087418,
0.02057826891541481,
0.1391575187444687,
0.06118136644363403,
0.06080244481563568,
-0.061755578964948654,
-0.06601237505674362,
-0.013668691739439964,
-0.019533444195985794,
0.07243163883686066,
-0.1448545753955841,
0.02010028436779976,
0.1387525498867035,
0.03602581471204758,
0.12836205959320068,
0.08219259977340698,
-0.022291794419288635,
0.0066947489976882935,
0.04776274040341377,
-0.1584848016500473,
-0.07687976956367493,
-0.005352836102247238,
-0.09116992354393005,
-0.08528264611959457,
0.06266175210475922,
0.09080128371715546,
-0.08899320662021637,
-0.013053826056420803,
-0.01130384299904108,
-0.020601553842425346,
-0.06006378307938576,
0.20973841845989227,
0.08880199491977692,
0.05006544664502144,
-0.11083773523569107,
0.06974797695875168,
0.05258086323738098,
-0.029082313179969788,
-0.011352233588695526,
0.05534668639302254,
-0.10343631356954575,
-0.03523978963494301,
0.06899241358041763,
0.18342436850070953,
-0.10493142157793045,
-0.03265667334198952,
-0.13205471634864807,
-0.11866506189107895,
0.06612084805965424,
0.16067013144493103,
0.11949823796749115,
0.0002002413966692984,
-0.04986042529344559,
0.004222651943564415,
-0.12116790562868118,
0.0767875388264656,
0.01822771318256855,
0.06946751475334167,
-0.1554495096206665,
0.18495018780231476,
0.0015017035184428096,
0.06105387955904007,
-0.027910714969038963,
0.02069832757115364,
-0.1108873263001442,
0.020215477794408798,
-0.12641961872577667,
-0.040600311011075974,
-0.03209620714187622,
0.019350890070199966,
-0.008556269109249115,
-0.0844840407371521,
-0.04723820090293884,
0.011459389701485634,
-0.13041768968105316,
-0.007380504626780748,
0.05952499061822891,
0.0641457661986351,
-0.10930408537387848,
-0.04178309813141823,
0.021891864016652107,
-0.04600198194384575,
0.06992620974779129,
0.055719006806612015,
0.019672082737088203,
0.07117441296577454,
-0.12239045649766922,
0.0211257953196764,
0.06295845657587051,
0.01182374358177185,
0.08617343008518219,
-0.06281701475381851,
-0.007408719044178724,
-0.01334055420011282,
0.07588255405426025,
0.02831733413040638,
0.06987549364566803,
-0.12249141186475754,
-0.02168130874633789,
-0.014293632470071316,
-0.07511788606643677,
-0.059953972697257996,
0.035426586866378784,
0.1108832135796547,
0.023618699982762337,
0.18326519429683685,
-0.07078834623098373,
0.03473423048853874,
-0.20909608900547028,
-0.008366202004253864,
-0.024202985689044,
-0.1163443922996521,
-0.1398274451494217,
-0.07028929144144058,
0.07165630906820297,
-0.05702192336320877,
0.13852396607398987,
0.032513972371816635,
0.03205747902393341,
0.02381512150168419,
-0.01005797553807497,
0.0026232085656374693,
0.013551974669098854,
0.21858444809913635,
0.050607141107320786,
-0.0403406098484993,
0.08880829811096191,
0.06415466219186783,
0.09585490822792053,
0.13768361508846283,
0.18218611180782318,
0.14492297172546387,
-0.013311081565916538,
0.06529777497053146,
0.05520397797226906,
-0.05131072923541069,
-0.14699487388134003,
0.020581211894750595,
-0.03296835348010063,
0.0819854810833931,
-0.02136393077671528,
0.1996748149394989,
0.05344061553478241,
-0.1564435362815857,
0.04283478483557701,
-0.04790347442030907,
-0.09032074362039566,
-0.1158231645822525,
-0.04184029623866081,
-0.0833996906876564,
-0.14936397969722748,
0.00527447834610939,
-0.11132527142763138,
-0.0012844084994867444,
0.1368502378463745,
0.007429298013448715,
-0.02479707822203636,
0.1535348892211914,
0.02824762649834156,
0.02424570359289646,
0.06200949475169182,
-0.007345789577811956,
-0.046925827860832214,
-0.12695062160491943,
-0.07512447983026505,
-0.00004682169310399331,
-0.013245978392660618,
0.021633433178067207,
-0.08132559806108475,
-0.07694626599550247,
0.030241189524531364,
-0.031438179314136505,
-0.10197662562131882,
0.02205774374306202,
0.013045860454440117,
0.05916186794638634,
0.01812717132270336,
0.009621045552194118,
0.008610653690993786,
-0.020754825323820114,
0.21299877762794495,
-0.06303846836090088,
-0.06798446923494339,
-0.09237810224294662,
0.2788912057876587,
0.03036864474415779,
-0.008461788296699524,
0.04420168325304985,
-0.05807071551680565,
0.015730906277894974,
0.22423069179058075,
0.2063829004764557,
-0.12092042714357376,
-0.005354736931622028,
-0.022481907159090042,
-0.01822560466825962,
-0.028757264837622643,
0.13171225786209106,
0.10086169093847275,
-0.006711468566209078,
-0.08950939029455185,
-0.02432074397802353,
-0.07810288667678833,
-0.006216814275830984,
-0.019874345511198044,
0.04590054973959923,
0.06339997798204422,
-0.0025185029953718185,
-0.06691205501556396,
0.055734410881996155,
-0.07203494012355804,
-0.10104037821292877,
0.08061963319778442,
-0.1710880994796753,
-0.15828321874141693,
-0.024468671530485153,
0.03991631045937538,
0.01986202411353588,
0.06043337285518646,
-0.04862537980079651,
0.011601315811276436,
0.04185154661536217,
-0.014135979115962982,
-0.09133567661046982,
-0.1026025339961052,
0.13213390111923218,
-0.07032798230648041,
0.1981714516878128,
-0.042083896696567535,
0.09358914196491241,
0.11326634883880615,
0.06562381237745285,
-0.07761012017726898,
0.06324438005685806,
0.04215738922357559,
-0.06941065192222595,
0.00673729507252574,
0.06151828542351723,
-0.026089955121278763,
0.07349944859743118,
0.035730574280023575,
-0.13630126416683197,
0.018322965130209923,
-0.05486037954688072,
-0.06725252419710159,
-0.040467530488967896,
-0.058088138699531555,
-0.058851227164268494,
0.12692785263061523,
0.215200737118721,
-0.025369418784976006,
0.000946212443523109,
-0.07494041323661804,
0.01848301850259304,
0.06289424747228622,
-0.018250366672873497,
-0.07970570027828217,
-0.21160754561424255,
0.0022561680525541306,
0.06610825657844543,
-0.03154401108622551,
-0.2142983227968216,
-0.07764601707458496,
-0.004308087285608053,
-0.07397336512804031,
-0.06332801282405853,
0.0837559700012207,
0.06069978326559067,
0.05634510517120361,
-0.056245725601911545,
-0.06856460869312286,
-0.08049052208662033,
0.15382030606269836,
-0.15097518265247345,
-0.08789223432540894
] |
null | null |
transformers
|
# Named Entity Recognition based on bertoslav-limited
This model is a fine-tuned version of [crabz/bertoslav-limited](https://huggingface.co/crabz/bertoslav-limited) on the Slovak wikiann dataset.
It achieves the following results on the evaluation set:
- Loss: 0.2119
- Precision: 0.8986
- Recall: 0.9174
- F1: 0.9079
- Accuracy: 0.9700
## Training procedure
### Training hyperparameters
The following hyperparameters were used during training:
- learning_rate: 5e-05
- train_batch_size: 24
- eval_batch_size: 24
- seed: 42
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- num_epochs: 10.0
### Training results
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
|:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|
| 0.2953 | 1.0 | 834 | 0.1516 | 0.8413 | 0.8647 | 0.8529 | 0.9549 |
| 0.0975 | 2.0 | 1668 | 0.1304 | 0.8787 | 0.9056 | 0.8920 | 0.9658 |
| 0.0487 | 3.0 | 2502 | 0.1405 | 0.8916 | 0.8958 | 0.8937 | 0.9660 |
| 0.025 | 4.0 | 3336 | 0.1658 | 0.8850 | 0.9116 | 0.8981 | 0.9669 |
| 0.0161 | 5.0 | 4170 | 0.1739 | 0.8974 | 0.9127 | 0.9050 | 0.9693 |
| 0.0074 | 6.0 | 5004 | 0.1888 | 0.8900 | 0.9144 | 0.9020 | 0.9687 |
| 0.0051 | 7.0 | 5838 | 0.1996 | 0.8946 | 0.9145 | 0.9044 | 0.9693 |
| 0.0039 | 8.0 | 6672 | 0.2052 | 0.8993 | 0.9158 | 0.9075 | 0.9697 |
| 0.0024 | 9.0 | 7506 | 0.2112 | 0.8946 | 0.9171 | 0.9057 | 0.9696 |
| 0.0018 | 10.0 | 8340 | 0.2119 | 0.8986 | 0.9174 | 0.9079 | 0.9700 |
### Framework versions
- Transformers 4.14.0.dev0
- Pytorch 1.10.0
- Datasets 1.16.1
- Tokenizers 0.10.3
|
{"language": ["sk"], "tags": ["generated_from_trainer"], "datasets": ["wikiann"], "metrics": ["precision", "recall", "f1", "accuracy"], "inference": false, "model-index": [{"name": "bertoslav-limited-ner", "results": [{"task": {"type": "token-classification", "name": "Token Classification"}, "dataset": {"name": "wikiann sk", "type": "wikiann", "args": "sk"}, "metrics": [{"type": "precision", "value": 0.8985571260306242, "name": "Precision"}, {"type": "recall", "value": 0.9173994738819993, "name": "Recall"}, {"type": "f1", "value": 0.9078805459481573, "name": "F1"}, {"type": "accuracy", "value": 0.9700235061239639, "name": "Accuracy"}]}]}]}
|
token-classification
|
crabz/bertoslav-limited-ner
|
[
"transformers",
"pytorch",
"distilbert",
"token-classification",
"generated_from_trainer",
"sk",
"dataset:wikiann",
"model-index",
"autotrain_compatible",
"region:us"
] |
2022-03-02T23:29:05+00:00
|
[] |
[
"sk"
] |
TAGS
#transformers #pytorch #distilbert #token-classification #generated_from_trainer #sk #dataset-wikiann #model-index #autotrain_compatible #region-us
|
Named Entity Recognition based on bertoslav-limited
===================================================
This model is a fine-tuned version of crabz/bertoslav-limited on the Slovak wikiann dataset.
It achieves the following results on the evaluation set:
* Loss: 0.2119
* Precision: 0.8986
* Recall: 0.9174
* F1: 0.9079
* Accuracy: 0.9700
Training procedure
------------------
### Training hyperparameters
The following hyperparameters were used during training:
* learning\_rate: 5e-05
* train\_batch\_size: 24
* eval\_batch\_size: 24
* seed: 42
* optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
* lr\_scheduler\_type: linear
* num\_epochs: 10.0
### Training results
### Framework versions
* Transformers 4.14.0.dev0
* Pytorch 1.10.0
* Datasets 1.16.1
* Tokenizers 0.10.3
|
[
"### Training hyperparameters\n\n\nThe following hyperparameters were used during training:\n\n\n* learning\\_rate: 5e-05\n* train\\_batch\\_size: 24\n* eval\\_batch\\_size: 24\n* seed: 42\n* optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08\n* lr\\_scheduler\\_type: linear\n* num\\_epochs: 10.0",
"### Training results",
"### Framework versions\n\n\n* Transformers 4.14.0.dev0\n* Pytorch 1.10.0\n* Datasets 1.16.1\n* Tokenizers 0.10.3"
] |
[
"TAGS\n#transformers #pytorch #distilbert #token-classification #generated_from_trainer #sk #dataset-wikiann #model-index #autotrain_compatible #region-us \n",
"### Training hyperparameters\n\n\nThe following hyperparameters were used during training:\n\n\n* learning\\_rate: 5e-05\n* train\\_batch\\_size: 24\n* eval\\_batch\\_size: 24\n* seed: 42\n* optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08\n* lr\\_scheduler\\_type: linear\n* num\\_epochs: 10.0",
"### Training results",
"### Framework versions\n\n\n* Transformers 4.14.0.dev0\n* Pytorch 1.10.0\n* Datasets 1.16.1\n* Tokenizers 0.10.3"
] |
[
50,
99,
4,
33
] |
[
"passage: TAGS\n#transformers #pytorch #distilbert #token-classification #generated_from_trainer #sk #dataset-wikiann #model-index #autotrain_compatible #region-us \n### Training hyperparameters\n\n\nThe following hyperparameters were used during training:\n\n\n* learning\\_rate: 5e-05\n* train\\_batch\\_size: 24\n* eval\\_batch\\_size: 24\n* seed: 42\n* optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08\n* lr\\_scheduler\\_type: linear\n* num\\_epochs: 10.0### Training results### Framework versions\n\n\n* Transformers 4.14.0.dev0\n* Pytorch 1.10.0\n* Datasets 1.16.1\n* Tokenizers 0.10.3"
] |
[
-0.10371935367584229,
0.06243203207850456,
-0.0014845291152596474,
0.1155288964509964,
0.2073279172182083,
0.028342336416244507,
0.11862373352050781,
0.08626186847686768,
-0.088426873087883,
0.012183287180960178,
0.1268633008003235,
0.18735922873020172,
-0.00493197375908494,
0.14107827842235565,
-0.04732201620936394,
-0.2632073760032654,
-0.004120971076190472,
0.02457127347588539,
-0.09827886521816254,
0.13466396927833557,
0.09077818691730499,
-0.16598333418369293,
0.07920567691326141,
-0.005795263219624758,
-0.268863707780838,
0.0037195163313299417,
0.04168267920613289,
-0.0706675797700882,
0.14762179553508759,
-0.007106053177267313,
0.15090329945087433,
-0.007938532158732414,
0.12527760863304138,
-0.134342759847641,
0.012088064104318619,
0.05230286717414856,
0.04673592746257782,
0.09381922334432602,
0.04721086472272873,
0.016643589362502098,
0.06205446645617485,
-0.09462153911590576,
0.05654297396540642,
0.0015243914676830173,
-0.13021714985370636,
-0.22740761935710907,
-0.07257486879825592,
0.010140479542315006,
0.05782294645905495,
0.08117371052503586,
-0.008858172222971916,
0.1698710024356842,
-0.1167587861418724,
0.09005529433488846,
0.18781033158302307,
-0.22638961672782898,
-0.07483382523059845,
0.04454021900892258,
-0.04499053582549095,
0.08085014671087265,
-0.123463936150074,
-0.01182654406875372,
0.05793268606066704,
0.04482093080878258,
0.1466362178325653,
-0.03277456387877464,
-0.12458105385303497,
0.021876996383070946,
-0.1510968655347824,
-0.006682444829493761,
0.11902225762605667,
0.039367806166410446,
-0.036882076412439346,
0.006211672909557819,
-0.05689230188727379,
-0.12212523072957993,
-0.03635106608271599,
-0.03498781844973564,
0.042673297226428986,
-0.06684914231300354,
-0.09125883132219315,
0.01076537650078535,
-0.08779694139957428,
-0.06553389132022858,
-0.07056998461484909,
0.22981972992420197,
0.04244597256183624,
0.018469391390681267,
-0.02248462289571762,
0.10661891102790833,
-0.005939607974141836,
-0.1271263211965561,
0.057035189121961594,
0.015111537650227547,
-0.037093911319971085,
-0.07012911885976791,
-0.053623322397470474,
-0.06182485818862915,
0.00350141990929842,
0.09796865284442902,
-0.05481969937682152,
0.03276393190026283,
0.06511805206537247,
0.014650912955403328,
-0.07990801334381104,
0.20046913623809814,
-0.051550865173339844,
-0.011588026769459248,
0.009093382395803928,
0.05529194697737694,
-0.03333747014403343,
-0.008238103240728378,
-0.110677570104599,
-0.00009746532305143774,
0.12610818445682526,
0.0023980485275387764,
-0.08156833052635193,
0.07783995568752289,
-0.04269898310303688,
-0.039467278867959976,
-0.0177199337631464,
-0.09784182161092758,
0.032481830567121506,
-0.02387091889977455,
-0.10020897537469864,
0.008068992756307125,
-0.010521612130105495,
0.023057201877236366,
-0.0006455086986534297,
0.14955681562423706,
-0.11214465647935867,
0.04345007613301277,
-0.09635176509618759,
-0.11856405436992645,
-0.015624855645000935,
-0.07520180940628052,
0.030398139730095863,
-0.09707167744636536,
-0.15180736780166626,
-0.0236491896212101,
0.03260781243443489,
-0.024021148681640625,
-0.06691648811101913,
-0.04659944772720337,
-0.07125941663980484,
0.0006032928940840065,
-0.010952610522508621,
0.14997711777687073,
-0.05556849390268326,
0.11077309399843216,
0.03150462731719017,
0.06650423258543015,
-0.054224979132413864,
0.05608215183019638,
-0.10606059432029724,
0.00023148729815147817,
-0.22746634483337402,
0.052695389837026596,
-0.06945695728063583,
0.0790257602930069,
-0.08272013068199158,
-0.11467864364385605,
0.032868314534425735,
-0.010980606079101562,
0.08458251506090164,
0.10776570439338684,
-0.16410478949546814,
-0.08035673946142197,
0.12494052946567535,
-0.055566467344760895,
-0.08247753232717514,
0.10630778223276138,
-0.07603151351213455,
0.05388700217008591,
0.08961834758520126,
0.17909611761569977,
0.04015026614069939,
-0.06681117415428162,
0.03344017639756203,
-0.028337648138403893,
0.05953260511159897,
-0.04352179542183876,
0.05584296956658363,
0.01337476447224617,
-0.02845579944550991,
0.03996450453996658,
-0.05058921128511429,
0.07916299998760223,
-0.12462203204631805,
-0.08466397225856781,
-0.025626732036471367,
-0.11271282285451889,
0.0837809294462204,
0.06751981377601624,
0.09633743762969971,
-0.09634076803922653,
-0.04008277878165245,
0.1282828003168106,
0.08485295623540878,
-0.03225729241967201,
0.009087404236197472,
-0.051813289523124695,
0.05344428867101669,
-0.06367313861846924,
-0.03359459340572357,
-0.19325684010982513,
-0.05040327459573746,
0.012675194069743156,
0.018628563731908798,
0.04527533799409866,
0.013802467845380306,
0.0652887150645256,
0.07417283207178116,
-0.05308913812041283,
-0.01655273325741291,
-0.040755804628133774,
0.016303611919283867,
-0.15132132172584534,
-0.19294755160808563,
-0.018358517438173294,
-0.009082703851163387,
0.10793491452932358,
-0.19344566762447357,
0.01645984686911106,
-0.046378910541534424,
0.0937022864818573,
0.00778406485915184,
-0.012950246222317219,
-0.041454050689935684,
0.09581531584262848,
-0.011339920572936535,
-0.05192393809556961,
0.06247459724545479,
-0.027415746822953224,
-0.07719401270151138,
-0.07186877727508545,
-0.06839814782142639,
0.16852666437625885,
0.12426017969846725,
-0.14377819001674652,
-0.09584686905145645,
0.012726029381155968,
-0.05071086063981056,
-0.02479470707476139,
-0.06096256896853447,
0.04641622677445412,
0.16751164197921753,
-0.00920046865940094,
0.1360674351453781,
-0.05861432105302811,
-0.026147203519940376,
0.00858057290315628,
-0.039197370409965515,
0.05322472006082535,
0.11234145611524582,
0.13659554719924927,
-0.10390150547027588,
0.13564719259738922,
0.15406304597854614,
-0.10082387179136276,
0.1315745711326599,
-0.040887024253606796,
-0.07001142203807831,
-0.021419644355773926,
-0.06541348993778229,
-0.024237781763076782,
0.1092393547296524,
-0.08254233747720718,
-0.011692562140524387,
0.019098253920674324,
0.02910729870200157,
0.0005627532955259085,
-0.2117251753807068,
-0.0558810755610466,
0.020782699808478355,
-0.007725044619292021,
0.01230768021196127,
-0.007087695877999067,
0.02395385317504406,
0.11807069182395935,
0.006194857880473137,
-0.08138652890920639,
0.020120348781347275,
0.01735580340027809,
-0.05806019902229309,
0.21189840137958527,
-0.09107062220573425,
-0.10974863916635513,
-0.10139146447181702,
-0.05294610932469368,
-0.07150720804929733,
0.008223315700888634,
0.02326219715178013,
-0.13733497262001038,
-0.024742666631937027,
-0.016446063295006752,
0.050173550844192505,
0.0022657299414277077,
0.046884145587682724,
0.0002942307328339666,
-0.026735004037618637,
0.06464697420597076,
-0.09438630193471909,
-0.00964624434709549,
-0.0635216012597084,
-0.05829732120037079,
0.060074273496866226,
0.06085444614291191,
0.11964460462331772,
0.16297751665115356,
-0.040202587842941284,
0.0022994198370724916,
-0.01915719360113144,
0.2813296318054199,
-0.07701705396175385,
-0.013540789484977722,
0.11013219505548477,
-0.01843753270804882,
0.04123367369174957,
0.10415632277727127,
0.08039291948080063,
-0.10291866213083267,
0.01547478698194027,
0.04520825669169426,
-0.033417437225580215,
-0.19754908978939056,
-0.05442696437239647,
-0.032363854348659515,
-0.06262938678264618,
0.09421835839748383,
0.007759946398437023,
0.03275216370820999,
0.0821896642446518,
0.055810898542404175,
0.08516176044940948,
-0.0772581398487091,
0.04508630931377411,
0.11471552401781082,
0.04865790531039238,
0.12950971722602844,
-0.02545725554227829,
-0.09038947522640228,
0.03498576581478119,
-0.03987497091293335,
0.21555984020233154,
-0.0013229383621364832,
0.06637558341026306,
0.050301145762205124,
0.1786469966173172,
0.005838457494974136,
0.0804392546415329,
0.03453848138451576,
-0.049784235656261444,
-0.01577216200530529,
-0.03297637775540352,
-0.041672274470329285,
0.01152059342712164,
-0.041484493762254715,
0.05125246196985245,
-0.10883595794439316,
-0.0005234961863607168,
0.06191830337047577,
0.23095367848873138,
0.03173128142952919,
-0.31131711602211,
-0.09380102902650833,
-0.009485336020588875,
-0.028580544516444206,
-0.014268115162849426,
0.006860957946628332,
0.09308993816375732,
-0.12250490486621857,
0.019868383184075356,
-0.05781455710530281,
0.09146314859390259,
-0.03972585126757622,
0.046627227216959,
0.0436052568256855,
0.14088232815265656,
-0.013364560902118683,
0.06471356749534607,
-0.29927802085876465,
0.27491891384124756,
0.007720664609223604,
0.06428441405296326,
-0.06692284345626831,
-0.02440604753792286,
0.04949161782860756,
0.07682554423809052,
0.02590121701359749,
0.010350053198635578,
-0.03179587796330452,
-0.24261704087257385,
-0.038851793855428696,
0.033919092267751694,
0.09608352184295654,
-0.03786531463265419,
0.08956917375326157,
-0.017396369948983192,
0.015305490233004093,
0.07177794724702835,
-0.039528828114271164,
-0.0751713216304779,
-0.028780942782759666,
-0.03285917639732361,
0.016294151544570923,
-0.03782603144645691,
-0.05009538680315018,
-0.12176552414894104,
-0.13857275247573853,
0.10236779600381851,
0.0545431487262249,
-0.031154779717326164,
-0.1294325888156891,
0.12606370449066162,
0.097091905772686,
-0.08664136379957199,
0.03456202149391174,
0.009287905879318714,
0.04730135202407837,
0.04139701649546623,
-0.04793917387723923,
0.10279063135385513,
-0.0479370579123497,
-0.17049738764762878,
-0.04866524413228035,
0.06478263437747955,
0.057611409574747086,
0.06456707417964935,
-0.01848718896508217,
0.031231530010700226,
-0.015924504026770592,
-0.10524988919496536,
0.04296614229679108,
-0.01973009668290615,
0.04735834524035454,
0.05952069163322449,
-0.04520292952656746,
0.015062988735735416,
-0.08246813714504242,
-0.022763099521398544,
0.17622755467891693,
0.2612587809562683,
-0.09261966496706009,
-0.011988325044512749,
0.05081726238131523,
-0.060966700315475464,
-0.20102687180042267,
0.08737657219171524,
0.07857264578342438,
0.009898490272462368,
0.05187779292464256,
-0.17873966693878174,
0.1694568693637848,
0.107148677110672,
-0.0019713344518095255,
0.08277665078639984,
-0.2749020457267761,
-0.13869152963161469,
0.12792257964611053,
0.17212402820587158,
0.1393529623746872,
-0.11152210831642151,
-0.0012140918988734484,
-0.01887175254523754,
-0.07911789417266846,
0.10311399400234222,
-0.057985819876194,
0.10465820133686066,
-0.021029669791460037,
0.12040813267230988,
0.017561189830303192,
-0.048130374401807785,
0.12218882888555527,
0.039708610624074936,
0.11976826190948486,
-0.06169725954532623,
-0.05620047450065613,
0.04175916314125061,
-0.023368142545223236,
-0.0017899512313306332,
-0.008201520889997482,
0.03307769075036049,
-0.0727480947971344,
-0.010009222663939,
-0.10456062108278275,
0.04517734423279762,
-0.026828255504369736,
-0.08549929410219193,
-0.03886547312140465,
0.04560225456953049,
0.03613273426890373,
-0.02667650207877159,
0.09006939828395844,
0.023548481985926628,
0.1613101363182068,
0.059696536511182785,
0.048955876380205154,
-0.048048458993434906,
-0.04082940146327019,
-0.0037465139757841825,
-0.012070823460817337,
0.059658657759428024,
-0.13522566854953766,
0.016614297404885292,
0.14970651268959045,
0.02513793110847473,
0.126323401927948,
0.07327920943498611,
-0.01950892060995102,
0.003187308320775628,
0.05332804098725319,
-0.16605597734451294,
-0.05667974054813385,
-0.0021958895958960056,
-0.11064673215150833,
-0.07961341738700867,
0.04071062058210373,
0.09139468520879745,
-0.08100153505802155,
-0.015921562910079956,
-0.02062399685382843,
-0.019092712551355362,
-0.06226920709013939,
0.238703653216362,
0.10204115509986877,
0.05359427630901337,
-0.10859057307243347,
0.06691570580005646,
0.06302652508020401,
-0.03631403669714928,
-0.0042304848320782185,
0.06344635039567947,
-0.10038144886493683,
-0.023307258263230324,
0.10515081882476807,
0.18343135714530945,
-0.08188401162624359,
-0.013238904066383839,
-0.13898511230945587,
-0.1066313311457634,
0.055017683655023575,
0.147444486618042,
0.11475714296102524,
-0.00964740477502346,
-0.05310901626944542,
0.011425049044191837,
-0.1269422471523285,
0.08270140737295151,
0.04939579591155052,
0.07598238438367844,
-0.1599559336900711,
0.20426125824451447,
-0.004690336529165506,
0.06469802558422089,
-0.03406260162591934,
0.025762202218174934,
-0.1132141575217247,
0.01871960610151291,
-0.11904264986515045,
-0.06125272437930107,
-0.0036961412988603115,
0.006375014781951904,
-0.005922355689108372,
-0.1016930416226387,
-0.04075206071138382,
0.007658548653125763,
-0.13959042727947235,
-0.013563064858317375,
0.05465179309248924,
0.04244839400053024,
-0.09342595189809799,
-0.0485665425658226,
0.02991209551692009,
-0.03926203027367592,
0.05896519497036934,
0.05057947710156441,
0.020177314057946205,
0.08619623631238937,
-0.12212475389242172,
-0.0028896136209368706,
0.06416559219360352,
0.0037745225708931684,
0.09536833316087723,
-0.057553987950086594,
-0.015319235622882843,
-0.01977745071053505,
0.1154504343867302,
0.03165877237915993,
0.07639013975858688,
-0.12305543571710587,
-0.014622095972299576,
-0.018976721912622452,
-0.08688092976808548,
-0.06417033821344376,
0.022473059594631195,
0.09066595137119293,
0.01988336443901062,
0.17714126408100128,
-0.07191739976406097,
0.05315972864627838,
-0.20568212866783142,
-0.012902414426207542,
-0.033419009298086166,
-0.12097426503896713,
-0.11596748977899551,
-0.06900351494550705,
0.0763237327337265,
-0.04977162182331085,
0.11663991957902908,
0.04854943975806236,
0.05635973811149597,
0.02841392531991005,
-0.005433706566691399,
-0.019724206998944283,
0.03488625958561897,
0.18934154510498047,
0.05376467481255531,
-0.037906158715486526,
0.06824136525392532,
0.07548538595438004,
0.09294350445270538,
0.12513788044452667,
0.1970670521259308,
0.14142094552516937,
-0.027110042050480843,
0.06111494451761246,
0.032738372683525085,
-0.047268096357584,
-0.15249890089035034,
0.0210594329982996,
-0.0650710016489029,
0.08105424791574478,
-0.02481653355062008,
0.18901705741882324,
0.037135180085897446,
-0.16074378788471222,
0.048031944781541824,
-0.0535661056637764,
-0.09927788376808167,
-0.10534491389989853,
-0.013205572962760925,
-0.08184836059808731,
-0.13955093920230865,
0.010558213107287884,
-0.10730507224798203,
0.005096494220197201,
0.1262134462594986,
0.013386538252234459,
-0.02956360951066017,
0.18826395273208618,
0.03906923532485962,
0.017570460215210915,
0.06734694540500641,
-0.00314912642352283,
-0.04568199813365936,
-0.1054362878203392,
-0.07497982680797577,
-0.020181411877274513,
0.014441590756177902,
0.027913950383663177,
-0.08335768431425095,
-0.11031579226255417,
0.027476686984300613,
-0.02406921051442623,
-0.10313782095909119,
0.02716873213648796,
0.016268108040094376,
0.05480519309639931,
0.009108797647058964,
0.0037662822287529707,
0.015924805775284767,
-0.0343712754547596,
0.22050654888153076,
-0.06785493344068527,
-0.08718092739582062,
-0.1040615662932396,
0.2929888069629669,
0.02363750711083412,
0.00017525588918942958,
0.03321724385023117,
-0.0621299147605896,
0.006164997350424528,
0.2206764817237854,
0.19327758252620697,
-0.12745031714439392,
-0.007753831334412098,
-0.023286981508135796,
-0.020455680787563324,
-0.04520493000745773,
0.14807173609733582,
0.10011711716651917,
-0.016017451882362366,
-0.10158942639827728,
-0.004348526708781719,
-0.07416482269763947,
-0.02956068515777588,
-0.029738089069724083,
0.03453684225678444,
0.0668887197971344,
0.008823596872389317,
-0.07089561969041824,
0.06448893249034882,
-0.08177762478590012,
-0.11737015098333359,
0.057206351310014725,
-0.18764203786849976,
-0.1783122569322586,
-0.022998962551355362,
0.05706091970205307,
0.017889857292175293,
0.05909985676407814,
-0.0414874292910099,
0.014447067864239216,
0.03644376993179321,
-0.02548072673380375,
-0.051591116935014725,
-0.10924694687128067,
0.1331009715795517,
-0.10009971261024475,
0.16581696271896362,
-0.04048125073313713,
0.09032174199819565,
0.11016140878200531,
0.05075843632221222,
-0.06420636177062988,
0.06291871517896652,
0.04277057945728302,
-0.07472409307956696,
0.01387732196599245,
0.11416815966367722,
-0.02274368144571781,
0.051740165799856186,
0.03482997044920921,
-0.15293189883232117,
0.016514649614691734,
-0.062012676149606705,
-0.05457524582743645,
-0.03703594580292702,
-0.04558206722140312,
-0.06805087625980377,
0.13313953578472137,
0.23167330026626587,
-0.021471543237566948,
0.022764049470424652,
-0.08934666216373444,
0.01871677301824093,
0.049097940325737,
0.0010852481937035918,
-0.10148350894451141,
-0.24738822877407074,
0.0013821733882650733,
0.065059132874012,
-0.0359497107565403,
-0.18349595367908478,
-0.07506357133388519,
-0.013335908763110638,
-0.06799084693193436,
-0.06354881823062897,
0.1001676470041275,
0.04956851154565811,
0.048302311450242996,
-0.04814290627837181,
-0.10979633778333664,
-0.0848405510187149,
0.15082623064517975,
-0.14841319620609283,
-0.07984568178653717
] |
null | null |
transformers
|
# Named Entity Recognition based on SlovakBERT
This model is a fine-tuned version of [gerulata/slovakbert](https://huggingface.co/gerulata/slovakbert) on the Slovak wikiann dataset.
It achieves the following results on the evaluation set:
- Loss: 0.1600
- Precision: 0.9327
- Recall: 0.9470
- F1: 0.9398
- Accuracy: 0.9785
## Intended uses & limitations
Supported classes: LOCATION, PERSON, ORGANIZATION
```
from transformers import pipeline
ner_pipeline = pipeline(task='ner', model='crabz/slovakbert-ner')
input_sentence = "Minister financií a líder mandátovo najsilnejšieho hnutia OĽaNO Igor Matovič upozorňuje, že následky tretej vlny budú na Slovensku veľmi veľké."
classifications = ner_pipeline(input_sentence)
```
with `displaCy`:
```
import spacy
from spacy import displacy
ner_map = {0: '0', 1: 'B-OSOBA', 2: 'I-OSOBA', 3: 'B-ORGANIZÁCIA', 4: 'I-ORGANIZÁCIA', 5: 'B-LOKALITA', 6: 'I-LOKALITA'}
entities = []
for i in range(len(classifications)):
if classifications[i]['entity'] != 0:
if ner_map[classifications[i]['entity']][0] == 'B':
j = i + 1
while j < len(classifications) and ner_map[classifications[j]['entity']][0] == 'I':
j += 1
entities.append((ner_map[classifications[i]['entity']].split('-')[1], classifications[i]['start'],
classifications[j - 1]['end']))
nlp = spacy.blank("en") # it should work with any language
doc = nlp(input_sentence)
ents = []
for ee in entities:
ents.append(doc.char_span(ee[1], ee[2], ee[0]))
doc.ents = ents
options = {"ents": ["OSOBA", "ORGANIZÁCIA", "LOKALITA"],
"colors": {"OSOBA": "lightblue", "ORGANIZÁCIA": "lightcoral", "LOKALITA": "lightgreen"}}
displacy_html = displacy.render(doc, style="ent", options=options)
```
<div class="entities" style="line-height: 2.5; direction: ltr">Minister financií a líder mandátovo najsilnejšieho hnutia
<mark class="entity" style="background: lightcoral; padding: 0.45em 0.6em; margin: 0 0.25em; line-height: 1; border-radius: 0.35em;">
OĽaNO
<span style="font-size: 0.8em; font-weight: bold; line-height: 1; border-radius: 0.35em; vertical-align: middle; margin-left: 0.5rem">ORGANIZÁCIA</span>
</mark>
<mark class="entity" style="background: lightblue; padding: 0.45em 0.6em; margin: 0 0.25em; line-height: 1; border-radius: 0.35em;">
Igor Matovič
<span style="font-size: 0.8em; font-weight: bold; line-height: 1; border-radius: 0.35em; vertical-align: middle; margin-left: 0.5rem">OSOBA</span>
</mark>
upozorňuje, že následky tretej vlny budú na
<mark class="entity" style="background: lightgreen; padding: 0.45em 0.6em; margin: 0 0.25em; line-height: 1; border-radius: 0.35em;">
Slovensku
<span style="font-size: 0.8em; font-weight: bold; line-height: 1; border-radius: 0.35em; vertical-align: middle; margin-left: 0.5rem">LOKALITA</span>
</mark>
veľmi veľké.</div>
## Training procedure
### Training hyperparameters
The following hyperparameters were used during training:
- learning_rate: 5e-05
- train_batch_size: 32
- eval_batch_size: 8
- seed: 42
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- num_epochs: 15.0
### Training results
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
|:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|
| 0.2342 | 1.0 | 625 | 0.1233 | 0.8891 | 0.9076 | 0.8982 | 0.9667 |
| 0.1114 | 2.0 | 1250 | 0.1079 | 0.9118 | 0.9269 | 0.9193 | 0.9725 |
| 0.0817 | 3.0 | 1875 | 0.1093 | 0.9173 | 0.9315 | 0.9243 | 0.9747 |
| 0.0438 | 4.0 | 2500 | 0.1076 | 0.9188 | 0.9353 | 0.9270 | 0.9743 |
| 0.028 | 5.0 | 3125 | 0.1230 | 0.9143 | 0.9387 | 0.9264 | 0.9744 |
| 0.0256 | 6.0 | 3750 | 0.1204 | 0.9246 | 0.9423 | 0.9334 | 0.9765 |
| 0.018 | 7.0 | 4375 | 0.1332 | 0.9292 | 0.9416 | 0.9353 | 0.9770 |
| 0.0107 | 8.0 | 5000 | 0.1339 | 0.9280 | 0.9427 | 0.9353 | 0.9769 |
| 0.0079 | 9.0 | 5625 | 0.1368 | 0.9326 | 0.9442 | 0.9383 | 0.9785 |
| 0.0065 | 10.0 | 6250 | 0.1490 | 0.9284 | 0.9445 | 0.9364 | 0.9772 |
| 0.0061 | 11.0 | 6875 | 0.1566 | 0.9328 | 0.9433 | 0.9380 | 0.9778 |
| 0.0031 | 12.0 | 7500 | 0.1555 | 0.9339 | 0.9473 | 0.9406 | 0.9787 |
| 0.0024 | 13.0 | 8125 | 0.1548 | 0.9349 | 0.9462 | 0.9405 | 0.9787 |
| 0.0015 | 14.0 | 8750 | 0.1562 | 0.9330 | 0.9469 | 0.9399 | 0.9788 |
| 0.0013 | 15.0 | 9375 | 0.1600 | 0.9327 | 0.9470 | 0.9398 | 0.9785 |
### Framework versions
- Transformers 4.13.0.dev0
- Pytorch 1.10.0+cu113
- Datasets 1.15.1
- Tokenizers 0.10.3
|
{"language": ["sk"], "license": "mit", "tags": ["generated_from_trainer"], "datasets": ["wikiann"], "metrics": ["precision", "recall", "f1", "accuracy"], "inference": false, "widget": [{"text": "Zuzana \u010caputov\u00e1 sa narodila 21. j\u00fana 1973 v Bratislave.", "example_title": "Named Entity Recognition"}], "base_model": "gerulata/slovakbert", "model-index": [{"name": "slovakbert-ner", "results": [{"task": {"type": "token-classification", "name": "Token Classification"}, "dataset": {"name": "wikiann", "type": "wikiann", "args": "sk"}, "metrics": [{"type": "precision", "value": 0.9327115256495669, "name": "Precision"}, {"type": "recall", "value": 0.9470124013528749, "name": "Recall"}, {"type": "f1", "value": 0.9398075632132469, "name": "F1"}, {"type": "accuracy", "value": 0.9785228256835333, "name": "Accuracy"}]}]}]}
|
token-classification
|
crabz/slovakbert-ner
|
[
"transformers",
"pytorch",
"roberta",
"token-classification",
"generated_from_trainer",
"sk",
"dataset:wikiann",
"base_model:gerulata/slovakbert",
"license:mit",
"model-index",
"autotrain_compatible",
"has_space",
"region:us"
] |
2022-03-02T23:29:05+00:00
|
[] |
[
"sk"
] |
TAGS
#transformers #pytorch #roberta #token-classification #generated_from_trainer #sk #dataset-wikiann #base_model-gerulata/slovakbert #license-mit #model-index #autotrain_compatible #has_space #region-us
|
Named Entity Recognition based on SlovakBERT
============================================
This model is a fine-tuned version of gerulata/slovakbert on the Slovak wikiann dataset.
It achieves the following results on the evaluation set:
* Loss: 0.1600
* Precision: 0.9327
* Recall: 0.9470
* F1: 0.9398
* Accuracy: 0.9785
Intended uses & limitations
---------------------------
Supported classes: LOCATION, PERSON, ORGANIZATION
with 'displaCy':
Minister financií a líder mandátovo najsilnejšieho hnutia
OĽaNO
ORGANIZÁCIA
Igor Matovič
OSOBA
upozorňuje, že následky tretej vlny budú na
Slovensku
LOKALITA
veľmi veľké.
Training procedure
------------------
### Training hyperparameters
The following hyperparameters were used during training:
* learning\_rate: 5e-05
* train\_batch\_size: 32
* eval\_batch\_size: 8
* seed: 42
* optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
* lr\_scheduler\_type: linear
* num\_epochs: 15.0
### Training results
### Framework versions
* Transformers 4.13.0.dev0
* Pytorch 1.10.0+cu113
* Datasets 1.15.1
* Tokenizers 0.10.3
|
[
"### Training hyperparameters\n\n\nThe following hyperparameters were used during training:\n\n\n* learning\\_rate: 5e-05\n* train\\_batch\\_size: 32\n* eval\\_batch\\_size: 8\n* seed: 42\n* optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08\n* lr\\_scheduler\\_type: linear\n* num\\_epochs: 15.0",
"### Training results",
"### Framework versions\n\n\n* Transformers 4.13.0.dev0\n* Pytorch 1.10.0+cu113\n* Datasets 1.15.1\n* Tokenizers 0.10.3"
] |
[
"TAGS\n#transformers #pytorch #roberta #token-classification #generated_from_trainer #sk #dataset-wikiann #base_model-gerulata/slovakbert #license-mit #model-index #autotrain_compatible #has_space #region-us \n",
"### Training hyperparameters\n\n\nThe following hyperparameters were used during training:\n\n\n* learning\\_rate: 5e-05\n* train\\_batch\\_size: 32\n* eval\\_batch\\_size: 8\n* seed: 42\n* optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08\n* lr\\_scheduler\\_type: linear\n* num\\_epochs: 15.0",
"### Training results",
"### Framework versions\n\n\n* Transformers 4.13.0.dev0\n* Pytorch 1.10.0+cu113\n* Datasets 1.15.1\n* Tokenizers 0.10.3"
] |
[
70,
99,
4,
36
] |
[
"passage: TAGS\n#transformers #pytorch #roberta #token-classification #generated_from_trainer #sk #dataset-wikiann #base_model-gerulata/slovakbert #license-mit #model-index #autotrain_compatible #has_space #region-us \n### Training hyperparameters\n\n\nThe following hyperparameters were used during training:\n\n\n* learning\\_rate: 5e-05\n* train\\_batch\\_size: 32\n* eval\\_batch\\_size: 8\n* seed: 42\n* optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08\n* lr\\_scheduler\\_type: linear\n* num\\_epochs: 15.0### Training results### Framework versions\n\n\n* Transformers 4.13.0.dev0\n* Pytorch 1.10.0+cu113\n* Datasets 1.15.1\n* Tokenizers 0.10.3"
] |
[
-0.1056196466088295,
0.08606093376874924,
-0.0022251035552471876,
0.125833198428154,
0.16659441590309143,
0.03819337859749794,
0.13788020610809326,
0.09539206326007843,
-0.05808261036872864,
0.03458470478653908,
0.13816750049591064,
0.12939558923244476,
0.006656583398580551,
0.1451338529586792,
-0.029663795605301857,
-0.2852350175380707,
0.018155498430132866,
0.022536130622029305,
-0.056879352778196335,
0.12765365839004517,
0.10316050797700882,
-0.14426448941230774,
0.08975653350353241,
0.013115476816892624,
-0.18739786744117737,
-0.004842650145292282,
0.019010137766599655,
-0.05539356544613838,
0.1421462744474411,
-0.0010998661164194345,
0.1320236325263977,
0.0034273178316652775,
0.11188230663537979,
-0.14027924835681915,
0.006910732015967369,
0.03706352785229683,
0.010770133696496487,
0.08897887915372849,
0.024915434420108795,
0.0016342034796252847,
0.12936817109584808,
-0.09041476994752884,
0.050847116857767105,
-0.0006181108183227479,
-0.13276687264442444,
-0.22260098159313202,
-0.08074647188186646,
0.04883420839905739,
0.05575823038816452,
0.07266905158758163,
-0.018026383593678474,
0.13232070207595825,
-0.10040038824081421,
0.0843510627746582,
0.2162625938653946,
-0.27330291271209717,
-0.07532323896884918,
0.0654245913028717,
-0.009155805222690105,
0.0753176137804985,
-0.10520894080400467,
-0.013386646285653114,
0.044688817113637924,
0.04207363724708557,
0.15514668822288513,
-0.023526912555098534,
-0.07726199924945831,
0.025360800325870514,
-0.15670880675315857,
-0.038167890161275864,
0.16953887045383453,
0.05033314973115921,
-0.031361211091279984,
-0.01511526107788086,
-0.048225559294223785,
-0.14077289402484894,
-0.022513559088110924,
-0.012194515205919743,
0.03746612370014191,
-0.052165765315294266,
-0.07527869194746017,
-0.010246861726045609,
-0.08833479136228561,
-0.06788430362939835,
-0.0662488266825676,
0.20263008773326874,
0.03499317541718483,
0.016864018514752388,
0.012730988673865795,
0.10744518786668777,
-0.050762664526700974,
-0.13289585709571838,
0.024926362559199333,
0.01255862321704626,
-0.011371796019375324,
-0.05208199471235275,
-0.050740670412778854,
-0.02556580863893032,
0.0020839362405240536,
0.1311299353837967,
-0.03770411014556885,
0.01666737161576748,
0.08228523284196854,
0.03719548508524895,
-0.07319186627864838,
0.19926808774471283,
-0.06958277523517609,
-0.03380018100142479,
-0.006380679085850716,
0.05521504580974579,
0.005910982843488455,
-0.019206298515200615,
-0.13397899270057678,
-0.022677676752209663,
0.11443787813186646,
-0.005037977825850248,
-0.07897309958934784,
0.0808250829577446,
-0.03880791738629341,
-0.030818907544016838,
0.0013296181568875909,
-0.07790082693099976,
0.025320816785097122,
-0.01457066647708416,
-0.08682311326265335,
-0.01938033476471901,
-0.00514665013179183,
0.025780262425541878,
0.007431219331920147,
0.12160313874483109,
-0.10883282124996185,
0.02479909360408783,
-0.08787472546100616,
-0.13690656423568726,
0.00032715697307139635,
-0.1127556562423706,
0.03409628942608833,
-0.10478629916906357,
-0.17089344561100006,
-0.018828298896551132,
0.04602539911866188,
-0.033202193677425385,
-0.05854222550988197,
-0.05519939213991165,
-0.07129964232444763,
0.014264456927776337,
-0.006821624003350735,
0.088320791721344,
-0.06486538052558899,
0.09895418584346771,
-0.0007848992245271802,
0.07327205687761307,
-0.058240193873643875,
0.051937784999608994,
-0.11381813138723373,
0.014446215704083443,
-0.20491787791252136,
0.03629704937338829,
-0.06995227932929993,
0.046946343034505844,
-0.07618319988250732,
-0.10911025106906891,
0.020089128986001015,
-0.010519859381020069,
0.0848134309053421,
0.10209069401025772,
-0.16117674112319946,
-0.07651838660240173,
0.1307867467403412,
-0.06567924469709396,
-0.10092994570732117,
0.12177006155252457,
-0.07498609274625778,
0.06111907213926315,
0.06393629312515259,
0.19503742456436157,
0.07871369272470474,
-0.07575428485870361,
0.0035773911513388157,
-0.014903873205184937,
0.056226521730422974,
-0.04409763216972351,
0.09082187712192535,
0.015025184489786625,
0.006451577413827181,
0.032680824398994446,
-0.07032988965511322,
0.0651986226439476,
-0.1072898581624031,
-0.08998031914234161,
-0.020527373999357224,
-0.10255736112594604,
0.10512395203113556,
0.05495809391140938,
0.08207967132329941,
-0.10824992507696152,
-0.07350736856460571,
0.08692841976881027,
0.09013776481151581,
-0.041050419211387634,
0.0080115906894207,
-0.053088318556547165,
0.09431500732898712,
-0.05420125275850296,
-0.03388947248458862,
-0.15867608785629272,
-0.042247213423252106,
0.006909570191055536,
0.034063924103975296,
0.029580816626548767,
0.032867345958948135,
0.07080758363008499,
0.07133530080318451,
-0.05485733970999718,
-0.012308954261243343,
-0.06262718886137009,
0.019244829192757607,
-0.1271609216928482,
-0.1909533143043518,
-0.048361074179410934,
-0.014503267593681812,
0.14061568677425385,
-0.19594255089759827,
0.03346619755029678,
-0.028247861191630363,
0.09604717046022415,
0.0030543573666363955,
-0.018725499510765076,
-0.05104537308216095,
0.07729490846395493,
-0.034880492836236954,
-0.05265655741095543,
0.059282086789608,
-0.004381316248327494,
-0.07297300547361374,
-0.051598116755485535,
-0.08829264342784882,
0.16753822565078735,
0.11944396793842316,
-0.10860362648963928,
-0.08492789417505264,
-0.016661262139678,
-0.045659422874450684,
-0.016060521826148033,
-0.056823913007974625,
0.010422596707940102,
0.1434280425310135,
-0.01121696550399065,
0.1256602555513382,
-0.06963422894477844,
-0.026604240760207176,
0.025523098185658455,
-0.03937967121601105,
0.01968742161989212,
0.1288275569677353,
0.1288268119096756,
-0.09322489798069,
0.15724797546863556,
0.15809667110443115,
-0.10127045214176178,
0.15014863014221191,
-0.0248932596296072,
-0.062526635825634,
-0.040087807923555374,
-0.06284990161657333,
-0.02900221198797226,
0.14068445563316345,
-0.1404658406972885,
-0.01944855973124504,
0.026324963197112083,
0.02522958442568779,
0.0013728864723816514,
-0.190597802400589,
-0.05398968979716301,
0.041523803025484085,
-0.027121812105178833,
-0.031161190941929817,
0.008194551803171635,
0.0025464310310781,
0.11167237162590027,
0.015296258963644505,
-0.09934905916452408,
0.017657632008194923,
0.01945512183010578,
-0.06558730453252792,
0.18981018662452698,
-0.07538989186286926,
-0.10499029606580734,
-0.11583225429058075,
-0.045842502266168594,
-0.07296760380268097,
0.019303245469927788,
0.04539027065038681,
-0.08739467710256577,
-0.015359307639300823,
-0.057691629976034164,
0.04080262407660484,
-0.01242048293352127,
0.026310857385396957,
-0.008733030408620834,
-0.02378007210791111,
0.04187731444835663,
-0.0948118045926094,
-0.020572654902935028,
-0.05917656421661377,
-0.04221910610795021,
0.05008427053689957,
0.02423481084406376,
0.1262904405593872,
0.1437189131975174,
-0.040519971400499344,
0.013212149031460285,
-0.03171124309301376,
0.2828899323940277,
-0.07049838453531265,
-0.001577262650243938,
0.1202392429113388,
-0.0026053758338093758,
0.04048274829983711,
0.12449345737695694,
0.07063823938369751,
-0.07020930200815201,
-0.00499599939212203,
0.03490777313709259,
-0.053173232823610306,
-0.18670909106731415,
-0.06438303738832474,
-0.05379064753651619,
-0.020938480272889137,
0.100558802485466,
0.002923969877883792,
0.018220920115709305,
0.08804056793451309,
0.031566742807626724,
0.0688648372888565,
-0.05152716487646103,
0.0656607449054718,
0.14225977659225464,
0.04090975970029831,
0.13494890928268433,
-0.022381985560059547,
-0.06645727157592773,
0.039019953459501266,
-0.022299084812402725,
0.22083540260791779,
0.006520903669297695,
0.08621580898761749,
0.04907943308353424,
0.17145484685897827,
-0.010418429039418697,
0.07366675138473511,
0.011570706032216549,
-0.033586740493774414,
-0.026570726186037064,
-0.04205635190010071,
-0.04030309617519379,
0.027120456099510193,
-0.042325250804424286,
0.04141167178750038,
-0.1267484873533249,
0.0023314417339861393,
0.05954695865511894,
0.2190624475479126,
0.04620933532714844,
-0.3139692544937134,
-0.10598742961883545,
0.00030881454586051404,
-0.008255379274487495,
-0.01405230164527893,
0.013086081482470036,
0.10867292433977127,
-0.10065928101539612,
0.014318285509943962,
-0.04311105236411095,
0.08596530556678772,
-0.03832105174660683,
0.048690229654312134,
0.04372832551598549,
0.11297162622213364,
-0.018805209547281265,
0.08173731714487076,
-0.24931775033473969,
0.29687315225601196,
0.004696776159107685,
0.04824380576610565,
-0.06952986121177673,
-0.02602793648838997,
0.044548749923706055,
0.08615821599960327,
0.05899009481072426,
0.018288131803274155,
-0.0417257584631443,
-0.23138445615768433,
-0.03701994940638542,
0.025894206017255783,
0.07492845505475998,
-0.06094006076455116,
0.09466339647769928,
-0.025849299505352974,
0.0234261192381382,
0.06284309923648834,
0.022849436849355698,
-0.06457121670246124,
-0.06076543405652046,
-0.01266511157155037,
0.03174567222595215,
-0.041139524430036545,
-0.04931367561221123,
-0.1275807023048401,
-0.1558157205581665,
0.10200539231300354,
0.013625171035528183,
-0.0418090745806694,
-0.11233820766210556,
0.09504890441894531,
0.09411832690238953,
-0.09618093073368073,
0.040174733847379684,
0.001694187638349831,
0.06656111776828766,
0.012998548336327076,
-0.03463213890790939,
0.09865602850914001,
-0.05226803198456764,
-0.15975262224674225,
-0.04928296431899071,
0.07997104525566101,
0.05358939990401268,
0.07358571141958237,
-0.008361300453543663,
0.038068320602178574,
-0.031790971755981445,
-0.10067490488290787,
0.04037104919552803,
-0.024787843227386475,
0.04273977875709534,
0.02999117411673069,
-0.04290839657187462,
0.04170400649309158,
-0.0635281354188919,
-0.024261698126792908,
0.17703744769096375,
0.2724114656448364,
-0.1170770451426506,
-0.0012751756003126502,
0.023432601243257523,
-0.05689511448144913,
-0.192075714468956,
0.0543743334710598,
0.05602552369236946,
0.021916816011071205,
0.04657929763197899,
-0.1786009818315506,
0.10593520104885101,
0.11429986357688904,
-0.01530973706394434,
0.07401637732982635,
-0.26695048809051514,
-0.12809476256370544,
0.1370767056941986,
0.13166971504688263,
0.15392936766147614,
-0.10845255106687546,
-0.0008827858837321401,
-0.003425486385822296,
-0.128361776471138,
0.09042282402515411,
-0.07641866058111191,
0.11313828080892563,
-0.018098508939146996,
0.10924208909273148,
0.017768336459994316,
-0.049549270421266556,
0.1374344825744629,
0.03605741262435913,
0.10329451411962509,
-0.06405435502529144,
-0.07062501460313797,
0.054516565054655075,
-0.04735874384641647,
0.026867086067795753,
-0.058772262185811996,
0.027687307447195053,
-0.10021565854549408,
-0.016812341287732124,
-0.09125171601772308,
0.051217034459114075,
-0.03134595602750778,
-0.08854588866233826,
-0.05746147781610489,
0.05544401705265045,
0.03278949111700058,
-0.015320739708840847,
0.12878957390785217,
0.013310008682310581,
0.14039435982704163,
0.060970693826675415,
0.04984242469072342,
-0.07087979465723038,
-0.02681056037545204,
-0.0011333534494042397,
-0.017120571807026863,
0.06139938160777092,
-0.1385125368833542,
0.013482395559549332,
0.1443496197462082,
0.02921202965080738,
0.13344846665859222,
0.07492884993553162,
-0.02482866309583187,
0.009128582663834095,
0.05525977164506912,
-0.16315366327762604,
-0.074859619140625,
-0.013734853826463223,
-0.08567899465560913,
-0.10695447772741318,
0.04987862706184387,
0.11109038442373276,
-0.09199929982423782,
-0.010130129754543304,
-0.0215049646794796,
-0.008201503194868565,
-0.05404990166425705,
0.19067911803722382,
0.0936569795012474,
0.04718214273452759,
-0.08897712826728821,
0.0500970333814621,
0.058205775916576385,
-0.015894515439867973,
0.008912879042327404,
0.03309667482972145,
-0.09459155797958374,
-0.04018101468682289,
0.033242788165807724,
0.16766095161437988,
-0.09842504560947418,
-0.01840914599597454,
-0.13534988462924957,
-0.10890098661184311,
0.06015758588910103,
0.14992012083530426,
0.11948201060295105,
-0.003757276339456439,
-0.04900801181793213,
0.010541709139943123,
-0.09991831332445145,
0.09455248713493347,
0.047757588326931,
0.06688717007637024,
-0.14980125427246094,
0.1685267984867096,
-0.013805544003844261,
0.04426538944244385,
-0.029068298637866974,
0.015903953462839127,
-0.11851769685745239,
0.00638343021273613,
-0.10817606747150421,
-0.056628551334142685,
-0.04058307781815529,
0.01646931655704975,
-0.009797515347599983,
-0.09435951709747314,
-0.05739046260714531,
0.009056930430233479,
-0.12173696607351303,
-0.011333667673170567,
0.037433840334415436,
0.0634424164891243,
-0.10297346860170364,
-0.03942152485251427,
0.03392719477415085,
-0.05131293833255768,
0.0777430608868599,
0.04197923466563225,
0.03971049562096596,
0.05786637216806412,
-0.12796013057231903,
0.029609519988298416,
0.038932736963033676,
0.013882838189601898,
0.07893376797437668,
-0.08270694315433502,
-0.006018994376063347,
-0.026061205193400383,
0.07507734000682831,
0.037322793155908585,
0.056695107370615005,
-0.10875722020864487,
0.013249107636511326,
0.0003777553210966289,
-0.08286890387535095,
-0.056168682873249054,
0.04833570867776871,
0.08961570262908936,
0.020385615527629852,
0.17883886396884918,
-0.06349935382604599,
0.042401786893606186,
-0.2035892903804779,
0.000856168451718986,
-0.017317697405815125,
-0.11273408681154251,
-0.10423873364925385,
-0.07903743535280228,
0.06038747727870941,
-0.044249434024095535,
0.1382475346326828,
0.06984222680330276,
0.02753220871090889,
0.02477886527776718,
0.014202079735696316,
0.018375573679804802,
0.011598370969295502,
0.18269582092761993,
0.046809349209070206,
-0.046952906996011734,
0.0446675643324852,
0.06010546535253525,
0.09860162436962128,
0.1097317710518837,
0.18730266392230988,
0.13553495705127716,
0.001245687948539853,
0.0672544538974762,
0.05598863586783409,
-0.05814438313245773,
-0.16733118891716003,
0.010094418190419674,
-0.006335485726594925,
0.079169861972332,
-0.029223082587122917,
0.19378061592578888,
0.07640177011489868,
-0.17773835361003876,
0.041133612394332886,
-0.0427660197019577,
-0.08032134175300598,
-0.10616409778594971,
-0.06863401085138321,
-0.07562341541051865,
-0.14838695526123047,
0.009576664306223392,
-0.11167021095752716,
0.0009185672970488667,
0.12652692198753357,
0.007232161704450846,
-0.020325325429439545,
0.1356566697359085,
0.007709559053182602,
0.027976853772997856,
0.061944629997015,
0.002133806934580207,
-0.03037949651479721,
-0.12554629147052765,
-0.08052761107683182,
-0.010845556855201721,
-0.006061390042304993,
0.02628449536859989,
-0.07498496770858765,
-0.05622699111700058,
0.004122823476791382,
-0.013364671729505062,
-0.0979774072766304,
0.006182973273098469,
0.012017421424388885,
0.053776323795318604,
0.03585599735379219,
0.0034130082931369543,
0.021192774176597595,
-0.02393212728202343,
0.22218795120716095,
-0.057601265609264374,
-0.06967958807945251,
-0.11442942917346954,
0.2247384786605835,
0.02865416370332241,
-0.0015013443771749735,
0.022137800231575966,
-0.07856742292642593,
0.014589643105864525,
0.21326081454753876,
0.21629948914051056,
-0.09221913665533066,
0.0010512890294194221,
-0.01766866259276867,
-0.013711415231227875,
-0.012703195214271545,
0.09670346975326538,
0.08358093351125717,
0.005614029709249735,
-0.09340601414442062,
-0.009411927312612534,
-0.0843520238995552,
-0.008757426403462887,
-0.017481951043009758,
0.05047621950507164,
0.05739254504442215,
-0.0016102665103971958,
-0.06670188158750534,
0.055513642728328705,
-0.0714467316865921,
-0.08232761174440384,
0.04663700610399246,
-0.19844631850719452,
-0.1661658138036728,
-0.012149184010922909,
0.05442965403199196,
0.027886655181646347,
0.07260715961456299,
-0.042388323694467545,
0.00024640525225549936,
0.04887298867106438,
-0.010649935342371464,
-0.061569105833768845,
-0.11575627326965332,
0.12630805373191833,
-0.039231278002262115,
0.21667352318763733,
-0.05238352343440056,
0.07121860235929489,
0.1271224468946457,
0.06142263114452362,
-0.07275408506393433,
0.05210857465863228,
0.05503278598189354,
-0.04833206534385681,
0.00521433912217617,
0.0664251297712326,
-0.03322770074009895,
0.08248291164636612,
0.052019812166690826,
-0.14424681663513184,
0.019588841125369072,
-0.023937564343214035,
-0.0513688363134861,
-0.03836542367935181,
-0.020952310413122177,
-0.05838889628648758,
0.1401161551475525,
0.2115108221769333,
-0.032601576298475266,
-0.01593962125480175,
-0.06955818086862564,
0.01359404344111681,
0.07021494209766388,
0.015535269863903522,
-0.07432697713375092,
-0.21035689115524292,
0.0022329457569867373,
0.05714345723390579,
-0.030546128749847412,
-0.2197793871164322,
-0.0823400542140007,
-0.013730784878134727,
-0.05518615245819092,
-0.05043437331914902,
0.08358149975538254,
0.06578055024147034,
0.047237202525138855,
-0.05412646010518074,
-0.059460483491420746,
-0.08013652265071869,
0.14518536627292633,
-0.13277678191661835,
-0.0795334205031395
] |
null | null |
transformers
|
# Wav2Vec2-Large-XLSR-53-Frisian
Fine-tuned [facebook/wav2vec2-large-xlsr-53](https://huggingface.co/facebook/wav2vec2-large-xlsr-53) on Frisian using the [Common Voice](https://huggingface.co/datasets/common_voice) dataset.
When using this model, make sure that your speech input is sampled at 16kHz.
## Usage
The model can be used directly (without a language model) as follows:
```python
import torch
import torchaudio
from datasets import load_dataset
from transformers import Wav2Vec2ForCTC, Wav2Vec2Processor
test_dataset = load_dataset("common_voice", "fy-NL", split="test[:2%]")
processor = Wav2Vec2Processor.from_pretrained("crang/wav2vec2-large-xlsr-53-frisian")
model = Wav2Vec2ForCTC.from_pretrained("crang/wav2vec2-large-xlsr-53-frisian")
resampler = torchaudio.transforms.Resample(48_000, 16_000)
# Preprocessing the datasets.
# We need to read the aduio files as arrays
def speech_file_to_array_fn(batch):
speech_array, sampling_rate = torchaudio.load(batch["path"])
batch["speech"] = resampler(speech_array).squeeze().numpy()
return batch
test_dataset = test_dataset.map(speech_file_to_array_fn)
inputs = processor(test_dataset["speech"][:2], sampling_rate=16_000, return_tensors="pt", padding=True)
with torch.no_grad():
logits = model(inputs.input_values, attention_mask=inputs.attention_mask).logits
predicted_ids = torch.argmax(logits, dim=-1)
print("Prediction:", processor.batch_decode(predicted_ids))
print("Reference:", test_dataset["sentence"][:2])
```
## Evaluation
The model can be evaluated as follows on the Frisian test data of Common Voice.
```python
import torch
import torchaudio
from datasets import load_dataset, load_metric
from transformers import Wav2Vec2ForCTC, Wav2Vec2Processor
import re
test_dataset = load_dataset("common_voice", "fy-NL", split="test")
wer = load_metric("wer")
processor = Wav2Vec2Processor.from_pretrained("crang/wav2vec2-large-xlsr-53-frisian")
model = Wav2Vec2ForCTC.from_pretrained("crang/wav2vec2-large-xlsr-53-frisian")
model.to("cuda")
chars_to_ignore_regex = '[\,\?\.\!\-\u2013\u2014\;\:\"\\%\\\]'
resampler = torchaudio.transforms.Resample(48_000, 16_000)
# Preprocessing the datasets.
# We need to read the aduio files as arrays
def speech_file_to_array_fn(batch):
batch["sentence"] = re.sub(chars_to_ignore_regex, '', batch["sentence"]).lower()
speech_array, sampling_rate = torchaudio.load(batch["path"])
batch["speech"] = resampler(speech_array).squeeze().numpy()
return batch
test_dataset = test_dataset.map(speech_file_to_array_fn)
# Preprocessing the datasets.
# We need to read the aduio files as arrays
def evaluate(batch):
inputs = processor(batch["speech"], sampling_rate=16_000, return_tensors="pt", padding=True)
with torch.no_grad():
logits = model(inputs.input_values.to("cuda"), attention_mask=inputs.attention_mask.to("cuda")).logits
pred_ids = torch.argmax(logits, dim=-1)
batch["pred_strings"] = processor.batch_decode(pred_ids)
return batch
result = test_dataset.map(evaluate, batched=True, batch_size=8)
print("WER: {:2f}".format(100 * wer.compute(predictions=result["pred_strings"], references=result["sentence"])))
```
**Test Result**: 19.11 %
## Training
The Common Voice `train` and `validation` datasets were used for training.
|
{"language": "fy-NL", "license": "apache-2.0", "tags": ["audio", "automatic-speech-recognition", "speech", "xlsr-fine-tuning-week"], "datasets": ["common_voice"], "metrics": ["wer"], "model-index": [{"name": "Frisian XLSR Wav2Vec2 Large 53", "results": [{"task": {"type": "automatic-speech-recognition", "name": "Speech Recognition"}, "dataset": {"name": "Common Voice fy-NL", "type": "common_voice", "args": "fy-NL"}, "metrics": [{"type": "wer", "value": 19.11, "name": "Test WER"}]}]}]}
|
automatic-speech-recognition
|
crang/wav2vec2-large-xlsr-53-frisian
|
[
"transformers",
"pytorch",
"jax",
"wav2vec2",
"automatic-speech-recognition",
"audio",
"speech",
"xlsr-fine-tuning-week",
"dataset:common_voice",
"license:apache-2.0",
"model-index",
"endpoints_compatible",
"region:us"
] |
2022-03-02T23:29:05+00:00
|
[] |
[
"fy-NL"
] |
TAGS
#transformers #pytorch #jax #wav2vec2 #automatic-speech-recognition #audio #speech #xlsr-fine-tuning-week #dataset-common_voice #license-apache-2.0 #model-index #endpoints_compatible #region-us
|
# Wav2Vec2-Large-XLSR-53-Frisian
Fine-tuned facebook/wav2vec2-large-xlsr-53 on Frisian using the Common Voice dataset.
When using this model, make sure that your speech input is sampled at 16kHz.
## Usage
The model can be used directly (without a language model) as follows:
## Evaluation
The model can be evaluated as follows on the Frisian test data of Common Voice.
Test Result: 19.11 %
## Training
The Common Voice 'train' and 'validation' datasets were used for training.
|
[
"# Wav2Vec2-Large-XLSR-53-Frisian\n\nFine-tuned facebook/wav2vec2-large-xlsr-53 on Frisian using the Common Voice dataset.\nWhen using this model, make sure that your speech input is sampled at 16kHz.",
"## Usage\n\nThe model can be used directly (without a language model) as follows:",
"## Evaluation\n\nThe model can be evaluated as follows on the Frisian test data of Common Voice.\n\n\n\n\nTest Result: 19.11 %",
"## Training\n\nThe Common Voice 'train' and 'validation' datasets were used for training."
] |
[
"TAGS\n#transformers #pytorch #jax #wav2vec2 #automatic-speech-recognition #audio #speech #xlsr-fine-tuning-week #dataset-common_voice #license-apache-2.0 #model-index #endpoints_compatible #region-us \n",
"# Wav2Vec2-Large-XLSR-53-Frisian\n\nFine-tuned facebook/wav2vec2-large-xlsr-53 on Frisian using the Common Voice dataset.\nWhen using this model, make sure that your speech input is sampled at 16kHz.",
"## Usage\n\nThe model can be used directly (without a language model) as follows:",
"## Evaluation\n\nThe model can be evaluated as follows on the Frisian test data of Common Voice.\n\n\n\n\nTest Result: 19.11 %",
"## Training\n\nThe Common Voice 'train' and 'validation' datasets were used for training."
] |
[
78,
66,
20,
28,
23
] |
[
"passage: TAGS\n#transformers #pytorch #jax #wav2vec2 #automatic-speech-recognition #audio #speech #xlsr-fine-tuning-week #dataset-common_voice #license-apache-2.0 #model-index #endpoints_compatible #region-us \n# Wav2Vec2-Large-XLSR-53-Frisian\n\nFine-tuned facebook/wav2vec2-large-xlsr-53 on Frisian using the Common Voice dataset.\nWhen using this model, make sure that your speech input is sampled at 16kHz.## Usage\n\nThe model can be used directly (without a language model) as follows:## Evaluation\n\nThe model can be evaluated as follows on the Frisian test data of Common Voice.\n\n\n\n\nTest Result: 19.11 %## Training\n\nThe Common Voice 'train' and 'validation' datasets were used for training."
] |
[
-0.14959101378917694,
0.028808921575546265,
-0.0029038211796432734,
-0.012258141301572323,
0.08611540496349335,
-0.055036403238773346,
0.15897737443447113,
0.08505477011203766,
-0.006357187405228615,
-0.023058289662003517,
0.031147634610533714,
0.022704681381583214,
0.03902110829949379,
0.09506519138813019,
-0.028766337782144547,
-0.19500479102134705,
-0.0013291658833622932,
0.01908644288778305,
0.07268716394901276,
0.11587592214345932,
0.09639517962932587,
-0.0678759291768074,
-0.005189642310142517,
0.10759533196687698,
-0.16656528413295746,
0.02715529128909111,
0.051397472620010376,
-0.10544633120298386,
0.1358712911605835,
0.09090932458639145,
0.06108797341585159,
0.060212116688489914,
0.08964899927377701,
-0.18217478692531586,
0.026925792917609215,
0.04263586923480034,
0.03262652829289436,
0.048369161784648895,
0.07524935156106949,
0.0027701291255652905,
0.07602711766958237,
0.1259586215019226,
-0.03733290359377861,
0.07936803996562958,
-0.05744120851159096,
-0.20993444323539734,
-0.018460310995578766,
0.024514393880963326,
0.08500925451517105,
0.13693919777870178,
-0.05972585454583168,
0.09878027439117432,
-0.13196450471878052,
0.10034811496734619,
0.0840732753276825,
-0.16669438779354095,
-0.004516712389886379,
0.07423654943704605,
0.03192361444234848,
0.0462995246052742,
-0.057391587644815445,
0.021966055035591125,
0.039761438965797424,
0.02943587861955166,
0.019851740449666977,
-0.03158678114414215,
-0.19174744188785553,
-0.026529135182499886,
-0.14174044132232666,
-0.03622123971581459,
0.19017106294631958,
0.007212946191430092,
-0.08861536532640457,
-0.11986120790243149,
-0.02909056842327118,
0.010938089340925217,
-0.017679499462246895,
-0.07472024857997894,
-0.013286315836012363,
0.03332354873418808,
-0.008641468361020088,
-0.05028367415070534,
-0.11302594095468521,
-0.1526404321193695,
-0.015590316615998745,
0.10352640599012375,
0.015255534090101719,
0.029602428898215294,
-0.11512256413698196,
0.0720788836479187,
-0.11296176165342331,
-0.04907592386007309,
-0.00034158671041950583,
0.011111379601061344,
-0.06536061316728592,
0.01412240881472826,
-0.0922946184873581,
-0.16508975625038147,
0.024748288094997406,
-0.03567872568964958,
0.02091924473643303,
0.0065932245925068855,
-0.018842697143554688,
0.049478888511657715,
0.04456247016787529,
0.05790606141090393,
-0.06581488251686096,
0.007973316125571728,
0.03720344603061676,
0.006658636964857578,
-0.07004658877849579,
-0.028895892202854156,
-0.06296350806951523,
-0.047156915068626404,
0.009068635292351246,
0.030807673931121826,
-0.03488561138510704,
0.0043555754236876965,
-0.023440882563591003,
-0.04762212932109833,
0.03757776319980621,
-0.0878295972943306,
-0.041018709540367126,
0.07827619463205338,
0.005645993165671825,
0.11162497848272324,
0.062269654124975204,
0.06302854418754578,
-0.06689044088125229,
-0.02308415248990059,
0.010307330638170242,
0.032443080097436905,
-0.02599809318780899,
-0.09712256491184235,
-0.002971027512103319,
-0.017802027985453606,
-0.006769093684852123,
-0.08987200260162354,
-0.11822623014450073,
-0.07830879837274551,
0.004429095424711704,
0.028973791748285294,
-0.050334565341472626,
-0.08108013868331909,
-0.022872598841786385,
-0.022017477080225945,
-0.0578954741358757,
0.0769447311758995,
-0.03744179382920265,
0.06711374968290329,
0.035876281559467316,
0.040103811770677567,
0.01699882000684738,
0.08613742887973785,
-0.06838325411081314,
-0.04962147772312164,
0.040096037089824677,
0.14221741259098053,
-0.042975038290023804,
-0.08030156791210175,
-0.08133333176374435,
-0.08287648856639862,
-0.07494134455919266,
0.0771479383111,
0.04522077366709709,
0.09929920732975006,
-0.23979751765727997,
-0.09405691176652908,
0.1820952147245407,
-0.12099601328372955,
0.0030300000216811895,
0.20279236137866974,
-0.013822873122990131,
0.09858311712741852,
0.1280222088098526,
0.22528484463691711,
0.13829976320266724,
-0.20438776910305023,
0.06440099328756332,
0.0442962683737278,
-0.012033822946250439,
-0.055421777069568634,
0.05542226880788803,
-0.040009643882513046,
-0.04843693971633911,
0.03773774206638336,
-0.058215271681547165,
0.07853823900222778,
-0.05507572740316391,
-0.054911866784095764,
-0.020737189799547195,
-0.09863784909248352,
0.04650946334004402,
0.045969996601343155,
0.02996893785893917,
-0.0038069351576268673,
-0.0433901846408844,
0.06709755957126617,
0.12345366925001144,
-0.12335405498743057,
0.03186127170920372,
-0.10608739405870438,
0.06672821938991547,
-0.09806398302316666,
-0.024979058653116226,
-0.15653039515018463,
0.17513981461524963,
-0.011903554201126099,
0.06255156546831131,
0.05626751109957695,
0.22091472148895264,
0.015389692969620228,
0.016986660659313202,
-0.033813782036304474,
-0.008636419661343098,
0.010014054365456104,
-0.01981416903436184,
-0.04093943163752556,
-0.08866407722234726,
-0.03538789227604866,
-0.0663798451423645,
0.0880209431052208,
-0.19016380608081818,
-0.00805792398750782,
0.019913798198103905,
-0.0006129456451162696,
0.011376340873539448,
-0.01546382624655962,
0.0652482807636261,
0.0798773467540741,
0.02071031928062439,
0.028650062158703804,
0.051561325788497925,
0.018969034776091576,
-0.020797668024897575,
0.12716151773929596,
-0.10347232967615128,
0.03262195363640785,
0.09547571837902069,
-0.04484746977686882,
-0.014844979159533978,
0.048378124833106995,
-0.029368244111537933,
-0.011622076854109764,
-0.09637680649757385,
-0.0001316123962169513,
0.2956773340702057,
-0.014674915932118893,
0.11676390469074249,
-0.09306648373603821,
-0.0008383487001992762,
0.03780248388648033,
-0.07748372852802277,
0.048318929970264435,
0.059216421097517014,
0.014529244974255562,
0.027379052713513374,
0.016582036390900612,
-0.07744632661342621,
-0.09432267397642136,
0.22040367126464844,
-0.01968964748084545,
-0.10022024065256119,
0.018233736976981163,
-0.03752350062131882,
-0.03360900655388832,
0.05700652673840523,
-0.15320639312267303,
-0.02267971634864807,
0.04681887850165367,
0.05062733218073845,
0.0750294104218483,
-0.15259742736816406,
0.020747078582644463,
0.02251405268907547,
-0.12090228497982025,
-0.15229284763336182,
0.0709633156657219,
-0.04064226895570755,
0.03462839871644974,
-0.11931566894054413,
-0.057062435895204544,
0.0102308364585042,
-0.04293220490217209,
-0.1715322732925415,
0.11184736341238022,
-0.0511004701256752,
-0.22342486679553986,
-0.13988696038722992,
-0.001040438306517899,
0.0021104617044329643,
0.016906624659895897,
0.0859338641166687,
-0.08175705373287201,
-0.017049640417099,
-0.04293206334114075,
0.07397086918354034,
-0.008737838827073574,
-0.022375524044036865,
-0.05445167049765587,
0.00682929577305913,
0.07319942116737366,
-0.14517360925674438,
0.02367280423641205,
-0.06271650642156601,
-0.03423990309238434,
0.001412237761542201,
0.010624969378113747,
0.0032428577542304993,
0.172424778342247,
0.036692243069410324,
0.020644178614020348,
-0.014982827007770538,
0.23093225061893463,
-0.07301650196313858,
-0.037315733730793,
0.22140184044837952,
-0.009935523383319378,
-0.01993069425225258,
0.06945288926362991,
0.03471582382917404,
-0.06905841827392578,
-0.006876988802105188,
0.004019321408122778,
-0.07811284810304642,
-0.222799614071846,
-0.1129213199019432,
-0.06397416442632675,
-0.06273268908262253,
-0.026237469166517258,
-0.0027305849362164736,
0.08408091217279434,
0.02147342450916767,
-0.0040264311246573925,
-0.0581321194767952,
0.03302381932735443,
-0.03392970934510231,
0.12609471380710602,
-0.01683899015188217,
0.10483478754758835,
-0.04092814400792122,
-0.03177717700600624,
0.02250303141772747,
0.018003370612859726,
0.14203378558158875,
0.03845571354031563,
0.0565798245370388,
0.08543778210878372,
0.11317156255245209,
0.1292230188846588,
0.08379042148590088,
-0.07264337688684464,
-0.022260524332523346,
0.007873890921473503,
-0.051201265305280685,
-0.03926604613661766,
0.028826555237174034,
0.14155420660972595,
-0.04322820529341698,
-0.041798170655965805,
-0.03692255914211273,
-0.011364897713065147,
0.21269868314266205,
0.07752621173858643,
-0.1951534003019333,
-0.08634600788354874,
-0.05098342522978783,
-0.08442933857440948,
-0.0011542390566319227,
0.061066173017024994,
0.17942900955677032,
-0.12393804639577866,
-0.003726491006091237,
0.0017489547608420253,
0.09581449627876282,
-0.009173967875540257,
0.02877703867852688,
-0.07766856998205185,
0.058148812502622604,
0.004637247882783413,
0.08639956265687943,
-0.25089260935783386,
0.1928713619709015,
0.0023388059344142675,
0.11598984897136688,
-0.04484032839536667,
-0.005470651667565107,
-0.0004864322836510837,
0.07018541544675827,
0.1131177693605423,
0.01055244542658329,
0.05152325704693794,
-0.07209288328886032,
-0.07708097249269485,
0.05133628472685814,
-0.013757428154349327,
0.04196029156446457,
0.029119018465280533,
0.0075432960875332355,
-0.006183859426528215,
0.024932468309998512,
-0.025148075073957443,
-0.15870173275470734,
-0.05525114759802818,
0.010351287201046944,
0.14805346727371216,
0.08202856034040451,
-0.025882015004754066,
-0.09084858000278473,
-0.12092100828886032,
0.042951442301273346,
-0.0500975027680397,
-0.03581833094358444,
-0.07773154228925705,
-0.04010367766022682,
0.10374382138252258,
-0.038491759449243546,
0.014168732799589634,
0.08918897062540054,
0.12137369066476822,
-0.03273836523294449,
-0.04693150147795677,
0.04683982580900192,
-0.12330309301614761,
-0.11015304923057556,
-0.016114303842186928,
0.1748485416173935,
0.10887394845485687,
0.07509681582450867,
0.062447432428598404,
-0.006774578709155321,
-0.01561360340565443,
-0.047828108072280884,
0.007010747212916613,
0.08900892734527588,
-0.1314873993396759,
-0.008689993061125278,
0.03107443079352379,
-0.1463201344013214,
-0.10011747479438782,
-0.04557175561785698,
0.16739515960216522,
0.07572352141141891,
-0.059022437781095505,
0.18586884438991547,
0.20312371850013733,
-0.08095730096101761,
-0.20488737523555756,
-0.020963530987501144,
0.1266787052154541,
0.11884646117687225,
-0.0035883167292922735,
-0.18374128639698029,
0.08932098746299744,
0.0011956546222791076,
-0.031019439920783043,
-0.024623984470963478,
-0.2566657066345215,
-0.1355644315481186,
0.16480785608291626,
-0.017194868996739388,
0.1603165715932846,
0.013361809775233269,
-0.036789074540138245,
-0.0026979162357747555,
-0.02302968129515648,
0.07790911942720413,
-0.12129835784435272,
0.10957394540309906,
0.028238721191883087,
0.06922131031751633,
0.04833422228693962,
-0.01879739761352539,
0.06643500179052353,
0.09398285299539566,
0.003047541482374072,
0.022984782233834267,
0.08173178136348724,
0.013153109699487686,
0.04748301953077316,
0.11991686373949051,
-0.05655927211046219,
0.050014495849609375,
-0.08877739310264587,
-0.11186771839857101,
-0.08760249614715576,
0.07364369928836823,
0.02818760834634304,
-0.04609803482890129,
0.03302532806992531,
-0.05527131259441376,
0.01686570793390274,
0.003557965625077486,
-0.0644216313958168,
-0.13140800595283508,
0.04893164709210396,
0.2155655473470688,
0.17079132795333862,
-0.04951607063412666,
-0.10654005408287048,
-0.03277170658111572,
-0.03684820979833603,
0.12701743841171265,
-0.08165645599365234,
0.03478106111288071,
0.05247900262475014,
0.06286841630935669,
0.12677468359470367,
0.014489894732832909,
-0.09737948328256607,
0.05822213739156723,
0.017257830128073692,
-0.07377389818429947,
-0.12849855422973633,
-0.043598972260951996,
-0.05318129062652588,
-0.020216606557369232,
0.023852642625570297,
0.12253010272979736,
-0.09836594015359879,
-0.017007818445563316,
-0.025156334042549133,
0.011687853373587132,
-0.13126559555530548,
0.2178797572851181,
0.04588549956679344,
0.06796308606863022,
-0.11774151027202606,
0.005598405376076698,
-0.013254866003990173,
-0.030857926234602928,
0.01560897659510374,
-0.04572928324341774,
-0.0727948471903801,
-0.06819868832826614,
-0.03667038306593895,
0.07551535964012146,
0.04603831470012665,
-0.13285976648330688,
-0.046027712523937225,
-0.11393526196479797,
0.014957649633288383,
0.096773162484169,
0.05191632732748985,
0.017518097534775734,
-0.12474901974201202,
-0.05894991382956505,
-0.11283313482999802,
0.059165678918361664,
0.06838259100914001,
-0.024882683530449867,
-0.12141820788383484,
0.19177082180976868,
0.05600222200155258,
0.04087371751666069,
-0.05512574687600136,
-0.06468412280082703,
-0.006868993863463402,
0.07692026346921921,
-0.0723387822508812,
-0.004841289483010769,
-0.0336795337498188,
0.015060036443173885,
0.005097025074064732,
-0.06520020961761475,
-0.003458747174590826,
0.0830918475985527,
-0.09861962497234344,
0.0778040736913681,
0.01577933132648468,
0.05712663009762764,
-0.06246134638786316,
0.03838401660323143,
0.015157097950577736,
-0.049524206668138504,
0.08125331997871399,
0.14044375717639923,
-0.10973700881004333,
0.11445330083370209,
-0.23238764703273773,
-0.04153173416852951,
0.07180050760507584,
0.07470835745334625,
-0.026368165388703346,
-0.09555591642856598,
0.041563138365745544,
0.08874202519655228,
0.053869061172008514,
-0.017967378720641136,
0.08710525184869766,
-0.06237698718905449,
-0.015744002535939217,
-0.05265471339225769,
0.013277081772685051,
-0.043375737965106964,
0.010422876104712486,
0.06324324011802673,
0.16081233322620392,
0.16125765442848206,
-0.09578952193260193,
0.10505300015211105,
-0.13120514154434204,
0.014981220476329327,
-0.04670639708638191,
-0.017558299005031586,
-0.12591691315174103,
-0.07863996177911758,
0.06927313655614853,
-0.028130514547228813,
0.1487876921892166,
0.022695638239383698,
0.026300834491848946,
-0.04599960148334503,
-0.10738827288150787,
0.029166841879487038,
-0.017954934388399124,
0.25097447633743286,
0.047081854194402695,
0.03566714748740196,
-0.025593481957912445,
0.0004113338072784245,
0.018806789070367813,
0.1304534524679184,
-0.004555846098810434,
0.14292998611927032,
-0.008075151592493057,
0.0643116906285286,
0.10302409529685974,
-0.05856965109705925,
-0.008862512186169624,
-0.007158059626817703,
-0.12568768858909607,
0.036813486367464066,
-0.0731969028711319,
0.15348558127880096,
0.10565508902072906,
-0.08115539699792862,
0.09545068442821503,
0.022068848833441734,
-0.07662333548069,
-0.1592598259449005,
-0.12297530472278595,
-0.05330950766801834,
-0.16143162548542023,
0.025507351383566856,
-0.0976143628358841,
0.03284021466970444,
0.03911064192652702,
0.030261054635047913,
-0.023898862302303314,
0.13525956869125366,
-0.01266759168356657,
-0.09033337980508804,
0.0801132395863533,
-0.08977004885673523,
-0.03328373655676842,
-0.10941530019044876,
0.03915612772107124,
0.16603036224842072,
0.012198222801089287,
0.055611107498407364,
-0.006601751782000065,
-0.05401735007762909,
0.033962950110435486,
-0.05164968594908714,
-0.0674741119146347,
-0.01708214171230793,
-0.027100322768092155,
0.075731061398983,
0.13589444756507874,
0.11461091041564941,
-0.06385394185781479,
-0.0035566510632634163,
0.11026893556118011,
-0.05460783839225769,
-0.14338597655296326,
-0.1568383127450943,
0.15198928117752075,
0.024050911888480186,
0.03601547330617905,
0.010486863553524017,
-0.03637195751070976,
-0.0033631580881774426,
0.25142422318458557,
0.2139982283115387,
0.022020390257239342,
0.03748174011707306,
-0.002699807984754443,
-0.013917118310928345,
-0.034544460475444794,
0.04112277179956436,
0.07757506519556046,
0.23760168254375458,
-0.01044699177145958,
0.013127869926393032,
-0.07953154295682907,
-0.07191479951143265,
0.027491198852658272,
0.06358401477336884,
-0.057345855981111526,
-0.10512728244066238,
0.010529316030442715,
0.12231900542974472,
-0.08775751292705536,
-0.13059782981872559,
-0.09221681952476501,
-0.05158594995737076,
-0.07006444036960602,
-0.026399586349725723,
-0.022148452699184418,
0.1112573891878128,
0.01781957782804966,
-0.09036548435688019,
0.03163040801882744,
0.1705116182565689,
-0.01541884709149599,
-0.0732409879565239,
-0.03893814608454704,
0.04257233068346977,
-0.08438755571842194,
-0.0006279103690758348,
0.0006658834754489362,
0.1834719181060791,
-0.00024316305643878877,
0.08846629410982132,
-0.020310034975409508,
0.15631011128425598,
-0.033524271100759506,
-0.09141974151134491,
0.012120676226913929,
0.1430828720331192,
-0.017257196828722954,
0.11894584447145462,
-0.011870670132339,
-0.17319557070732117,
0.04749087244272232,
-0.11158706992864609,
-0.03669393062591553,
-0.07265207171440125,
0.03854953497648239,
-0.03759085759520531,
0.08086828142404556,
0.08487837761640549,
-0.061747197061777115,
-0.054242830723524094,
-0.05517543852329254,
0.08204896003007889,
0.021522758528590202,
-0.048946551978588104,
-0.04067385196685791,
-0.23595014214515686,
-0.005671106278896332,
-0.08120615780353546,
-0.024591807276010513,
-0.20676741003990173,
-0.022331101819872856,
-0.017035312950611115,
-0.09152922034263611,
0.014998124912381172,
0.013579116202890873,
0.10385496914386749,
0.017228087410330772,
0.005781335756182671,
0.035166263580322266,
0.03713049739599228,
0.1126314178109169,
-0.15079905092716217,
-0.09699540585279465
] |
null | null |
transformers
|
# Wav2Vec2-Large-XLSR-53-Tatar
Fine-tuned [facebook/wav2vec2-large-xlsr-53](https://huggingface.co/facebook/wav2vec2-large-xlsr-53) on Tatar using the [Common Voice](https://huggingface.co/datasets/common_voice) dataset.
When using this model, make sure that your speech input is sampled at 16kHz.
## Usage
The model can be used directly (without a language model) as follows:
```python
import torch
import torchaudio
from datasets import load_dataset
from transformers import Wav2Vec2ForCTC, Wav2Vec2Processor
test_dataset = load_dataset("common_voice", "tt", split="test[:2%]")
processor = Wav2Vec2Processor.from_pretrained("crang/wav2vec2-large-xlsr-53-tatar")
model = Wav2Vec2ForCTC.from_pretrained("crang/wav2vec2-large-xlsr-53-tatar")
resampler = torchaudio.transforms.Resample(48_000, 16_000)
# Preprocessing the datasets.
# We need to read the aduio files as arrays
def speech_file_to_array_fn(batch):
speech_array, sampling_rate = torchaudio.load(batch["path"])
batch["speech"] = resampler(speech_array).squeeze().numpy()
return batch
test_dataset = test_dataset.map(speech_file_to_array_fn)
inputs = processor(test_dataset["speech"][:2], sampling_rate=16_000, return_tensors="pt", padding=True)
with torch.no_grad():
logits = model(inputs.input_values, attention_mask=inputs.attention_mask).logits
predicted_ids = torch.argmax(logits, dim=-1)
print("Prediction:", processor.batch_decode(predicted_ids))
print("Reference:", test_dataset["sentence"][:2])
```
## Evaluation
The model can be evaluated as follows on the Tatar test data of Common Voice.
```python
import torch
import torchaudio
from datasets import load_dataset, load_metric
from transformers import Wav2Vec2ForCTC, Wav2Vec2Processor
import re
test_dataset = load_dataset("common_voice", "tt", split="test")
wer = load_metric("wer")
processor = Wav2Vec2Processor.from_pretrained("crang/wav2vec2-large-xlsr-53-tatar")
model = Wav2Vec2ForCTC.from_pretrained("crang/wav2vec2-large-xlsr-53-tatar")
model.to("cuda")
chars_to_ignore_regex = '[\,\?\.\!\-\u2013\u2014\;\:\"\\%\\\]'
resampler = torchaudio.transforms.Resample(48_000, 16_000)
# Preprocessing the datasets.
# We need to read the aduio files as arrays
def speech_file_to_array_fn(batch):
batch["sentence"] = re.sub(chars_to_ignore_regex, '', batch["sentence"]).lower()
speech_array, sampling_rate = torchaudio.load(batch["path"])
batch["speech"] = resampler(speech_array).squeeze().numpy()
return batch
test_dataset = test_dataset.map(speech_file_to_array_fn)
# Preprocessing the datasets.
# We need to read the aduio files as arrays
def evaluate(batch):
inputs = processor(batch["speech"], sampling_rate=16_000, return_tensors="pt", padding=True)
with torch.no_grad():
logits = model(inputs.input_values.to("cuda"), attention_mask=inputs.attention_mask.to("cuda")).logits
pred_ids = torch.argmax(logits, dim=-1)
batch["pred_strings"] = processor.batch_decode(pred_ids)
return batch
result = test_dataset.map(evaluate, batched=True, batch_size=8)
print("WER: {:2f}".format(100 * wer.compute(predictions=result["pred_strings"], references=result["sentence"])))
```
**Test Result**: 30.93 %
## Training
The Common Voice `train` and `validation` datasets were used for training.
|
{"language": "tt", "license": "apache-2.0", "tags": ["audio", "automatic-speech-recognition", "speech", "xlsr-fine-tuning-week"], "datasets": ["common_voice"], "metrics": ["wer"], "model-index": [{"name": "Tatar XLSR Wav2Vec2 Large 53", "results": [{"task": {"type": "automatic-speech-recognition", "name": "Speech Recognition"}, "dataset": {"name": "Common Voice tt", "type": "common_voice", "args": "tt"}, "metrics": [{"type": "wer", "value": 30.93, "name": "Test WER"}]}]}]}
|
automatic-speech-recognition
|
crang/wav2vec2-large-xlsr-53-tatar
|
[
"transformers",
"pytorch",
"jax",
"wav2vec2",
"automatic-speech-recognition",
"audio",
"speech",
"xlsr-fine-tuning-week",
"tt",
"dataset:common_voice",
"license:apache-2.0",
"model-index",
"endpoints_compatible",
"region:us"
] |
2022-03-02T23:29:05+00:00
|
[] |
[
"tt"
] |
TAGS
#transformers #pytorch #jax #wav2vec2 #automatic-speech-recognition #audio #speech #xlsr-fine-tuning-week #tt #dataset-common_voice #license-apache-2.0 #model-index #endpoints_compatible #region-us
|
# Wav2Vec2-Large-XLSR-53-Tatar
Fine-tuned facebook/wav2vec2-large-xlsr-53 on Tatar using the Common Voice dataset.
When using this model, make sure that your speech input is sampled at 16kHz.
## Usage
The model can be used directly (without a language model) as follows:
## Evaluation
The model can be evaluated as follows on the Tatar test data of Common Voice.
Test Result: 30.93 %
## Training
The Common Voice 'train' and 'validation' datasets were used for training.
|
[
"# Wav2Vec2-Large-XLSR-53-Tatar\n\nFine-tuned facebook/wav2vec2-large-xlsr-53 on Tatar using the Common Voice dataset.\nWhen using this model, make sure that your speech input is sampled at 16kHz.",
"## Usage\n\nThe model can be used directly (without a language model) as follows:",
"## Evaluation\n\nThe model can be evaluated as follows on the Tatar test data of Common Voice.\n\n\n\n\nTest Result: 30.93 %",
"## Training\n\nThe Common Voice 'train' and 'validation' datasets were used for training."
] |
[
"TAGS\n#transformers #pytorch #jax #wav2vec2 #automatic-speech-recognition #audio #speech #xlsr-fine-tuning-week #tt #dataset-common_voice #license-apache-2.0 #model-index #endpoints_compatible #region-us \n",
"# Wav2Vec2-Large-XLSR-53-Tatar\n\nFine-tuned facebook/wav2vec2-large-xlsr-53 on Tatar using the Common Voice dataset.\nWhen using this model, make sure that your speech input is sampled at 16kHz.",
"## Usage\n\nThe model can be used directly (without a language model) as follows:",
"## Evaluation\n\nThe model can be evaluated as follows on the Tatar test data of Common Voice.\n\n\n\n\nTest Result: 30.93 %",
"## Training\n\nThe Common Voice 'train' and 'validation' datasets were used for training."
] |
[
80,
65,
20,
29,
23
] |
[
"passage: TAGS\n#transformers #pytorch #jax #wav2vec2 #automatic-speech-recognition #audio #speech #xlsr-fine-tuning-week #tt #dataset-common_voice #license-apache-2.0 #model-index #endpoints_compatible #region-us \n# Wav2Vec2-Large-XLSR-53-Tatar\n\nFine-tuned facebook/wav2vec2-large-xlsr-53 on Tatar using the Common Voice dataset.\nWhen using this model, make sure that your speech input is sampled at 16kHz.## Usage\n\nThe model can be used directly (without a language model) as follows:## Evaluation\n\nThe model can be evaluated as follows on the Tatar test data of Common Voice.\n\n\n\n\nTest Result: 30.93 %## Training\n\nThe Common Voice 'train' and 'validation' datasets were used for training."
] |
[
-0.13185279071331024,
-0.0015005870955064893,
-0.002776071196421981,
-0.03263994678854942,
0.08807457983493805,
-0.03816039487719536,
0.20789304375648499,
0.09321431070566177,
-0.026575734838843346,
-0.02519998326897621,
0.039998263120651245,
-0.005075040739029646,
0.06257695704698563,
0.09236208349466324,
0.011537069454789162,
-0.21448905766010284,
-0.00020706267969217151,
-0.004355906508862972,
0.033818308264017105,
0.11765293031930923,
0.10219772905111313,
-0.06817591190338135,
-0.021438809111714363,
0.09716466814279556,
-0.129741370677948,
0.04895911365747452,
0.03457912802696228,
-0.13013625144958496,
0.13844025135040283,
0.08249294757843018,
0.07436752319335938,
0.04976051673293114,
0.08948652446269989,
-0.1893308460712433,
0.026494357734918594,
0.036506738513708115,
0.014775223098695278,
0.03089265339076519,
0.09835630655288696,
-0.005372379440814257,
0.10973894596099854,
0.06110350415110588,
-0.03212692588567734,
0.06286598742008209,
-0.04683688282966614,
-0.20269779860973358,
-0.02871943823993206,
0.025229336693882942,
0.11084356158971786,
0.13413824141025543,
-0.07074009627103806,
0.10380999743938446,
-0.12697096168994904,
0.10841114819049835,
0.07057518512010574,
-0.20014362037181854,
-0.008465511724352837,
0.04480231553316116,
0.019362999126315117,
0.10135670006275177,
-0.04856959357857704,
0.05507681518793106,
0.02503158338367939,
0.023314932361245155,
0.0038042026571929455,
-0.022544385865330696,
-0.18989579379558563,
-0.015760812908411026,
-0.13602474331855774,
-0.052457742393016815,
0.20575912296772003,
-0.016858411952853203,
-0.05375390127301216,
-0.12520729005336761,
-0.0025575379841029644,
-0.007317196577787399,
-0.009206169284880161,
-0.04732412472367287,
-0.024905938655138016,
0.01634487509727478,
-0.046907659620046616,
-0.029008587822318077,
-0.12189283221960068,
-0.15055441856384277,
-0.02161308564245701,
0.0645458996295929,
0.023595543578267097,
0.031641971319913864,
-0.138465017080307,
0.05829880014061928,
-0.0879194512963295,
-0.06484123319387436,
0.006525752134621143,
0.01976427622139454,
-0.0813622996211052,
0.01652492769062519,
-0.09404170513153076,
-0.17672334611415863,
0.026313630864024162,
-0.06830103695392609,
0.054366353899240494,
0.04242519661784172,
-0.01099985372275114,
0.056114520877599716,
0.02431619167327881,
0.10346917808055878,
-0.06927472352981567,
-0.021497974172234535,
0.012729751877486706,
-0.024141037836670876,
-0.055276595056056976,
-0.026082158088684082,
-0.07801998406648636,
-0.06659435480833054,
0.016504894942045212,
0.05183535814285278,
-0.025775860995054245,
0.009988373145461082,
0.015626976266503334,
-0.026299631223082542,
-0.009875655174255371,
-0.08288303762674332,
-0.04673188924789429,
0.06961466372013092,
-0.0068516856990754604,
0.09946317970752716,
0.02114640176296234,
0.04720548912882805,
-0.0713389664888382,
-0.028000816702842712,
0.03962646797299385,
0.04488975182175636,
-0.023694828152656555,
-0.12099725753068924,
0.0063566239550709724,
0.0013239617692306638,
-0.008642558939754963,
-0.10307332128286362,
-0.10856789350509644,
-0.06651589274406433,
-0.0026490294840186834,
0.03147656098008156,
0.0008382374071516097,
-0.08695120364427567,
-0.019587671384215355,
-0.000027822197807836346,
-0.06693749874830246,
0.09682351350784302,
-0.04711553454399109,
0.07731872797012329,
-0.005743685178458691,
0.051639385521411896,
0.0569937489926815,
0.0846623107790947,
-0.08021805435419083,
-0.05520579591393471,
0.00851158145815134,
0.1562713384628296,
-0.0319431908428669,
-0.06612061709165573,
-0.09302006661891937,
-0.07431843131780624,
-0.05736798420548439,
0.06517966091632843,
0.06755398213863373,
0.09108971059322357,
-0.2603774666786194,
-0.09021995216608047,
0.16394002735614777,
-0.10089962929487228,
-0.002679781522601843,
0.20239123702049255,
-0.014097015373408794,
0.10059233754873276,
0.14567208290100098,
0.2662152945995331,
0.1511445790529251,
-0.1558729112148285,
0.01947954297065735,
0.022179706022143364,
-0.006973744370043278,
-0.051610033959150314,
0.06310159713029861,
-0.038766853511333466,
-0.025837456807494164,
0.029174530878663063,
-0.05679824948310852,
0.08236515522003174,
-0.040197111666202545,
-0.06330861151218414,
-0.005257601849734783,
-0.08692675828933716,
0.06866510212421417,
0.03220830485224724,
0.05021345615386963,
-0.03626222535967827,
-0.06217401474714279,
0.04229975491762161,
0.1105131059885025,
-0.12393444031476974,
0.05425352603197098,
-0.10442464798688889,
0.061685722321271896,
-0.09552474319934845,
-0.004599078558385372,
-0.14455696940422058,
0.18000605702400208,
-0.024827586486935616,
0.04957110434770584,
0.05255687236785889,
0.1748642921447754,
0.02513585053384304,
0.01245194673538208,
-0.043025046586990356,
-0.009411226026713848,
0.015526681207120419,
-0.016215410083532333,
-0.06587044149637222,
-0.11076507717370987,
-0.010320399887859821,
-0.06026576831936836,
0.07381848990917206,
-0.12380598485469818,
-0.004983279854059219,
0.021596839651465416,
-0.014738169498741627,
-0.009592777118086815,
0.007548405788838863,
0.06032839044928551,
0.10038230568170547,
0.008736052550375462,
0.022742245346307755,
0.046024054288864136,
-0.0006487752543762326,
-0.055148087441921234,
0.1352192610502243,
-0.14356334507465363,
-0.019824866205453873,
0.10820325464010239,
-0.030926434323191643,
-0.023122848942875862,
0.03831344470381737,
-0.010418301448225975,
-0.009749171324074268,
-0.06492411345243454,
0.006718181539326906,
0.291350394487381,
-0.0053040822967886925,
0.09416036307811737,
-0.08921348303556442,
0.006855960935354233,
0.04232374206185341,
-0.08011700212955475,
0.04616301879286766,
0.08042766153812408,
-0.0037810795474797487,
0.005430344957858324,
0.03121933341026306,
-0.04255766049027443,
-0.07748689502477646,
0.24957256019115448,
-0.015449905768036842,
-0.10169579833745956,
0.029810113832354546,
-0.041779033839702606,
-0.028428051620721817,
0.1048920676112175,
-0.15088362991809845,
-0.035969626158475876,
0.0421694740653038,
0.05995969846844673,
0.0630878359079361,
-0.1560443788766861,
0.018699532374739647,
0.01651659980416298,
-0.1288633495569229,
-0.2179531753063202,
0.07019685208797455,
-0.041597217321395874,
0.06329872459173203,
-0.1077660322189331,
-0.01720617339015007,
-0.0006640682695433497,
-0.04765245318412781,
-0.17520658671855927,
0.11783493310213089,
-0.07766763120889664,
-0.2139940708875656,
-0.1372985988855362,
-0.0009888868080452085,
0.015067647211253643,
0.014758947305381298,
0.10821421444416046,
-0.1423068344593048,
0.002545490860939026,
-0.01954839564859867,
0.10864971578121185,
-0.002994507784023881,
-0.00946518499404192,
-0.05788981169462204,
0.015149530954658985,
0.05430477857589722,
-0.12733997404575348,
0.027958204969763756,
-0.06738782674074173,
-0.02229718305170536,
0.018852349370718002,
-0.007453940808773041,
0.016307873651385307,
0.16120173037052155,
0.013317120261490345,
0.018251841887831688,
-0.05501905456185341,
0.18381313979625702,
-0.09605731070041656,
-0.03328146040439606,
0.18281300365924835,
-0.0038518921937793493,
-0.025066334754228592,
0.09370557218790054,
0.023225974291563034,
-0.03983035683631897,
-0.005976234562695026,
-0.01897585391998291,
-0.09787672013044357,
-0.23142926394939423,
-0.1111568808555603,
-0.06778186559677124,
-0.0607641376554966,
-0.03791705146431923,
-0.011340221390128136,
0.04380236938595772,
0.024688681587576866,
-0.03278881311416626,
-0.06582604348659515,
0.037943243980407715,
-0.02340024709701538,
0.1376284658908844,
0.004967124201357365,
0.10339075326919556,
-0.070563405752182,
-0.02425563707947731,
0.01595972292125225,
0.017416978254914284,
0.16658949851989746,
0.0422750823199749,
0.06306952983140945,
0.07156351953744888,
0.12323632091283798,
0.11699926853179932,
0.0789267048239708,
-0.04205795377492905,
-0.007016971707344055,
0.013139188289642334,
-0.0647578090429306,
-0.041925348341464996,
0.03509081155061722,
0.14555132389068604,
-0.057306140661239624,
-0.051572542637586594,
-0.02512260153889656,
0.024337152019143105,
0.1799236536026001,
0.05984538421034813,
-0.18880261480808258,
-0.10116591304540634,
-0.030339624732732773,
-0.07116686552762985,
0.006622333079576492,
0.04366380721330643,
0.15875780582427979,
-0.12284759432077408,
0.02812962234020233,
-0.000344033760484308,
0.09223214536905289,
0.030898110941052437,
0.031392376869916916,
-0.07795163244009018,
0.023398712277412415,
-0.018883859738707542,
0.10959167778491974,
-0.29075494408607483,
0.22290022671222687,
0.01514279656112194,
0.12821689248085022,
-0.07259698957204819,
-0.015814021229743958,
0.01795147731900215,
0.05037345364689827,
0.0947815552353859,
0.011848811991512775,
-0.011342041194438934,
-0.10403405129909515,
-0.10069755464792252,
0.06620493531227112,
-0.008029361255466938,
0.05209540203213692,
0.05318344011902809,
0.01674017682671547,
0.010927049443125725,
0.011850111186504364,
-0.03545163944363594,
-0.136989027261734,
-0.06833931803703308,
0.0014838416827842593,
0.13485291600227356,
0.08684524148702621,
-0.009649650193750858,
-0.09550970792770386,
-0.10822992771863937,
-0.012601817958056927,
-0.10267243534326553,
-0.07170382887125015,
-0.061365216970443726,
-0.03483888506889343,
0.10463367402553558,
-0.06702267378568649,
-0.011203842237591743,
0.09699076414108276,
0.10044704377651215,
-0.028146376833319664,
-0.06493314355611801,
0.02275504544377327,
-0.11591221392154694,
-0.10879591852426529,
-0.008979766629636288,
0.16135236620903015,
0.10690128803253174,
0.10873431712388992,
0.05536254495382309,
0.0053099291399121284,
-0.009735151194036007,
-0.03354406729340553,
0.00751299737021327,
0.07547496259212494,
-0.1180986538529396,
-0.018318912014365196,
0.044442642480134964,
-0.1402883529663086,
-0.13348139822483063,
-0.05972323566675186,
0.16566374897956848,
0.07205577194690704,
-0.07408728450536728,
0.22447176277637482,
0.18955226242542267,
-0.09337638318538666,
-0.20142093300819397,
-0.014232056215405464,
0.11975172907114029,
0.12997780740261078,
0.005689199082553387,
-0.19287657737731934,
0.037907250225543976,
-0.03239588066935539,
-0.03076496347784996,
-0.04514547064900398,
-0.2828754782676697,
-0.1528366506099701,
0.16566255688667297,
-0.029525931924581528,
0.15780220925807953,
-0.005863174330443144,
-0.023168059065937996,
-0.023080749437212944,
0.06078718230128288,
0.04078564792871475,
-0.0990738719701767,
0.11659344285726547,
0.03248083218932152,
0.12797877192497253,
0.04866268113255501,
-0.017954116687178612,
0.08985943347215652,
0.06943599134683609,
-0.017264777794480324,
-0.008348696865141392,
0.11273545771837234,
0.06508277356624603,
0.016970152035355568,
0.08871615678071976,
-0.08251027017831802,
0.036465346813201904,
-0.1209605410695076,
-0.0895824283361435,
-0.08539938181638718,
0.05725311487913132,
0.026707099750638008,
-0.048024628311395645,
0.01549939252436161,
-0.06528892368078232,
0.03977208957076073,
-0.02405228279531002,
-0.041401900351047516,
-0.10998813807964325,
0.04455641657114029,
0.11536671966314316,
0.17460644245147705,
-0.017338452860713005,
-0.09103312343358994,
-0.012306168675422668,
-0.03560097888112068,
0.12924712896347046,
-0.09592300653457642,
0.014498239383101463,
0.06273297965526581,
0.04702512547373772,
0.08810567110776901,
0.013055489398539066,
-0.09229923784732819,
0.0875188559293747,
0.033072035759687424,
-0.07047910988330841,
-0.11432148516178131,
-0.017219899222254753,
0.0038669060450047255,
-0.017261797562241554,
0.021754134446382523,
0.11083867400884628,
-0.10773592442274094,
-0.01081863697618246,
-0.0256995540112257,
0.012238592840731144,
-0.11073123663663864,
0.24591024219989777,
0.027146127074956894,
0.06728335469961166,
-0.10777610540390015,
0.013965653255581856,
-0.013958605006337166,
-0.04213567450642586,
0.05720200389623642,
-0.04393339529633522,
-0.07294212281703949,
-0.055648934096097946,
0.004104833118617535,
0.08106422424316406,
0.03289173170924187,
-0.14374303817749023,
-0.05807403475046158,
-0.1119651198387146,
0.014246351085603237,
0.10119939595460892,
0.047528378665447235,
-0.0037573804147541523,
-0.13117250800132751,
-0.05516839399933815,
-0.10595647245645523,
0.06764514744281769,
0.06314416974782944,
-0.03690176084637642,
-0.09905947744846344,
0.20443908870220184,
0.061167631298303604,
0.03417361155152321,
-0.05273789167404175,
-0.06525880843400955,
-0.007072962820529938,
0.09214603155851364,
-0.11176421493291855,
-0.007600168231874704,
-0.05311443656682968,
0.007480361498892307,
-0.014963679946959019,
-0.06073439121246338,
-0.021731583401560783,
0.07278046756982803,
-0.09608401358127594,
0.08117403090000153,
-0.018488649278879166,
0.06302548199892044,
-0.08053158968687057,
0.04149150475859642,
-0.0010745760519057512,
-0.04016781970858574,
0.08464008569717407,
0.1584405153989792,
-0.09958051890134811,
0.12979094684123993,
-0.18547919392585754,
-0.03011457435786724,
0.04107603430747986,
0.06570856273174286,
-0.03213925287127495,
-0.08732197433710098,
0.036143578588962555,
0.07587253302335739,
0.04354548454284668,
0.0066510895267128944,
0.09731612354516983,
-0.04578345641493797,
-0.0013194961939007044,
-0.071311354637146,
0.024175265803933144,
-0.038041550666093826,
0.0526668056845665,
0.04230652377009392,
0.15171144902706146,
0.16372989118099213,
-0.11076218634843826,
0.10042443126440048,
-0.11932917684316635,
0.0015890401555225253,
-0.0453125424683094,
-0.026458164677023888,
-0.13573552668094635,
-0.09711408615112305,
0.0871344730257988,
-0.03854619711637497,
0.1387012004852295,
0.05768079683184624,
0.050807755440473557,
-0.029202381148934364,
-0.06291528791189194,
0.03486033156514168,
-0.024460431188344955,
0.2785280644893646,
0.03837168589234352,
0.03736067935824394,
-0.03182578459382057,
0.011656910181045532,
0.018015889450907707,
0.12213634699583054,
0.010427705012261868,
0.13937139511108398,
0.02148628607392311,
0.07401186227798462,
0.08160753548145294,
-0.06514132767915726,
-0.025552745908498764,
-0.040603842586278915,
-0.13165083527565002,
0.03471573069691658,
-0.06487729400396347,
0.15297749638557434,
0.13317959010601044,
-0.10659302771091461,
0.08442836999893188,
-0.002584329340606928,
-0.08047779649496078,
-0.1482786238193512,
-0.12440581619739532,
-0.04554379731416702,
-0.1620972901582718,
0.01832978054881096,
-0.09047437459230423,
0.029852939769625664,
0.06623269617557526,
0.03822094574570656,
-0.01925279200077057,
0.14792956411838531,
-0.011207680217921734,
-0.09559355676174164,
0.07175350189208984,
-0.08147402852773666,
-0.008267337456345558,
-0.08914494514465332,
0.022303292527794838,
0.1830148547887802,
-0.015541116707026958,
0.05326797440648079,
0.011264746077358723,
-0.0663255825638771,
0.02550973929464817,
-0.0633021667599678,
-0.05847636237740517,
-0.013878260739147663,
-0.009166918694972992,
0.10770493000745773,
0.152254119515419,
0.11954539269208908,
-0.06415228545665741,
-0.014725184068083763,
0.12677305936813354,
-0.03083936497569084,
-0.13430900871753693,
-0.12982383370399475,
0.15109111368656158,
0.022701885551214218,
0.01573214866220951,
0.010684522800147533,
-0.0373665988445282,
-0.01093319058418274,
0.25247910618782043,
0.23096060752868652,
0.042879920452833176,
0.01781037077307701,
-0.04359077662229538,
-0.005453628953546286,
-0.02845834381878376,
0.09806791692972183,
0.07705668359994888,
0.21721288561820984,
-0.02656763605773449,
0.020458072423934937,
-0.0953247919678688,
-0.06495870649814606,
0.001903537311591208,
0.08320946246385574,
-0.055889278650283813,
-0.12430242449045181,
0.015559157356619835,
0.15775761008262634,
-0.07862092554569244,
-0.10965754091739655,
-0.10167328268289566,
-0.07675693929195404,
-0.08042985945940018,
0.012470467016100883,
0.07071402668952942,
0.12043819576501846,
0.017084861174225807,
-0.08482544124126434,
0.05087544769048691,
0.11602264642715454,
0.0007025665254332125,
-0.06625036895275116,
-0.058966848999261856,
0.05904361978173256,
-0.0777934119105339,
-0.0015946293715387583,
-0.0038610375486314297,
0.18396906554698944,
0.010624607093632221,
0.10213284194469452,
-0.020033003762364388,
0.1414816975593567,
0.00018376724619884044,
-0.08330536633729935,
0.027754822745919228,
0.13768307864665985,
-0.026104280725121498,
0.09791287034749985,
0.02256394550204277,
-0.12606333196163177,
0.062264204025268555,
-0.11963052302598953,
-0.0023604731541126966,
-0.05195654556155205,
0.06212466582655907,
-0.035135429352521896,
0.07499976456165314,
0.08747530728578568,
-0.06625392287969589,
-0.040540196001529694,
-0.053561870008707047,
0.042099855840206146,
0.026319915428757668,
-0.07973529398441315,
-0.03779551014304161,
-0.2480243295431137,
-0.02322491630911827,
-0.08929316699504852,
-0.028941841796040535,
-0.20897552371025085,
-0.025678226724267006,
-0.018200714141130447,
-0.0819234699010849,
0.012524698860943317,
0.03176494315266609,
0.08614332973957062,
0.0020142649300396442,
-0.0005502723506651819,
0.02562660351395607,
0.04745912551879883,
0.12279438227415085,
-0.16546401381492615,
-0.10884575545787811
] |
null | null |
transformers
|
This is a multilingual NER system trained using a Frustratingly Easy Domain Adaptation architecture. It is based on LaBSE and supports different tagsets all using IOBES formats:
1. Wikiann (LOC, PER, ORG)
2. SlavNER 19/21 (EVT, LOC, ORG, PER, PRO)
7. Turku (DATE, EVT, LOC, ORG, PER, PRO, TIME)
PER: person, LOC: location, ORG: organization, EVT: event, PRO: product, MISC: Miscellaneous, MEDIA: media, ART: Artifact, TIME: time, DATE: date, GEOPOLIT: Geopolitical,
You can select the tagset to use in the output by configuring the model. This models manages differently uppercase words.
More information about the model can be found in the paper (https://aclanthology.org/2021.bsnlp-1.12.pdf) and GitHub repository (https://github.com/EMBEDDIA/NER_FEDA).
|
{"language": ["multilingual", "bg", "mk"], "license": "mit", "tags": ["labse", "ner"]}
| null |
creat89/NER_FEDA_Bg
|
[
"transformers",
"pytorch",
"bert",
"labse",
"ner",
"multilingual",
"bg",
"mk",
"license:mit",
"endpoints_compatible",
"region:us"
] |
2022-03-02T23:29:05+00:00
|
[] |
[
"multilingual",
"bg",
"mk"
] |
TAGS
#transformers #pytorch #bert #labse #ner #multilingual #bg #mk #license-mit #endpoints_compatible #region-us
|
This is a multilingual NER system trained using a Frustratingly Easy Domain Adaptation architecture. It is based on LaBSE and supports different tagsets all using IOBES formats:
1. Wikiann (LOC, PER, ORG)
2. SlavNER 19/21 (EVT, LOC, ORG, PER, PRO)
7. Turku (DATE, EVT, LOC, ORG, PER, PRO, TIME)
PER: person, LOC: location, ORG: organization, EVT: event, PRO: product, MISC: Miscellaneous, MEDIA: media, ART: Artifact, TIME: time, DATE: date, GEOPOLIT: Geopolitical,
You can select the tagset to use in the output by configuring the model. This models manages differently uppercase words.
More information about the model can be found in the paper (URL and GitHub repository (URL
|
[] |
[
"TAGS\n#transformers #pytorch #bert #labse #ner #multilingual #bg #mk #license-mit #endpoints_compatible #region-us \n"
] |
[
41
] |
[
"passage: TAGS\n#transformers #pytorch #bert #labse #ner #multilingual #bg #mk #license-mit #endpoints_compatible #region-us \n"
] |
[
-0.030351655557751656,
-0.02448992431163788,
-0.009047871455550194,
-0.0037508991081267595,
0.08181699365377426,
0.035577476024627686,
0.11962220072746277,
0.07075006514787674,
0.11932237446308136,
-0.018701491877436638,
0.13060413300991058,
0.195587620139122,
-0.04502885043621063,
0.034358177334070206,
-0.037037115544080734,
-0.24384257197380066,
0.035782136023044586,
0.06845411658287048,
-0.016812246292829514,
0.09368190914392471,
0.0943143218755722,
-0.04312456026673317,
0.06140710040926933,
0.0032597449608147144,
-0.11151785403490067,
0.030437050387263298,
0.03127602860331535,
-0.05170641839504242,
0.1229516863822937,
0.06028132885694504,
0.0988529771566391,
0.048205479979515076,
-0.06168403476476669,
-0.21578232944011688,
0.021697966381907463,
-0.07241235673427582,
-0.09667836129665375,
0.012497246265411377,
0.01195339486002922,
-0.08439426124095917,
0.15357603132724762,
0.019016185775399208,
-0.029370754957199097,
0.06420034915208817,
-0.15670554339885712,
-0.14209410548210144,
-0.03605007007718086,
0.07390036433935165,
-0.04290170222520828,
0.027683300897479057,
0.017163334414362907,
0.15195147693157196,
-0.13766378164291382,
0.07294078916311264,
0.17886172235012054,
-0.3845732808113098,
0.009775105863809586,
0.12884403765201569,
0.11806513369083405,
0.04127036780118942,
-0.05173945054411888,
0.09881178289651871,
0.03787405788898468,
-0.004207958001643419,
-0.049370888620615005,
-0.09668821841478348,
0.06608689576387405,
0.07541542500257492,
-0.08476787805557251,
-0.04011397808790207,
0.10900069028139114,
-0.037045206874608994,
0.030152156949043274,
0.003925778437405825,
-0.03598478063941002,
-0.03136252611875534,
-0.01302802562713623,
0.007325385697185993,
-0.019804824143648148,
0.06464838981628418,
0.022788234055042267,
-0.05506002530455589,
-0.08746320754289627,
0.025024741888046265,
-0.21678733825683594,
0.25420185923576355,
0.03655543550848961,
0.049035634845495224,
-0.14776048064231873,
0.041667282581329346,
-0.08531805872917175,
-0.06342514604330063,
-0.0453713983297348,
-0.10212975740432739,
0.08140715211629868,
0.02978876233100891,
-0.009357759729027748,
0.14182792603969574,
0.10504777729511261,
0.14091168344020844,
-0.004195849411189556,
0.013422742486000061,
-0.017828626558184624,
0.1361192762851715,
0.0014788908883929253,
0.06129591912031174,
0.055842652916908264,
0.0014792555011808872,
0.033936310559511185,
-0.15541452169418335,
0.011965402401983738,
-0.002255295403301716,
-0.1482984721660614,
-0.06414228677749634,
-0.05747942253947258,
0.12726503610610962,
-0.04007687047123909,
0.051491398364305496,
-0.05900907889008522,
0.0361764132976532,
-0.005072041414678097,
-0.03115321323275566,
-0.007085202727466822,
0.002634149743244052,
0.0515265092253685,
0.10988840460777283,
-0.030121497809886932,
-0.03035738691687584,
0.008006567135453224,
0.10347406566143036,
-0.06573839485645294,
0.011847900226712227,
-0.043195683509111404,
-0.0443074032664299,
0.054532699286937714,
-0.11034511774778366,
0.08819670230150223,
-0.13645049929618835,
-0.08706852793693542,
0.05783102288842201,
0.036499448120594025,
-0.007872393354773521,
0.016393302008509636,
0.005951643455773592,
-0.014271771535277367,
0.0023220728617161512,
-0.07097906619310379,
-0.08740393072366714,
-0.07895771414041519,
0.10073576867580414,
0.003906828351318836,
0.04574015364050865,
-0.16431714594364166,
0.02589421719312668,
-0.052148278802633286,
0.05472175404429436,
-0.0775841474533081,
-0.026636024937033653,
-0.10662208497524261,
0.11156408488750458,
-0.003139822743833065,
-0.07093267142772675,
-0.059725794941186905,
0.0436323843896389,
-0.056502290070056915,
0.11719018220901489,
-0.06950225681066513,
-0.11579495668411255,
0.2391435205936432,
-0.08650601655244827,
-0.16987474262714386,
0.0692971870303154,
0.0016362699680030346,
0.032585836946964264,
0.06831448525190353,
0.22292453050613403,
0.007804690394550562,
-0.18661445379257202,
0.05836431309580803,
0.15938566625118256,
-0.08588870614767075,
-0.11880838871002197,
0.05551621690392494,
-0.004418605472892523,
-0.07989417016506195,
0.05134272947907448,
-0.04783640056848526,
0.13933256268501282,
-0.07661108672618866,
-0.05588264390826225,
-0.01737695373594761,
-0.00875530019402504,
0.07420702278614044,
0.02805330790579319,
0.07597564905881882,
-0.10547788441181183,
-0.02180900238454342,
0.06489326804876328,
0.021648351103067398,
0.05533792823553085,
0.05074178799986839,
-0.07537321001291275,
0.08533419668674469,
0.035450294613838196,
-0.018398374319076538,
-0.11488495022058487,
-0.0491936057806015,
-0.027845080941915512,
-0.010083690285682678,
0.07101237028837204,
0.14471615850925446,
0.05991775169968605,
-0.043411776423454285,
-0.06751681864261627,
0.026352426037192345,
0.07910115271806717,
0.02869194559752941,
0.010577356442809105,
-0.12825137376785278,
0.0700899213552475,
-0.044627055525779724,
-0.06674826145172119,
-0.04222311079502106,
0.0007681952556595206,
0.12369994074106216,
0.08797691017389297,
-0.029689012095332146,
0.07207172363996506,
-0.06425666064023972,
0.04398151859641075,
-0.052851442247629166,
0.025205668061971664,
0.1155996322631836,
-0.008685702458024025,
-0.12793253362178802,
0.18039895594120026,
-0.031327858567237854,
0.30941563844680786,
0.20588934421539307,
-0.1666235327720642,
0.03712816163897514,
-0.08091448992490768,
-0.03571046143770218,
0.021342014893889427,
0.12062271684408188,
0.01369613315910101,
0.045203082263469696,
0.008770217187702656,
0.08780700713396072,
-0.06006556749343872,
-0.04312167316675186,
-0.00014083716087043285,
-0.03964894637465477,
-0.07401911914348602,
0.09891309589147568,
0.13308408856391907,
-0.212380513548851,
0.19657474756240845,
0.28088220953941345,
0.05177006870508194,
0.22371461987495422,
-0.05882282182574272,
0.03180937096476555,
-0.015699010342359543,
0.030834849923849106,
-0.037506990134716034,
0.10229049623012543,
-0.2549503445625305,
-0.023720422759652138,
0.057616159319877625,
0.0063569811172783375,
0.06450750678777695,
-0.11200156807899475,
-0.1009068414568901,
-0.03131989389657974,
-0.024381449446082115,
-0.06776170432567596,
0.12083979696035385,
-0.026267172768712044,
0.05668652802705765,
-0.007893224246799946,
-0.08012013882398605,
0.11409813910722733,
0.012945132330060005,
-0.03358457237482071,
0.14410488307476044,
-0.13796676695346832,
-0.14816899597644806,
-0.10005376487970352,
-0.17242653667926788,
-0.04189571365714073,
-0.012004843913018703,
0.09297735244035721,
-0.049203529953956604,
-0.010252644307911396,
0.10264267027378082,
0.0868854820728302,
-0.13284564018249512,
-0.0012156195007264614,
-0.08022002130746841,
0.053035300225019455,
-0.10655851662158966,
-0.12188488990068436,
-0.08482247591018677,
-0.032750796526670456,
-0.03354685753583908,
0.09088242799043655,
-0.12290159612894058,
0.06157895177602768,
0.09203815460205078,
0.015010238625109196,
0.05931517109274864,
-0.05631256476044655,
0.24940520524978638,
-0.0716637447476387,
-0.0635635033249855,
0.10292989760637283,
0.007855306379497051,
0.07752498239278793,
0.1503233164548874,
0.08463779836893082,
-0.05617411807179451,
-0.02318623848259449,
-0.04957747459411621,
-0.08375751972198486,
-0.23484526574611664,
-0.09642598778009415,
-0.1310005635023117,
0.03315959870815277,
-0.08421111851930618,
0.052418921142816544,
0.06203848123550415,
0.03390602394938469,
0.02128024585545063,
-0.09989172965288162,
-0.016459669917821884,
0.07545098662376404,
0.27548155188560486,
-0.04449988529086113,
0.07592636346817017,
-0.06253080070018768,
-0.0790008008480072,
0.09321162104606628,
0.09783238172531128,
0.15208803117275238,
0.13721580803394318,
0.04975251108407974,
0.14169956743717194,
0.13095739483833313,
0.15596257150173187,
0.07104635238647461,
-0.011762245558202267,
-0.04358214884996414,
-0.010388392955064774,
-0.04027460888028145,
-0.001471939031034708,
0.020437464118003845,
0.06610921025276184,
-0.12117822468280792,
0.022145263850688934,
-0.20369234681129456,
0.08278849720954895,
-0.02102227695286274,
0.024983882904052734,
-0.065043143928051,
0.013381154276430607,
0.08374704420566559,
0.019308527931571007,
-0.056992094963788986,
0.09251122176647186,
-0.004728714004158974,
-0.1303597390651703,
0.09580980986356735,
-0.000448141508968547,
0.07853725552558899,
0.03913475200533867,
0.07360221445560455,
-0.04915866255760193,
-0.140280082821846,
0.04456764832139015,
0.10819324105978012,
-0.3532392978668213,
0.31064674258232117,
0.013990412466228008,
-0.02754518948495388,
-0.017887147143483162,
-0.0568803995847702,
0.009284800849854946,
0.22856010496616364,
0.14403726160526276,
0.04599256440997124,
-0.10511531680822372,
-0.10054288804531097,
0.07029827684164047,
0.009530552662909031,
0.13115602731704712,
0.03364211320877075,
-0.061242155730724335,
0.012838059104979038,
-0.0000023197796963358996,
-0.014265057630836964,
0.04844364523887634,
-0.0770450085401535,
-0.14029262959957123,
0.058464135974645615,
-0.0050043067894876,
0.000934996351134032,
-0.024551408365368843,
-0.040393147617578506,
-0.09125403314828873,
0.1558898240327835,
-0.15153273940086365,
-0.07141441851854324,
-0.09291786700487137,
-0.15205682814121246,
0.05139585956931114,
-0.10233023017644882,
0.06600392609834671,
-0.06864769011735916,
-0.08128825575113297,
-0.10682506859302521,
-0.1467573493719101,
0.13041765987873077,
-0.08023257553577423,
0.00674397824332118,
-0.04262971132993698,
0.20569971203804016,
-0.03617645800113678,
0.03961164131760597,
0.008410860784351826,
-0.009731804020702839,
-0.06971478462219238,
-0.12586374580860138,
0.008101113140583038,
-0.024073701351881027,
-0.0007431930862367153,
-0.028488779440522194,
-0.1418033242225647,
0.02465817891061306,
0.014113243669271469,
-0.0737137570977211,
0.2203761488199234,
0.30616647005081177,
-0.038320060819387436,
0.16171123087406158,
0.16491690278053284,
-0.08054137974977493,
-0.2595207095146179,
-0.09440971910953522,
-0.15807539224624634,
-0.023665806278586388,
0.012469997629523277,
-0.14215511083602905,
0.0646810233592987,
0.03041168861091137,
-0.04267806559801102,
0.09870779514312744,
-0.2414318025112152,
-0.0827585831284523,
0.12039081007242203,
0.0026270097587257624,
0.42234504222869873,
-0.1113412082195282,
-0.09509295225143433,
-0.0387076698243618,
-0.25115495920181274,
0.13564270734786987,
0.014960468746721745,
0.08772998303174973,
-0.03558514267206192,
0.09282656013965607,
-0.000847678049467504,
-0.05324031040072441,
0.1305181384086609,
0.02868550829589367,
0.03055116906762123,
-0.058245278894901276,
-0.1565074920654297,
0.11961930245161057,
0.03602267801761627,
-0.029957758262753487,
-0.08489681035280228,
-0.0023145517334342003,
-0.09237486869096756,
-0.055917397141456604,
-0.10320356488227844,
0.11123670637607574,
-0.026161469519138336,
-0.09600398689508438,
-0.0618947334587574,
0.028198279440402985,
-0.05572221055626869,
-0.008548780344426632,
0.23784442245960236,
-0.03914231061935425,
0.09812700748443604,
0.016650669276714325,
0.09598661214113235,
-0.13914816081523895,
-0.02635800652205944,
-0.06030699238181114,
-0.054149966686964035,
0.039640843868255615,
-0.057037603110075,
-0.0031299216207116842,
0.1571923941373825,
-0.013663208112120628,
0.03911660611629486,
0.08512172847986221,
-0.03515797108411789,
0.0012769215973094106,
0.12263268232345581,
-0.14088551700115204,
-0.12372104078531265,
-0.01861075684428215,
-0.02047533541917801,
0.16904740035533905,
0.09933193027973175,
0.1044686883687973,
0.03317388892173767,
-0.0153192188590765,
-0.0066653164103627205,
-0.028320007026195526,
-0.11470958590507507,
-0.0021793735213577747,
0.07392379641532898,
0.006265400443226099,
-0.08691220730543137,
-0.010903515852987766,
-0.023884672671556473,
-0.14653612673282623,
-0.0619085431098938,
0.10236003994941711,
-0.1274787038564682,
-0.10121452808380127,
-0.05592746287584305,
0.1284782886505127,
-0.18064820766448975,
-0.015992850065231323,
0.01263804454356432,
-0.15002641081809998,
0.034773387014865875,
0.26068010926246643,
0.08517707884311676,
0.10050256550312042,
-0.03713404759764671,
-0.018089869990944862,
0.10303499549627304,
0.0035761448089033365,
-0.09859627485275269,
0.03701210021972656,
-0.06804174929857254,
-0.01390752661973238,
-0.009502054192125797,
0.1451183259487152,
-0.06682149320840836,
-0.03476525470614433,
-0.2015175074338913,
0.06201016157865524,
-0.09004539996385574,
-0.06678437441587448,
-0.11399193853139877,
-0.028622087091207504,
-0.002753737848252058,
-0.12374220788478851,
-0.05285691097378731,
-0.027475345879793167,
-0.12646892666816711,
0.04426582157611847,
0.046746958047151566,
0.081548772752285,
-0.05780986323952675,
-0.03637731447815895,
0.13232170045375824,
-0.018364565446972847,
0.11221504211425781,
0.11733376979827881,
-0.0327528640627861,
0.14176730811595917,
-0.1618596464395523,
-0.06909974664449692,
0.09327054768800735,
0.02878474071621895,
0.03992015868425369,
0.041666798293590546,
0.010107014328241348,
0.07859468460083008,
0.056681618094444275,
0.08227253705263138,
0.006929626688361168,
-0.10308898985385895,
-0.014567600563168526,
0.029172256588935852,
-0.16045410931110382,
-0.0035717030987143517,
-0.0448039211332798,
0.13442043960094452,
-0.004311570897698402,
0.09264519810676575,
-0.011636198498308659,
0.022244472056627274,
-0.002118191448971629,
0.02196337841451168,
0.008271030150353909,
-0.18793360888957977,
-0.01278275903314352,
-0.0923597663640976,
-0.03552934154868126,
0.0008033133344724774,
0.3470580577850342,
0.004407159518450499,
-0.13786715269088745,
0.05449341610074043,
0.0047504352405667305,
-0.017582295462489128,
-0.016819797456264496,
0.27598869800567627,
0.06316128373146057,
0.0117710642516613,
-0.10790985822677612,
0.0448039174079895,
-0.05145537108182907,
-0.025972437113523483,
0.1421094834804535,
0.1677021086215973,
0.05002043396234512,
0.039128467440605164,
0.07272946089506149,
0.032315902411937714,
-0.09217718243598938,
-0.19257532060146332,
0.08091798424720764,
0.03214850649237633,
-0.05421210825443268,
0.21560326218605042,
0.14421603083610535,
-0.07578830420970917,
0.0747624859213829,
-0.01909022592008114,
-0.03257772698998451,
-0.16905495524406433,
-0.0998828262090683,
-0.019070344045758247,
-0.11800888925790787,
0.06039513647556305,
-0.04274338483810425,
0.036924462765455246,
0.07364912331104279,
0.0783553421497345,
-0.058522265404462814,
0.056332122534513474,
-0.019444484263658524,
-0.047353584319353104,
0.000884688866790384,
-0.015298978425562382,
0.024232469499111176,
-0.0822460800409317,
0.013427906669676304,
-0.13725344836711884,
-0.10136827826499939,
-0.06571047753095627,
0.023392653092741966,
-0.08495958894491196,
-0.04597453027963638,
-0.12760168313980103,
-0.04450554400682449,
-0.06597188115119934,
0.06799712777137756,
0.010233867913484573,
0.15781429409980774,
-0.034713100641965866,
-0.00815082062035799,
0.03305624797940254,
0.14293013513088226,
-0.0011605676263570786,
-0.12654438614845276,
0.05687233433127403,
0.16001132130622864,
0.05274568498134613,
0.1453167200088501,
-0.03750871121883392,
0.04032498598098755,
-0.03617395460605621,
0.2654224634170532,
0.2954777479171753,
-0.04140981659293175,
0.04512208700180054,
0.044260550290346146,
0.05058479309082031,
0.10027144849300385,
0.0736904963850975,
0.08038871735334396,
0.2825210690498352,
-0.09118228405714035,
-0.039912886917591095,
-0.04648498818278313,
0.01598963886499405,
-0.10774966329336166,
0.08449485152959824,
0.020822979509830475,
-0.09269420802593231,
-0.057071421295404434,
0.07503081858158112,
-0.16976679861545563,
0.10800231993198395,
0.0410115122795105,
-0.16224375367164612,
-0.031966835260391235,
-0.03186153993010521,
0.13961409032344818,
0.012065551243722439,
0.06166084110736847,
-0.05395377427339554,
-0.10971393436193466,
0.008731910027563572,
0.042833469808101654,
-0.2669317126274109,
-0.06412653625011444,
0.12128955870866776,
0.052667245268821716,
0.05243420600891113,
-0.013416428118944168,
0.06467825174331665,
0.08885940164327621,
0.04610744118690491,
-0.008507451973855495,
0.07173305749893188,
0.0696152076125145,
-0.0720844641327858,
-0.08552093803882599,
-0.04699977859854698,
0.0054801953956484795,
-0.078902967274189,
0.034480053931474686,
-0.05941984802484512,
0.0774720162153244,
0.07723256945610046,
-0.0998925119638443,
-0.0639779269695282,
0.07949226349592209,
-0.11138421297073364,
0.02138661779463291,
0.02692594565451145,
0.01702181249856949,
-0.06253010779619217,
-0.06090911105275154,
-0.0030656950548291206,
0.07380025833845139,
-0.05044988542795181,
-0.09493669867515564,
-0.025105588138103485,
-0.057071950286626816,
0.11784545332193375,
-0.0048981523141264915,
-0.11717457324266434,
-0.053513750433921814,
-0.06020582467317581,
0.10930339246988297,
-0.15249355137348175,
0.046753495931625366,
0.08841634541749954,
0.0011145465541630983,
0.022508149966597557,
-0.23693978786468506,
0.030542360618710518,
0.008075976744294167,
-0.08532564342021942,
-0.06849521398544312
] |
null | null |
transformers
|
This is a multilingual NER system trained using a Frustratingly Easy Domain Adaptation architecture. It is based on LaBSE and supports different tagsets all using IOBES formats:
1. Wikiann (LOC, PER, ORG)
2. SlavNER 19/21 (EVT, LOC, ORG, PER, PRO)
3. CNEC (LOC, ORG, MEDIA, ART, PER, TIME)
4. Turku (DATE, EVT, LOC, ORG, PER, PRO, TIME)
PER: person, LOC: location, ORG: organization, EVT: event, PRO: product, MISC: Miscellaneous, MEDIA: media, ART: Artifact, TIME: time, DATE: date
You can select the tagset to use in the output by configuring the model. This model manages differently uppercase words.
More information about the model can be found in the paper (https://aclanthology.org/2021.bsnlp-1.12.pdf) and GitHub repository (https://github.com/EMBEDDIA/NER_FEDA).
|
{"language": ["multilingual", "cs"], "license": "mit", "tags": ["labse", "ner"]}
| null |
creat89/NER_FEDA_Cs
|
[
"transformers",
"pytorch",
"bert",
"labse",
"ner",
"multilingual",
"cs",
"license:mit",
"endpoints_compatible",
"region:us"
] |
2022-03-02T23:29:05+00:00
|
[] |
[
"multilingual",
"cs"
] |
TAGS
#transformers #pytorch #bert #labse #ner #multilingual #cs #license-mit #endpoints_compatible #region-us
|
This is a multilingual NER system trained using a Frustratingly Easy Domain Adaptation architecture. It is based on LaBSE and supports different tagsets all using IOBES formats:
1. Wikiann (LOC, PER, ORG)
2. SlavNER 19/21 (EVT, LOC, ORG, PER, PRO)
3. CNEC (LOC, ORG, MEDIA, ART, PER, TIME)
4. Turku (DATE, EVT, LOC, ORG, PER, PRO, TIME)
PER: person, LOC: location, ORG: organization, EVT: event, PRO: product, MISC: Miscellaneous, MEDIA: media, ART: Artifact, TIME: time, DATE: date
You can select the tagset to use in the output by configuring the model. This model manages differently uppercase words.
More information about the model can be found in the paper (URL and GitHub repository (URL
|
[] |
[
"TAGS\n#transformers #pytorch #bert #labse #ner #multilingual #cs #license-mit #endpoints_compatible #region-us \n"
] |
[
39
] |
[
"passage: TAGS\n#transformers #pytorch #bert #labse #ner #multilingual #cs #license-mit #endpoints_compatible #region-us \n"
] |
[
-0.04600130021572113,
0.011242756620049477,
-0.008495273999869823,
-0.006715044844895601,
0.09758491069078445,
0.031841810792684555,
0.10882570594549179,
0.0693281814455986,
0.13618512451648712,
0.0010068818228319287,
0.12338881939649582,
0.18955904245376587,
-0.03459923341870308,
0.011248023249208927,
-0.04034724459052086,
-0.22823795676231384,
0.06846772134304047,
0.07287250459194183,
-0.036689624190330505,
0.08984334021806717,
0.08950156718492508,
-0.05350969731807709,
0.05982328951358795,
0.009545349515974522,
-0.10548003017902374,
0.012845070101320744,
0.026383474469184875,
-0.05567654222249985,
0.13499699532985687,
0.06149990111589432,
0.1490071564912796,
0.06481494754552841,
-0.044690947979688644,
-0.2139381766319275,
0.020065587013959885,
-0.0642923042178154,
-0.1017400473356247,
0.02425275556743145,
0.01578303426504135,
-0.08347960561513901,
0.12308037281036377,
0.03544976934790611,
-0.0062385727651417255,
0.06350042670965195,
-0.15000906586647034,
-0.10543148964643478,
-0.03926800563931465,
0.04885675013065338,
-0.01978837139904499,
0.050328705459833145,
0.031117666512727737,
0.15601208806037903,
-0.16083437204360962,
0.05310504510998726,
0.1392183005809784,
-0.3665594458580017,
0.010113563388586044,
0.12698708474636078,
0.12903544306755066,
0.018121832981705666,
-0.06021071597933769,
0.060845114290714264,
0.04626050218939781,
-0.020092608407139778,
-0.05150860920548439,
-0.09453165531158447,
-0.0024495075922459364,
0.07010246068239212,
-0.07908636331558228,
-0.04251669719815254,
0.0986442118883133,
-0.028777770698070526,
0.029383676126599312,
0.0034280079416930676,
-0.05295809358358383,
-0.05297187343239784,
-0.028722088783979416,
-0.010993089526891708,
-0.0030249468982219696,
0.07700636237859726,
0.042686209082603455,
-0.05076823756098747,
-0.1183636486530304,
0.04164448380470276,
-0.22417813539505005,
0.20343908667564392,
0.043411944061517715,
0.049368735402822495,
-0.13075780868530273,
0.032377079129219055,
-0.026510924100875854,
-0.04712632670998573,
-0.029429351910948753,
-0.08582323044538498,
0.03817937895655632,
0.018650032579898834,
-0.02432084083557129,
0.13659018278121948,
0.10022015124559402,
0.15899504721164703,
-0.03168177604675293,
0.01806132309138775,
-0.004554135259240866,
0.1290328949689865,
-0.02262125536799431,
0.07743880897760391,
0.051083043217659,
0.028159743174910545,
0.011517385952174664,
-0.1569550782442093,
0.006078027188777924,
-0.022595833986997604,
-0.15174701809883118,
-0.054967690259218216,
-0.06716952472925186,
0.12264465540647507,
-0.029867250472307205,
0.037137556821107864,
-0.06906848400831223,
0.04931330308318138,
0.04847659543156624,
-0.019504237920045853,
0.005496944300830364,
0.03173696994781494,
0.07783756405115128,
0.1698138266801834,
-0.043419986963272095,
-0.006537454202771187,
0.006236940156668425,
0.07736868411302567,
-0.08074858039617538,
0.013159333728253841,
-0.05418851599097252,
-0.033201053738594055,
0.06643025577068329,
-0.11324140429496765,
0.06923507899045944,
-0.13741491734981537,
-0.05022137612104416,
0.027496909722685814,
0.044016122817993164,
-0.012752455659210682,
0.01622786559164524,
-0.013345252722501755,
-0.024996956810355186,
0.014809152111411095,
-0.0614154078066349,
-0.1165468767285347,
-0.08606912940740585,
0.0851341262459755,
-0.029261969029903412,
0.03467634692788124,
-0.18637821078300476,
0.02134096249938011,
-0.06440231204032898,
0.03735934942960739,
-0.042201731353998184,
-0.04197290167212486,
-0.08236546814441681,
0.1468578428030014,
0.004670672118663788,
-0.08223525434732437,
-0.07748860865831375,
0.054122187197208405,
-0.06426844745874405,
0.14605847001075745,
-0.08702699840068817,
-0.09427808970212936,
0.25578415393829346,
-0.09003134071826935,
-0.15988409519195557,
0.08358106762170792,
-0.000678399985190481,
0.02455524168908596,
0.06634541600942612,
0.2063702493906021,
0.03210802003741264,
-0.19611135125160217,
0.07318393886089325,
0.16206878423690796,
-0.07486073672771454,
-0.15840697288513184,
0.05012121796607971,
-0.02073099836707115,
-0.06995458155870438,
0.049349162727594376,
-0.050831183791160583,
0.11239372193813324,
-0.08508993685245514,
-0.06412410736083984,
-0.010413805022835732,
-0.0011739315232262015,
0.057142823934555054,
0.048622287809848785,
0.08266358822584152,
-0.10215125232934952,
-0.017106546089053154,
0.03188394010066986,
0.008777745068073273,
0.02917376719415188,
0.06278113275766373,
-0.09295438230037689,
0.09648766368627548,
0.0896521806716919,
-0.02834787778556347,
-0.1342041790485382,
-0.06757895648479462,
-0.016106270253658295,
0.02679031901061535,
0.042290449142456055,
0.18572743237018585,
0.04050220176577568,
-0.05964895337820053,
-0.03860833868384361,
0.028852513059973717,
0.094380222260952,
0.019061777740716934,
0.0034768732730299234,
-0.10936548560857773,
0.0690482035279274,
-0.050644103437662125,
-0.013000701554119587,
-0.07300321757793427,
-0.000853235658723861,
0.11048028618097305,
0.08567584306001663,
-0.03179609775543213,
0.06635656952857971,
-0.08994549512863159,
0.06733088940382004,
-0.05531048774719238,
0.03500630706548691,
0.12464721500873566,
0.01928732916712761,
-0.11976296454668045,
0.18619252741336823,
-0.030934209004044533,
0.2821899652481079,
0.19544488191604614,
-0.20188486576080322,
0.012652886100113392,
-0.08253636211156845,
-0.029701033607125282,
0.0339188352227211,
0.12331869453191757,
-0.004292502533644438,
0.05729193985462189,
0.009438073262572289,
0.10125987231731415,
-0.05221850797533989,
-0.023274710401892662,
0.00273710279725492,
-0.035135719925165176,
-0.0622505247592926,
0.10345292836427689,
0.151137575507164,
-0.1609339565038681,
0.1907617598772049,
0.2552265226840973,
0.04568992182612419,
0.16178752481937408,
-0.06856632977724075,
0.014417619444429874,
-0.003072135616093874,
0.04205700010061264,
-0.027975747361779213,
0.0798778235912323,
-0.21974466741085052,
-0.028635775670409203,
0.0591500848531723,
0.004274747334420681,
0.051706720143556595,
-0.14498843252658844,
-0.0941980704665184,
-0.030446158722043037,
-0.023654000833630562,
-0.05508854240179062,
0.09883889555931091,
-0.011592954397201538,
0.06879764050245285,
-0.009968080557882786,
-0.13313989341259003,
0.10298924148082733,
0.003964572679251432,
-0.04091474786400795,
0.16412530839443207,
-0.1298968493938446,
-0.19036614894866943,
-0.11315886676311493,
-0.13225847482681274,
0.00977950170636177,
0.0019506438402459025,
0.0874563455581665,
-0.034632861614227295,
-0.019537057727575302,
0.07821465283632278,
0.01401402335613966,
-0.11934564262628555,
-0.006955182645469904,
-0.06853682547807693,
0.05672261863946915,
-0.10770531743764877,
-0.09460332989692688,
-0.08240601420402527,
-0.04170488193631172,
-0.04768415540456772,
0.09714329242706299,
-0.13668131828308105,
0.08337995409965515,
0.12102747708559036,
0.025273608043789864,
0.03739924728870392,
-0.057687535881996155,
0.2206186056137085,
-0.08087298274040222,
-0.0630490705370903,
0.11678368598222733,
0.010945651680231094,
0.0727568045258522,
0.1556239277124405,
0.08910001814365387,
-0.05953741446137428,
-0.0292434711009264,
-0.059059664607048035,
-0.0913134291768074,
-0.24108731746673584,
-0.1150653213262558,
-0.1424787938594818,
0.01884721964597702,
-0.06893052905797958,
0.0551101490855217,
0.07955420017242432,
0.032031651586294174,
0.02015049010515213,
-0.11586874723434448,
-0.030724724754691124,
0.05834018439054489,
0.2883346378803253,
-0.03871021419763565,
0.08536583930253983,
-0.07600565999746323,
-0.0966203510761261,
0.08728151768445969,
0.10195295512676239,
0.1526695340871811,
0.16616091132164001,
0.09947586059570312,
0.12382939457893372,
0.1681433767080307,
0.14567625522613525,
0.0696994960308075,
0.008135528303682804,
-0.05299152433872223,
-0.01758582331240177,
-0.018963443115353584,
-0.0058414991945028305,
0.027690494433045387,
0.09114093333482742,
-0.1548612117767334,
-0.0021442098077386618,
-0.22632735967636108,
0.07412120699882507,
0.036730989813804626,
0.023370398208498955,
-0.10339684039354324,
0.020139070227742195,
0.07430017739534378,
0.01704254560172558,
-0.05246413126587868,
0.10699877887964249,
-0.004464535042643547,
-0.13322871923446655,
0.07902950793504715,
-0.015053244307637215,
0.08338207006454468,
0.029433729127049446,
0.07947412133216858,
-0.033718738704919815,
-0.17205969989299774,
0.07290613651275635,
0.1003553494811058,
-0.3245250880718231,
0.31081610918045044,
-0.004223098512738943,
-0.03646475076675415,
-0.01248434092849493,
-0.057823725044727325,
-0.014406613074243069,
0.23477552831172943,
0.14720909297466278,
0.0334482304751873,
-0.11320270597934723,
-0.12984420359134674,
0.04578358680009842,
0.011065793223679066,
0.12933789193630219,
0.027065061032772064,
-0.047004662454128265,
-0.00506405858322978,
-0.008034327067434788,
-0.00797256175428629,
0.03962480276823044,
-0.0280791986733675,
-0.17914918065071106,
0.06015841290354729,
0.0016629024175927043,
0.011588978581130505,
-0.01678198203444481,
-0.048876479268074036,
-0.1348993331193924,
0.148330956697464,
-0.1792028248310089,
-0.048278555274009705,
-0.09636872261762619,
-0.1856836974620819,
0.05692882463335991,
-0.09421711415052414,
0.06881170719861984,
-0.06703285872936249,
-0.07784605771303177,
-0.09497004002332687,
-0.14681829512119293,
0.13335320353507996,
-0.08925925940275192,
0.0021871605422347784,
-0.05091995373368263,
0.2031707912683487,
-0.04726022854447365,
0.04760164022445679,
0.025526659563183784,
0.0019436734728515148,
-0.08495692908763885,
-0.12323912978172302,
-0.023637790232896805,
-0.031958628445863724,
0.024549517780542374,
-0.040242794901132584,
-0.13599778711795807,
0.028642432764172554,
0.020470794290304184,
-0.04616468772292137,
0.23862266540527344,
0.2563322186470032,
-0.05643215775489807,
0.16152486205101013,
0.16864384710788727,
-0.08243340253829956,
-0.2833334505558014,
-0.08691912889480591,
-0.15729381144046783,
-0.02465229295194149,
0.0065435366705060005,
-0.1400972455739975,
0.05936134234070778,
0.04519008472561836,
-0.04569980874657631,
0.08454769104719162,
-0.24351869523525238,
-0.07143556326627731,
0.10596153140068054,
-0.02100573293864727,
0.4126344621181488,
-0.1310698539018631,
-0.09178522229194641,
-0.02488749846816063,
-0.2493448257446289,
0.18118134140968323,
0.02783062309026718,
0.06678462773561478,
-0.022320808842778206,
0.06605938076972961,
0.005882805213332176,
-0.05906671658158302,
0.13717196881771088,
0.020409367978572845,
0.026014355942606926,
-0.04280483350157738,
-0.13581788539886475,
0.09177316725254059,
0.0360717736184597,
-0.034325215965509415,
-0.04617433249950409,
-0.008097208105027676,
-0.0722341388463974,
-0.050101153552532196,
-0.0976664200425148,
0.09833183884620667,
-0.02770926244556904,
-0.05520644411444664,
-0.074135422706604,
0.023534048348665237,
-0.028837310150265694,
-0.010620268061757088,
0.2852784991264343,
-0.039989303797483444,
0.13357289135456085,
0.015166056342422962,
0.11009745299816132,
-0.16033285856246948,
-0.03205188736319542,
-0.06313065439462662,
-0.05964042246341705,
0.04804512485861778,
-0.04251644387841225,
-0.0022777572739869356,
0.1682046353816986,
-0.035161588340997696,
0.04521041736006737,
0.09316816180944443,
-0.01113517303019762,
-0.0023593478836119175,
0.13225792348384857,
-0.12945979833602905,
-0.12121006846427917,
-0.0024605009239166975,
-0.02084805630147457,
0.13586455583572388,
0.09386957436800003,
0.09911523014307022,
0.030001752078533173,
-0.008804242126643658,
-0.0010999067453667521,
-0.023479240015149117,
-0.07674609869718552,
-0.0239193607121706,
0.06951270252466202,
0.006622423883527517,
-0.09641069918870926,
-0.03115275874733925,
0.002062085084617138,
-0.20024007558822632,
-0.07525155693292618,
0.09060316532850266,
-0.1320396363735199,
-0.09920670092105865,
-0.06249118223786354,
0.08467315882444382,
-0.22449557483196259,
-0.04670221731066704,
-0.014099680818617344,
-0.16115975379943848,
0.034847766160964966,
0.23364919424057007,
0.08778516948223114,
0.10922125726938248,
-0.019207138568162918,
-0.018158435821533203,
0.09606748074293137,
-0.026308123022317886,
-0.1199045181274414,
0.02985665388405323,
-0.04606121778488159,
-0.006567967589944601,
-0.001177169498987496,
0.1411471962928772,
-0.06536712497472763,
-0.04221256449818611,
-0.20335297286510468,
0.06288207322359085,
-0.06637977063655853,
-0.045079056173563004,
-0.11640049517154694,
-0.04324237257242203,
0.011288092471659184,
-0.11445041000843048,
-0.05149034410715103,
-0.0363498218357563,
-0.12557491660118103,
0.047612983733415604,
0.03124411776661873,
0.09322284907102585,
-0.04994579404592514,
-0.02243085578083992,
0.13283678889274597,
-0.02201112173497677,
0.09320465475320816,
0.09592690318822861,
-0.0531407855451107,
0.14936810731887817,
-0.20795662701129913,
-0.05576656013727188,
0.0935262069106102,
0.05415259301662445,
0.049301885068416595,
0.06800945848226547,
-0.00018717591592576355,
0.10713284462690353,
0.0466209352016449,
0.06784161180257797,
-0.038640789687633514,
-0.09937257319688797,
-0.01354900375008583,
0.015783697366714478,
-0.1792522668838501,
-0.001915403176099062,
-0.05974247306585312,
0.13579827547073364,
-0.005215958226472139,
0.10880926996469498,
-0.011186864227056503,
0.03951398283243179,
0.006142195779830217,
0.020695257931947708,
0.011931614950299263,
-0.1545233428478241,
-0.046092111617326736,
-0.1081584095954895,
-0.019883396103978157,
0.010553809814155102,
0.33300918340682983,
-0.02082287333905697,
-0.06564135104417801,
0.05653517320752144,
0.01989169977605343,
-0.002162340097129345,
0.004713472444564104,
0.24595437943935394,
0.09269540756940842,
0.007352454122155905,
-0.09081912785768509,
0.03455088660120964,
-0.04963036999106407,
-0.02122766710817814,
0.14684414863586426,
0.16333582997322083,
0.04079989343881607,
0.07117892056703568,
0.04668038338422775,
0.0320436991751194,
-0.07043188065290451,
-0.17756935954093933,
0.030595410615205765,
0.022711485624313354,
-0.050726938992738724,
0.22821450233459473,
0.13861359655857086,
-0.0768616572022438,
0.08218681812286377,
-0.03813454881310463,
-0.03961334004998207,
-0.17133942246437073,
-0.08827468752861023,
-0.03326632082462311,
-0.1178281158208847,
0.03785243630409241,
-0.043245404958724976,
0.02949565462768078,
0.12299805879592896,
0.06764115393161774,
-0.056514061987400055,
0.032290659844875336,
-0.0028103049844503403,
-0.03775415197014809,
-0.0035261474549770355,
-0.0024719543289393187,
0.06226132810115814,
-0.0935622900724411,
-0.02077021636068821,
-0.13856558501720428,
-0.07267149537801743,
-0.05240896716713905,
0.03465554118156433,
-0.04577256366610527,
-0.024156438186764717,
-0.13232332468032837,
-0.048861052840948105,
-0.047463271766901016,
0.06880880147218704,
0.0042333160527050495,
0.16228677332401276,
-0.024905109778046608,
0.010100913234055042,
0.03503931313753128,
0.14061583578586578,
-0.01227040309458971,
-0.08620845526456833,
0.022418208420276642,
0.1514047086238861,
0.062151581048965454,
0.13965792953968048,
-0.024224242195487022,
0.037821486592292786,
-0.05456450209021568,
0.29661622643470764,
0.2865315079689026,
-0.06640838831663132,
0.048719361424446106,
0.03928373008966446,
0.04844566807150841,
0.11030028760433197,
0.10321510583162308,
0.08717537671327591,
0.32669827342033386,
-0.09014301002025604,
-0.08042550832033157,
-0.046097006648778915,
0.032159462571144104,
-0.1363467276096344,
0.07071829587221146,
-0.0038069714792072773,
-0.08237182348966599,
-0.04950482398271561,
0.090031199157238,
-0.1667587161064148,
0.1006721779704094,
0.0767265260219574,
-0.16692540049552917,
-0.033459797501564026,
-0.021503819152712822,
0.14310947060585022,
0.003894050372764468,
0.06909286230802536,
-0.0574883297085762,
-0.11373122036457062,
0.026591477915644646,
0.02745506726205349,
-0.2487432360649109,
-0.04059294983744621,
0.11979100853204727,
0.047863349318504333,
0.061388857662677765,
-0.008537090383470058,
0.0776500403881073,
0.07518573105335236,
0.08065934479236603,
-0.0007355115958489478,
0.06427742540836334,
0.07749423384666443,
-0.08886273950338364,
-0.06582450866699219,
-0.09778038412332535,
0.007967330515384674,
-0.07613886147737503,
0.04821077734231949,
-0.07708095759153366,
0.0939217284321785,
0.03884567692875862,
-0.08929873257875443,
-0.0578073188662529,
0.061400048434734344,
-0.11848156899213791,
0.03387453407049179,
0.031619682908058167,
0.018846990540623665,
-0.06681917607784271,
-0.03541214019060135,
-0.027304455637931824,
0.054309435188770294,
-0.07254721224308014,
-0.11363253742456436,
-0.0651681050658226,
-0.045834656804800034,
0.08919957280158997,
0.010100897401571274,
-0.09599871933460236,
-0.0444212481379509,
-0.05072653666138649,
0.11175400763750076,
-0.15207786858081818,
0.04319702088832855,
0.05250813066959381,
-0.009984982199966908,
0.024762708693742752,
-0.1757042109966278,
0.0370025597512722,
0.02596312388777733,
-0.0688319280743599,
-0.08233051747083664
] |
null | null |
transformers
|
This is a multilingual NER system trained using a Frustratingly Easy Domain Adaptation architecture. It is based on LaBSE and supports different tagsets all using IOBES formats:
1. Wikiann (LOC, PER, ORG)
2. SlavNER 19/21 (EVT, LOC, ORG, PER, PRO)
3. SlavNER 17 (LOC, MISC, ORG, PER)
4. CNE5 (GEOPOLIT, LOC, MEDIA, PER, ORG)
5. FactRuEval (LOC, ORG, PER)
6. NER-UK (LOC, MISC, ORG, PER)
7. Turku (DATE, EVT, LOC, ORG, PER, PRO, TIME)
PER: person, LOC: location, ORG: organization, EVT: event, PRO: product, MISC: Miscellaneous, MEDIA: media, ART: Artifact, TIME: time, DATE: date, GEOPOLIT: Geopolitical,
You can select the tagset to use in the output by configuring the model.
More information about the model can be found in the paper (https://aclanthology.org/2021.bsnlp-1.12.pdf) and GitHub repository (https://github.com/EMBEDDIA/NER_FEDA).
|
{"language": ["multilingual", "ru", "bg", "mk", "uk", "fi"], "license": "mit", "tags": ["labse", "ner"]}
| null |
creat89/NER_FEDA_Cyrillic1
|
[
"transformers",
"pytorch",
"bert",
"labse",
"ner",
"multilingual",
"ru",
"bg",
"mk",
"uk",
"fi",
"license:mit",
"endpoints_compatible",
"region:us"
] |
2022-03-02T23:29:05+00:00
|
[] |
[
"multilingual",
"ru",
"bg",
"mk",
"uk",
"fi"
] |
TAGS
#transformers #pytorch #bert #labse #ner #multilingual #ru #bg #mk #uk #fi #license-mit #endpoints_compatible #region-us
|
This is a multilingual NER system trained using a Frustratingly Easy Domain Adaptation architecture. It is based on LaBSE and supports different tagsets all using IOBES formats:
1. Wikiann (LOC, PER, ORG)
2. SlavNER 19/21 (EVT, LOC, ORG, PER, PRO)
3. SlavNER 17 (LOC, MISC, ORG, PER)
4. CNE5 (GEOPOLIT, LOC, MEDIA, PER, ORG)
5. FactRuEval (LOC, ORG, PER)
6. NER-UK (LOC, MISC, ORG, PER)
7. Turku (DATE, EVT, LOC, ORG, PER, PRO, TIME)
PER: person, LOC: location, ORG: organization, EVT: event, PRO: product, MISC: Miscellaneous, MEDIA: media, ART: Artifact, TIME: time, DATE: date, GEOPOLIT: Geopolitical,
You can select the tagset to use in the output by configuring the model.
More information about the model can be found in the paper (URL and GitHub repository (URL
|
[] |
[
"TAGS\n#transformers #pytorch #bert #labse #ner #multilingual #ru #bg #mk #uk #fi #license-mit #endpoints_compatible #region-us \n"
] |
[
47
] |
[
"passage: TAGS\n#transformers #pytorch #bert #labse #ner #multilingual #ru #bg #mk #uk #fi #license-mit #endpoints_compatible #region-us \n"
] |
[
-0.03170222043991089,
-0.07287976145744324,
-0.008796824142336845,
0.006007531192153692,
0.07181128859519958,
0.03466897830367088,
0.10879900306463242,
0.06065889820456505,
0.15232017636299133,
0.025018304586410522,
0.1411943882703781,
0.14719855785369873,
-0.04408165439963341,
0.02300194278359413,
-0.016258392482995987,
-0.2389880120754242,
0.054466791450977325,
0.02365058846771717,
-0.06342438608407974,
0.08637028187513351,
0.12315056473016739,
-0.03916999325156212,
0.07707636803388596,
0.0048389253206551075,
-0.10544507950544357,
0.05317113921046257,
0.007784399203956127,
-0.027369316667318344,
0.13953305780887604,
0.10379534959793091,
0.1043802872300148,
0.03913554176688194,
-0.062408626079559326,
-0.228556290268898,
0.026883751153945923,
-0.06180688366293907,
-0.085715152323246,
0.009685357101261616,
0.049044977873563766,
-0.0832219198346138,
0.16934466361999512,
0.07827155292034149,
-0.050997789949178696,
0.07837952673435211,
-0.14140096306800842,
-0.09839160740375519,
-0.03406063839793205,
0.10315123945474625,
-0.025149578228592873,
0.04493851587176323,
-0.00769930612295866,
0.12641611695289612,
-0.14624568819999695,
0.06704163551330566,
0.19631969928741455,
-0.3857119679450989,
0.006895184982568026,
0.0910632535815239,
0.0885058268904686,
0.06538313627243042,
-0.0736958384513855,
0.08572152256965637,
0.03865768387913704,
0.0063181365840137005,
-0.09670986235141754,
-0.06936647742986679,
0.020865781232714653,
0.055655717849731445,
-0.08780155330896378,
-0.0272829607129097,
0.11349773406982422,
-0.01778036542236805,
0.029130715876817703,
0.026897570118308067,
-0.04368872568011284,
-0.03050120919942856,
-0.034388769418001175,
0.004350669216364622,
-0.03442920744419098,
0.07877980172634125,
0.04879872128367424,
-0.04296635463833809,
-0.08980253338813782,
0.05212000012397766,
-0.22613102197647095,
0.2568689286708832,
0.05840654298663139,
0.05681828409433365,
-0.10705210268497467,
0.034339871257543564,
-0.10708010196685791,
-0.03612445294857025,
-0.050079334527254105,
-0.09846723079681396,
0.07816365361213684,
0.026956211775541306,
-0.0180538110435009,
0.13598307967185974,
0.10970598459243774,
0.1102127954363823,
-0.04248818755149841,
0.00370780355297029,
0.0012267667334526777,
0.16611017286777496,
0.0007124864496290684,
0.023604799062013626,
0.0070939804427325726,
0.0206867977976799,
-0.02336627058684826,
-0.15733160078525543,
-0.01437442097812891,
0.021010618656873703,
-0.13712811470031738,
-0.04445928707718849,
-0.09922704845666885,
0.09218313544988632,
-0.06261036545038223,
0.05711643025279045,
-0.07598201185464859,
0.06423988938331604,
-0.010845395736396313,
-0.007402677088975906,
-0.016896676272153854,
-0.005523283034563065,
0.03751984238624573,
0.10810563713312149,
-0.04796595498919487,
-0.02752489596605301,
0.004453486297279596,
0.10780924558639526,
-0.06612220406532288,
0.04068159684538841,
-0.021321414038538933,
-0.04161766916513443,
0.0701417550444603,
-0.15277791023254395,
0.09004690498113632,
-0.15485215187072754,
-0.07097619771957397,
0.03850635141134262,
0.03978726267814636,
-0.015511834993958473,
0.06775642186403275,
-0.005195345263928175,
-0.03993866965174675,
0.001954906154423952,
-0.04812876507639885,
-0.09350735694169998,
-0.06817418336868286,
0.09434158354997635,
-0.0088860634714365,
0.039672061800956726,
-0.19419728219509125,
0.02961239218711853,
-0.07457394897937775,
0.0314984992146492,
-0.025807416066527367,
-0.03259483724832535,
-0.10122240334749222,
0.09597286581993103,
-0.015133615583181381,
-0.02867550402879715,
-0.05160579830408096,
0.04993502423167229,
-0.07590573281049728,
0.1097341999411583,
-0.08847109228372574,
-0.12286907434463501,
0.21965965628623962,
-0.09438689798116684,
-0.12924768030643463,
0.07623960822820663,
0.00804056879132986,
0.04011739417910576,
0.06585770845413208,
0.14827458560466766,
0.022321131080389023,
-0.19042472541332245,
0.0006552087143063545,
0.1399511843919754,
-0.09680044651031494,
-0.08332477509975433,
0.06827789545059204,
-0.014155338518321514,
-0.04139314964413643,
0.06600858271121979,
-0.05303439497947693,
0.1486874222755432,
-0.0957208052277565,
-0.058277055621147156,
-0.012294534593820572,
-0.03155934065580368,
0.09463074803352356,
0.04213980212807655,
0.08042363822460175,
-0.12759728729724884,
-0.032266318798065186,
0.037652645260095596,
0.03176173195242882,
0.07417510449886322,
0.05595527961850166,
-0.07703164219856262,
0.11772016435861588,
0.044290076941251755,
-0.03206926956772804,
-0.1313209980726242,
-0.015996206551790237,
-0.05076225474476814,
0.03136804699897766,
0.07878626137971878,
0.19587509334087372,
0.07598842680454254,
-0.04599912464618683,
-0.07509797811508179,
0.02295331470668316,
0.054178133606910706,
-0.0003575475129764527,
-0.006903311237692833,
-0.13659754395484924,
0.06384074687957764,
-0.03812350332736969,
-0.056950829923152924,
-0.07706155627965927,
-0.005448332522064447,
0.13608546555042267,
0.11014289408922195,
-0.005727281793951988,
0.06947514414787292,
-0.09090246260166168,
0.06135573238134384,
-0.09241163730621338,
0.04821003973484039,
0.11150428652763367,
-0.04309605434536934,
-0.11949989944696426,
0.13163557648658752,
0.02707543969154358,
0.3082337975502014,
0.2008218914270401,
-0.16672001779079437,
0.017476258799433708,
-0.0016396084101870656,
-0.06414664536714554,
0.04878883808851242,
0.08659440279006958,
0.020809993147850037,
0.032784219831228256,
0.010817964561283588,
0.06741373986005783,
-0.048424724489450455,
-0.062168870121240616,
0.014096595346927643,
-0.047529641538858414,
-0.10835621505975723,
0.12402163445949554,
0.12532763183116913,
-0.201496884226799,
0.1923626959323883,
0.27761849761009216,
0.05164850503206253,
0.21016255021095276,
-0.04078378528356552,
0.017412111163139343,
0.01853366009891033,
0.03308458253741264,
-0.056092169135808945,
0.10530690848827362,
-0.23274560272693634,
-0.019159488379955292,
0.04697001352906227,
-0.007997803390026093,
0.031452495604753494,
-0.11089570075273514,
-0.09354766458272934,
-0.04102793335914612,
-0.03914240375161171,
-0.07758677005767822,
0.1163615807890892,
-0.049122780561447144,
0.06144120171666145,
-0.020033104345202446,
-0.10028097778558731,
0.10562299937009811,
0.002513453597202897,
-0.02754128910601139,
0.12126459181308746,
-0.15502728521823883,
-0.1354547142982483,
-0.07114125788211823,
-0.17638695240020752,
-0.023087529465556145,
-0.015246898867189884,
0.06589575856924057,
-0.07128527015447617,
-0.021179718896746635,
0.09452309459447861,
0.12266385555267334,
-0.1658744066953659,
-0.008235386572778225,
-0.11254119127988815,
0.05865778774023056,
-0.11280214786529541,
-0.08969743549823761,
-0.06383294612169266,
-0.039696104824543,
-0.0053726681508123875,
0.08374745398759842,
-0.12069036811590195,
0.054095491766929626,
0.058227743953466415,
0.0037513200659304857,
0.059282053261995316,
-0.05510420352220535,
0.27516961097717285,
-0.09118478745222092,
-0.05536794662475586,
0.04208384454250336,
0.010846001096069813,
0.06997093558311462,
0.20203056931495667,
0.08767319470643997,
-0.054755814373493195,
-0.04741232097148895,
-0.04729635268449783,
-0.04714730754494667,
-0.2207145243883133,
-0.10106152296066284,
-0.10981366038322449,
0.05766045302152634,
-0.09664667397737503,
0.07579755038022995,
0.024907683953642845,
0.03960248827934265,
0.03051850199699402,
-0.16110487282276154,
-0.019740551710128784,
0.057401642203330994,
0.22619152069091797,
-0.05706220120191574,
0.08093269169330597,
-0.08074896037578583,
-0.05691405013203621,
0.10877875983715057,
0.04063213989138603,
0.12945349514484406,
0.14644595980644226,
-0.008203803561627865,
0.14002665877342224,
0.15173517167568207,
0.13421711325645447,
0.060351163148880005,
0.008040212094783783,
-0.06417983770370483,
0.004024045541882515,
-0.021840820088982582,
0.007154450751841068,
0.019450221210718155,
0.08934017270803452,
-0.09415256977081299,
0.004183338489383459,
-0.22690503299236298,
0.08883373439311981,
-0.045985475182533264,
0.0458078496158123,
-0.04810845106840134,
-0.010659072548151016,
0.057741958647966385,
-0.028240695595741272,
-0.0643550381064415,
0.09558753669261932,
0.004242030903697014,
-0.15648823976516724,
0.06880684196949005,
0.016808925196528435,
0.07229301333427429,
0.05850553885102272,
0.059319399297237396,
-0.0517117977142334,
-0.14505161345005035,
0.04104410484433174,
0.07675899565219879,
-0.33031994104385376,
0.33646565675735474,
0.015326517634093761,
-0.028974246233701706,
0.000024312266759807244,
-0.0613168366253376,
-0.005857245065271854,
0.2888347804546356,
0.16217267513275146,
0.0634983628988266,
-0.10337638109922409,
-0.14691698551177979,
0.12308860570192337,
0.007178971543908119,
0.1419898271560669,
0.010986939072608948,
-0.03121590055525303,
0.0024044057354331017,
0.0007893051370047033,
-0.021306896582245827,
0.04543042555451393,
-0.07513478398323059,
-0.1374518871307373,
0.05361757427453995,
0.03270776569843292,
0.039770688861608505,
-0.02364407107234001,
-0.04966077208518982,
-0.12230563908815384,
0.13184939324855804,
-0.16645358502864838,
-0.06754911690950394,
-0.09981617331504822,
-0.12230006605386734,
0.052653051912784576,
-0.09672194719314575,
0.04365305230021477,
-0.050618965178728104,
-0.083675317466259,
-0.09840184450149536,
-0.10021660476922989,
0.11772708594799042,
-0.08980852365493774,
-0.008922898210585117,
-0.04519214853644371,
0.20823806524276733,
0.00957818329334259,
0.0349242202937603,
-0.03429706394672394,
0.0043047755025327206,
-0.06921865791082382,
-0.0933845192193985,
0.015250243246555328,
-0.012256781570613384,
-0.025064093992114067,
-0.005680300295352936,
-0.11312634497880936,
0.04742598161101341,
0.008408243767917156,
-0.09210466593503952,
0.20332886278629303,
0.28425586223602295,
-0.02248138003051281,
0.14219637215137482,
0.138586163520813,
-0.04572000727057457,
-0.23841652274131775,
-0.10251285880804062,
-0.16057315468788147,
-0.014505276456475258,
-0.008923906832933426,
-0.111846923828125,
0.06957825273275375,
0.016600551083683968,
-0.04577308148145676,
0.10054026544094086,
-0.24723267555236816,
-0.07210000604391098,
0.15212082862854004,
-0.0028408425860106945,
0.40121331810951233,
-0.089903324842453,
-0.0550016313791275,
-0.029729392379522324,
-0.22614777088165283,
0.0904509425163269,
0.029994724318385124,
0.08308921754360199,
-0.032567355781793594,
0.09648679196834564,
-0.013424989767372608,
-0.02549266256392002,
0.13241828978061676,
0.03528895601630211,
0.001866668346337974,
-0.03842540457844734,
-0.13150514662265778,
0.12012698501348495,
0.0647423043847084,
-0.05009303241968155,
-0.0652657225728035,
-0.010236223228275776,
-0.08590492606163025,
-0.040767960250377655,
-0.10435705631971359,
0.10730308294296265,
-0.022917527705430984,
-0.0662161335349083,
-0.09308511763811111,
0.04420142248272896,
-0.06208157166838646,
0.002349892631173134,
0.2095707207918167,
-0.058584559708833694,
0.12486580014228821,
0.004596011713147163,
0.09268622100353241,
-0.1107647642493248,
-0.03704036399722099,
-0.036950595676898956,
-0.06446417421102524,
0.0313911959528923,
-0.043607357889413834,
-0.029227757826447487,
0.161240354180336,
-0.02721187099814415,
0.026137856766581535,
0.07353445142507553,
-0.05643037334084511,
-0.0002587878843769431,
0.11389704048633575,
-0.12166115641593933,
-0.16024334728717804,
-0.01174369640648365,
-0.05634680762887001,
0.1511119157075882,
0.04330042377114296,
0.07898544520139694,
0.014718439429998398,
0.00031356659019365907,
0.011465534567832947,
-0.051562901586294174,
-0.11420467495918274,
0.009443454444408417,
0.05814456567168236,
-0.022895636036992073,
-0.08537620306015015,
-0.005552677437663078,
-0.04204137623310089,
-0.1473195105791092,
-0.059934161603450775,
0.10159118473529816,
-0.14861075580120087,
-0.10875221341848373,
-0.06424879282712936,
0.089405357837677,
-0.17994588613510132,
-0.03587428852915764,
0.04596259072422981,
-0.14994263648986816,
0.051657743752002716,
0.2741025984287262,
0.08315496146678925,
0.07916990667581558,
-0.04365501552820206,
-0.010406337678432465,
0.12861847877502441,
0.031609684228897095,
-0.08231782168149948,
0.029783112928271294,
-0.08289160579442978,
-0.020102860406041145,
-0.01448997762054205,
0.13342216610908508,
-0.05609474331140518,
-0.01959322765469551,
-0.15815815329551697,
0.05391928181052208,
-0.0747767984867096,
-0.09241577237844467,
-0.09857187420129776,
-0.04548167064785957,
0.005453913006931543,
-0.149184912443161,
-0.04659181833267212,
-0.07328084111213684,
-0.12497743219137192,
0.029614850878715515,
0.07174395769834518,
0.07735458761453629,
-0.060456324368715286,
-0.0055059813894331455,
0.15405786037445068,
0.004855106584727764,
0.11844054609537125,
0.14367127418518066,
-0.025524048134684563,
0.16212302446365356,
-0.1507374793291092,
-0.048377957195043564,
0.0975310355424881,
0.011219465173780918,
0.05142426863312721,
0.06557741016149521,
-0.02893960475921631,
0.07545189559459686,
0.0771419033408165,
0.09623902291059494,
0.00912865437567234,
-0.08144964277744293,
0.0119156613945961,
0.022164620459079742,
-0.13397233188152313,
-0.009956231340765953,
-0.05450236424803734,
0.1487037092447281,
-0.01453083660453558,
0.12576156854629517,
-0.025659827515482903,
0.02251449041068554,
0.02044099196791649,
0.05016316473484039,
0.015938935801386833,
-0.17730224132537842,
-0.034260738641023636,
-0.10055109858512878,
-0.053205881267786026,
-0.058778874576091766,
0.3242435157299042,
-0.021360106766223907,
-0.1254257708787918,
0.07142627239227295,
-0.0018991247052326798,
-0.06814412027597427,
-0.007144446484744549,
0.24175773561000824,
0.09400800615549088,
-0.006237540859729052,
-0.12893334031105042,
0.03316504508256912,
-0.059609632939100266,
-0.0937010645866394,
0.14681632816791534,
0.17167659103870392,
0.06617823988199234,
0.024198632687330246,
0.027185341343283653,
0.0341440849006176,
-0.042974263429641724,
-0.16421067714691162,
0.05142410099506378,
-0.013744845055043697,
-0.06336900591850281,
0.3049675524234772,
0.20227427780628204,
-0.07160142064094543,
0.062178563326597214,
0.0007850074907764792,
-0.007529930677264929,
-0.15743690729141235,
-0.06171802058815956,
-0.009945167228579521,
-0.14594386518001556,
0.07549288123846054,
-0.04030714929103851,
0.044110506772994995,
0.06997804343700409,
0.07715088129043579,
-0.04934389144182205,
0.058240871876478195,
-0.03730947524309158,
-0.056017257273197174,
0.0007028892287053168,
-0.03788648545742035,
0.033441316336393356,
-0.08204805850982666,
0.0018138466402888298,
-0.13386516273021698,
-0.11674381792545319,
-0.07600738108158112,
0.03997305408120155,
-0.11533131450414658,
-0.0367339588701725,
-0.157939150929451,
-0.05849333480000496,
-0.06046487018465996,
0.11345408856868744,
0.005315135698765516,
0.13517534732818604,
-0.019869187846779823,
0.008716654032468796,
0.0086984783411026,
0.14519760012626648,
-0.0011496682418510318,
-0.099558986723423,
0.048194605857133865,
0.09498997032642365,
0.056638382375240326,
0.15425477921962738,
-0.02313862554728985,
0.023596398532390594,
-0.05522880330681801,
0.2817392647266388,
0.3067089021205902,
-0.04733526334166527,
0.05454820767045021,
0.06391260772943497,
0.05951235815882683,
0.07821466773748398,
0.007526688277721405,
0.07624852657318115,
0.2441067099571228,
-0.12416671216487885,
-0.0549934059381485,
-0.03498326241970062,
0.029917091131210327,
-0.10863431543111801,
0.08405713737010956,
0.03535457327961922,
-0.10846996307373047,
-0.07711683958768845,
0.07168595492839813,
-0.19025392830371857,
0.08190415799617767,
0.0228631142526865,
-0.13060088455677032,
-0.02726741135120392,
-0.037957288324832916,
0.09788750857114792,
0.06635527312755585,
0.06631558388471603,
-0.053510311990976334,
-0.11924538016319275,
0.0382295623421669,
0.046937741339206696,
-0.2689639925956726,
-0.07614589482545853,
0.12396493554115295,
0.05576561018824577,
0.021444955840706825,
-0.01808936893939972,
0.038643304258584976,
0.09803216904401779,
0.049948763102293015,
-0.007928022183477879,
0.039233263581991196,
0.06488499790430069,
-0.029830822721123695,
-0.10934634506702423,
-0.03136987239122391,
0.04662887752056122,
-0.07710788398981094,
0.06909288465976715,
-0.058046236634254456,
0.09657449275255203,
0.05026997625827789,
-0.08138199150562286,
-0.07120545208454132,
0.13421235978603363,
-0.1110725998878479,
0.021015672013163567,
0.03892301023006439,
0.02931668423116207,
-0.06470270454883575,
-0.053639065474271774,
-0.009088668040931225,
0.07209446281194687,
-0.04285663738846779,
-0.08782859146595001,
-0.001434406265616417,
-0.0497703030705452,
0.11564156413078308,
-0.01810990832746029,
-0.11715440452098846,
-0.05132117494940758,
-0.05518100783228874,
0.12018749862909317,
-0.13180911540985107,
0.03998701646924019,
0.1283235400915146,
-0.007298354059457779,
0.047528304159641266,
-0.22445820271968842,
0.048936910927295685,
0.0019775675609707832,
-0.06435078382492065,
-0.05609668418765068
] |
null | null |
transformers
|
This is a multilingual NER system trained using a Frustratingly Easy Domain Adaptation architecture. It is based on LaBSE and supports different tagsets all using IOBES formats:
1. Wikiann (LOC, PER, ORG)
2. SlavNER 19/21 (EVT, LOC, ORG, PER, PRO)
3. SlavNER 17 (LOC, MISC, ORG, PER)
4. CNE5 (GEOPOLIT, LOC, MEDIA, PER, ORG)
5. FactRuEval (LOC, ORG, PER)
6. NER-UK (LOC, MISC, ORG, PER)
7. Turku (DATE, EVT, LOC, ORG, PER, PRO, TIME)
PER: person, LOC: location, ORG: organization, EVT: event, PRO: product, MISC: Miscellaneous, MEDIA: media, ART: Artifact, TIME: time, DATE: date, GEOPOLIT: Geopolitical,
You can select the tagset to use in the output by configuring the model. This models manages differently uppercase words.
More information about the model can be found in the paper (https://aclanthology.org/2021.bsnlp-1.12.pdf) and GitHub repository (https://github.com/EMBEDDIA/NER_FEDA).
|
{"language": ["multilingual", "ru", "bg", "mk", "uk", "fi"], "license": "mit", "tags": ["labse", "ner"]}
| null |
creat89/NER_FEDA_Cyrillic2
|
[
"transformers",
"pytorch",
"bert",
"labse",
"ner",
"multilingual",
"ru",
"bg",
"mk",
"uk",
"fi",
"license:mit",
"endpoints_compatible",
"region:us"
] |
2022-03-02T23:29:05+00:00
|
[] |
[
"multilingual",
"ru",
"bg",
"mk",
"uk",
"fi"
] |
TAGS
#transformers #pytorch #bert #labse #ner #multilingual #ru #bg #mk #uk #fi #license-mit #endpoints_compatible #region-us
|
This is a multilingual NER system trained using a Frustratingly Easy Domain Adaptation architecture. It is based on LaBSE and supports different tagsets all using IOBES formats:
1. Wikiann (LOC, PER, ORG)
2. SlavNER 19/21 (EVT, LOC, ORG, PER, PRO)
3. SlavNER 17 (LOC, MISC, ORG, PER)
4. CNE5 (GEOPOLIT, LOC, MEDIA, PER, ORG)
5. FactRuEval (LOC, ORG, PER)
6. NER-UK (LOC, MISC, ORG, PER)
7. Turku (DATE, EVT, LOC, ORG, PER, PRO, TIME)
PER: person, LOC: location, ORG: organization, EVT: event, PRO: product, MISC: Miscellaneous, MEDIA: media, ART: Artifact, TIME: time, DATE: date, GEOPOLIT: Geopolitical,
You can select the tagset to use in the output by configuring the model. This models manages differently uppercase words.
More information about the model can be found in the paper (URL and GitHub repository (URL
|
[] |
[
"TAGS\n#transformers #pytorch #bert #labse #ner #multilingual #ru #bg #mk #uk #fi #license-mit #endpoints_compatible #region-us \n"
] |
[
47
] |
[
"passage: TAGS\n#transformers #pytorch #bert #labse #ner #multilingual #ru #bg #mk #uk #fi #license-mit #endpoints_compatible #region-us \n"
] |
[
-0.03170222043991089,
-0.07287976145744324,
-0.008796824142336845,
0.006007531192153692,
0.07181128859519958,
0.03466897830367088,
0.10879900306463242,
0.06065889820456505,
0.15232017636299133,
0.025018304586410522,
0.1411943882703781,
0.14719855785369873,
-0.04408165439963341,
0.02300194278359413,
-0.016258392482995987,
-0.2389880120754242,
0.054466791450977325,
0.02365058846771717,
-0.06342438608407974,
0.08637028187513351,
0.12315056473016739,
-0.03916999325156212,
0.07707636803388596,
0.0048389253206551075,
-0.10544507950544357,
0.05317113921046257,
0.007784399203956127,
-0.027369316667318344,
0.13953305780887604,
0.10379534959793091,
0.1043802872300148,
0.03913554176688194,
-0.062408626079559326,
-0.228556290268898,
0.026883751153945923,
-0.06180688366293907,
-0.085715152323246,
0.009685357101261616,
0.049044977873563766,
-0.0832219198346138,
0.16934466361999512,
0.07827155292034149,
-0.050997789949178696,
0.07837952673435211,
-0.14140096306800842,
-0.09839160740375519,
-0.03406063839793205,
0.10315123945474625,
-0.025149578228592873,
0.04493851587176323,
-0.00769930612295866,
0.12641611695289612,
-0.14624568819999695,
0.06704163551330566,
0.19631969928741455,
-0.3857119679450989,
0.006895184982568026,
0.0910632535815239,
0.0885058268904686,
0.06538313627243042,
-0.0736958384513855,
0.08572152256965637,
0.03865768387913704,
0.0063181365840137005,
-0.09670986235141754,
-0.06936647742986679,
0.020865781232714653,
0.055655717849731445,
-0.08780155330896378,
-0.0272829607129097,
0.11349773406982422,
-0.01778036542236805,
0.029130715876817703,
0.026897570118308067,
-0.04368872568011284,
-0.03050120919942856,
-0.034388769418001175,
0.004350669216364622,
-0.03442920744419098,
0.07877980172634125,
0.04879872128367424,
-0.04296635463833809,
-0.08980253338813782,
0.05212000012397766,
-0.22613102197647095,
0.2568689286708832,
0.05840654298663139,
0.05681828409433365,
-0.10705210268497467,
0.034339871257543564,
-0.10708010196685791,
-0.03612445294857025,
-0.050079334527254105,
-0.09846723079681396,
0.07816365361213684,
0.026956211775541306,
-0.0180538110435009,
0.13598307967185974,
0.10970598459243774,
0.1102127954363823,
-0.04248818755149841,
0.00370780355297029,
0.0012267667334526777,
0.16611017286777496,
0.0007124864496290684,
0.023604799062013626,
0.0070939804427325726,
0.0206867977976799,
-0.02336627058684826,
-0.15733160078525543,
-0.01437442097812891,
0.021010618656873703,
-0.13712811470031738,
-0.04445928707718849,
-0.09922704845666885,
0.09218313544988632,
-0.06261036545038223,
0.05711643025279045,
-0.07598201185464859,
0.06423988938331604,
-0.010845395736396313,
-0.007402677088975906,
-0.016896676272153854,
-0.005523283034563065,
0.03751984238624573,
0.10810563713312149,
-0.04796595498919487,
-0.02752489596605301,
0.004453486297279596,
0.10780924558639526,
-0.06612220406532288,
0.04068159684538841,
-0.021321414038538933,
-0.04161766916513443,
0.0701417550444603,
-0.15277791023254395,
0.09004690498113632,
-0.15485215187072754,
-0.07097619771957397,
0.03850635141134262,
0.03978726267814636,
-0.015511834993958473,
0.06775642186403275,
-0.005195345263928175,
-0.03993866965174675,
0.001954906154423952,
-0.04812876507639885,
-0.09350735694169998,
-0.06817418336868286,
0.09434158354997635,
-0.0088860634714365,
0.039672061800956726,
-0.19419728219509125,
0.02961239218711853,
-0.07457394897937775,
0.0314984992146492,
-0.025807416066527367,
-0.03259483724832535,
-0.10122240334749222,
0.09597286581993103,
-0.015133615583181381,
-0.02867550402879715,
-0.05160579830408096,
0.04993502423167229,
-0.07590573281049728,
0.1097341999411583,
-0.08847109228372574,
-0.12286907434463501,
0.21965965628623962,
-0.09438689798116684,
-0.12924768030643463,
0.07623960822820663,
0.00804056879132986,
0.04011739417910576,
0.06585770845413208,
0.14827458560466766,
0.022321131080389023,
-0.19042472541332245,
0.0006552087143063545,
0.1399511843919754,
-0.09680044651031494,
-0.08332477509975433,
0.06827789545059204,
-0.014155338518321514,
-0.04139314964413643,
0.06600858271121979,
-0.05303439497947693,
0.1486874222755432,
-0.0957208052277565,
-0.058277055621147156,
-0.012294534593820572,
-0.03155934065580368,
0.09463074803352356,
0.04213980212807655,
0.08042363822460175,
-0.12759728729724884,
-0.032266318798065186,
0.037652645260095596,
0.03176173195242882,
0.07417510449886322,
0.05595527961850166,
-0.07703164219856262,
0.11772016435861588,
0.044290076941251755,
-0.03206926956772804,
-0.1313209980726242,
-0.015996206551790237,
-0.05076225474476814,
0.03136804699897766,
0.07878626137971878,
0.19587509334087372,
0.07598842680454254,
-0.04599912464618683,
-0.07509797811508179,
0.02295331470668316,
0.054178133606910706,
-0.0003575475129764527,
-0.006903311237692833,
-0.13659754395484924,
0.06384074687957764,
-0.03812350332736969,
-0.056950829923152924,
-0.07706155627965927,
-0.005448332522064447,
0.13608546555042267,
0.11014289408922195,
-0.005727281793951988,
0.06947514414787292,
-0.09090246260166168,
0.06135573238134384,
-0.09241163730621338,
0.04821003973484039,
0.11150428652763367,
-0.04309605434536934,
-0.11949989944696426,
0.13163557648658752,
0.02707543969154358,
0.3082337975502014,
0.2008218914270401,
-0.16672001779079437,
0.017476258799433708,
-0.0016396084101870656,
-0.06414664536714554,
0.04878883808851242,
0.08659440279006958,
0.020809993147850037,
0.032784219831228256,
0.010817964561283588,
0.06741373986005783,
-0.048424724489450455,
-0.062168870121240616,
0.014096595346927643,
-0.047529641538858414,
-0.10835621505975723,
0.12402163445949554,
0.12532763183116913,
-0.201496884226799,
0.1923626959323883,
0.27761849761009216,
0.05164850503206253,
0.21016255021095276,
-0.04078378528356552,
0.017412111163139343,
0.01853366009891033,
0.03308458253741264,
-0.056092169135808945,
0.10530690848827362,
-0.23274560272693634,
-0.019159488379955292,
0.04697001352906227,
-0.007997803390026093,
0.031452495604753494,
-0.11089570075273514,
-0.09354766458272934,
-0.04102793335914612,
-0.03914240375161171,
-0.07758677005767822,
0.1163615807890892,
-0.049122780561447144,
0.06144120171666145,
-0.020033104345202446,
-0.10028097778558731,
0.10562299937009811,
0.002513453597202897,
-0.02754128910601139,
0.12126459181308746,
-0.15502728521823883,
-0.1354547142982483,
-0.07114125788211823,
-0.17638695240020752,
-0.023087529465556145,
-0.015246898867189884,
0.06589575856924057,
-0.07128527015447617,
-0.021179718896746635,
0.09452309459447861,
0.12266385555267334,
-0.1658744066953659,
-0.008235386572778225,
-0.11254119127988815,
0.05865778774023056,
-0.11280214786529541,
-0.08969743549823761,
-0.06383294612169266,
-0.039696104824543,
-0.0053726681508123875,
0.08374745398759842,
-0.12069036811590195,
0.054095491766929626,
0.058227743953466415,
0.0037513200659304857,
0.059282053261995316,
-0.05510420352220535,
0.27516961097717285,
-0.09118478745222092,
-0.05536794662475586,
0.04208384454250336,
0.010846001096069813,
0.06997093558311462,
0.20203056931495667,
0.08767319470643997,
-0.054755814373493195,
-0.04741232097148895,
-0.04729635268449783,
-0.04714730754494667,
-0.2207145243883133,
-0.10106152296066284,
-0.10981366038322449,
0.05766045302152634,
-0.09664667397737503,
0.07579755038022995,
0.024907683953642845,
0.03960248827934265,
0.03051850199699402,
-0.16110487282276154,
-0.019740551710128784,
0.057401642203330994,
0.22619152069091797,
-0.05706220120191574,
0.08093269169330597,
-0.08074896037578583,
-0.05691405013203621,
0.10877875983715057,
0.04063213989138603,
0.12945349514484406,
0.14644595980644226,
-0.008203803561627865,
0.14002665877342224,
0.15173517167568207,
0.13421711325645447,
0.060351163148880005,
0.008040212094783783,
-0.06417983770370483,
0.004024045541882515,
-0.021840820088982582,
0.007154450751841068,
0.019450221210718155,
0.08934017270803452,
-0.09415256977081299,
0.004183338489383459,
-0.22690503299236298,
0.08883373439311981,
-0.045985475182533264,
0.0458078496158123,
-0.04810845106840134,
-0.010659072548151016,
0.057741958647966385,
-0.028240695595741272,
-0.0643550381064415,
0.09558753669261932,
0.004242030903697014,
-0.15648823976516724,
0.06880684196949005,
0.016808925196528435,
0.07229301333427429,
0.05850553885102272,
0.059319399297237396,
-0.0517117977142334,
-0.14505161345005035,
0.04104410484433174,
0.07675899565219879,
-0.33031994104385376,
0.33646565675735474,
0.015326517634093761,
-0.028974246233701706,
0.000024312266759807244,
-0.0613168366253376,
-0.005857245065271854,
0.2888347804546356,
0.16217267513275146,
0.0634983628988266,
-0.10337638109922409,
-0.14691698551177979,
0.12308860570192337,
0.007178971543908119,
0.1419898271560669,
0.010986939072608948,
-0.03121590055525303,
0.0024044057354331017,
0.0007893051370047033,
-0.021306896582245827,
0.04543042555451393,
-0.07513478398323059,
-0.1374518871307373,
0.05361757427453995,
0.03270776569843292,
0.039770688861608505,
-0.02364407107234001,
-0.04966077208518982,
-0.12230563908815384,
0.13184939324855804,
-0.16645358502864838,
-0.06754911690950394,
-0.09981617331504822,
-0.12230006605386734,
0.052653051912784576,
-0.09672194719314575,
0.04365305230021477,
-0.050618965178728104,
-0.083675317466259,
-0.09840184450149536,
-0.10021660476922989,
0.11772708594799042,
-0.08980852365493774,
-0.008922898210585117,
-0.04519214853644371,
0.20823806524276733,
0.00957818329334259,
0.0349242202937603,
-0.03429706394672394,
0.0043047755025327206,
-0.06921865791082382,
-0.0933845192193985,
0.015250243246555328,
-0.012256781570613384,
-0.025064093992114067,
-0.005680300295352936,
-0.11312634497880936,
0.04742598161101341,
0.008408243767917156,
-0.09210466593503952,
0.20332886278629303,
0.28425586223602295,
-0.02248138003051281,
0.14219637215137482,
0.138586163520813,
-0.04572000727057457,
-0.23841652274131775,
-0.10251285880804062,
-0.16057315468788147,
-0.014505276456475258,
-0.008923906832933426,
-0.111846923828125,
0.06957825273275375,
0.016600551083683968,
-0.04577308148145676,
0.10054026544094086,
-0.24723267555236816,
-0.07210000604391098,
0.15212082862854004,
-0.0028408425860106945,
0.40121331810951233,
-0.089903324842453,
-0.0550016313791275,
-0.029729392379522324,
-0.22614777088165283,
0.0904509425163269,
0.029994724318385124,
0.08308921754360199,
-0.032567355781793594,
0.09648679196834564,
-0.013424989767372608,
-0.02549266256392002,
0.13241828978061676,
0.03528895601630211,
0.001866668346337974,
-0.03842540457844734,
-0.13150514662265778,
0.12012698501348495,
0.0647423043847084,
-0.05009303241968155,
-0.0652657225728035,
-0.010236223228275776,
-0.08590492606163025,
-0.040767960250377655,
-0.10435705631971359,
0.10730308294296265,
-0.022917527705430984,
-0.0662161335349083,
-0.09308511763811111,
0.04420142248272896,
-0.06208157166838646,
0.002349892631173134,
0.2095707207918167,
-0.058584559708833694,
0.12486580014228821,
0.004596011713147163,
0.09268622100353241,
-0.1107647642493248,
-0.03704036399722099,
-0.036950595676898956,
-0.06446417421102524,
0.0313911959528923,
-0.043607357889413834,
-0.029227757826447487,
0.161240354180336,
-0.02721187099814415,
0.026137856766581535,
0.07353445142507553,
-0.05643037334084511,
-0.0002587878843769431,
0.11389704048633575,
-0.12166115641593933,
-0.16024334728717804,
-0.01174369640648365,
-0.05634680762887001,
0.1511119157075882,
0.04330042377114296,
0.07898544520139694,
0.014718439429998398,
0.00031356659019365907,
0.011465534567832947,
-0.051562901586294174,
-0.11420467495918274,
0.009443454444408417,
0.05814456567168236,
-0.022895636036992073,
-0.08537620306015015,
-0.005552677437663078,
-0.04204137623310089,
-0.1473195105791092,
-0.059934161603450775,
0.10159118473529816,
-0.14861075580120087,
-0.10875221341848373,
-0.06424879282712936,
0.089405357837677,
-0.17994588613510132,
-0.03587428852915764,
0.04596259072422981,
-0.14994263648986816,
0.051657743752002716,
0.2741025984287262,
0.08315496146678925,
0.07916990667581558,
-0.04365501552820206,
-0.010406337678432465,
0.12861847877502441,
0.031609684228897095,
-0.08231782168149948,
0.029783112928271294,
-0.08289160579442978,
-0.020102860406041145,
-0.01448997762054205,
0.13342216610908508,
-0.05609474331140518,
-0.01959322765469551,
-0.15815815329551697,
0.05391928181052208,
-0.0747767984867096,
-0.09241577237844467,
-0.09857187420129776,
-0.04548167064785957,
0.005453913006931543,
-0.149184912443161,
-0.04659181833267212,
-0.07328084111213684,
-0.12497743219137192,
0.029614850878715515,
0.07174395769834518,
0.07735458761453629,
-0.060456324368715286,
-0.0055059813894331455,
0.15405786037445068,
0.004855106584727764,
0.11844054609537125,
0.14367127418518066,
-0.025524048134684563,
0.16212302446365356,
-0.1507374793291092,
-0.048377957195043564,
0.0975310355424881,
0.011219465173780918,
0.05142426863312721,
0.06557741016149521,
-0.02893960475921631,
0.07545189559459686,
0.0771419033408165,
0.09623902291059494,
0.00912865437567234,
-0.08144964277744293,
0.0119156613945961,
0.022164620459079742,
-0.13397233188152313,
-0.009956231340765953,
-0.05450236424803734,
0.1487037092447281,
-0.01453083660453558,
0.12576156854629517,
-0.025659827515482903,
0.02251449041068554,
0.02044099196791649,
0.05016316473484039,
0.015938935801386833,
-0.17730224132537842,
-0.034260738641023636,
-0.10055109858512878,
-0.053205881267786026,
-0.058778874576091766,
0.3242435157299042,
-0.021360106766223907,
-0.1254257708787918,
0.07142627239227295,
-0.0018991247052326798,
-0.06814412027597427,
-0.007144446484744549,
0.24175773561000824,
0.09400800615549088,
-0.006237540859729052,
-0.12893334031105042,
0.03316504508256912,
-0.059609632939100266,
-0.0937010645866394,
0.14681632816791534,
0.17167659103870392,
0.06617823988199234,
0.024198632687330246,
0.027185341343283653,
0.0341440849006176,
-0.042974263429641724,
-0.16421067714691162,
0.05142410099506378,
-0.013744845055043697,
-0.06336900591850281,
0.3049675524234772,
0.20227427780628204,
-0.07160142064094543,
0.062178563326597214,
0.0007850074907764792,
-0.007529930677264929,
-0.15743690729141235,
-0.06171802058815956,
-0.009945167228579521,
-0.14594386518001556,
0.07549288123846054,
-0.04030714929103851,
0.044110506772994995,
0.06997804343700409,
0.07715088129043579,
-0.04934389144182205,
0.058240871876478195,
-0.03730947524309158,
-0.056017257273197174,
0.0007028892287053168,
-0.03788648545742035,
0.033441316336393356,
-0.08204805850982666,
0.0018138466402888298,
-0.13386516273021698,
-0.11674381792545319,
-0.07600738108158112,
0.03997305408120155,
-0.11533131450414658,
-0.0367339588701725,
-0.157939150929451,
-0.05849333480000496,
-0.06046487018465996,
0.11345408856868744,
0.005315135698765516,
0.13517534732818604,
-0.019869187846779823,
0.008716654032468796,
0.0086984783411026,
0.14519760012626648,
-0.0011496682418510318,
-0.099558986723423,
0.048194605857133865,
0.09498997032642365,
0.056638382375240326,
0.15425477921962738,
-0.02313862554728985,
0.023596398532390594,
-0.05522880330681801,
0.2817392647266388,
0.3067089021205902,
-0.04733526334166527,
0.05454820767045021,
0.06391260772943497,
0.05951235815882683,
0.07821466773748398,
0.007526688277721405,
0.07624852657318115,
0.2441067099571228,
-0.12416671216487885,
-0.0549934059381485,
-0.03498326241970062,
0.029917091131210327,
-0.10863431543111801,
0.08405713737010956,
0.03535457327961922,
-0.10846996307373047,
-0.07711683958768845,
0.07168595492839813,
-0.19025392830371857,
0.08190415799617767,
0.0228631142526865,
-0.13060088455677032,
-0.02726741135120392,
-0.037957288324832916,
0.09788750857114792,
0.06635527312755585,
0.06631558388471603,
-0.053510311990976334,
-0.11924538016319275,
0.0382295623421669,
0.046937741339206696,
-0.2689639925956726,
-0.07614589482545853,
0.12396493554115295,
0.05576561018824577,
0.021444955840706825,
-0.01808936893939972,
0.038643304258584976,
0.09803216904401779,
0.049948763102293015,
-0.007928022183477879,
0.039233263581991196,
0.06488499790430069,
-0.029830822721123695,
-0.10934634506702423,
-0.03136987239122391,
0.04662887752056122,
-0.07710788398981094,
0.06909288465976715,
-0.058046236634254456,
0.09657449275255203,
0.05026997625827789,
-0.08138199150562286,
-0.07120545208454132,
0.13421235978603363,
-0.1110725998878479,
0.021015672013163567,
0.03892301023006439,
0.02931668423116207,
-0.06470270454883575,
-0.053639065474271774,
-0.009088668040931225,
0.07209446281194687,
-0.04285663738846779,
-0.08782859146595001,
-0.001434406265616417,
-0.0497703030705452,
0.11564156413078308,
-0.01810990832746029,
-0.11715440452098846,
-0.05132117494940758,
-0.05518100783228874,
0.12018749862909317,
-0.13180911540985107,
0.03998701646924019,
0.1283235400915146,
-0.007298354059457779,
0.047528304159641266,
-0.22445820271968842,
0.048936910927295685,
0.0019775675609707832,
-0.06435078382492065,
-0.05609668418765068
] |
null | null |
transformers
|
This is a multilingual NER system trained using a Frustratingly Easy Domain Adaptation architecture. It is based on LaBSE and supports different tagsets all using IOBES formats:
1. Wikiann (LOC, PER, ORG)
2. SlavNER 19/21 (EVT, LOC, ORG, PER, PRO)
3. SlavNER 17 (LOC, MISC, ORG, PER)
4. SSJ500k (LOC, MISC, ORG, PER)
5. KPWr (EVT, LOC, ORG, PER, PRO)
6. CNEC (LOC, ORG, MEDIA, ART, PER, TIME)
7. Turku (DATE, EVT, LOC, ORG, PER, PRO, TIME)
PER: person, LOC: location, ORG: organization, EVT: event, PRO: product, MISC: Miscellaneous, MEDIA: media, ART: Artifact, TIME: time, DATE: date
You can select the tagset to use in the output by configuring the model.
More information about the model can be found in the paper (https://aclanthology.org/2021.bsnlp-1.12.pdf) and GitHub repository (https://github.com/EMBEDDIA/NER_FEDA).
|
{"language": ["multilingual", "cs", "pl", "sl", "fi"], "license": "mit", "tags": ["labse", "ner"]}
| null |
creat89/NER_FEDA_Latin1
|
[
"transformers",
"pytorch",
"bert",
"labse",
"ner",
"multilingual",
"cs",
"pl",
"sl",
"fi",
"license:mit",
"endpoints_compatible",
"region:us"
] |
2022-03-02T23:29:05+00:00
|
[] |
[
"multilingual",
"cs",
"pl",
"sl",
"fi"
] |
TAGS
#transformers #pytorch #bert #labse #ner #multilingual #cs #pl #sl #fi #license-mit #endpoints_compatible #region-us
|
This is a multilingual NER system trained using a Frustratingly Easy Domain Adaptation architecture. It is based on LaBSE and supports different tagsets all using IOBES formats:
1. Wikiann (LOC, PER, ORG)
2. SlavNER 19/21 (EVT, LOC, ORG, PER, PRO)
3. SlavNER 17 (LOC, MISC, ORG, PER)
4. SSJ500k (LOC, MISC, ORG, PER)
5. KPWr (EVT, LOC, ORG, PER, PRO)
6. CNEC (LOC, ORG, MEDIA, ART, PER, TIME)
7. Turku (DATE, EVT, LOC, ORG, PER, PRO, TIME)
PER: person, LOC: location, ORG: organization, EVT: event, PRO: product, MISC: Miscellaneous, MEDIA: media, ART: Artifact, TIME: time, DATE: date
You can select the tagset to use in the output by configuring the model.
More information about the model can be found in the paper (URL and GitHub repository (URL
|
[] |
[
"TAGS\n#transformers #pytorch #bert #labse #ner #multilingual #cs #pl #sl #fi #license-mit #endpoints_compatible #region-us \n"
] |
[
45
] |
[
"passage: TAGS\n#transformers #pytorch #bert #labse #ner #multilingual #cs #pl #sl #fi #license-mit #endpoints_compatible #region-us \n"
] |
[
-0.05174131318926811,
-0.030959397554397583,
-0.008487772196531296,
0.0035758751910179853,
0.09230248630046844,
0.016007114201784134,
0.1134929433465004,
0.044350944459438324,
0.16867396235466003,
0.008300409652292728,
0.12759649753570557,
0.18052776157855988,
-0.02889237552881241,
-0.005671986378729343,
-0.03987617790699005,
-0.2395782619714737,
0.07240544259548187,
0.038839809596538544,
-0.0492648109793663,
0.08219093829393387,
0.09949398785829544,
-0.04903552308678627,
0.06594934314489365,
0.0029776643496006727,
-0.08001849055290222,
0.015470213256776333,
0.015546577051281929,
-0.03792043402791023,
0.12824498116970062,
0.08511577546596527,
0.1181415468454361,
0.04787006601691246,
-0.030080337077379227,
-0.2276458591222763,
0.021529950201511383,
-0.07613958418369293,
-0.09546276926994324,
0.003416970605030656,
0.029220206663012505,
-0.06796848773956299,
0.157530277967453,
0.058511883020401,
-0.024749143049120903,
0.06052209436893463,
-0.14273355901241302,
-0.08320605009794235,
-0.04602956771850586,
0.06466925144195557,
-0.03793025016784668,
0.051403701305389404,
0.030281363055109978,
0.14823074638843536,
-0.1654794067144394,
0.06678280979394913,
0.12661156058311462,
-0.35857510566711426,
0.0036165486089885235,
0.11402440816164017,
0.12378174811601639,
0.014443442225456238,
-0.0628613606095314,
0.07005852460861206,
0.04369634389877319,
-0.01527494192123413,
-0.06489009410142899,
-0.08234122395515442,
0.00044568642624653876,
0.07428018748760223,
-0.09113553166389465,
-0.0533798485994339,
0.10116314142942429,
-0.03328462690114975,
0.028370270505547523,
0.009447370655834675,
-0.03827819600701332,
-0.04828748106956482,
-0.02104908786714077,
0.006518196780234575,
-0.005290381610393524,
0.07398134469985962,
0.07413317263126373,
-0.04609875753521919,
-0.10283631086349487,
0.037659600377082825,
-0.21267369389533997,
0.22356165945529938,
0.05267808213829994,
0.059696584939956665,
-0.1120850220322609,
0.02552054636180401,
-0.06125052273273468,
-0.04842691496014595,
-0.04047136381268501,
-0.0722627118229866,
0.04638400673866272,
0.025084974244236946,
-0.03314958140254021,
0.12791623175144196,
0.09710145741701126,
0.18127653002738953,
-0.018231671303510666,
0.014867162331938744,
0.019948679953813553,
0.1371820867061615,
-0.01862788386642933,
0.04033871740102768,
0.04559297114610672,
0.03161965683102608,
-0.0009240079089067876,
-0.15031884610652924,
0.008944433182477951,
-0.020467622205615044,
-0.15708671510219574,
-0.03573058173060417,
-0.09309569001197815,
0.10618200898170471,
-0.025379488244652748,
0.04649728536605835,
-0.059205956757068634,
0.06126701086759567,
-0.003569851629436016,
-0.023105675354599953,
0.012637089937925339,
0.025552596896886826,
0.06335438787937164,
0.17500947415828705,
-0.04343253746628761,
-0.010214518755674362,
-0.006574698258191347,
0.109158955514431,
-0.07579100131988525,
0.034916333854198456,
-0.05163690820336342,
-0.03183706849813461,
0.07502692192792892,
-0.11889639496803284,
0.07220203429460526,
-0.12994247674942017,
-0.092978835105896,
0.017165400087833405,
0.03277488797903061,
-0.016918569803237915,
0.015820544213056564,
-0.007794133387506008,
-0.051075663417577744,
0.007069922983646393,
-0.05982707068324089,
-0.11118866503238678,
-0.09451217949390411,
0.0938493087887764,
-0.025030039250850677,
0.016804814338684082,
-0.2037995159626007,
0.01953713595867157,
-0.05721643567085266,
0.03809202462434769,
-0.06267589330673218,
-0.04456973448395729,
-0.10300134867429733,
0.14238063991069794,
0.022312860935926437,
-0.07696790993213654,
-0.07854047417640686,
0.06079425662755966,
-0.054934464395046234,
0.15610665082931519,
-0.10906819999217987,
-0.08937200903892517,
0.2383503019809723,
-0.12272343039512634,
-0.1486845463514328,
0.1012224406003952,
0.010471010580658913,
-0.012897918000817299,
0.0552828423678875,
0.21605432033538818,
0.03616233542561531,
-0.18832607567310333,
0.04707290232181549,
0.1651618927717209,
-0.05162973329424858,
-0.13503916561603546,
0.060322925448417664,
-0.011037210002541542,
-0.04168543219566345,
0.0567629374563694,
-0.05365709960460663,
0.12271305173635483,
-0.08322615176439285,
-0.061480239033699036,
-0.02394356206059456,
-0.013435836881399155,
0.046971939504146576,
0.04654952138662338,
0.07227715849876404,
-0.09971578419208527,
-0.005730410572141409,
0.05904431268572807,
0.025527138262987137,
0.05306670442223549,
0.059731386601924896,
-0.09471042454242706,
0.1463603973388672,
0.09730833768844604,
-0.030479900538921356,
-0.13382941484451294,
-0.05368494987487793,
-0.03705999627709389,
0.052310723811388016,
0.039286043494939804,
0.16896672546863556,
0.05978359654545784,
-0.054892536252737045,
-0.03710825741291046,
0.04063030332326889,
0.07874517887830734,
0.006959505844861269,
-0.008037708699703217,
-0.13152050971984863,
0.04616321250796318,
-0.04467840492725372,
-0.007844114676117897,
-0.123932845890522,
0.007660146337002516,
0.1327429860830307,
0.1264263391494751,
-0.03674161434173584,
0.05534542351961136,
-0.09581059217453003,
0.06667982786893845,
-0.05774516984820366,
0.04244079068303108,
0.10847043246030807,
0.007886925712227821,
-0.11906702816486359,
0.17136161029338837,
-0.0027552687097340822,
0.3290036618709564,
0.19875386357307434,
-0.2242419570684433,
0.019783932715654373,
-0.06718937307596207,
-0.02644357644021511,
0.037546902894973755,
0.11175356805324554,
-0.011287453584372997,
0.05155215412378311,
0.014001046307384968,
0.09206120669841766,
-0.05157754197716713,
-0.023680470883846283,
0.0056237755343317986,
-0.037784643471241,
-0.06116568297147751,
0.11810264736413956,
0.16341277956962585,
-0.13051235675811768,
0.20406582951545715,
0.23331324756145477,
0.04887304827570915,
0.14573530852794647,
-0.08015497028827667,
0.004570425488054752,
-0.002583808498457074,
0.052021581679582596,
-0.04479287564754486,
0.10470539331436157,
-0.23271530866622925,
-0.026158444583415985,
0.05148188769817352,
-0.006421480793505907,
0.04027286544442177,
-0.14046083390712738,
-0.08944746851921082,
-0.026291754096746445,
-0.02981526590883732,
-0.07019545882940292,
0.08833347260951996,
-0.019413035362958908,
0.07221876084804535,
-0.027068616822361946,
-0.12289886921644211,
0.09039266407489777,
0.007129055447876453,
-0.04204663634300232,
0.15026028454303741,
-0.12086115777492523,
-0.16625936329364777,
-0.11010131239891052,
-0.12004052102565765,
-0.013171382248401642,
-0.009326157160103321,
0.07678107172250748,
-0.023308878764510155,
-0.03395521640777588,
0.07035504281520844,
0.02821310982108116,
-0.12986809015274048,
-0.004259573295712471,
-0.08198957145214081,
0.03536270186305046,
-0.10676383227109909,
-0.07910580188035965,
-0.080000139772892,
-0.03614998981356621,
-0.017635837197303772,
0.08065132051706314,
-0.10648304969072342,
0.08995610475540161,
0.07734818011522293,
0.029632892459630966,
0.044350624084472656,
-0.04866480827331543,
0.23893627524375916,
-0.0841602087020874,
-0.05925608053803444,
0.12762099504470825,
-0.019527478143572807,
0.07582366466522217,
0.14376632869243622,
0.0871143564581871,
-0.05974118411540985,
-0.04447094723582268,
-0.04518280550837517,
-0.08707967400550842,
-0.2156822383403778,
-0.11702114343643188,
-0.14702241122722626,
0.03264346346259117,
-0.08651773631572723,
0.06356789916753769,
0.03955695033073425,
0.03746366128325462,
0.01758052594959736,
-0.12186291813850403,
-0.037234142422676086,
0.051491785794496536,
0.29884278774261475,
-0.04821741208434105,
0.08329425752162933,
-0.08758217096328735,
-0.08389367163181305,
0.09989473968744278,
0.05690399557352066,
0.1286073476076126,
0.15463393926620483,
0.05301032215356827,
0.12363090366125107,
0.18355205655097961,
0.12371339648962021,
0.05617615580558777,
0.006086881272494793,
-0.061793264001607895,
-0.006424631457775831,
-0.026454677805304527,
-0.021518586203455925,
0.027164028957486153,
0.08148423582315445,
-0.13136926293373108,
0.0017856612103059888,
-0.2198771834373474,
0.08193190395832062,
0.02311830222606659,
0.01344731543213129,
-0.09708544611930847,
0.0050075664184987545,
0.07503893226385117,
0.007512299343943596,
-0.05469359830021858,
0.10926072299480438,
0.02472781389951706,
-0.13518992066383362,
0.09165696054697037,
0.004729500971734524,
0.09046727418899536,
0.021256083622574806,
0.0796528235077858,
-0.03341013193130493,
-0.16038654744625092,
0.067612424492836,
0.08698683232069016,
-0.3237910866737366,
0.2865431010723114,
-0.009262548759579659,
-0.040232591331005096,
-0.02098570577800274,
-0.05229027569293976,
-0.0036202101036906242,
0.26702189445495605,
0.145081028342247,
0.056336112320423126,
-0.11233749985694885,
-0.12695097923278809,
0.053230542689561844,
-0.000015434334272868,
0.13351285457611084,
0.039629701524972916,
-0.03553002327680588,
-0.015395541675388813,
0.008452127687633038,
-0.01589011400938034,
0.035057686269283295,
-0.013491475023329258,
-0.16311979293823242,
0.07299038767814636,
0.014758743345737457,
0.019559698179364204,
-0.021278729662299156,
-0.05497768521308899,
-0.15721161663532257,
0.15314456820487976,
-0.17599858343601227,
-0.04881693050265312,
-0.11231888830661774,
-0.16584032773971558,
0.05396717041730881,
-0.07463067770004272,
0.06480413675308228,
-0.04788219556212425,
-0.09445388615131378,
-0.09117988497018814,
-0.11372217535972595,
0.1285698264837265,
-0.0833020955324173,
-0.0057150209322571754,
-0.034196335822343826,
0.1948040872812271,
-0.04623175039887428,
0.041692525148391724,
0.00689122686162591,
0.006125423591583967,
-0.07556287199258804,
-0.1372653990983963,
-0.029619695618748665,
-0.010721384547650814,
0.0042838165536522865,
-0.016689933836460114,
-0.1142694428563118,
0.04964426904916763,
0.040595900267362595,
-0.06865883618593216,
0.21670018136501312,
0.27386415004730225,
-0.04601060971617699,
0.15342240035533905,
0.125288188457489,
-0.07500089704990387,
-0.2877412736415863,
-0.08092837780714035,
-0.16719163954257965,
-0.014930310659110546,
0.011477493681013584,
-0.11967182904481888,
0.05729321017861366,
0.0387265719473362,
-0.04132707789540291,
0.11880890280008316,
-0.2522491216659546,
-0.07172900438308716,
0.10718295723199844,
-0.019058989360928535,
0.39883336424827576,
-0.1330685168504715,
-0.10451780259609222,
-0.02200194261968136,
-0.2354801893234253,
0.13174225389957428,
0.019383681938052177,
0.057736560702323914,
-0.01468824502080679,
0.08134064823389053,
0.018775684759020805,
-0.057019587606191635,
0.15091796219348907,
0.00926562026143074,
0.027631621807813644,
-0.06432659924030304,
-0.1091250628232956,
0.07387465238571167,
0.04956275597214699,
-0.02886994555592537,
-0.07641754299402237,
-0.010588454082608223,
-0.1234794557094574,
-0.050749558955430984,
-0.0850408673286438,
0.10531514883041382,
-0.031651049852371216,
-0.04406720772385597,
-0.06753770262002945,
0.016087673604488373,
-0.028576580807566643,
-0.00525654386729002,
0.2591325342655182,
-0.05324660986661911,
0.12880170345306396,
0.02777998335659504,
0.10780897736549377,
-0.12665201723575592,
-0.05126827955245972,
-0.05882236361503601,
-0.04842942953109741,
0.035411011427640915,
-0.03011481836438179,
-0.017659585922956467,
0.17545920610427856,
-0.024327177554368973,
0.03193216025829315,
0.09113608300685883,
-0.00830654427409172,
-0.014415654353797436,
0.1273401379585266,
-0.13929733633995056,
-0.14414362609386444,
-0.002989887958392501,
-0.03858098387718201,
0.13623741269111633,
0.08744789659976959,
0.09813682734966278,
0.0037122657522559166,
0.0070835864171385765,
-0.00213062297552824,
-0.02460121363401413,
-0.08377986401319504,
-0.02071012556552887,
0.06308262050151825,
-0.002562781795859337,
-0.1053578332066536,
-0.021577443927526474,
-0.032784353941679,
-0.20444907248020172,
-0.07724317908287048,
0.107676662504673,
-0.1344756782054901,
-0.1050732210278511,
-0.08117103576660156,
0.06314315646886826,
-0.2157781720161438,
-0.05326041579246521,
-0.009561601094901562,
-0.1921578198671341,
0.05650874599814415,
0.266166090965271,
0.08555278182029724,
0.08884239941835403,
-0.017241118475794792,
-0.0115110594779253,
0.10751768946647644,
-0.011731116101145744,
-0.0971403643488884,
0.020252464339137077,
-0.06922271847724915,
0.01834663189947605,
-0.014109558425843716,
0.12883076071739197,
-0.06057688966393471,
-0.019655928015708923,
-0.2076667845249176,
0.06111831218004227,
-0.07838790118694305,
-0.05551126226782799,
-0.10248919576406479,
-0.033073700964450836,
0.021164609119296074,
-0.14171019196510315,
-0.04967634379863739,
-0.039350513368844986,
-0.13008929789066315,
0.038660742342472076,
0.04264998808503151,
0.08673066645860672,
-0.054674819111824036,
-0.018549127504229546,
0.14013250172138214,
-0.02300948277115822,
0.09602498263120651,
0.1397038698196411,
-0.05821855738759041,
0.14340808987617493,
-0.16534437239170074,
-0.03956024721264839,
0.10024430602788925,
0.061282433569431305,
0.03387948125600815,
0.09856528788805008,
-0.009729139506816864,
0.10259129106998444,
0.05584046617150307,
0.08013437688350677,
-0.011372801847755909,
-0.09150750190019608,
-0.01159299910068512,
0.03628932312130928,
-0.16781143844127655,
0.011297575198113918,
-0.058839209377765656,
0.12803378701210022,
-0.0022627455182373524,
0.11074882000684738,
-0.014871961437165737,
0.03136001154780388,
0.004716844763606787,
0.04090490937232971,
0.018416376784443855,
-0.15882238745689392,
-0.044690344482660294,
-0.11347200721502304,
-0.015084711834788322,
0.002261680318042636,
0.3325848877429962,
-0.023255666717886925,
-0.08619851619005203,
0.060225632041692734,
0.04455520212650299,
0.001217554323375225,
0.0033556167036294937,
0.2367875874042511,
0.10049297660589218,
0.001583454548381269,
-0.11215722560882568,
0.024900183081626892,
-0.0507892481982708,
-0.057445228099823,
0.13324646651744843,
0.17090275883674622,
0.03729817271232605,
0.06621970236301422,
0.054216716438531876,
0.024468541145324707,
-0.05135674402117729,
-0.19268542528152466,
0.028217937797307968,
0.02530694007873535,
-0.07041680812835693,
0.27635833621025085,
0.13730774819850922,
-0.06974182277917862,
0.07882799208164215,
-0.03312050923705101,
-0.02796347253024578,
-0.16521574556827545,
-0.10095436871051788,
-0.017417993396520615,
-0.1082373559474945,
0.0408734530210495,
-0.04191373288631439,
0.051526088267564774,
0.12035536020994186,
0.07020493596792221,
-0.04825884476304054,
0.03249358758330345,
-0.03561578318476677,
-0.02802356891334057,
-0.011852146126329899,
-0.010856011882424355,
0.06197643280029297,
-0.11519715189933777,
-0.032445162534713745,
-0.12464341521263123,
-0.0867803618311882,
-0.061232153326272964,
0.035373836755752563,
-0.043396901339292526,
-0.02670164406299591,
-0.11581391096115112,
-0.0362093411386013,
-0.04575186222791672,
0.06775631010532379,
0.00775154959410429,
0.15538839995861053,
-0.0295151025056839,
0.012192491441965103,
0.02359957993030548,
0.15362025797367096,
-0.030851714313030243,
-0.1014055609703064,
0.03251821920275688,
0.11942178010940552,
0.052339471876621246,
0.14068013429641724,
-0.03351443260908127,
0.03773907572031021,
-0.03505558893084526,
0.30099326372146606,
0.2799084186553955,
-0.08000325411558151,
0.05723688006401062,
0.038759004324674606,
0.0526852160692215,
0.10837956517934799,
0.05943810194730759,
0.08463358134031296,
0.3042454123497009,
-0.0905521959066391,
-0.06271740794181824,
-0.05307658761739731,
0.028915880247950554,
-0.12583360075950623,
0.07764589786529541,
-0.008146112784743309,
-0.08166138827800751,
-0.06205686926841736,
0.07974250614643097,
-0.18930640816688538,
0.09480326622724533,
0.0783940777182579,
-0.15242356061935425,
-0.03588312864303589,
-0.03592522442340851,
0.1274685114622116,
0.03616456687450409,
0.05540509149432182,
-0.06154640018939972,
-0.11247700452804565,
0.02593090385198593,
0.03738856688141823,
-0.2515302896499634,
-0.05535804480314255,
0.12092924863100052,
0.07223471999168396,
0.03547760099172592,
-0.008105779998004436,
0.0809459388256073,
0.0774984285235405,
0.07240030914545059,
-0.0034463077317923307,
0.038660142570734024,
0.07383471727371216,
-0.11826884001493454,
-0.09506770223379135,
-0.0957711786031723,
0.016669780015945435,
-0.064610056579113,
0.04261821135878563,
-0.06921973824501038,
0.09152427315711975,
0.07785775512456894,
-0.09701690077781677,
-0.042623233050107956,
0.07338764518499374,
-0.12327340990304947,
0.024453550577163696,
0.04298516362905502,
0.02013918198645115,
-0.06981547176837921,
-0.04824933782219887,
-0.026437878608703613,
0.043960925191640854,
-0.09230810403823853,
-0.08921066671609879,
-0.06606174260377884,
-0.04872991144657135,
0.0933196172118187,
0.006830768194049597,
-0.08168847858905792,
-0.05015745759010315,
-0.0520482063293457,
0.1175570860505104,
-0.13788771629333496,
0.029136991128325462,
0.08115038275718689,
-0.011872479692101479,
0.02524731680750847,
-0.20707900822162628,
0.04726681485772133,
0.036897655576467514,
-0.0415794812142849,
-0.06567902117967606
] |
null | null |
transformers
|
This is a multilingual NER system trained using a Frustratingly Easy Domain Adaptation architecture. It is based on LaBSE and supports different tagsets all using IOBES formats:
1. Wikiann (LOC, PER, ORG)
2. SlavNER 19/21 (EVT, LOC, ORG, PER, PRO)
3. SlavNER 17 (LOC, MISC, ORG, PER)
4. SSJ500k (LOC, MISC, ORG, PER)
5. KPWr (EVT, LOC, ORG, PER, PRO)
6. CNEC (LOC, ORG, MEDIA, ART, PER, TIME)
7. Turku (DATE, EVT, LOC, ORG, PER, PRO, TIME)
PER: person, LOC: location, ORG: organization, EVT: event, PRO: product, MISC: Miscellaneous, MEDIA: media, ART: Artifact, TIME: time, DATE: date
You can select the tagset to use in the output by configuring the model. This model manages differently uppercase words.
More information about the model can be found in the paper (https://aclanthology.org/2021.bsnlp-1.12.pdf) and GitHub repository (https://github.com/EMBEDDIA/NER_FEDA).
|
{"language": ["multilingual", "cs", "pl", "sl", "fi"], "license": "mit", "tags": ["labse", "ner"]}
| null |
creat89/NER_FEDA_Latin2
|
[
"transformers",
"pytorch",
"bert",
"labse",
"ner",
"multilingual",
"cs",
"pl",
"sl",
"fi",
"license:mit",
"endpoints_compatible",
"region:us"
] |
2022-03-02T23:29:05+00:00
|
[] |
[
"multilingual",
"cs",
"pl",
"sl",
"fi"
] |
TAGS
#transformers #pytorch #bert #labse #ner #multilingual #cs #pl #sl #fi #license-mit #endpoints_compatible #region-us
|
This is a multilingual NER system trained using a Frustratingly Easy Domain Adaptation architecture. It is based on LaBSE and supports different tagsets all using IOBES formats:
1. Wikiann (LOC, PER, ORG)
2. SlavNER 19/21 (EVT, LOC, ORG, PER, PRO)
3. SlavNER 17 (LOC, MISC, ORG, PER)
4. SSJ500k (LOC, MISC, ORG, PER)
5. KPWr (EVT, LOC, ORG, PER, PRO)
6. CNEC (LOC, ORG, MEDIA, ART, PER, TIME)
7. Turku (DATE, EVT, LOC, ORG, PER, PRO, TIME)
PER: person, LOC: location, ORG: organization, EVT: event, PRO: product, MISC: Miscellaneous, MEDIA: media, ART: Artifact, TIME: time, DATE: date
You can select the tagset to use in the output by configuring the model. This model manages differently uppercase words.
More information about the model can be found in the paper (URL and GitHub repository (URL
|
[] |
[
"TAGS\n#transformers #pytorch #bert #labse #ner #multilingual #cs #pl #sl #fi #license-mit #endpoints_compatible #region-us \n"
] |
[
45
] |
[
"passage: TAGS\n#transformers #pytorch #bert #labse #ner #multilingual #cs #pl #sl #fi #license-mit #endpoints_compatible #region-us \n"
] |
[
-0.05174131318926811,
-0.030959397554397583,
-0.008487772196531296,
0.0035758751910179853,
0.09230248630046844,
0.016007114201784134,
0.1134929433465004,
0.044350944459438324,
0.16867396235466003,
0.008300409652292728,
0.12759649753570557,
0.18052776157855988,
-0.02889237552881241,
-0.005671986378729343,
-0.03987617790699005,
-0.2395782619714737,
0.07240544259548187,
0.038839809596538544,
-0.0492648109793663,
0.08219093829393387,
0.09949398785829544,
-0.04903552308678627,
0.06594934314489365,
0.0029776643496006727,
-0.08001849055290222,
0.015470213256776333,
0.015546577051281929,
-0.03792043402791023,
0.12824498116970062,
0.08511577546596527,
0.1181415468454361,
0.04787006601691246,
-0.030080337077379227,
-0.2276458591222763,
0.021529950201511383,
-0.07613958418369293,
-0.09546276926994324,
0.003416970605030656,
0.029220206663012505,
-0.06796848773956299,
0.157530277967453,
0.058511883020401,
-0.024749143049120903,
0.06052209436893463,
-0.14273355901241302,
-0.08320605009794235,
-0.04602956771850586,
0.06466925144195557,
-0.03793025016784668,
0.051403701305389404,
0.030281363055109978,
0.14823074638843536,
-0.1654794067144394,
0.06678280979394913,
0.12661156058311462,
-0.35857510566711426,
0.0036165486089885235,
0.11402440816164017,
0.12378174811601639,
0.014443442225456238,
-0.0628613606095314,
0.07005852460861206,
0.04369634389877319,
-0.01527494192123413,
-0.06489009410142899,
-0.08234122395515442,
0.00044568642624653876,
0.07428018748760223,
-0.09113553166389465,
-0.0533798485994339,
0.10116314142942429,
-0.03328462690114975,
0.028370270505547523,
0.009447370655834675,
-0.03827819600701332,
-0.04828748106956482,
-0.02104908786714077,
0.006518196780234575,
-0.005290381610393524,
0.07398134469985962,
0.07413317263126373,
-0.04609875753521919,
-0.10283631086349487,
0.037659600377082825,
-0.21267369389533997,
0.22356165945529938,
0.05267808213829994,
0.059696584939956665,
-0.1120850220322609,
0.02552054636180401,
-0.06125052273273468,
-0.04842691496014595,
-0.04047136381268501,
-0.0722627118229866,
0.04638400673866272,
0.025084974244236946,
-0.03314958140254021,
0.12791623175144196,
0.09710145741701126,
0.18127653002738953,
-0.018231671303510666,
0.014867162331938744,
0.019948679953813553,
0.1371820867061615,
-0.01862788386642933,
0.04033871740102768,
0.04559297114610672,
0.03161965683102608,
-0.0009240079089067876,
-0.15031884610652924,
0.008944433182477951,
-0.020467622205615044,
-0.15708671510219574,
-0.03573058173060417,
-0.09309569001197815,
0.10618200898170471,
-0.025379488244652748,
0.04649728536605835,
-0.059205956757068634,
0.06126701086759567,
-0.003569851629436016,
-0.023105675354599953,
0.012637089937925339,
0.025552596896886826,
0.06335438787937164,
0.17500947415828705,
-0.04343253746628761,
-0.010214518755674362,
-0.006574698258191347,
0.109158955514431,
-0.07579100131988525,
0.034916333854198456,
-0.05163690820336342,
-0.03183706849813461,
0.07502692192792892,
-0.11889639496803284,
0.07220203429460526,
-0.12994247674942017,
-0.092978835105896,
0.017165400087833405,
0.03277488797903061,
-0.016918569803237915,
0.015820544213056564,
-0.007794133387506008,
-0.051075663417577744,
0.007069922983646393,
-0.05982707068324089,
-0.11118866503238678,
-0.09451217949390411,
0.0938493087887764,
-0.025030039250850677,
0.016804814338684082,
-0.2037995159626007,
0.01953713595867157,
-0.05721643567085266,
0.03809202462434769,
-0.06267589330673218,
-0.04456973448395729,
-0.10300134867429733,
0.14238063991069794,
0.022312860935926437,
-0.07696790993213654,
-0.07854047417640686,
0.06079425662755966,
-0.054934464395046234,
0.15610665082931519,
-0.10906819999217987,
-0.08937200903892517,
0.2383503019809723,
-0.12272343039512634,
-0.1486845463514328,
0.1012224406003952,
0.010471010580658913,
-0.012897918000817299,
0.0552828423678875,
0.21605432033538818,
0.03616233542561531,
-0.18832607567310333,
0.04707290232181549,
0.1651618927717209,
-0.05162973329424858,
-0.13503916561603546,
0.060322925448417664,
-0.011037210002541542,
-0.04168543219566345,
0.0567629374563694,
-0.05365709960460663,
0.12271305173635483,
-0.08322615176439285,
-0.061480239033699036,
-0.02394356206059456,
-0.013435836881399155,
0.046971939504146576,
0.04654952138662338,
0.07227715849876404,
-0.09971578419208527,
-0.005730410572141409,
0.05904431268572807,
0.025527138262987137,
0.05306670442223549,
0.059731386601924896,
-0.09471042454242706,
0.1463603973388672,
0.09730833768844604,
-0.030479900538921356,
-0.13382941484451294,
-0.05368494987487793,
-0.03705999627709389,
0.052310723811388016,
0.039286043494939804,
0.16896672546863556,
0.05978359654545784,
-0.054892536252737045,
-0.03710825741291046,
0.04063030332326889,
0.07874517887830734,
0.006959505844861269,
-0.008037708699703217,
-0.13152050971984863,
0.04616321250796318,
-0.04467840492725372,
-0.007844114676117897,
-0.123932845890522,
0.007660146337002516,
0.1327429860830307,
0.1264263391494751,
-0.03674161434173584,
0.05534542351961136,
-0.09581059217453003,
0.06667982786893845,
-0.05774516984820366,
0.04244079068303108,
0.10847043246030807,
0.007886925712227821,
-0.11906702816486359,
0.17136161029338837,
-0.0027552687097340822,
0.3290036618709564,
0.19875386357307434,
-0.2242419570684433,
0.019783932715654373,
-0.06718937307596207,
-0.02644357644021511,
0.037546902894973755,
0.11175356805324554,
-0.011287453584372997,
0.05155215412378311,
0.014001046307384968,
0.09206120669841766,
-0.05157754197716713,
-0.023680470883846283,
0.0056237755343317986,
-0.037784643471241,
-0.06116568297147751,
0.11810264736413956,
0.16341277956962585,
-0.13051235675811768,
0.20406582951545715,
0.23331324756145477,
0.04887304827570915,
0.14573530852794647,
-0.08015497028827667,
0.004570425488054752,
-0.002583808498457074,
0.052021581679582596,
-0.04479287564754486,
0.10470539331436157,
-0.23271530866622925,
-0.026158444583415985,
0.05148188769817352,
-0.006421480793505907,
0.04027286544442177,
-0.14046083390712738,
-0.08944746851921082,
-0.026291754096746445,
-0.02981526590883732,
-0.07019545882940292,
0.08833347260951996,
-0.019413035362958908,
0.07221876084804535,
-0.027068616822361946,
-0.12289886921644211,
0.09039266407489777,
0.007129055447876453,
-0.04204663634300232,
0.15026028454303741,
-0.12086115777492523,
-0.16625936329364777,
-0.11010131239891052,
-0.12004052102565765,
-0.013171382248401642,
-0.009326157160103321,
0.07678107172250748,
-0.023308878764510155,
-0.03395521640777588,
0.07035504281520844,
0.02821310982108116,
-0.12986809015274048,
-0.004259573295712471,
-0.08198957145214081,
0.03536270186305046,
-0.10676383227109909,
-0.07910580188035965,
-0.080000139772892,
-0.03614998981356621,
-0.017635837197303772,
0.08065132051706314,
-0.10648304969072342,
0.08995610475540161,
0.07734818011522293,
0.029632892459630966,
0.044350624084472656,
-0.04866480827331543,
0.23893627524375916,
-0.0841602087020874,
-0.05925608053803444,
0.12762099504470825,
-0.019527478143572807,
0.07582366466522217,
0.14376632869243622,
0.0871143564581871,
-0.05974118411540985,
-0.04447094723582268,
-0.04518280550837517,
-0.08707967400550842,
-0.2156822383403778,
-0.11702114343643188,
-0.14702241122722626,
0.03264346346259117,
-0.08651773631572723,
0.06356789916753769,
0.03955695033073425,
0.03746366128325462,
0.01758052594959736,
-0.12186291813850403,
-0.037234142422676086,
0.051491785794496536,
0.29884278774261475,
-0.04821741208434105,
0.08329425752162933,
-0.08758217096328735,
-0.08389367163181305,
0.09989473968744278,
0.05690399557352066,
0.1286073476076126,
0.15463393926620483,
0.05301032215356827,
0.12363090366125107,
0.18355205655097961,
0.12371339648962021,
0.05617615580558777,
0.006086881272494793,
-0.061793264001607895,
-0.006424631457775831,
-0.026454677805304527,
-0.021518586203455925,
0.027164028957486153,
0.08148423582315445,
-0.13136926293373108,
0.0017856612103059888,
-0.2198771834373474,
0.08193190395832062,
0.02311830222606659,
0.01344731543213129,
-0.09708544611930847,
0.0050075664184987545,
0.07503893226385117,
0.007512299343943596,
-0.05469359830021858,
0.10926072299480438,
0.02472781389951706,
-0.13518992066383362,
0.09165696054697037,
0.004729500971734524,
0.09046727418899536,
0.021256083622574806,
0.0796528235077858,
-0.03341013193130493,
-0.16038654744625092,
0.067612424492836,
0.08698683232069016,
-0.3237910866737366,
0.2865431010723114,
-0.009262548759579659,
-0.040232591331005096,
-0.02098570577800274,
-0.05229027569293976,
-0.0036202101036906242,
0.26702189445495605,
0.145081028342247,
0.056336112320423126,
-0.11233749985694885,
-0.12695097923278809,
0.053230542689561844,
-0.000015434334272868,
0.13351285457611084,
0.039629701524972916,
-0.03553002327680588,
-0.015395541675388813,
0.008452127687633038,
-0.01589011400938034,
0.035057686269283295,
-0.013491475023329258,
-0.16311979293823242,
0.07299038767814636,
0.014758743345737457,
0.019559698179364204,
-0.021278729662299156,
-0.05497768521308899,
-0.15721161663532257,
0.15314456820487976,
-0.17599858343601227,
-0.04881693050265312,
-0.11231888830661774,
-0.16584032773971558,
0.05396717041730881,
-0.07463067770004272,
0.06480413675308228,
-0.04788219556212425,
-0.09445388615131378,
-0.09117988497018814,
-0.11372217535972595,
0.1285698264837265,
-0.0833020955324173,
-0.0057150209322571754,
-0.034196335822343826,
0.1948040872812271,
-0.04623175039887428,
0.041692525148391724,
0.00689122686162591,
0.006125423591583967,
-0.07556287199258804,
-0.1372653990983963,
-0.029619695618748665,
-0.010721384547650814,
0.0042838165536522865,
-0.016689933836460114,
-0.1142694428563118,
0.04964426904916763,
0.040595900267362595,
-0.06865883618593216,
0.21670018136501312,
0.27386415004730225,
-0.04601060971617699,
0.15342240035533905,
0.125288188457489,
-0.07500089704990387,
-0.2877412736415863,
-0.08092837780714035,
-0.16719163954257965,
-0.014930310659110546,
0.011477493681013584,
-0.11967182904481888,
0.05729321017861366,
0.0387265719473362,
-0.04132707789540291,
0.11880890280008316,
-0.2522491216659546,
-0.07172900438308716,
0.10718295723199844,
-0.019058989360928535,
0.39883336424827576,
-0.1330685168504715,
-0.10451780259609222,
-0.02200194261968136,
-0.2354801893234253,
0.13174225389957428,
0.019383681938052177,
0.057736560702323914,
-0.01468824502080679,
0.08134064823389053,
0.018775684759020805,
-0.057019587606191635,
0.15091796219348907,
0.00926562026143074,
0.027631621807813644,
-0.06432659924030304,
-0.1091250628232956,
0.07387465238571167,
0.04956275597214699,
-0.02886994555592537,
-0.07641754299402237,
-0.010588454082608223,
-0.1234794557094574,
-0.050749558955430984,
-0.0850408673286438,
0.10531514883041382,
-0.031651049852371216,
-0.04406720772385597,
-0.06753770262002945,
0.016087673604488373,
-0.028576580807566643,
-0.00525654386729002,
0.2591325342655182,
-0.05324660986661911,
0.12880170345306396,
0.02777998335659504,
0.10780897736549377,
-0.12665201723575592,
-0.05126827955245972,
-0.05882236361503601,
-0.04842942953109741,
0.035411011427640915,
-0.03011481836438179,
-0.017659585922956467,
0.17545920610427856,
-0.024327177554368973,
0.03193216025829315,
0.09113608300685883,
-0.00830654427409172,
-0.014415654353797436,
0.1273401379585266,
-0.13929733633995056,
-0.14414362609386444,
-0.002989887958392501,
-0.03858098387718201,
0.13623741269111633,
0.08744789659976959,
0.09813682734966278,
0.0037122657522559166,
0.0070835864171385765,
-0.00213062297552824,
-0.02460121363401413,
-0.08377986401319504,
-0.02071012556552887,
0.06308262050151825,
-0.002562781795859337,
-0.1053578332066536,
-0.021577443927526474,
-0.032784353941679,
-0.20444907248020172,
-0.07724317908287048,
0.107676662504673,
-0.1344756782054901,
-0.1050732210278511,
-0.08117103576660156,
0.06314315646886826,
-0.2157781720161438,
-0.05326041579246521,
-0.009561601094901562,
-0.1921578198671341,
0.05650874599814415,
0.266166090965271,
0.08555278182029724,
0.08884239941835403,
-0.017241118475794792,
-0.0115110594779253,
0.10751768946647644,
-0.011731116101145744,
-0.0971403643488884,
0.020252464339137077,
-0.06922271847724915,
0.01834663189947605,
-0.014109558425843716,
0.12883076071739197,
-0.06057688966393471,
-0.019655928015708923,
-0.2076667845249176,
0.06111831218004227,
-0.07838790118694305,
-0.05551126226782799,
-0.10248919576406479,
-0.033073700964450836,
0.021164609119296074,
-0.14171019196510315,
-0.04967634379863739,
-0.039350513368844986,
-0.13008929789066315,
0.038660742342472076,
0.04264998808503151,
0.08673066645860672,
-0.054674819111824036,
-0.018549127504229546,
0.14013250172138214,
-0.02300948277115822,
0.09602498263120651,
0.1397038698196411,
-0.05821855738759041,
0.14340808987617493,
-0.16534437239170074,
-0.03956024721264839,
0.10024430602788925,
0.061282433569431305,
0.03387948125600815,
0.09856528788805008,
-0.009729139506816864,
0.10259129106998444,
0.05584046617150307,
0.08013437688350677,
-0.011372801847755909,
-0.09150750190019608,
-0.01159299910068512,
0.03628932312130928,
-0.16781143844127655,
0.011297575198113918,
-0.058839209377765656,
0.12803378701210022,
-0.0022627455182373524,
0.11074882000684738,
-0.014871961437165737,
0.03136001154780388,
0.004716844763606787,
0.04090490937232971,
0.018416376784443855,
-0.15882238745689392,
-0.044690344482660294,
-0.11347200721502304,
-0.015084711834788322,
0.002261680318042636,
0.3325848877429962,
-0.023255666717886925,
-0.08619851619005203,
0.060225632041692734,
0.04455520212650299,
0.001217554323375225,
0.0033556167036294937,
0.2367875874042511,
0.10049297660589218,
0.001583454548381269,
-0.11215722560882568,
0.024900183081626892,
-0.0507892481982708,
-0.057445228099823,
0.13324646651744843,
0.17090275883674622,
0.03729817271232605,
0.06621970236301422,
0.054216716438531876,
0.024468541145324707,
-0.05135674402117729,
-0.19268542528152466,
0.028217937797307968,
0.02530694007873535,
-0.07041680812835693,
0.27635833621025085,
0.13730774819850922,
-0.06974182277917862,
0.07882799208164215,
-0.03312050923705101,
-0.02796347253024578,
-0.16521574556827545,
-0.10095436871051788,
-0.017417993396520615,
-0.1082373559474945,
0.0408734530210495,
-0.04191373288631439,
0.051526088267564774,
0.12035536020994186,
0.07020493596792221,
-0.04825884476304054,
0.03249358758330345,
-0.03561578318476677,
-0.02802356891334057,
-0.011852146126329899,
-0.010856011882424355,
0.06197643280029297,
-0.11519715189933777,
-0.032445162534713745,
-0.12464341521263123,
-0.0867803618311882,
-0.061232153326272964,
0.035373836755752563,
-0.043396901339292526,
-0.02670164406299591,
-0.11581391096115112,
-0.0362093411386013,
-0.04575186222791672,
0.06775631010532379,
0.00775154959410429,
0.15538839995861053,
-0.0295151025056839,
0.012192491441965103,
0.02359957993030548,
0.15362025797367096,
-0.030851714313030243,
-0.1014055609703064,
0.03251821920275688,
0.11942178010940552,
0.052339471876621246,
0.14068013429641724,
-0.03351443260908127,
0.03773907572031021,
-0.03505558893084526,
0.30099326372146606,
0.2799084186553955,
-0.08000325411558151,
0.05723688006401062,
0.038759004324674606,
0.0526852160692215,
0.10837956517934799,
0.05943810194730759,
0.08463358134031296,
0.3042454123497009,
-0.0905521959066391,
-0.06271740794181824,
-0.05307658761739731,
0.028915880247950554,
-0.12583360075950623,
0.07764589786529541,
-0.008146112784743309,
-0.08166138827800751,
-0.06205686926841736,
0.07974250614643097,
-0.18930640816688538,
0.09480326622724533,
0.0783940777182579,
-0.15242356061935425,
-0.03588312864303589,
-0.03592522442340851,
0.1274685114622116,
0.03616456687450409,
0.05540509149432182,
-0.06154640018939972,
-0.11247700452804565,
0.02593090385198593,
0.03738856688141823,
-0.2515302896499634,
-0.05535804480314255,
0.12092924863100052,
0.07223471999168396,
0.03547760099172592,
-0.008105779998004436,
0.0809459388256073,
0.0774984285235405,
0.07240030914545059,
-0.0034463077317923307,
0.038660142570734024,
0.07383471727371216,
-0.11826884001493454,
-0.09506770223379135,
-0.0957711786031723,
0.016669780015945435,
-0.064610056579113,
0.04261821135878563,
-0.06921973824501038,
0.09152427315711975,
0.07785775512456894,
-0.09701690077781677,
-0.042623233050107956,
0.07338764518499374,
-0.12327340990304947,
0.024453550577163696,
0.04298516362905502,
0.02013918198645115,
-0.06981547176837921,
-0.04824933782219887,
-0.026437878608703613,
0.043960925191640854,
-0.09230810403823853,
-0.08921066671609879,
-0.06606174260377884,
-0.04872991144657135,
0.0933196172118187,
0.006830768194049597,
-0.08168847858905792,
-0.05015745759010315,
-0.0520482063293457,
0.1175570860505104,
-0.13788771629333496,
0.029136991128325462,
0.08115038275718689,
-0.011872479692101479,
0.02524731680750847,
-0.20707900822162628,
0.04726681485772133,
0.036897655576467514,
-0.0415794812142849,
-0.06567902117967606
] |
null | null |
transformers
|
This is a Polish NER system trained using a Frustratingly Easy Domain Adaptation architecture. It is based on Polish BERT and supports different tagsets all using IOBES formats:
1. Wikiann (LOC, PER, ORG)
2. SlavNER 19/21 (EVT, LOC, ORG, PER, PRO)
5. KPWr (EVT, LOC, ORG, PER, PRO)
6. NKJP (DATE, GEOPOLIT, LOC, ORG, PER, TIME)
PER: person, LOC: location, ORG: organization, EVT: event, PRO: product, MISC: Miscellaneous, MEDIA: media, ART: Artifact, TIME: time, DATE: date, GEOPOLIT: Geopolitical
You can select the tagset to use in the output by configuring the model. This model manages differently uppercase words.
More information about the model can be found in the paper (https://aclanthology.org/2021.bsnlp-1.12.pdf) and GitHub repository (https://github.com/EMBEDDIA/NER_FEDA).
|
{"language": ["pl"], "license": "mit", "tags": ["polish_bert", "ner"]}
| null |
creat89/NER_FEDA_Pl
|
[
"transformers",
"pytorch",
"bert",
"polish_bert",
"ner",
"pl",
"license:mit",
"endpoints_compatible",
"region:us"
] |
2022-03-02T23:29:05+00:00
|
[] |
[
"pl"
] |
TAGS
#transformers #pytorch #bert #polish_bert #ner #pl #license-mit #endpoints_compatible #region-us
|
This is a Polish NER system trained using a Frustratingly Easy Domain Adaptation architecture. It is based on Polish BERT and supports different tagsets all using IOBES formats:
1. Wikiann (LOC, PER, ORG)
2. SlavNER 19/21 (EVT, LOC, ORG, PER, PRO)
5. KPWr (EVT, LOC, ORG, PER, PRO)
6. NKJP (DATE, GEOPOLIT, LOC, ORG, PER, TIME)
PER: person, LOC: location, ORG: organization, EVT: event, PRO: product, MISC: Miscellaneous, MEDIA: media, ART: Artifact, TIME: time, DATE: date, GEOPOLIT: Geopolitical
You can select the tagset to use in the output by configuring the model. This model manages differently uppercase words.
More information about the model can be found in the paper (URL and GitHub repository (URL
|
[] |
[
"TAGS\n#transformers #pytorch #bert #polish_bert #ner #pl #license-mit #endpoints_compatible #region-us \n"
] |
[
37
] |
[
"passage: TAGS\n#transformers #pytorch #bert #polish_bert #ner #pl #license-mit #endpoints_compatible #region-us \n"
] |
[
-0.0352044552564621,
0.006681736558675766,
-0.009268220514059067,
-0.0025695490185171366,
0.07394964247941971,
0.0077507831156253815,
0.08573590964078903,
0.061135075986385345,
0.1212211325764656,
0.0062020611949265,
0.1634882092475891,
0.2369517832994461,
-0.036432284861803055,
-0.029230842366814613,
-0.03587309271097183,
-0.25045958161354065,
0.06343331933021545,
0.09236662834882736,
0.002960050944238901,
0.11734245717525482,
0.061975374817848206,
-0.09530095756053925,
0.05993437021970749,
0.0311899334192276,
-0.06348642706871033,
0.03436598926782608,
0.02722906693816185,
-0.06982250511646271,
0.13094550371170044,
0.027885207906365395,
0.14074605703353882,
0.06110696122050285,
-0.0447915717959404,
-0.17962981760501862,
0.02523728646337986,
-0.03574150800704956,
-0.09308686852455139,
0.029618652537465096,
0.05377507954835892,
-0.08476625382900238,
0.10121430456638336,
0.04944603145122528,
-0.00433948403224349,
0.052331309765577316,
-0.1400456577539444,
-0.19129535555839539,
-0.046924252063035965,
0.1256284862756729,
0.024410029873251915,
0.04468004032969475,
0.02820170857012272,
0.1935625821352005,
-0.14757603406906128,
0.04579038545489311,
0.148225799202919,
-0.3625037968158722,
0.005982331465929747,
0.06587029248476028,
0.06459266692399979,
0.02130604349076748,
-0.03908514603972435,
0.05948053300380707,
0.033563289791345596,
0.00011134147644042969,
-0.016262060031294823,
-0.06006315350532532,
0.10112753510475159,
0.09452445060014725,
-0.10023915022611618,
-0.08072755485773087,
0.11119519174098969,
-0.01872127316892147,
0.03511444106698036,
0.015876799821853638,
-0.05795919522643089,
-0.05549745261669159,
-0.015504947863519192,
-0.01684952899813652,
-0.011427808552980423,
0.07402077317237854,
-0.009083041921257973,
-0.008174832910299301,
-0.11434680968523026,
0.04307278245687485,
-0.20352703332901,
0.1545380800962448,
0.04630275443196297,
0.06805556267499924,
-0.1585918366909027,
0.05983443930745125,
-0.032191693782806396,
-0.05077018961310387,
-0.0022456038277596235,
-0.07308464497327805,
0.08872907608747482,
-0.0010436021257191896,
-0.03401155769824982,
0.12901373207569122,
0.05507512390613556,
0.21601979434490204,
0.04421395808458328,
0.015939861536026,
0.03348000347614288,
0.1283908188343048,
-0.04019975662231445,
0.05285895615816116,
0.05246531218290329,
0.044001106172800064,
-0.0011978883994743228,
-0.15432468056678772,
0.02229103446006775,
-0.006670703180134296,
-0.11399748176336288,
-0.030704805627465248,
-0.02405623160302639,
0.08891232311725616,
-0.015315868891775608,
0.049391280859708786,
-0.06355176866054535,
0.03365180641412735,
0.07114287465810776,
-0.0007372196996584535,
0.019869182258844376,
0.012983614578843117,
0.0560273677110672,
0.16218997538089752,
-0.03399023041129112,
-0.008985176682472229,
0.00765274278819561,
0.17986434698104858,
-0.10447127372026443,
-0.005497821141034365,
-0.0137216467410326,
-0.005325545556843281,
0.08412637561559677,
-0.12228313088417053,
0.05736424773931503,
-0.1597423255443573,
-0.07679890096187592,
0.05701867491006851,
0.047841254621744156,
0.007972706109285355,
0.015210622921586037,
0.02764837257564068,
-0.006126446649432182,
-0.01989947445690632,
-0.07902485132217407,
-0.10544987767934799,
-0.061665598303079605,
0.11731987446546555,
-0.0393885113298893,
0.013239835388958454,
-0.14146524667739868,
0.034162383526563644,
-0.08479291945695877,
0.02640586905181408,
-0.084068164229393,
-0.08750086277723312,
-0.06394396722316742,
0.16203516721725464,
-0.01924670673906803,
-0.07372555881738663,
-0.09305489808320999,
0.028774119913578033,
-0.029459377750754356,
0.1386530101299286,
-0.02940545417368412,
-0.11415908485651016,
0.1752704232931137,
-0.10831131786108017,
-0.17672249674797058,
0.06074374541640282,
0.013175012543797493,
0.013468742370605469,
0.09870845824480057,
0.20456674695014954,
0.05289734899997711,
-0.17797976732254028,
0.039717983454465866,
0.13208340108394623,
-0.107257179915905,
-0.20707465708255768,
0.05358191207051277,
-0.042116522789001465,
-0.1009875163435936,
0.04054128751158714,
-0.035353884100914,
0.10447680205106735,
-0.0721813291311264,
-0.04157568886876106,
-0.004442842677235603,
-0.00138833315577358,
0.05629877746105194,
0.04590525105595589,
0.08285101503133774,
-0.09266277402639389,
-0.046064041554927826,
0.06733091920614243,
-0.012495413422584534,
0.06933899968862534,
0.06454534828662872,
-0.07879997789859772,
0.11295334994792938,
0.023780368268489838,
-0.033546242862939835,
-0.12040384858846664,
-0.048423364758491516,
-0.030425114557147026,
-0.0031739668920636177,
0.00415594968944788,
0.131228506565094,
0.07919581979513168,
-0.07898716628551483,
-0.017081456258893013,
-0.009044595062732697,
0.1242903620004654,
0.037117041647434235,
-0.010184037499129772,
-0.09434824436903,
0.013330901972949505,
-0.040098637342453,
-0.08444326370954514,
-0.04990578815340996,
0.0031070723198354244,
0.14988435804843903,
0.13510249555110931,
-0.057354886084795,
0.04073958098888397,
-0.09067779779434204,
0.02729431539773941,
-0.01647307723760605,
0.029410066083073616,
0.14473849534988403,
0.022173767909407616,
-0.08010685443878174,
0.16041387617588043,
-0.033302173018455505,
0.3105517625808716,
0.20900307595729828,
-0.24032028019428253,
0.012591942213475704,
-0.06177116185426712,
-0.04967021942138672,
0.013390112668275833,
0.09784408658742905,
-0.012865533120930195,
0.059489134699106216,
0.009009286761283875,
0.10239957273006439,
-0.04037250578403473,
-0.06409100443124771,
0.012236990965902805,
-0.0248252060264349,
-0.06241392344236374,
0.08420436084270477,
0.17894792556762695,
-0.16395920515060425,
0.1723605990409851,
0.30346354842185974,
0.059899237006902695,
0.09139390289783478,
-0.07656970620155334,
0.011885548941791058,
-0.00473336037248373,
0.0317210927605629,
-0.026303593069314957,
0.07441675662994385,
-0.21960967779159546,
-0.017674006521701813,
0.054403822869062424,
-0.015484040603041649,
0.04853860288858414,
-0.14965245127677917,
-0.08159042149782181,
0.005984514020383358,
0.013001537881791592,
-0.085014209151268,
0.0951184630393982,
-0.022602230310440063,
0.06828323006629944,
-0.009370725601911545,
-0.10918810218572617,
0.11949988454580307,
0.0313493087887764,
-0.060425788164138794,
0.11920769512653351,
-0.09218563139438629,
-0.15658822655677795,
-0.10866828262805939,
-0.14170745015144348,
0.040043171495199203,
-0.010624624788761139,
0.09408999979496002,
-0.043597109615802765,
-0.015933984890580177,
0.0970941036939621,
0.019749624654650688,
-0.14993500709533691,
0.04599645733833313,
-0.08614128082990646,
0.004500426352024078,
-0.0767911821603775,
-0.09104892611503601,
-0.08959772437810898,
-0.06689752638339996,
-0.036995671689510345,
0.06935110688209534,
-0.08991436660289764,
0.053989753127098083,
0.09292590618133545,
0.021789060905575752,
0.06456892937421799,
-0.04277769476175308,
0.19056983292102814,
-0.035535164177417755,
-0.025088485330343246,
0.1242315024137497,
-0.01362471655011177,
0.1018509492278099,
0.12287233024835587,
0.08169862627983093,
-0.04772355780005455,
-0.04182544723153114,
-0.04726232588291168,
-0.08573419600725174,
-0.19944091141223907,
-0.08912032842636108,
-0.11004632711410522,
0.04078637808561325,
0.023729460313916206,
0.06249010190367699,
0.08361990004777908,
0.0734383761882782,
0.019538631662726402,
-0.11409822106361389,
-0.052168428897857666,
0.08146296441555023,
0.3248491883277893,
-0.0466422513127327,
0.07972337305545807,
-0.07748448848724365,
-0.10295593738555908,
0.08133327960968018,
-0.003048382233828306,
0.11901668459177017,
0.16158467531204224,
0.029337303712964058,
0.11037063598632812,
0.19649919867515564,
0.14318783581256866,
0.08052898198366165,
-0.017640437930822372,
-0.04919455572962761,
-0.012007751502096653,
-0.01738300919532776,
-0.0025772673543542624,
0.023801276460289955,
0.08519382774829865,
-0.1287749707698822,
-0.009936506859958172,
-0.28722697496414185,
0.04920702427625656,
0.019057760015130043,
0.04361802339553833,
-0.1416180282831192,
0.01488064881414175,
0.04590198025107384,
0.0007267732289619744,
-0.01635168306529522,
0.09349098801612854,
-0.06402824819087982,
-0.10535261034965515,
0.09047690778970718,
-0.04249773174524307,
0.08761423081159592,
0.04254678636789322,
0.08135878294706345,
0.00017009493603836745,
-0.12191618978977203,
0.05337030813097954,
0.07787909358739853,
-0.2467084527015686,
0.27199530601501465,
-0.005189090501517057,
-0.04181898385286331,
-0.02670419216156006,
-0.06133122742176056,
-0.01265745609998703,
0.19313307106494904,
0.13168662786483765,
0.04549737647175789,
-0.06982122361660004,
-0.09508539736270905,
0.031669583171606064,
0.02410697378218174,
0.11312226206064224,
-0.00921847764402628,
-0.05716327205300331,
-0.014211384579539299,
0.0017144127050414681,
0.005079635418951511,
0.08039646595716476,
0.017704537138342857,
-0.12640132009983063,
0.04170816391706467,
0.020362408831715584,
0.035953033715486526,
-0.0239793062210083,
-0.04057172313332558,
-0.12075428664684296,
0.11671435832977295,
-0.1093066930770874,
-0.04226499795913696,
-0.09882570803165436,
-0.16325251758098602,
0.05424334481358528,
-0.08759309351444244,
0.06580441445112228,
-0.06374996155500412,
-0.0940854400396347,
-0.10047191381454468,
-0.13437220454216003,
0.12497841566801071,
-0.07572781294584274,
-0.0007487840484827757,
-0.050870440900325775,
0.22389855980873108,
-0.033541738986968994,
0.02449256367981434,
0.004064743407070637,
0.035378504544496536,
-0.09170332551002502,
-0.11218840628862381,
0.010577715002000332,
-0.07025224715471268,
0.037751439958810806,
-0.09935416281223297,
-0.06097801774740219,
0.11038177460432053,
0.020966829732060432,
-0.015991929918527603,
0.18218418955802917,
0.2566697299480438,
-0.04655669257044792,
0.16292919218540192,
0.18509350717067719,
-0.05712521821260452,
-0.25090107321739197,
-0.10662418603897095,
-0.1734187752008438,
-0.08026382327079773,
0.01960088312625885,
-0.11411424726247787,
0.10310935974121094,
0.05458376929163933,
-0.053252026438713074,
0.1028544157743454,
-0.2308276742696762,
-0.08407848328351974,
0.1646949201822281,
-0.016684407368302345,
0.46656984090805054,
-0.09977231174707413,
-0.09580644965171814,
0.031373389065265656,
-0.2080095410346985,
0.1292063146829605,
0.05802600085735321,
0.04422498494386673,
-0.02281625010073185,
0.0703645870089531,
0.014620060101151466,
-0.07501626759767532,
0.12602655589580536,
0.029667526483535767,
0.022869883105158806,
-0.07068172097206116,
-0.12190010398626328,
0.07576951384544373,
0.01218488346785307,
-0.02802473120391369,
-0.05928012728691101,
0.0002514850930310786,
-0.12241749465465546,
-0.03817452862858772,
-0.10760761052370071,
0.10958739370107651,
0.00006562907219631597,
-0.06919290125370026,
-0.04690736159682274,
0.0034893874544650316,
-0.021051986142992973,
-0.0320095494389534,
0.2680037319660187,
-0.019237957894802094,
0.14799775183200836,
0.009228065609931946,
0.02880149893462658,
-0.16944727301597595,
-0.1210058405995369,
-0.08014484494924545,
-0.08231541514396667,
0.0620703361928463,
-0.05676900967955589,
-0.0026139726396650076,
0.16948935389518738,
0.002083212835714221,
0.015953171998262405,
0.09087084978818893,
-0.02070903405547142,
-0.050189342349767685,
0.1244618147611618,
-0.17026637494564056,
-0.09844786673784256,
-0.006143022794276476,
0.004371372517198324,
0.12130121141672134,
0.101835235953331,
0.05107567459344864,
0.003924122080206871,
-0.0008851264137774706,
0.018792329356074333,
-0.04405403882265091,
-0.08303891122341156,
-0.012963313609361649,
0.05994643643498421,
0.006716656964272261,
-0.10186869651079178,
0.00014965927402954549,
-0.02543274126946926,
-0.19469738006591797,
-0.06524713337421417,
0.07652915269136429,
-0.1303679347038269,
-0.08424420654773712,
-0.08443303406238556,
0.05794520676136017,
-0.19437147676944733,
-0.03412898629903793,
-0.009582346305251122,
-0.13599763810634613,
0.07984372228384018,
0.23507826030254364,
0.09322086721658707,
0.09271103888750076,
-0.028014877811074257,
-0.014063897542655468,
0.037083711475133896,
-0.035339806228876114,
-0.06796326488256454,
0.029289957135915756,
-0.07939840108156204,
0.013017703779041767,
0.0135871060192585,
0.1007264032959938,
-0.06460046768188477,
-0.039211954921483994,
-0.19287043809890747,
0.06888078153133392,
-0.09270446002483368,
-0.10369928926229477,
-0.13096016645431519,
-0.05544232577085495,
0.022002700716257095,
-0.11176494508981705,
-0.06382299214601517,
-0.03753204271197319,
-0.1231297180056572,
0.056824684143066406,
0.06087179854512215,
0.07324890047311783,
-0.0798189640045166,
-0.019713466987013817,
0.1397927850484848,
-0.02744801715016365,
0.07775486260652542,
0.11126906424760818,
-0.046800896525382996,
0.13077494502067566,
-0.11744638532400131,
-0.08698888123035431,
0.08647843450307846,
0.011446107178926468,
0.029479114338755608,
0.07274236530065536,
0.01187803503125906,
0.09565010666847229,
0.011253473348915577,
0.07495251297950745,
-0.05194004625082016,
-0.1231704130768776,
0.02952374704182148,
0.05863342061638832,
-0.1566610187292099,
-0.004229660611599684,
-0.1023937314748764,
0.09482648968696594,
0.0008326783427037299,
0.1391182839870453,
-0.00046168448170647025,
0.047410085797309875,
-0.03153624013066292,
0.010050103068351746,
0.006374370772391558,
-0.16243502497673035,
0.009658785536885262,
-0.0898451954126358,
-0.042259279638528824,
-0.008686700835824013,
0.29168733954429626,
-0.03524313122034073,
-0.13411986827850342,
0.08496464043855667,
0.08758598566055298,
-0.04005696251988411,
-0.025901591405272484,
0.2698194086551666,
0.08515859395265579,
-0.016137611120939255,
-0.1119552031159401,
0.05625208839774132,
-0.039678916335105896,
-0.07207479327917099,
0.11754179000854492,
0.15651965141296387,
0.0036285563837736845,
0.04788133129477501,
0.05979979410767555,
0.024510638788342476,
-0.0971674695611,
-0.2008875012397766,
0.027504393830895424,
0.036208175122737885,
-0.012009473517537117,
0.21314430236816406,
0.15293803811073303,
-0.03543408215045929,
0.02755357325077057,
-0.020536234602332115,
0.0011550441849976778,
-0.16255661845207214,
-0.1370186060667038,
-0.025808503851294518,
-0.10756314545869827,
0.06024639680981636,
0.01574661210179329,
0.015228720381855965,
0.1354038119316101,
0.06144224852323532,
-0.03261015564203262,
0.02397475391626358,
0.015090374276041985,
-0.05056186020374298,
-0.010892198421061039,
-0.00922064296901226,
0.023510342463850975,
-0.09500300139188766,
-0.024157768115401268,
-0.13041847944259644,
-0.10967409610748291,
-0.06561209261417389,
0.012077093124389648,
-0.0431637279689312,
-0.028993159532546997,
-0.08443383127450943,
-0.07230201363563538,
-0.049782346934080124,
0.05530497431755066,
-0.018470996990799904,
0.13018710911273956,
-0.04120877757668495,
0.03288450092077255,
0.013064096681773663,
0.10690784454345703,
-0.027193546295166016,
-0.07098355889320374,
0.056897372007369995,
0.20732930302619934,
0.052406031638383865,
0.09646697342395782,
0.01329452358186245,
0.056217536330223083,
-0.013134745880961418,
0.28677114844322205,
0.2629854679107666,
0.011458508670330048,
0.053481340408325195,
0.039086416363716125,
0.03499005734920502,
0.12472277134656906,
0.08398701250553131,
0.06061737239360809,
0.2843400537967682,
-0.11266133934259415,
-0.016757782548666,
-0.046286895871162415,
0.01681710220873356,
-0.08878226578235626,
0.08727867901325226,
0.040941596031188965,
-0.07796695083379745,
-0.07987124472856522,
0.08940695226192474,
-0.1620725840330124,
0.09547983855009079,
0.10969176888465881,
-0.14592906832695007,
-0.0129578011110425,
-0.022908523678779602,
0.1708281934261322,
0.01679791696369648,
0.09462138265371323,
-0.05321752652525902,
-0.11239346861839294,
0.019793368875980377,
0.041538503021001816,
-0.29138410091400146,
-0.0929289311170578,
0.13944289088249207,
0.0797979086637497,
0.04697958007454872,
-0.023288995027542114,
0.04869324341416359,
0.07915053516626358,
0.06229112297296524,
-0.033799294382333755,
0.028533142060041428,
0.06643644720315933,
-0.13636040687561035,
-0.12192647904157639,
-0.15996378660202026,
0.027764854952692986,
-0.06556188315153122,
0.01648334413766861,
-0.11221690475940704,
0.059972070157527924,
0.01638156734406948,
-0.06977685540914536,
-0.04756704345345497,
0.05141279846429825,
-0.0586928091943264,
0.036947209388017654,
-0.003455311758443713,
0.007752808276563883,
-0.068491630256176,
-0.05337975546717644,
-0.03153552860021591,
0.08784443885087967,
-0.13624875247478485,
-0.07447915524244308,
-0.034222304821014404,
-0.058866918087005615,
0.09618527442216873,
-0.0202469602227211,
-0.09789839386940002,
-0.047730155289173126,
-0.03451212868094444,
0.06597784161567688,
-0.1493111401796341,
0.015394046902656555,
0.041142113506793976,
0.028434837237000465,
0.01982485130429268,
-0.10545068979263306,
0.036333419382572174,
0.01275385171175003,
-0.08578801155090332,
-0.05537409335374832
] |
null | null |
transformers
|
This is a Russian NER system trained using a Frustratingly Easy Domain Adaptation architecture. It is based on RuBERT and supports different tagsets all using IOBES formats:
1. Wikiann (LOC, PER, ORG)
2. SlavNER 19/21 (EVT, LOC, ORG, PER, PRO)
4. CNE5 (GEOPOLIT, LOC, MEDIA, PER, ORG)
5. FactRuEval (LOC, ORG, PER)
PER: person, LOC: location, ORG: organization, EVT: event, PRO: product, MISC: Miscellaneous, MEDIA: media, ART: Artifact, TIME: time, DATE: date, GEOPOLIT: Geopolitical,
You can select the tagset to use in the output by configuring the model. This models manages differently uppercase words.
More information about the model can be found in the paper (https://aclanthology.org/2021.bsnlp-1.12.pdf) and GitHub repository (https://github.com/EMBEDDIA/NER_FEDA).
|
{"language": ["ru"], "license": "mit", "tags": ["rubert", "ner"]}
| null |
creat89/NER_FEDA_Ru
|
[
"transformers",
"pytorch",
"bert",
"rubert",
"ner",
"ru",
"license:mit",
"endpoints_compatible",
"region:us"
] |
2022-03-02T23:29:05+00:00
|
[] |
[
"ru"
] |
TAGS
#transformers #pytorch #bert #rubert #ner #ru #license-mit #endpoints_compatible #region-us
|
This is a Russian NER system trained using a Frustratingly Easy Domain Adaptation architecture. It is based on RuBERT and supports different tagsets all using IOBES formats:
1. Wikiann (LOC, PER, ORG)
2. SlavNER 19/21 (EVT, LOC, ORG, PER, PRO)
4. CNE5 (GEOPOLIT, LOC, MEDIA, PER, ORG)
5. FactRuEval (LOC, ORG, PER)
PER: person, LOC: location, ORG: organization, EVT: event, PRO: product, MISC: Miscellaneous, MEDIA: media, ART: Artifact, TIME: time, DATE: date, GEOPOLIT: Geopolitical,
You can select the tagset to use in the output by configuring the model. This models manages differently uppercase words.
More information about the model can be found in the paper (URL and GitHub repository (URL
|
[] |
[
"TAGS\n#transformers #pytorch #bert #rubert #ner #ru #license-mit #endpoints_compatible #region-us \n"
] |
[
35
] |
[
"passage: TAGS\n#transformers #pytorch #bert #rubert #ner #ru #license-mit #endpoints_compatible #region-us \n"
] |
[
-0.009272735565900803,
0.017336305230855942,
-0.008817093446850777,
0.0014760929625481367,
0.08726087212562561,
0.0039308276027441025,
0.0873967781662941,
0.057621315121650696,
0.13117580115795135,
0.010402694344520569,
0.17240150272846222,
0.20820778608322144,
-0.050230853259563446,
-0.046741485595703125,
-0.038881029933691025,
-0.24964894354343414,
0.06939104944467545,
0.05395916849374771,
0.0010174665367230773,
0.10216357558965683,
0.0867239460349083,
-0.07985659688711166,
0.06816768646240234,
0.023872924968600273,
-0.08908732980489731,
0.05836021155118942,
0.04481135681271553,
-0.05657649785280228,
0.12589038908481598,
0.02029230259358883,
0.13867872953414917,
0.0704561099410057,
-0.04446256533265114,
-0.18061526119709015,
0.023279784247279167,
-0.045680977404117584,
-0.10615438967943192,
0.025295035913586617,
0.06828486919403076,
-0.09855871647596359,
0.135087251663208,
0.04889192059636116,
-0.03386693075299263,
0.062799371778965,
-0.15157422423362732,
-0.1767423450946808,
-0.06421004235744476,
0.13213495910167694,
0.0072573102079331875,
0.056609220802783966,
0.018802223727107048,
0.1597978174686432,
-0.1474394053220749,
0.03585103154182434,
0.2110479325056076,
-0.3927224278450012,
-0.0017950194887816906,
0.10819535702466965,
0.058710355311632156,
0.03436828404664993,
-0.04276024550199509,
0.06342495232820511,
0.039416149258613586,
-0.007658883463591337,
-0.03732722997665405,
-0.07356856763362885,
0.04264180362224579,
0.08871224522590637,
-0.09309037774801254,
-0.057271625846624374,
0.11575597524642944,
-0.007489712443202734,
0.045435644686222076,
0.04469960927963257,
-0.06262451410293579,
-0.07983089238405228,
-0.018958721309900284,
-0.019744543358683586,
-0.017062941566109657,
0.0767279863357544,
0.0014028293080627918,
-0.007092262152582407,
-0.10748963803052902,
0.05231674388051033,
-0.1908182054758072,
0.16156920790672302,
0.04735005646944046,
0.07972399145364761,
-0.1606227457523346,
0.0520806685090065,
-0.060131072998046875,
-0.06505388766527176,
-0.009649761021137238,
-0.09779403358697891,
0.06969942152500153,
0.020119933411478996,
-0.05053999647498131,
0.13020333647727966,
0.08072561770677567,
0.24694569408893585,
0.03972472622990608,
0.005696948617696762,
0.05625913664698601,
0.1468786895275116,
-0.05788217484951019,
0.07192807644605637,
0.049734313040971756,
-0.0023704778868705034,
-0.006211498752236366,
-0.18379412591457367,
0.007292420603334904,
-0.0012433642987161875,
-0.1343040019273758,
-0.05063946545124054,
-0.05396128445863724,
0.08795242011547089,
-0.030114850029349327,
0.03903445973992348,
-0.06434391438961029,
0.039258986711502075,
0.08349809795618057,
0.011781628243625164,
0.003981081303209066,
0.01154337078332901,
0.04210827127099037,
0.14100179076194763,
-0.07511941343545914,
-0.0019965870305895805,
0.03623688220977783,
0.1542229950428009,
-0.08801231533288956,
-0.01547129638493061,
-0.022050578147172928,
-0.028340445831418037,
0.07101700454950333,
-0.18223915994167328,
0.0780087560415268,
-0.17827728390693665,
-0.06952393054962158,
0.03717340528964996,
0.06228962913155556,
-0.005789933260530233,
0.05075410008430481,
0.0070314169861376286,
-0.0279849860817194,
-0.01591806299984455,
-0.05813858285546303,
-0.14588673412799835,
-0.05219750478863716,
0.08366649597883224,
-0.051595792174339294,
0.03476615995168686,
-0.13852424919605255,
0.02806684374809265,
-0.1066424548625946,
0.021905802190303802,
-0.012538956478238106,
-0.06915203481912613,
-0.08166784793138504,
0.14809536933898926,
-0.015414430759847164,
-0.0531851090490818,
-0.10432910919189453,
0.019871091470122337,
-0.033444326370954514,
0.12459361553192139,
-0.07263833284378052,
-0.12035609781742096,
0.21109172701835632,
-0.10399983823299408,
-0.14654450118541718,
0.06393828988075256,
0.0035192149225622416,
0.00977312121540308,
0.09174951165914536,
0.19628788530826569,
0.06752839684486389,
-0.1326868087053299,
0.020865172147750854,
0.11553724110126495,
-0.12272744625806808,
-0.18880002200603485,
0.0603792779147625,
-0.008630240336060524,
-0.06107121333479881,
0.05033337324857712,
-0.046189844608306885,
0.10966890305280685,
-0.07380244880914688,
-0.047522127628326416,
0.00002999412754434161,
-0.007331399712711573,
0.08945326507091522,
0.03807510808110237,
0.08854351192712784,
-0.11234559863805771,
-0.04807582125067711,
-0.012077316641807556,
-0.0030761121306568384,
0.08141463249921799,
0.05538618937134743,
-0.07637567073106766,
0.10132311284542084,
0.05155184492468834,
-0.01982836239039898,
-0.1325414627790451,
-0.03230432793498039,
-0.016845477744936943,
0.003457446116954088,
0.019604498520493507,
0.19063271582126617,
0.08157170563936234,
-0.08269601315259933,
-0.025120925158262253,
-0.013071873225271702,
0.08612421154975891,
0.02973928116261959,
0.022226650267839432,
-0.08687945455312729,
0.01918603479862213,
-0.05402040481567383,
-0.10261020809412003,
-0.0662689208984375,
0.00007336491398746148,
0.12840117514133453,
0.12668074667453766,
-0.02361912652850151,
0.04712658002972603,
-0.11049307137727737,
0.036946266889572144,
-0.03351501375436783,
0.027017945423722267,
0.14348767697811127,
-0.001152569311670959,
-0.07746066153049469,
0.16421164572238922,
0.025680597871541977,
0.270950585603714,
0.17544715106487274,
-0.22490109503269196,
-0.00014718067541252822,
0.023644255474209785,
-0.05246857926249504,
0.026303080841898918,
0.10133689641952515,
0.008277873508632183,
0.07126664370298386,
0.009490964002907276,
0.0784410685300827,
-0.019567128270864487,
-0.05473465844988823,
0.019275832921266556,
-0.05381995439529419,
-0.05449175834655762,
0.10124772042036057,
0.1500585824251175,
-0.20999161899089813,
0.17242339253425598,
0.30435964465141296,
0.019591793417930603,
0.10645511746406555,
-0.06648573279380798,
0.016694044694304466,
-0.000680500699672848,
0.02291448600590229,
-0.019011955708265305,
0.0557209774851799,
-0.15820655226707458,
-0.031004056334495544,
0.05453047528862953,
-0.017786530777812004,
0.04134539142251015,
-0.14581897854804993,
-0.089391328394413,
-0.0017464638222008944,
0.02117266319692135,
-0.07774141430854797,
0.13503029942512512,
-0.0421164445579052,
0.06954263150691986,
-0.017413824796676636,
-0.15185128152370453,
0.11494506895542145,
0.010625233873724937,
-0.04489251226186752,
0.11821651458740234,
-0.08989565074443817,
-0.14661560952663422,
-0.1087198406457901,
-0.1697121262550354,
0.0049340068362653255,
-0.008460817858576775,
0.09204234182834625,
-0.07552836835384369,
-0.015891896560788155,
0.11008523404598236,
0.012909443117678165,
-0.13382747769355774,
0.01631724275648594,
-0.08487769961357117,
0.03148211911320686,
-0.09378374367952347,
-0.0751982256770134,
-0.0955287367105484,
-0.06527844816446304,
-0.04750446975231171,
0.09089173376560211,
-0.09588266909122467,
0.07641435414552689,
0.0808323472738266,
0.01769508235156536,
0.06010599061846733,
-0.03498205170035362,
0.19569821655750275,
-0.041601479053497314,
-0.031595971435308456,
0.12749972939491272,
-0.011524864472448826,
0.09870284795761108,
0.1527436375617981,
0.08368449658155441,
-0.05112830176949501,
-0.040153808891773224,
-0.06336736679077148,
-0.08352246135473251,
-0.22243694961071014,
-0.07769345492124557,
-0.11784230917692184,
0.039929818361997604,
0.0001588215382071212,
0.058314248919487,
0.09333610534667969,
0.06362542510032654,
0.04110009968280792,
-0.1303357034921646,
-0.031925879418849945,
0.08355805277824402,
0.27154096961021423,
-0.02838246338069439,
0.07569287717342377,
-0.08559586107730865,
-0.09891664981842041,
0.08410397917032242,
-0.000014311228369479068,
0.17264777421951294,
0.18393196165561676,
0.0708327442407608,
0.12451330572366714,
0.18202422559261322,
0.16440483927726746,
0.07076247781515121,
-0.0016264518490061164,
-0.04988984018564224,
-0.018877407535910606,
-0.011241702362895012,
0.01322050392627716,
0.03175036236643791,
0.045637428760528564,
-0.13983787596225739,
0.012777574360370636,
-0.25430500507354736,
0.05764524266123772,
0.055324070155620575,
0.06882386654615402,
-0.13305938243865967,
0.0046550980769097805,
0.0446389764547348,
-0.0015977880684658885,
0.0036352009046822786,
0.09950355440378189,
-0.04286576434969902,
-0.1187201738357544,
0.0848906934261322,
-0.037415869534015656,
0.09623473882675171,
0.08005959540605545,
0.08421601355075836,
-0.008887584321200848,
-0.10026966035366058,
0.07344204187393188,
0.07898662239313126,
-0.23122280836105347,
0.31240811944007874,
-0.022890500724315643,
-0.06147480756044388,
-0.002059299498796463,
-0.07815054804086685,
0.00037313729990273714,
0.2056422084569931,
0.14295466244220734,
0.05051540583372116,
-0.14833906292915344,
-0.08724167943000793,
0.06547357887029648,
0.025434281677007675,
0.13650427758693695,
-0.04361437261104584,
-0.05076654255390167,
-0.02781623974442482,
-0.013381266966462135,
0.0009247324196621776,
0.09690914303064346,
0.0003804465231951326,
-0.1298610270023346,
0.03276849910616875,
0.03072880208492279,
0.032129447907209396,
-0.027455506846308708,
-0.023009032011032104,
-0.09047523885965347,
0.10261070728302002,
-0.09635767340660095,
-0.015298710204660892,
-0.09421218931674957,
-0.15379010140895844,
0.05883568525314331,
-0.10817720741033554,
0.05578102171421051,
-0.06476535648107529,
-0.08168648928403854,
-0.10695451498031616,
-0.14099735021591187,
0.10800838470458984,
-0.08767521381378174,
-0.003592507913708687,
-0.0466802716255188,
0.19588406383991241,
-0.015135140158236027,
0.0335371233522892,
-0.009730024263262749,
0.056098777800798416,
-0.0865587666630745,
-0.10425008833408356,
0.023142579942941666,
-0.07024700194597244,
-0.011613836511969566,
-0.08612240850925446,
-0.057214926928281784,
0.0540398508310318,
-0.006712837144732475,
-0.009799754247069359,
0.2028488963842392,
0.2698822021484375,
-0.0797215923666954,
0.1756640523672104,
0.1724439412355423,
-0.03845309466123581,
-0.26969167590141296,
-0.11362337321043015,
-0.15350773930549622,
-0.0711938738822937,
0.028277019038796425,
-0.10481256246566772,
0.10186126828193665,
0.03448240086436272,
-0.06277788430452347,
0.10232566297054291,
-0.22987572848796844,
-0.07229667156934738,
0.1510351151227951,
-0.03717222437262535,
0.49293631315231323,
-0.05905736982822418,
-0.07669717073440552,
0.01852460764348507,
-0.2367229461669922,
0.09347021579742432,
0.07224135100841522,
0.053052034229040146,
-0.026169270277023315,
0.0503101609647274,
-0.0005818429635837674,
-0.06256309151649475,
0.11064218729734421,
0.0378812700510025,
0.02868422120809555,
-0.04827050492167473,
-0.14638033509254456,
0.09859979152679443,
0.01437724381685257,
-0.05581080541014671,
-0.04060038551688194,
0.014468982815742493,
-0.07018812745809555,
-0.033976197242736816,
-0.11227357387542725,
0.12224116921424866,
0.011909968219697475,
-0.06611711531877518,
-0.056985702365636826,
0.03156502917408943,
-0.01859542913734913,
-0.01953667774796486,
0.30104002356529236,
-0.01385604590177536,
0.14722324907779694,
-0.006496401969343424,
0.0056072077713906765,
-0.12900935113430023,
-0.0907684862613678,
-0.09481064975261688,
-0.07725497335195541,
0.05674532800912857,
-0.052028629928827286,
-0.013776232488453388,
0.1680232137441635,
-0.01877431385219097,
0.017631763592362404,
0.080686554312706,
-0.03011944890022278,
-0.0206051766872406,
0.12835614383220673,
-0.15315167605876923,
-0.10901502519845963,
-0.026232905685901642,
-0.015927033498883247,
0.14847172796726227,
0.09968745708465576,
0.061902113258838654,
-0.01923355460166931,
-0.009071622975170612,
0.020280856639146805,
-0.044872086495161057,
-0.10075364261865616,
-0.0330221988260746,
0.05569305270910263,
0.007256769109517336,
-0.09409812092781067,
0.0018251094734296203,
-0.020199991762638092,
-0.15518055856227875,
-0.07209228724241257,
0.07343388348817825,
-0.14637312293052673,
-0.09395185858011246,
-0.08029448986053467,
0.08241725713014603,
-0.21847602725028992,
-0.03630356118083,
-0.004636714700609446,
-0.10823671519756317,
0.05669260025024414,
0.22359324991703033,
0.1028502807021141,
0.076036237180233,
-0.03242779150605202,
-0.02250203676521778,
0.07223467528820038,
-0.029571285471320152,
-0.04754416644573212,
0.031415607780218124,
-0.09876292943954468,
-0.059092361479997635,
0.013007991947233677,
0.11324144154787064,
-0.06675732135772705,
-0.03317316249012947,
-0.17507946491241455,
0.06133122369647026,
-0.11292064934968948,
-0.10671712458133698,
-0.11683713644742966,
-0.05292203649878502,
-0.0008252297411672771,
-0.1274673193693161,
-0.07453620433807373,
-0.040954187512397766,
-0.14223305881023407,
0.04892101138830185,
0.05241456255316734,
0.08284350484609604,
-0.06755600869655609,
-0.021646639332175255,
0.14825184643268585,
-0.025676075369119644,
0.073563352227211,
0.12450273334980011,
-0.03897975757718086,
0.17129114270210266,
-0.139465793967247,
-0.0929429903626442,
0.08793850243091583,
0.01972704380750656,
0.05215027555823326,
0.09386076778173447,
0.010483990423381329,
0.07406619191169739,
0.0032755411230027676,
0.06631645560264587,
-0.1001962274312973,
-0.10812978446483612,
0.03349149972200394,
0.011911960318684578,
-0.16333851218223572,
-0.013754870742559433,
-0.10382268577814102,
0.12545111775398254,
0.02862808108329773,
0.1590755134820938,
-0.014369525946676731,
0.08507651835680008,
-0.0029483025427907705,
0.010293536819517612,
0.015167229808866978,
-0.1841345876455307,
-0.04440496116876602,
-0.10110429674386978,
-0.04764765501022339,
-0.03194919601082802,
0.27755698561668396,
-0.03350783511996269,
-0.13185691833496094,
0.0740937888622284,
0.05546204373240471,
-0.08061687648296356,
-0.008514869026839733,
0.2136419713497162,
0.10726883262395859,
-0.020313024520874023,
-0.14023049175739288,
0.05272461101412773,
-0.042950741946697235,
-0.10641967505216599,
0.15985888242721558,
0.1949356347322464,
0.02513112872838974,
0.041438743472099304,
0.06627454608678818,
0.03126201778650284,
-0.07622507959604263,
-0.18547314405441284,
0.020488549023866653,
0.0233992300927639,
-0.011186668649315834,
0.23438312113285065,
0.1961318999528885,
-0.03498440980911255,
0.03199104592204094,
-0.011989569291472435,
0.021568799391388893,
-0.1585479974746704,
-0.13497568666934967,
-0.038550861179828644,
-0.1261143535375595,
0.06623084843158722,
0.008080403320491314,
0.01387739460915327,
0.10593923181295395,
0.057317208498716354,
-0.04989556595683098,
0.015597334131598473,
0.002554985461756587,
-0.051860712468624115,
0.015948127955198288,
-0.02662559412419796,
-0.0008207987411879003,
-0.0624244324862957,
-0.02042601816356182,
-0.13408854603767395,
-0.10547563433647156,
-0.07568681240081787,
0.006720573641359806,
-0.05358732491731644,
-0.04470662400126457,
-0.1082862839102745,
-0.09047094732522964,
-0.041103627532720566,
0.0775621309876442,
-0.02564367651939392,
0.10387896001338959,
-0.02262844704091549,
0.0391506552696228,
0.01859024167060852,
0.11628656834363937,
-0.0216924250125885,
-0.0697910338640213,
0.0466948039829731,
0.18810321390628815,
0.06807693094015121,
0.10948604345321655,
0.007777031511068344,
0.038166798651218414,
-0.044091641902923584,
0.27518707513809204,
0.3090245723724365,
0.01994219422340393,
0.0521693155169487,
0.04113699495792389,
0.043653346598148346,
0.10145343095064163,
0.07826615869998932,
0.04469899460673332,
0.29518401622772217,
-0.11453507840633392,
-0.03900103643536568,
-0.05039147287607193,
0.020246367901563644,
-0.08498485386371613,
0.0776156336069107,
0.05172550305724144,
-0.0960984081029892,
-0.08231991529464722,
0.11272142082452774,
-0.18927597999572754,
0.048730555921792984,
0.11356979608535767,
-0.15920193493366241,
-0.0182685274630785,
-0.030180025845766068,
0.15816642343997955,
0.033029597252607346,
0.11960628628730774,
-0.056532543152570724,
-0.1275554895401001,
0.011519365943968296,
0.05045905336737633,
-0.2682642638683319,
-0.07858195155858994,
0.12351926416158676,
0.06297780573368073,
0.028931526467204094,
-0.04463397338986397,
0.03142612427473068,
0.0914224237203598,
0.06501675397157669,
-0.036176398396492004,
0.04363049566745758,
0.06185659393668175,
-0.10037332028150558,
-0.13241831958293915,
-0.12563779950141907,
0.022276008501648903,
-0.07729677855968475,
0.03809292986989021,
-0.13143979012966156,
0.06735343486070633,
0.03596934676170349,
-0.05333015322685242,
-0.06010932847857475,
0.09428989887237549,
-0.05313972383737564,
0.03093590773642063,
0.020392924547195435,
0.010607922449707985,
-0.06641271710395813,
-0.04393544793128967,
-0.018468132242560387,
0.11186479777097702,
-0.12085612863302231,
-0.0842776969075203,
0.0015429931227117777,
-0.04998350888490677,
0.11241613328456879,
-0.021229451522231102,
-0.07844624668359756,
-0.03602377325296402,
-0.04312269389629364,
0.08506255596876144,
-0.13660557568073273,
0.021383773535490036,
0.05778258293867111,
0.02617446333169937,
0.037060972303152084,
-0.14479470252990723,
0.040169697254896164,
-0.0028487122617661953,
-0.07998716831207275,
-0.06966879218816757
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.