CoolFace
Modelpublic

DunnBC22/bert-base-cased-finetuned-Stromberg_NLP_Twitter-PoS_v2

sourceHugging Faceapache-2.0updated 6mo agoView on Hugging Face
1likes1.1kdownloads
Model Card

bert-base-cased-finetuned-StrombergNLPTwitter-PoS_v2

This model is a fine-tuned version of bert-base-cased on the twitterposvcb dataset. It achieves the following results on the evaluation set:

  • —Loss: 0.0502
TokenPrecisionRecallF1-ScoreSupport
$0.00.00.03
''0.93123209169054440.95307917888563050.9420289855072465341
(0.97916666666666660.95918367346938770.9690721649484536196
)0.9601677148846960.97033898305084740.9652265542676501472
,0.99889795018734850.99933847850055120.99911816578483254535
.0.98391897081413220.98947622495776010.986689773028136820715
:0.99264058875289970.99710727199678580.994868916860418312445
Cc0.99910674408217960.99866071428571420.99888367939272154480
Cd0.99038846615939120.98999199359487590.99019019019019022498
Dt0.99811485895105370.99764468371467030.997879715949247814860
Ex0.91428571428571430.98461538461538470.948148148148148265
Fw1.00.10.1818181818181818210
Ht0.9998775410237570.99975511203624350.99981632278209788167
In0.99603993530035140.99548469814370920.995762239321958317939
Jj0.98124706985466480.98347560498081290.982360073532287712769
Jjr0.93045112781954890.96868884540117420.9491850431447747511
Jjs0.95784148397976390.97260273972602740.9651656754460493584
Md0.99013987617518920.99082147774208350.9904805596972134358
Nn0.98102855631940780.98196976213319220.981498933584643730227
Nnp0.96097226977062660.94671163575042160.95378865103635758895
Nnps1.00.0370370370370370350.0714285714285714227
Nns0.96977710615791460.97765646819855280.97370084713617397877
Pos0.99772727272727270.9843049327354260.9909706546275394446
Prp0.99835033498299830.99851841874873730.998434369791754429698
Prp$0.99742621825669190.99742621825669190.99742621825669195828
Rb0.99397703745529830.99298025697273580.993478397190694215955
Rbr0.90588235294117650.81914893617021280.860335195530726394
Rbs0.921.00.958333333333333469
Rp0.98021978021978020.99037749814951890.98527245949926361351
Rt0.99950653836664190.99962985811227630.99956819443587698105
Sym0.00.00.09
To0.99846494968446190.99897610921501710.99872046404503985860
Uh0.96144601480626870.95075109336375740.956068645728763310518
Url1.00.99972429004687070.99986212601682073627
Usr0.99990253886262851.00.999951267056530320519
Vb0.96193025989290850.95705561330561330.959486745261512515392
Vbd0.95928941524796450.95487198379075330.95707560232622555429
Vbg0.98488310775180180.9841911118917970.98453698822702515693
Vbn0.90534085974815460.91648351648351640.9108781127129752275
Vbp0.9636057182096260.96662283173648940.965111916968863315969
Vbz0.98817802503477050.98612074947952810.98714831538728725764
Wdt0.86666666666666670.92857142857142860.89655172413793114
Wp0.991250.9937343358395990.99249061326658321596
Wrb0.99634888438133870.99796830556684280.99715793747462442461
``0.94818652849740940.97860962566844920.963157894736842187

Overall

  • —Accuracy: 0.9853
  • —Macro avg:
  • —Precision: 0.9296417163691048
  • —Recall: 0.8931046018294694
  • —F1-score: 0.8930917459781836
  • —Support: 308833
  • —Weighted avg:
  • —Precision: 0.985306457604231
  • —Recall: 0.9853480683735223
  • —F1-Score: 0.9852689858931941
  • —Support: 308833

Model description

For more information on how it was created, check out the following link: https://github.com/DunnBC22/NLPProjects/blob/main/Token%20Classification/Monolingual/StrombergNLP-Twitterposvcb/NER%20Project%20Using%20StrombergNLP%20Twitterpos_vcb%20Dataset%20with%20PosEval.ipynb.

Intended uses & limitations

This model is intended to demonstrate my ability to solve a complex problem using technology.

Training and evaluation data

Dataset Source: https://huggingface.co/datasets/strombergnlp/twitterposvcb

Training procedure

Training hyperparameters

The following hyperparameters were used during training:

  • —learning_rate: 2e-05
  • —trainbatchsize: 16
  • —evalbatchsize: 16
  • —seed: 42
  • —optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • —lrschedulertype: linear
  • —num_epochs: 2

Training results

Framework versions

  • —Transformers 4.28.1
  • —Pytorch 2.0.0
  • —Datasets 2.11.0
  • —Tokenizers 0.13.3

License Notice

This model is a fine-tuned derivative of a pretrained model. Users must comply with the original model license.

Dataset Notice

This model was fine-tuned on third-party datasets which may have separate licenses or usage restrictions.