CoolFace
Modelpublic

NEU-Text-Moderator/phobert-v2-finetune-hatespeech-kaggle

sourceHugging Faceupdated 3y agoView on Hugging Face
0likes13downloads
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. -->

phobert-v2-finetune-hatespeech-kaggle

This model is a fine-tuned version of vinai/phobert-base-v2 on an unknown dataset. It achieves the following results on the evaluation set:

  • —Loss: 0.7815
  • —Accuracy: 0.8713

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

Training results

Training LossEpochStepValidation LossAccuracy
0.20351.026780.47160.8707
0.23722.053560.43660.8744
0.19863.080340.46180.8681
0.1754.0107120.54750.8749
0.15335.0133900.61770.8720
0.12136.0160680.61540.8735
0.11717.0187460.67090.8739
0.0968.0214240.73360.8724
0.0789.0241020.74960.8688
0.083210.0267800.78150.8713

Framework versions

  • —Transformers 4.33.0
  • —Pytorch 2.0.0
  • —Datasets 2.1.0
  • —Tokenizers 0.13.3