CoolFace
Modelpublic

Arvnd03/Hate-Speech-Detection-Tweets-RoBERTa-base

sourceHugging Facemitupdated 3y agoView on Hugging Face
1likes8downloads
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. -->

Hate-Speech-Detection-Tweets-RoBERTa-base

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

  • —Loss: 0.1037
  • —Accuracy: 0.9904
  • —F1: 0.9884

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

Training results

Training LossEpochStepValidation LossAccuracyF1
0.06941.025580.06000.98360.9801
0.05562.051160.06570.98620.9832
0.03163.076740.06850.98520.9822
0.02184.0102320.08310.98780.9851
0.0165.0127900.07690.98770.9850
0.00826.0153480.06540.98940.9873
0.00577.0179060.09230.98670.9840
0.0068.0204640.11430.98750.9850
0.00069.0230220.11000.98960.9875
0.003410.0255800.10370.99040.9884
0.001911.0281380.11340.98990.9878
0.003812.0306960.10760.98980.9877
0.013.0332540.12520.98960.9874
0.014.0358120.12550.98920.9869
0.000815.0383700.11610.99020.9882

Framework versions

  • —Transformers 4.26.1
  • —Pytorch 2.0.1
  • —Datasets 2.10.1
  • —Tokenizers 0.13.3