HateBERT: Retraining BERT for Abusive Language Detection in English

Tommaso Caselli, Valerio Basile, Jelena Mitrović, Michael Granitzer
10/23/2020
cs.CL

Official code: tommasoc80/HateBERT (6 stars, last commit 2023-09-23).

Abstract

In this paper, we introduce HateBERT, a re-trained BERT model for abusive language detection in English. The model was trained on RAL-E, a large-scale dataset of Reddit comments in English from communities banned for being offensive, abusive, or hateful that we have collected and made available to the public.

Show full abstract

We present the results of a detailed comparison between a general pre-trained language model and the abuse-inclined version obtained by retraining with posts from the banned communities on three English datasets for offensive, abusive language and hate speech detection tasks. In all datasets, HateBERT outperforms the corresponding general BERT model. We also discuss a battery of experiments comparing the portability of the generic pre-trained language model and its corresponding abusive language-inclined counterpart across the datasets, indicating that portability is affected by compatibility of the annotated phenomena.

View on arXivView PDF

Code Implementations(1)

61Feb 17, 20213 years ago

Similar Papers

Cite this paper

@article{caselli2020hatebert,
  title  = {HateBERT: Retraining BERT for Abusive Language Detection in English},
  author = {Tommaso Caselli and Valerio Basile and Jelena Mitrović and Michael Granitzer},
  year   = {2020},
  eprint = {2010.12472},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2010.12472}
}

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/2010.12472.svg)](https://codeofpaper.com/paper/2010.12472)

Discussion