CoolFace
Modelpublic

ayameRushia/indobert-lite-base-p2-sentiment-analysis-smsa-google-play-review

sourceHugging Facemitupdated 2y 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. -->

indobert-lite-base-p2

This model is a fine-tuned version of indobenchmark/indobert-lite-base-p2 on the indonlu-smsa and idgoogleplayreview dataset. It achieves the following results on the evaluation set for combined dataset from indonlu-smsa and idgoogleplayreview:

  • —Loss: 0.4257
  • —Accuracy: 0.9291
  • —Precision: 0.8637
  • —Recall: 0.8651
  • —F1: 0.8643

Seperate evaluation indonlu/indonlu-smsa

  • —Accuracy: 0.9269
  • —Precision: 0.9067
  • —Recall: 0.8948
  • —F1: 0.89995

Model description

https://huggingface.co/indobenchmark/indobert-lite-base-p2

To Do:

  • —Add optimized model from optimum

Intended uses & limitations

Sentiment Analysis, this model more lightweight than bert base and roberta base ofc because this is lite model haha

Training and evaluation data

The training combined all training data from indonlu-smsa and id google play review The evaluation is conducted using the validation split

Training procedure

Training hyperparameters

The following hyperparameters were used during training:

  • —learning_rate: 1e-05
  • —trainbatchsize: 16
  • —evalbatchsize: 16
  • —seed: 42
  • —optimizer: Use OptimizerNames.ADAMWTORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizerargs=No additional optimizer arguments
  • —lrschedulertype: linear
  • —lrschedulerwarmup_steps: 500
  • —num_epochs: 4

Training results

Training LossEpochStepValidation LossAccuracyPrecisionRecallF1
0.07441.011270.31460.93090.88460.85490.8691
0.0562.022540.33210.92980.87370.85800.8650
0.02993.033810.39060.93160.87500.86560.8702
0.03174.045080.42570.92910.86370.86510.8643

Framework versions

  • —Transformers 4.48.2
  • —Pytorch 2.6.0+cu126
  • —Datasets 3.2.0
  • —Tokenizers 0.21.0