CoolFace
Modelpublic

philschmid/roberta-large-sst2

sourceHugging Facemitupdated 4y agoView on Hugging Face
0likes198downloads
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-large-sst2

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

  • Loss: 0.1400
  • Accuracy: 0.9644

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: 32
  • evalbatchsize: 32
  • seed: 42
  • distributedtype: sagemakerdata_parallel
  • num_devices: 8
  • totaltrainbatch_size: 256
  • totalevalbatch_size: 256
  • optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • lrschedulertype: linear
  • lrschedulerwarmup_steps: 500
  • num_epochs: 4
  • mixedprecisiontraining: Native AMP

Training results

Training LossEpochStepValidation LossAccuracy
0.36881.02640.14440.9564
0.15292.05280.15020.9518
0.1073.07920.13880.9530
0.06664.010560.14000.9644

Framework versions

  • Transformers 4.17.0
  • Pytorch 1.10.2+cu113
  • Datasets 1.18.4
  • Tokenizers 0.11.6