Text Classification
Transformers
TensorBoard
Safetensors
bert
Generated from Trainer
text-embeddings-inference
Instructions to use wildansofhal/IndoBERT-Sentiment-Analysis4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use wildansofhal/IndoBERT-Sentiment-Analysis4 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="wildansofhal/IndoBERT-Sentiment-Analysis4")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("wildansofhal/IndoBERT-Sentiment-Analysis4") model = AutoModelForSequenceClassification.from_pretrained("wildansofhal/IndoBERT-Sentiment-Analysis4", device_map="auto") - Notebooks
- Google Colab
- Kaggle
IndoBERT-Sentiment-Analysis4
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.3421
- Accuracy: 0.9333
- F1 Score: 0.9333
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: 2e-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: 2
Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 Score |
|---|---|---|---|---|---|
| 0.6142 | 0.0960 | 50 | 0.5747 | 0.6974 | 0.6901 |
| 0.5342 | 0.1919 | 100 | 0.5075 | 0.7667 | 0.7626 |
| 0.4916 | 0.2879 | 150 | 0.5187 | 0.7872 | 0.7795 |
| 0.4506 | 0.3839 | 200 | 0.4369 | 0.8205 | 0.8204 |
| 0.5262 | 0.4798 | 250 | 0.4530 | 0.8231 | 0.8205 |
| 0.4269 | 0.5758 | 300 | 0.3205 | 0.8615 | 0.8613 |
| 0.3171 | 0.6718 | 350 | 0.3749 | 0.8872 | 0.8870 |
| 0.2951 | 0.7678 | 400 | 0.4831 | 0.8769 | 0.8765 |
| 0.4056 | 0.8637 | 450 | 0.3658 | 0.8795 | 0.8786 |
| 0.3226 | 0.9597 | 500 | 0.2975 | 0.9051 | 0.9050 |
| 0.3559 | 1.0557 | 550 | 0.3412 | 0.9128 | 0.9125 |
| 0.2253 | 1.1516 | 600 | 0.3740 | 0.9103 | 0.9099 |
| 0.1947 | 1.2476 | 650 | 0.4839 | 0.8949 | 0.8944 |
| 0.1419 | 1.3436 | 700 | 0.4185 | 0.9179 | 0.9177 |
| 0.1266 | 1.4395 | 750 | 0.3810 | 0.9256 | 0.9255 |
| 0.1057 | 1.5355 | 800 | 0.3881 | 0.9205 | 0.9204 |
| 0.195 | 1.6315 | 850 | 0.3033 | 0.9359 | 0.9358 |
| 0.1742 | 1.7274 | 900 | 0.3298 | 0.9359 | 0.9358 |
| 0.0832 | 1.8234 | 950 | 0.3210 | 0.9359 | 0.9358 |
| 0.1088 | 1.9194 | 1000 | 0.3609 | 0.9282 | 0.9281 |
Framework versions
- Transformers 4.53.2
- Pytorch 2.6.0+cu124
- Datasets 2.14.4
- Tokenizers 0.21.2
- Downloads last month
- 9
Model tree for wildansofhal/IndoBERT-Sentiment-Analysis4
Base model
indobenchmark/indobert-base-p1