Models & fine-tuning · 2026
IndoBERT Sentiment
Indonesian sentiment analysis, fine-tuned on the IndoNLU SmSA benchmark.
- 1Indonesian review or comment
- 2IndoBERT base
- 3Positive, neutral or negative
- 89.74
- macro-F1 on the test split
- 92.00%
- accuracy on the test split
indobert-base-p1 fine-tuned to classify Indonesian reviews and comments as positive, neutral or negative, on the SmSA dataset from the IndoNLU benchmark. Training runs on a Google Colab GPU, driven from the colab CLI, and the model is on Hugging Face.
How it works
- Macro-F1 as the headline. Neutral is only about 10% of the training data, so accuracy alone would flatter the model.
- The best epoch, not the last. Validation loss rises after the second or third epoch while F1 levels off, so the checkpoint is chosen by macro-F1.
- Raw data, read directly. The Hub copy of IndoNLU relies on a loading script that current
datasetsno longer runs, so the TSV files are read straight from the source.
Neutral is the hard class: its F1 is 81.29, and 25 of the 88 neutral test texts are read as positive or negative.