w11wo / indonesian-roberta-base-sentiment-classifier

huggingface.co
Total runs: 10.3K
24-hour runs: 0
7-day runs: 390
30-day runs: -52.6K
Model's Last Updated: May 13 2023
text-classification

Introduction of indonesian-roberta-base-sentiment-classifier

Model Details of indonesian-roberta-base-sentiment-classifier

Indonesian RoBERTa Base Sentiment Classifier

Indonesian RoBERTa Base Sentiment Classifier is a sentiment-text-classification model based on the RoBERTa model. The model was originally the pre-trained Indonesian RoBERTa Base model, which is then fine-tuned on indonlu 's SmSA dataset consisting of Indonesian comments and reviews.

After training, the model achieved an evaluation accuracy of 94.36% and F1-macro of 92.42%. On the benchmark test set, the model achieved an accuracy of 93.2% and F1-macro of 91.02%.

Hugging Face's 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
Model #params Arch. Training/Validation data (text)
indonesian-roberta-base-sentiment-classifier 124M RoBERTa Base SmSA
Evaluation Results

The model was trained for 5 epochs and the best model was loaded at the end.

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
How to Use
As Text Classifier
from transformers import pipeline

pretrained_name = "w11wo/indonesian-roberta-base-sentiment-classifier"

nlp = pipeline(
    "sentiment-analysis",
    model=pretrained_name,
    tokenizer=pretrained_name
)

nlp("Jangan sampai saya telpon bos saya ya!")
Disclaimer

Do consider the biases which come from both the pre-trained RoBERTa model and the SmSA dataset that may be carried over into the results of this model.

Author

Indonesian RoBERTa Base Sentiment Classifier was trained and evaluated by Wilson Wongso . All computation and development are done on Google Colaboratory using their free GPU access.

Citation

If used, please cite the following:

@misc {wilson_wongso_2023,
    author       = { {Wilson Wongso} },
    title        = { indonesian-roberta-base-sentiment-classifier (Revision e402e46) },
    year         = 2023,
    url          = { https://huggingface.co/w11wo/indonesian-roberta-base-sentiment-classifier },
    doi          = { 10.57967/hf/0644 },
    publisher    = { Hugging Face }
}

Runs of w11wo indonesian-roberta-base-sentiment-classifier on huggingface.co

10.3K
Total runs
0
24-hour runs
-7
3-day runs
390
7-day runs
-52.6K
30-day runs

More Information About indonesian-roberta-base-sentiment-classifier huggingface.co Model

More indonesian-roberta-base-sentiment-classifier license Visit here:

https://choosealicense.com/licenses/mit

indonesian-roberta-base-sentiment-classifier huggingface.co

indonesian-roberta-base-sentiment-classifier huggingface.co is an AI model on huggingface.co that provides indonesian-roberta-base-sentiment-classifier's model effect (), which can be used instantly with this w11wo indonesian-roberta-base-sentiment-classifier model. huggingface.co supports a free trial of the indonesian-roberta-base-sentiment-classifier model, and also provides paid use of the indonesian-roberta-base-sentiment-classifier. Support call indonesian-roberta-base-sentiment-classifier model through api, including Node.js, Python, http.

indonesian-roberta-base-sentiment-classifier huggingface.co Url

https://huggingface.co/w11wo/indonesian-roberta-base-sentiment-classifier

w11wo indonesian-roberta-base-sentiment-classifier online free

indonesian-roberta-base-sentiment-classifier huggingface.co is an online trial and call api platform, which integrates indonesian-roberta-base-sentiment-classifier's modeling effects, including api services, and provides a free online trial of indonesian-roberta-base-sentiment-classifier, you can try indonesian-roberta-base-sentiment-classifier online for free by clicking the link below.

w11wo indonesian-roberta-base-sentiment-classifier online free url in huggingface.co:

https://huggingface.co/w11wo/indonesian-roberta-base-sentiment-classifier

indonesian-roberta-base-sentiment-classifier install

indonesian-roberta-base-sentiment-classifier is an open source model from GitHub that offers a free installation service, and any user can find indonesian-roberta-base-sentiment-classifier on GitHub to install. At the same time, huggingface.co provides the effect of indonesian-roberta-base-sentiment-classifier install, users can directly use indonesian-roberta-base-sentiment-classifier installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

indonesian-roberta-base-sentiment-classifier install url in huggingface.co:

https://huggingface.co/w11wo/indonesian-roberta-base-sentiment-classifier

Url of indonesian-roberta-base-sentiment-classifier

indonesian-roberta-base-sentiment-classifier huggingface.co Url

Provider of indonesian-roberta-base-sentiment-classifier huggingface.co

w11wo
ORGANIZATIONS

Other API from w11wo