Utilizing a transformer-based natural language processing model called DistilBERT-base-uncased, this study investigates the use of sentiment analysis in relation to Indonesia's 2024 presidential election. Particularly during political events, sentiment analysis is a potent tool for gaining insight into public opinion. The program divides public posts' sentiment into positive and negative categories by examining social media data (twitter). In order to assure consistency and correctness, the dataset used in the research has been carefully selected. DistilBERT is then used to train the model. The result shows from 19920 row of data only 4.47% of Indonesia’s citizen left positive comment.
Copyrights © 2025