Instructions to use Alfanatasya/results_indobert-base-p2_with_preprocessing with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Alfanatasya/results_indobert-base-p2_with_preprocessing with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Alfanatasya/results_indobert-base-p2_with_preprocessing")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Alfanatasya/results_indobert-base-p2_with_preprocessing") model = AutoModelForSequenceClassification.from_pretrained("Alfanatasya/results_indobert-base-p2_with_preprocessing", device_map="auto") - Notebooks
- Google Colab
- Kaggle
results_indobert-base-p2_with_preprocessing
This model is a fine-tuned version of indobenchmark/indobert-base-p2 on the None dataset. It achieves the following results on the evaluation set:
- Loss: 0.7779
- Accuracy: 0.7318
- Precision: 0.7391
- Recall: 0.7412
- F1: 0.7380
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: 32
- eval_batch_size: 32
- seed: 42
- optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
- lr_scheduler_type: linear
- lr_scheduler_warmup_steps: 500
- num_epochs: 20
Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 |
|---|---|---|---|---|---|---|---|
| 1.5684 | 1.0 | 111 | 1.3823 | 0.4364 | 0.5325 | 0.3875 | 0.3689 |
| 1.1984 | 2.0 | 222 | 0.9299 | 0.65 | 0.6479 | 0.6543 | 0.6476 |
| 0.8375 | 3.0 | 333 | 0.7704 | 0.7273 | 0.7247 | 0.7301 | 0.7248 |
| 0.6701 | 4.0 | 444 | 0.7871 | 0.7227 | 0.7288 | 0.7315 | 0.7238 |
| 0.5571 | 5.0 | 555 | 0.7779 | 0.7318 | 0.7391 | 0.7412 | 0.7380 |
| 0.4113 | 6.0 | 666 | 0.9505 | 0.7 | 0.7113 | 0.7130 | 0.7086 |
| 0.2958 | 7.0 | 777 | 1.0284 | 0.7091 | 0.7256 | 0.7195 | 0.7206 |
Framework versions
- Transformers 4.47.1
- Pytorch 2.5.1+cu121
- Datasets 4.0.0
- Tokenizers 0.21.0
- Downloads last month
- 7
Model tree for Alfanatasya/results_indobert-base-p2_with_preprocessing
Base model
indobenchmark/indobert-base-p2