CoolFace
Modelpublic

noahnsimbe/DistilBERT-yelp-sentiment-analysis

sourceHugging Faceapache-2.0updated 2y agoView on Hugging Face
0likes23downloads
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-yelp-sentiment-analysis

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

  • —Loss: 0.4803
  • —Accuracy: 0.8299
  • —F1: 0.6263
  • —Precision: 0.6756
  • —Recall: 0.6342

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: 2e-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 LossAccuracyF1PrecisionRecall
0.57641.07720.46690.82990.60680.62290.6239
0.3882.015440.58140.78050.64970.63560.6815
0.26893.023160.71250.82730.71690.72610.7266
0.20194.030880.80570.82340.68440.68420.6847
0.14985.038600.96110.83510.68900.69520.6836
0.10096.046321.06800.81690.69240.69300.6981
0.07627.054041.21470.82470.66420.66650.6626
0.04418.061761.39390.81430.70160.71250.7143
0.04719.069481.29030.83250.71090.71360.7116
0.05410.077201.10240.84420.70890.71800.7035

Framework versions

  • —Transformers 4.39.3
  • —Pytorch 2.2.2+cu121
  • —Datasets 2.18.0
  • —Tokenizers 0.15.2