CoolFace
Modelpublic

sahn/distilbert-base-uncased-finetuned-imdb-tag

sourceHugging Faceapache-2.0updated 4y agoView on Hugging Face
0likes28downloads
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. -->

distilbert-base-uncased-finetuned-imdb-tag

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

  • —Loss: 0.2215
  • —Accuracy: 0.9672

Model description

More information needed

Intended uses & limitations

More information needed

Training and evaluation data

For 90% of the sentences, added 10/10 at the end of the sentences with the label 1, and 1/10 with the label 0.

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

Training results

Training LossEpochStepValidation LossAccuracy
0.08951.012500.13320.9638
0.04832.025000.07450.9772
0.02463.037500.18000.9666
0.00584.050000.13700.9774
0.00255.062500.22150.9672

Framework versions

  • —Transformers 4.19.2
  • —Pytorch 1.11.0+cu113
  • —Datasets 2.2.2
  • —Tokenizers 0.12.1