Team Ai
Modelpublic

rezaFarsh/ternary_persian_sentiment_analysis

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

ternarypersiansentiment_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.4914
  • —Accuracy: 0.8458
  • —F1 Score: 0.8459

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: 1e-05
  • —trainbatchsize: 8
  • —evalbatchsize: 8
  • —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.4961.013940.47080.81920.8186
0.41772.027880.49140.84580.8459
0.32373.041820.57360.83540.8356
0.28744.055760.73090.82160.8217
0.21425.069700.92560.81840.8187
0.14946.083641.06080.82000.8197
0.13967.097581.06380.82570.8256
0.09838.0111521.20880.82000.8200
0.09079.0125461.36530.80790.8083
0.072710.0139401.30320.83050.8307
0.052611.0153341.46890.81840.8184
0.041312.0167281.48750.82240.8227
0.026513.0181221.61850.82410.8242
0.036614.0195161.71350.81680.8168
0.025115.0209101.66070.82490.8251
0.015116.0223041.79220.81110.8111
0.015917.0236981.73030.82000.8201
0.016318.0250921.75550.82320.8232
0.017819.0264861.76800.82320.8232
0.014720.0278801.75460.82160.8217

Framework versions

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