CoolFace
Modelpublic

nosnelmil/RoBERTa-CompareTransformers-Imdb

sourceHugging Facemitupdated 3y 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. -->

results

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

  • Loss: 0.2691
  • Accuracy: 0.9287
  • Precision: 0.9287
  • Recall: 0.9287
  • F1: 0.9287
  • Auroc: 0.9772

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: 5e-05
  • trainbatchsize: 4
  • evalbatchsize: 4
  • seed: 42
  • distributed_type: multi-GPU
  • gradientaccumulationsteps: 4
  • totaltrainbatch_size: 16
  • optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • lrschedulertype: linear
  • num_epochs: 3

Training results

Training LossEpochStepValidation LossAccuracyPrecisionRecallF1Auroc
0.17640.465000.26980.90440.90440.90440.90440.9738
0.33480.9110000.27550.91170.91170.91170.91170.9686
0.14781.3715000.32750.91090.91090.91090.91090.9771
0.20511.8320000.25750.93090.93090.93090.93090.9793
0.14352.2925000.31400.92450.92450.92450.92450.9783
0.14252.7430000.26910.92870.92870.92870.92870.9772

Framework versions

  • Transformers 4.34.1
  • Pytorch 2.1.0+cu118
  • Datasets 2.14.6
  • Tokenizers 0.14.1