COVID-19 Tweets Analysis through Transformer Language Models

Abdul Hameed Azeemi, Adeel Waheed
2/27/2021
cs.CLcs.IRcs.LG
transformer-attention

Official code: ahazeemi/COVID-19-Tweets-Analysis-through-Transformer-Language-Models (4 stars, Jupyter Notebook, last commit 2020-07-10).

Abstract

Understanding the public sentiment and perception in a healthcare crisis is essential for developing appropriate crisis management techniques. While some studies have used Twitter data for predictive modelling during COVID-19, fine-grained sentiment analysis of the opinion of people on social media during this pandemic has not yet been done.

Show full abstract

In this study, we perform an in-depth, fine-grained sentiment analysis of tweets in COVID-19. For this purpose, we perform supervised training of four transformer language models on the downstream task of multi-label classification of tweets into seven tone classes: [confident, anger, fear, joy, sadness, analytical, tentative]. We achieve a LRAP (Label Ranking Average Precision) score of 0.9267 through RoBERTa. This trained transformer model is able to correctly predict, with high accuracy, the tone of a tweet. We then leverage this model for predicting tones for 200,000 tweets on COVID-19. We then perform a country-wise analysis of the tone of tweets, and extract useful indicators of the psychological condition about the people in this pandemic.

View on arXivView PDF

Code Implementations(1)

Analyzing COVID-19 Tweets via Transformer Models

41Jupyter NotebookJul 6, 20206 years ago
covid19deep-learningroberta

Similar Papers

Cite this paper

@article{azeemi2021covid,
  title  = {COVID-19 Tweets Analysis through Transformer Language Models},
  author = {Abdul Hameed Azeemi and Adeel Waheed},
  year   = {2021},
  eprint = {2103.00199},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2103.00199}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2103.00199.svg)](https://codeofpaper.com/paper/2103.00199)

Discussion