CoolFace
Modelpublic

minh21/XLNet-Reddit-Sentiment-Analysis

sourceHugging Facemitupdated 3y agoView on Hugging Face
3likes25downloads
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-Sentiment-Analysis

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.7042
  • Rmse: 0.6062
  • Accuracy: 0.8574

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: 7

Training results

Training LossEpochStepValidation LossRmseAccuracy
0.83181.037900.70420.60620.8574
0.69792.075800.83260.67540.8416
0.74973.0113701.07640.74460.8004
0.84444.0151600.95290.66280.8458
0.68795.0189500.80140.64420.8479
0.53066.0227400.72520.61740.8627
0.4667.0265300.73640.59650.8691

Framework versions

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