indonlp/indonlu
Updated • 908 • 41
How to use LazarusNLP/NusaBERT-base-EmoT with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="LazarusNLP/NusaBERT-base-EmoT") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("LazarusNLP/NusaBERT-base-EmoT")
model = AutoModelForSequenceClassification.from_pretrained("LazarusNLP/NusaBERT-base-EmoT")This model is a fine-tuned version of LazarusNLP/NusaBERT-base 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 | F1 |
|---|---|---|---|---|
| No log | 1.0 | 111 | 1.2158 | 0.5511 |
| No log | 2.0 | 222 | 0.8299 | 0.6929 |
| No log | 3.0 | 333 | 0.7713 | 0.7324 |
| No log | 4.0 | 444 | 0.7383 | 0.7431 |
| 0.8834 | 5.0 | 555 | 0.7813 | 0.7261 |
| 0.8834 | 6.0 | 666 | 0.7781 | 0.7591 |
| 0.8834 | 7.0 | 777 | 0.8360 | 0.7375 |
| 0.8834 | 8.0 | 888 | 0.8802 | 0.7287 |
| 0.8834 | 9.0 | 999 | 0.9192 | 0.7474 |
| 0.2881 | 10.0 | 1110 | 1.0433 | 0.733 |
| 0.2881 | 11.0 | 1221 | 1.0686 | 0.7277 |
Base model
LazarusNLP/NusaBERT-base