CoolFace
Modelpublic

Ahmed235/roberta-base-topic_classification_simple2

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

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.1250
  • Accuracy: {'accuracy': 0.866996699669967}
  • F1: {'f1': 0.8657113367537151}

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.03130.5920{'accuracy': 0.8158415841584158}{'f1': 0.8063426391052376}
0.75072.06260.5183{'accuracy': 0.8419141914191419}{'f1': 0.8450438669495921}
0.75073.09390.5089{'accuracy': 0.8514851485148515}{'f1': 0.8522994355907825}
0.31994.012520.6030{'accuracy': 0.8508250825082508}{'f1': 0.8484331857141633}
0.15045.015650.6894{'accuracy': 0.8617161716171617}{'f1': 0.8599694556754336}
0.15046.018780.8381{'accuracy': 0.8448844884488449}{'f1': 0.8461993387843019}
0.08227.021910.8515{'accuracy': 0.8554455445544554}{'f1': 0.8542784950089077}
0.05518.025040.9319{'accuracy': 0.8531353135313532}{'f1': 0.853451943641699}
0.05519.028170.9478{'accuracy': 0.8577557755775578}{'f1': 0.8565849659994866}
0.037710.031300.9998{'accuracy': 0.8554455445544554}{'f1': 0.8550659197552203}
0.037711.034431.0025{'accuracy': 0.8554455445544554}{'f1': 0.8550137537621838}
0.027912.037561.0728{'accuracy': 0.8574257425742574}{'f1': 0.8566278925949554}
0.013213.040691.0873{'accuracy': 0.8623762376237624}{'f1': 0.8610125122049608}
0.013214.043821.0989{'accuracy': 0.8653465346534653}{'f1': 0.863969705278768}
0.012415.046951.1379{'accuracy': 0.8643564356435643}{'f1': 0.8630599594036119}
0.009516.050081.1207{'accuracy': 0.8653465346534653}{'f1': 0.8639194427774014}
0.009517.053211.1053{'accuracy': 0.866006600660066}{'f1': 0.8652013668499585}
0.007418.056341.1296{'accuracy': 0.863036303630363}{'f1': 0.8615189712315606}
0.007419.059471.1099{'accuracy': 0.8689768976897689}{'f1': 0.867663744149239}
0.004620.062601.1250{'accuracy': 0.866996699669967}{'f1': 0.8657113367537151}

Framework versions

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