indonlp/indonlu
Updated • 1.39k • 40
How to use afbudiman/distilled-optimized-indobert-classification with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="afbudiman/distilled-optimized-indobert-classification") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("afbudiman/distilled-optimized-indobert-classification")
model = AutoModelForSequenceClassification.from_pretrained("afbudiman/distilled-optimized-indobert-classification")This model is a fine-tuned version of distilbert-base-uncased on the indonlu dataset. It achieves the following results on the evaluation set:
More information needed
More information needed
More information needed
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
|---|---|---|---|---|---|
| 0.128 | 1.0 | 688 | 0.8535 | 0.8913 | 0.8917 |
| 0.1475 | 2.0 | 1376 | 0.9171 | 0.8913 | 0.8913 |
| 0.0997 | 3.0 | 2064 | 0.7799 | 0.8960 | 0.8951 |
| 0.0791 | 4.0 | 2752 | 0.7179 | 0.9032 | 0.9023 |
| 0.0577 | 5.0 | 3440 | 0.6908 | 0.9063 | 0.9055 |
| 0.0406 | 6.0 | 4128 | 0.7613 | 0.8992 | 0.8986 |
| 0.0275 | 7.0 | 4816 | 0.7502 | 0.8992 | 0.8989 |
| 0.023 | 8.0 | 5504 | 0.7408 | 0.8976 | 0.8969 |
| 0.0169 | 9.0 | 6192 | 0.7397 | 0.9 | 0.8994 |