Indonesian RoBERTa Base PRDECT-ID is a emotion 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 the
PRDECT-ID dataset consisting of Indonesian product reviews (Sutoyo et al., 2022).
This model was trained using HuggingFace's PyTorch framework. All training was done on a NVIDIA T4, provided by Google Colaboratory.
Training metrics were logged via Tensorboard.
1from transformers import pipeline
2
3pretrained_name = "w11wo/indonesian-roberta-base-prdect-id"
4
5nlp = pipeline(
6 "sentiment-analysis",
7 model=pretrained_name,
8 tokenizer=pretrained_name
9)
10
11nlp("Wah, kualitas produk ini sangat bagus!")
Do consider the biases which come from both the pre-trained RoBERTa model and the PRDECT-ID dataset that may be carried over into the results of this model.
Indonesian RoBERTa Base PRDECT-ID was trained and evaluated by
Wilson Wongso. All computation and development are done on Google Colaboratory using their free GPU access.
1@article{SUTOYO2022108554,
2 title = {PRDECT-ID: Indonesian product reviews dataset for emotions classification tasks},
3 journal = {Data in Brief},
4 volume = {44},
5 pages = {108554},
6 year = {2022},
7 issn = {2352-3409},
8 doi = {https://doi.org/10.1016/j.dib.2022.108554},
9 url = {https://www.sciencedirect.com/science/article/pii/S2352340922007612},
10 author = {Rhio Sutoyo and Said Achmad and Andry Chowanda and Esther Widhi Andangsari and Sani M. Isa},
11 keywords = {Natural language processing, Text processing, Text mining, Emotions classification, Sentiment analysis},
12 abstract = {Recognizing emotions is vital in communication. Emotions convey additional meanings to the communication process. Nowadays, people can communicate their emotions on many platforms; one is the product review. Product reviews in the online platform are an important element that affects customers’ buying decisions. Hence, it is essential to recognize emotions from the product reviews. Emotions recognition from the product reviews can be done automatically using a machine or deep learning algorithm. Dataset can be considered as the fuel to model the recognizer. However, only a limited dataset exists in recognizing emotions from the product reviews, particularly in a local language. This research contributes to the dataset collection of 5400 product reviews in Indonesian. It was carefully curated from various (29) product categories, annotated with five emotions, and verified by an expert in clinical psychology. The dataset supports an innovative process to build automatic emotion classification on product reviews.}
13}