CoolFace
Modelpublic

arman1o1/yelp_review_classifier

sourceHugging Faceapache-2.0updated 9mo agoView on Hugging Face
0likes70downloads
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. -->

yelpreviewclassifier

This model is a fine-tuned version of google-bert/bert-base-cased on Yelp/yelp_review_full dataset. It achieves the following results on the evaluation set:

  • Loss: 0.7121
  • Accuracy: 0.6864

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: 5e-05
  • trainbatchsize: 64
  • evalbatchsize: 64
  • seed: 42
  • gradientaccumulationsteps: 2
  • totaltrainbatch_size: 128
  • optimizer: Use OptimizerNames.ADAMWTORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizerargs=No additional optimizer arguments
  • lrschedulertype: linear
  • num_epochs: 1
  • mixedprecisiontraining: Native AMP

Training results

Training LossEpochStepValidation LossAccuracy
0.36640.09855000.83230.6359
0.81240.196910000.79540.6487
0.79150.295415000.78460.6562
0.76930.393820000.75090.6699
0.75910.492325000.74250.6719
0.74560.590730000.73230.6773
0.7440.689235000.72820.6806
0.73470.787640000.71810.6838
0.72770.886145000.71580.6841
0.7190.984550000.71210.6864

Framework versions

  • Transformers 4.55.4
  • Pytorch 2.7.0+gitf717b2a
  • Datasets 3.6.0
  • Tokenizers 0.21.4