CoolFace
Modelpublic

Etelis/Sentiment140_XLNET_5E

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

Sentiment140XLNET5E

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

  • Loss: 0.3797
  • Accuracy: 0.84

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

Training results

Training LossEpochStepValidation LossAccuracy
0.66870.08500.51940.76
0.57540.161000.45000.7867
0.53380.241500.37250.8333
0.50650.322000.40930.8133
0.45520.42500.39100.8267
0.53520.483000.38880.82
0.4150.563500.38870.8267
0.47160.644000.38880.84
0.45650.724500.36190.84
0.44470.85000.37580.8333
0.44070.885500.36640.8133
0.460.966000.37970.84

Framework versions

  • Transformers 4.24.0
  • Pytorch 1.13.0
  • Datasets 2.3.2
  • Tokenizers 0.13.1