Views
No views yet
indonlu's SmSA dataset consisting of Indonesian comments and reviews.Trainer class from the Transformers library was used to train the model. PyTorch was used as the backend framework during training, but the model remains compatible with other frameworks nonetheless.| Model | #params | Arch. | Training/Validation data (text) |
|---|---|---|---|
indonesian-roberta-base-sentiment-classifier | 124M | RoBERTa Base | SmSA |
| Epoch | Training Loss | Validation Loss | Accuracy | F1 | Precision | Recall |
|---|---|---|---|---|---|---|
| 1 | 0.342600 | 0.213551 | 0.928571 | 0.898539 | 0.909803 | 0.890694 |
| 2 | 0.190700 | 0.213466 | 0.934127 | 0.901135 | 0.925297 | 0.882757 |
| 3 | 0.125500 | 0.219539 | 0.942857 | 0.920901 | 0.927511 | 0.915193 |
| 4 | 0.083600 | 0.235232 | 0.943651 | 0.924227 | 0.926494 | 0.922048 |
| 5 | 0.059200 | 0.262473 | 0.942063 | 0.920583 | 0.924084 | 0.917351 |
1from transformers import pipeline
2
3pretrained_name = "w11wo/indonesian-roberta-base-sentiment-classifier"
4
5nlp = pipeline(
6 "sentiment-analysis",
7 model=pretrained_name,
8 tokenizer=pretrained_name
9)
10
11nlp("Jangan sampai saya telpon bos saya ya!")SmSA dataset that may be carried over into the results of this model.1@misc {wilson_wongso_2023,
2 author = { {Wilson Wongso} },
3 title = { indonesian-roberta-base-sentiment-classifier (Revision e402e46) },
4 year = 2023,
5 url = { https://huggingface.co/w11wo/indonesian-roberta-base-sentiment-classifier },
6 doi = { 10.57967/hf/0644 },
7 publisher = { Hugging Face }
8}