Multi-Class Sentiment Analysis of Twitter Data Using Bert-Based Model

Authors

  • Shahbaz Hassan Wasti Department of Information Sciences, Division of Science and Technology, University of Education, Lahore, 54770, Pakistan https://orcid.org/0000-0001-5788-2604
  • Ghulam Jillani Ansari Department of Information Sciences, Division of Science and Technology, University of Education, Lahore, 54770, Pakistan
  • Dr. Jahanzeb Jahan Department of English, Division of Arts & Social Sciences, University of Education, Lahore

DOI:

https://doi.org/10.63468/sshrr.266

Keywords:

BERT, pre-trained model, sentiment analysis, twitter dataset

Abstract

Modern world is a world of social media. X formerly known as Twitter is one of the leading social media platform that represents the public opinions from across the globe on every walk of life. These opinions are not just short texts but represent the sentiments of the public. The sentimental analysis of this large scale text data give insightful information to organizations, researchers, policy makers, and government institutes. Therefore, this work proposed a BERT (Bidirectional Encoder Representations from Transformers)-based sentiment analysis model. The model classifies the X (Twitter) text or tweets as positive, negative or neutral by analyzing the text data. The proposed model is evaluated on accuracy, precision, recall and F1 score. The experiment results showed that the proposed model yielded promising performance against all sentiment classes.  

Downloads

Published

2025-10-06

Issue

Section

Articles

How to Cite

Shahbaz Hassan Wasti, Ghulam Jillani Ansari, & Dr. Jahanzeb Jahan. (2025). Multi-Class Sentiment Analysis of Twitter Data Using Bert-Based Model. Social Sciences & Humanity Research Review, 3(4). https://doi.org/10.63468/sshrr.266

Similar Articles

1-10 of 216

You may also start an advanced similarity search for this article.