Team Ai
Modelpublic

minh21/XLNet-Reddit-Toxic-Comment-Classification-10-epochs

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

XLNet-Reddit-Toxic-Comment-Classification-10-epochs

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

  • —Loss: 0.3201
  • —Rmse: 0.2815
  • —Accuracy: 0.9208

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

Training results

Training LossEpochStepValidation LossRmseAccuracy
0.3731.010730.32410.30530.9068
0.25432.021460.32010.28150.9208
0.23.032190.41400.27640.9236
0.15534.042920.35020.28960.9161
0.12735.053650.48660.30070.9096
0.09146.064380.48580.27810.9226
0.08087.075110.41640.27130.9264
0.05558.085840.43230.27310.9254
0.04489.096570.47820.28470.9189
0.033910.0107300.50520.28640.9180

Framework versions

  • —Transformers 4.35.0.dev0
  • —Pytorch 2.0.0
  • —Datasets 2.1.0
  • —Tokenizers 0.14.1