Text Classification
Transformers
TensorBoard
Safetensors
bert
Generated from Trainer
text-embeddings-inference
Instructions to use wildansofhal/IndoBERT-Sentiment-Analysis5 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use wildansofhal/IndoBERT-Sentiment-Analysis5 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="wildansofhal/IndoBERT-Sentiment-Analysis5")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("wildansofhal/IndoBERT-Sentiment-Analysis5") model = AutoModelForSequenceClassification.from_pretrained("wildansofhal/IndoBERT-Sentiment-Analysis5", device_map="auto") - Notebooks
- Google Colab
- Kaggle
IndoBERT-Sentiment-Analysis5
This model is a fine-tuned version of indobenchmark/indobert-base-p1 on the None dataset. It achieves the following results on the evaluation set:
- Loss: 0.3908
- Accuracy: 0.9269
- F1 Score: 0.9268
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
- train_batch_size: 6
- eval_batch_size: 6
- seed: 42
- optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
- lr_scheduler_type: linear
- num_epochs: 3
Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 Score |
|---|---|---|---|---|---|
| 0.6445 | 0.1096 | 50 | 0.6399 | 0.6436 | 0.6426 |
| 0.5992 | 0.2193 | 100 | 0.5847 | 0.6769 | 0.6658 |
| 0.5583 | 0.3289 | 150 | 0.4791 | 0.7821 | 0.7820 |
| 0.494 | 0.4386 | 200 | 0.4200 | 0.8256 | 0.8253 |
| 0.4006 | 0.5482 | 250 | 0.4279 | 0.8282 | 0.8282 |
| 0.4837 | 0.6579 | 300 | 0.3808 | 0.8436 | 0.8435 |
| 0.3607 | 0.7675 | 350 | 0.4183 | 0.8513 | 0.8504 |
| 0.3199 | 0.8772 | 400 | 0.4493 | 0.8551 | 0.8546 |
| 0.3648 | 0.9868 | 450 | 0.7199 | 0.7897 | 0.7821 |
| 0.3212 | 1.0965 | 500 | 0.4430 | 0.8769 | 0.8767 |
| 0.2393 | 1.2061 | 550 | 0.5337 | 0.8744 | 0.8736 |
| 0.2995 | 1.3158 | 600 | 0.5985 | 0.8628 | 0.8612 |
| 0.1967 | 1.4254 | 650 | 0.4970 | 0.8910 | 0.8903 |
| 0.3315 | 1.5351 | 700 | 0.4464 | 0.8974 | 0.8969 |
| 0.3253 | 1.6447 | 750 | 0.3098 | 0.9231 | 0.9229 |
| 0.1265 | 1.7544 | 800 | 0.3503 | 0.9205 | 0.9203 |
| 0.2385 | 1.8640 | 850 | 0.4273 | 0.9064 | 0.9059 |
| 0.2187 | 1.9737 | 900 | 0.3572 | 0.9244 | 0.9242 |
| 0.1183 | 2.0833 | 950 | 0.4452 | 0.9154 | 0.9150 |
| 0.0851 | 2.1930 | 1000 | 0.3926 | 0.9256 | 0.9255 |
| 0.059 | 2.3026 | 1050 | 0.4678 | 0.9167 | 0.9163 |
| 0.0594 | 2.4123 | 1100 | 0.4493 | 0.9205 | 0.9203 |
| 0.0397 | 2.5219 | 1150 | 0.4551 | 0.9205 | 0.9203 |
| 0.0915 | 2.6316 | 1200 | 0.4884 | 0.9179 | 0.9177 |
| 0.149 | 2.7412 | 1250 | 0.3976 | 0.9269 | 0.9268 |
| 0.0635 | 2.8509 | 1300 | 0.3871 | 0.9269 | 0.9268 |
| 0.1253 | 2.9605 | 1350 | 0.3865 | 0.9269 | 0.9268 |
Framework versions
- Transformers 4.53.2
- Pytorch 2.6.0+cu124
- Datasets 2.14.4
- Tokenizers 0.21.2
- Downloads last month
- 6
Model tree for wildansofhal/IndoBERT-Sentiment-Analysis5
Base model
indobenchmark/indobert-base-p1