Downloads · 30 days
192
27% of all-time downloads
Ha1dir/sentimen-indobert
sentimen-indobert is a text classification model from Ha1dir. Use it when you need a label for a piece of text. It is set up for transformers.
Model ini adalah hasil fine-tuning model IndoBERT base untuk tugas klasifikasi sentimen bahasa Indonesia.
Downloads · 30 days
192
27% of all-time downloads
All-time downloads
714
Public
Parameters
124M
3 GB on disk
Likes
0
Public
Click a slice to open those files.
.pt498 MB · 50%
From the Hugging Face model README
Model ini adalah hasil fine-tuning model IndoBERT base untuk tugas klasifikasi sentimen bahasa Indonesia.
from transformers import pipeline pipe = pipeline("text-classification", model="Ha1dir/sentimen-indobert")
from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Ha1dir/sentimen-indobert") model = AutoModelForSequenceClassification.from_pretrained("Ha1dir/sentimen-indobert")
(Epoch 1) TRAIN LOSS: 0.2962 Acc: 0.8896 Precision: 0.8893 Recall: 0.8896 F1: 0.8876
(Epoch 2) TRAIN LOSS: 0.1450 Acc: 0.9514 Precision: 0.9513 Recall: 0.9514 F1: 0.9513
(Epoch 3) TRAIN LOSS: 0.1053 Acc: 0.9646 Precision: 0.9646 Recall: 0.9646 F1: 0.9646
(Epoch 4) TRAIN LOSS: 0.0722 Acc: 0.9781 Precision: 0.9781 Recall: 0.9781 F1: 0.9781
(Epoch 5) TRAIN LOSS: 0.0468 Acc: 0.9874 Precision: 0.9874 Recall: 0.9874 F1: 0.9874
VAL LOSS: 0.0234 Acc: 0.9955 Precision: 0.9955 Recall: 0.9955 F1: 0.9954
VAL LOSS: 0.0234 Acc: 0.9982 Precision: 0.9982 Recall: 0.9982 F1: 0.9982