CoolFace
Modelpublic

Ahmed235/roberta-base-topic_classification_simple

sourceHugging Facemitupdated 3y agoView on Hugging Face
0likes11downloads
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-topicclassificationsimple

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

  • Loss: 1.3253
  • Accuracy: {'accuracy': 0.8445839874411303}
  • F1: {'f1': 0.8435559601445874}

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: 32
  • seed: 42
  • optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • lrschedulertype: linear
  • num_epochs: 20

Training results

Training LossEpochStepValidation LossAccuracyF1
No log1.03530.6772{'accuracy': 0.7905359946176272}{'f1': 0.7881026657042776}
0.83042.07060.6028{'accuracy': 0.8187934514465127}{'f1': 0.8207294945978928}
0.38393.010590.5942{'accuracy': 0.8344920385736713}{'f1': 0.8333019225828988}
0.38394.014120.6904{'accuracy': 0.8340435075128952}{'f1': 0.8330992428789376}
0.20155.017650.8314{'accuracy': 0.8264184794797039}{'f1': 0.82429813311833}
0.1186.021180.8572{'accuracy': 0.8356133662256111}{'f1': 0.8349736274018552}
0.1187.024710.9742{'accuracy': 0.8383045525902669}{'f1': 0.8376600364979794}
0.08048.028241.0628{'accuracy': 0.8333707109217313}{'f1': 0.8313400577604307}
0.05089.031771.0866{'accuracy': 0.8333707109217313}{'f1': 0.832415418717587}
0.040610.035301.1633{'accuracy': 0.8432383942588024}{'f1': 0.8425868379595812}
0.040611.038831.2132{'accuracy': 0.8400986768333707}{'f1': 0.8388873470699977}
0.024512.042361.2799{'accuracy': 0.836958959407939}{'f1': 0.8378019487138132}
0.013913.045891.2379{'accuracy': 0.8434626597891904}{'f1': 0.8429633731503271}
0.013914.049421.2578{'accuracy': 0.8445839874411303}{'f1': 0.8439974594663667}
0.01415.052951.3392{'accuracy': 0.8407714734245346}{'f1': 0.8405188286141088}
0.011116.056481.2977{'accuracy': 0.8443597219107423}{'f1': 0.8438293082262649}
0.009917.060011.3405{'accuracy': 0.8412200044853106}{'f1': 0.8400992068548403}
0.009918.063541.3433{'accuracy': 0.8405472078941467}{'f1': 0.839917724407298}
0.004119.067071.3269{'accuracy': 0.8445839874411303}{'f1': 0.8434224071770644}
0.004120.070601.3253{'accuracy': 0.8445839874411303}{'f1': 0.8435559601445874}

Framework versions

  • Transformers 4.35.2
  • Pytorch 2.1.0+cu121
  • Datasets 2.16.1
  • Tokenizers 0.15.1