CoolFace
Modelpublic

rezaFarsh/binary_persian_sentiment_analysis

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

binarypersiansentiment_analysis

This model is a fine-tuned version of sentence-transformers/LaBSE on the None dataset. It achieves the following results on the evaluation set:

  • Loss: 0.5060
  • Accuracy: 0.8805
  • F1 Score: 0.8805

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

Training results

Training LossEpochStepValidation LossAccuracyF1 Score
0.50451.083590.52950.88160.8814
0.42112.0167180.60290.88370.8837
0.35013.0250770.50600.88050.8805
0.25414.0334360.77400.87620.8762
0.20655.0417950.80710.87460.8745
0.19156.0501540.83410.88050.8805
0.1377.0585130.92350.86440.8644
0.06058.0668720.96950.85840.8584
0.04059.0752311.00900.87510.8751
0.071210.0835901.01340.87670.8767
0.029511.0919491.02660.87080.8709
0.070412.01003080.99400.87670.8767
0.023313.01086671.07470.87620.8762
0.015314.01170261.07470.87410.8741
0.024515.01253851.00270.88370.8837
0.061816.01337440.99390.87780.8778
0.008717.01421031.04480.88540.8853
0.017418.01504621.03390.88370.8838
0.018519.01588211.11710.87780.8778
0.007520.01671801.10220.88270.8827

Framework versions

  • Transformers 4.35.2
  • Pytorch 2.1.0+cu121
  • Datasets 2.16.1
  • Tokenizers 0.15.0