Text Classification
Transformers
TensorBoard
Safetensors
bert
Generated from Trainer
text-embeddings-inference
Instructions to use wildansofhal/IndoBERT-Sentiment-Analysis6 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use wildansofhal/IndoBERT-Sentiment-Analysis6 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="wildansofhal/IndoBERT-Sentiment-Analysis6")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("wildansofhal/IndoBERT-Sentiment-Analysis6") model = AutoModelForSequenceClassification.from_pretrained("wildansofhal/IndoBERT-Sentiment-Analysis6", device_map="auto") - Notebooks
- Google Colab
- Kaggle
IndoBERT-Sentiment-Analysis6
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.3945
- Accuracy: 0.8551
- F1 Score: 0.8547
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: 1
Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 Score |
|---|---|---|---|---|---|
| 0.621 | 0.1096 | 50 | 0.6320 | 0.6410 | 0.6393 |
| 0.5841 | 0.2193 | 100 | 0.5625 | 0.7064 | 0.7037 |
| 0.5411 | 0.3289 | 150 | 0.4727 | 0.7718 | 0.7718 |
| 0.5083 | 0.4386 | 200 | 0.4486 | 0.8051 | 0.8040 |
| 0.3795 | 0.5482 | 250 | 0.4415 | 0.8205 | 0.8205 |
| 0.5036 | 0.6579 | 300 | 0.4244 | 0.8128 | 0.8113 |
| 0.4131 | 0.7675 | 350 | 0.3931 | 0.8449 | 0.8447 |
| 0.3421 | 0.8772 | 400 | 0.4244 | 0.8423 | 0.8414 |
| 0.3719 | 0.9868 | 450 | 0.3944 | 0.8551 | 0.8547 |
Framework versions
- Transformers 4.53.2
- Pytorch 2.6.0+cu124
- Datasets 2.14.4
- Tokenizers 0.21.2
- Downloads last month
- 1
Model tree for wildansofhal/IndoBERT-Sentiment-Analysis6
Base model
indobenchmark/indobert-base-p1