A Novel Approach to Hostility Detection: Employing GPT-2 for Text Classification
preprint
OA: closed
Abstract
Social media platforms provide an easy way to share valuable information and convey personal opinions. Even though these platforms have many benefits, they have made aggressive posts more common. People post hate speech and insulting comments for their own pleasure or to help their political campaigns. The entire platform experience can be rendered hostile by the harassing effect of the hostile posts. Therefore, it is crucial to identify antagonistic posts in order to preserve social media hygiene. Languages with limited resources, such as Hindi, are particularly susceptible to this issue. In this study, we introduce methods for detecting hostile text in the Hindi language. The Constraint@AAAI 2021 Hindi hostility detection dataset is used to evaluate the proposed approaches. For this multi-label classification problem, we assess a variety of deep learning methods that are based on GPt-2. We demonstrate that the performance of models based on GPT-2 is optimal.
My notes (saved in your browser only)
Citation neighborhood (no data yet)
We don't have any in-corpus citations linked to this paper yet. This is a recent paper (2025) — citers typically take a year or two to land, and the OpenAlex reference graph may still be filling in.
Source provenance
- europepmc
- last seen: 2026-05-20T01:45:00.602351+00:00
- unpaywall
- last seen: 2026-06-13T06:42:57.164913+00:00