CoolFace
Modelpublic

Startup-Exchange/tps_sentimental_analysis

sourceHugging Facemitupdated 3y agoView on Hugging Face
2likes12downloads
Model Card

<!-- 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. -->

tpssentimentalanalysis

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

  • Loss: 0.2586
  • Accuracy: 0.9604

Model description

A fine-tuned version of bert-base-uncased

Intended uses & limitations

Sentimental Analysis | Lines | Emotions | |:-----:|:--------:| |Hi, Harper. I’m really happy you came.| Positive | |Happy Father’s Day.| Positive | |It was Christmas.| Neutral | |HARPER sits at a table alone in a room.| Neutral | |I am mad at you badly.| Negative |

Training and evaluation data

financial_phrasebank

Training procedure

Training hyperparameters

The following hyperparameters were used during training:

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

Training results

Training LossEpochStepValidation LossAccuracy
No log1.01140.52930.8230
No log2.02280.08040.9779
No log3.03420.03670.9867
No log4.04560.15440.9646
0.32415.05700.04970.9912
0.32416.06840.05200.9912
0.32417.07980.03180.9912
0.32418.09120.06280.9912
0.02189.010260.07770.9867
0.021810.011400.08660.9867

Framework versions

  • Transformers 4.30.1
  • Pytorch 2.1.0+cu118
  • Tokenizers 0.13.3