CoolFace
Modelpublic

ysenarath/roberta-base-sentiment140

sourceHugging Facemitupdated 2y agoView on Hugging Face
0likes8downloads
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. -->

roberta-base-sentiment140

This model is a fine-tuned version of FacebookAI/roberta-base on the sentiment140 dataset. It achieves the following results on the evaluation set:

  • Loss: 0.3988
  • Accuracy: 0.883
  • Roc Auc: 0.9515
  • Precision: 0.8802
  • Recall: 0.8784
  • F1: 0.8793

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
  • trainbatchsize: 32
  • evalbatchsize: 64
  • seed: 42
  • optimizer: Use adamwtorch with betas=(0.9,0.999) and epsilon=1e-08 and optimizerargs=No additional optimizer arguments
  • lrschedulertype: linear
  • lrschedulerwarmup_ratio: 0.1
  • num_epochs: 10

Training results

Training LossEpochStepValidation LossAccuracyRoc AucPrecisionRecallF1
0.28641.0499690.30300.7770.94700.69210.97320.8089
0.2552.0999380.28720.8850.95530.85850.91340.8851
0.2393.01499070.29210.8810.95430.86900.88870.8787
0.20424.01998760.30280.8910.95490.88210.89480.8884
0.1875.02498450.31920.890.95360.87880.89690.8878
0.16066.02998140.36700.8850.95140.87150.89480.8830
0.13437.03497830.39880.8830.95150.88020.87840.8793

Framework versions

  • Transformers 4.49.0
  • Pytorch 2.6.0+cu124
  • Datasets 3.3.2
  • Tokenizers 0.21.0