indonlp/indonlu
Updated • 1.41k • 40
How to use afbudiman/distilled-indobert-classification with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="afbudiman/distilled-indobert-classification") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("afbudiman/distilled-indobert-classification")
model = AutoModelForSequenceClassification.from_pretrained("afbudiman/distilled-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 |
|---|---|---|---|---|---|
| 1.0427 | 1.0 | 688 | 0.6306 | 0.8683 | 0.8684 |
| 0.5332 | 2.0 | 1376 | 0.5621 | 0.8794 | 0.8779 |
| 0.3021 | 3.0 | 2064 | 0.6785 | 0.8905 | 0.8896 |
| 0.1851 | 4.0 | 2752 | 0.6085 | 0.8968 | 0.8959 |
| 0.1152 | 5.0 | 3440 | 0.6015 | 0.9016 | 0.9015 |