CoolFace
Modelpublic

andrewoh/RoBERTa-finetuned-movie-reviews-sentiment-analysis

sourceHugging Faceupdated 1y agoView on Hugging Face
0likes4downloads
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-finetuned-movie-reviews-sentiment-analysis

This model is a fine-tuned version of andrewoh/RoBERTa-finetuned-movie-reviews-accelerate on the None dataset. It achieves the following results on the evaluation set:

  • —Loss: 0.2558
  • —Accuracy: 0.9502
  • —F1: 0.9502
  • —Precision: 0.9502
  • —Recall: 0.9502

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: 1.4194319527311645e-05
  • —trainbatchsize: 16
  • —evalbatchsize: 16
  • —seed: 42
  • —optimizer: Use OptimizerNames.ADAMWTORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizerargs=No additional optimizer arguments
  • —lrschedulertype: linear
  • —lrschedulerwarmup_steps: 389
  • —num_epochs: 4
  • —mixedprecisiontraining: Native AMP

Training results

Training LossEpochStepValidation LossAccuracyF1PrecisionRecall
0.18721.025000.18620.94230.94230.94270.9421
0.15012.050000.21560.94720.94720.94750.9471
0.10753.075000.24250.9450.94500.94540.9452
0.06294.0100000.25580.95020.95020.95020.9502

Framework versions

  • —Transformers 4.52.4
  • —Pytorch 2.6.0+cu124
  • —Datasets 2.14.4
  • —Tokenizers 0.21.1