AI and RoboticsPUBLISHED

SENTIMENT ANALYSIS OF E - COMMERCE TOKOPEDIA REVIEWS USING MT5

Berlian Ishma Zhafira Sujana (Informatics Engineering Study Program, Faculty of Computer Science, Brawijaya University Jl. Veteran No.10 - 11, Ketawanggede, Kec. Lowokwaru, Kota Malang, Jawa Timur 65145 , Indonesia), Ir. Indriati, S.T, M.Kom. (Informatics Engineering Study Program, Faculty of Computer Science, Brawijaya University Jl. Veteran No.10 - 11, Ketawanggede, Kec. Lowokwaru, Kota Malang, Jawa Timur 65145 , Indonesia), Rizal Setya Perdana, S.Kom., M.Kom., Ph.D. (Informatics Engineering Study Program, Faculty of Computer Science, Brawijaya University Jl. Veteran No.10 - 11, Ketawanggede, Kec. Lowokwaru, Kota Malang, Jawa Timur 65145 , Indonesia)
March 3, 2026

Abstract

Sentiment analysis of Indonesian e-commerce reviews plays an important role in understanding user perceptions of products and services. Transformer-based models, particularly the Multilingual Text-to-Text Transfer Transformer (mT5), provide an effective text-to-text approach for sentiment classification tasks. However, model performance is highly influenced by the selection of training hyperparameters. Therefore, this study aims to analyze the effect of batch size variation and number of training epochs on the performance of the mT5 model in Tokopedia review sentiment classification. The dataset consists of Indonesian reviews categorized into two sentiment classes, positive and negative. The research stages include preprocessing, SentencePiece tokenization, mT5 model training, and evaluation using accuracy, precision, recall, and F1- score metrics. The experimental results show that a smaller batch size tends to produce more stable performance but requires longer training time, while a larger batch size requires more epochs to reach optimal convergence. The configuration using batch size 4 and 10 epochs achieves the best performance with a training accuracy of 0.963. These findings highlight the importance of proper hyperparameter selection in optimizing Transformerbased models for Indonesian sentiment analysis.

Keywords

sentiment analysismT5transformerProcessing that aims to identify opinions or emotions contained hyperparametere - commerce. in text and then classify them into positive or negative categories [6] . In the context of e - commercesentiment analysis