CoolFace
Modelpublic

ndsanjana/bert-finetuned-twitter_sentiment_analysis

sourceHugging Faceapache-2.0updated 2y agoView on Hugging Face
0likes2downloads
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. -->

bert-finetuned-twittersentimentanalysis

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: 0.4175
  • —F1: 0.7741
  • —Roc Auc: 0.8301
  • —Accuracy: 0.7639

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: 3e-05
  • —trainbatchsize: 16
  • —evalbatchsize: 16
  • —seed: 42
  • —gradientaccumulationsteps: 2
  • —totaltrainbatch_size: 32
  • —optimizer: Use adamwtorch with betas=(0.9,0.999) and epsilon=1e-08 and optimizerargs=No additional optimizer arguments
  • —lrschedulertype: linear
  • —num_epochs: 5

Training results

Training LossEpochStepValidation LossF1Roc AucAccuracy
No log1.01970.35460.76130.81720.7210
No log2.03940.33120.76220.81510.6924
0.31213.05910.35110.76990.82440.7368
0.31214.07880.40180.78330.83550.7654
0.31215.09850.41750.77410.83010.7639

Framework versions

  • —Transformers 4.46.3
  • —Pytorch 2.4.1+cu121
  • —Datasets 3.2.0
  • —Tokenizers 0.20.3