Skip to content

annafabris/Hate-Speech-Spreader-Detection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Hate Speech Spreader Detection

Hate Speech Spreader Detection on the PAN-AP-2021 dataset.

Overview

The University of Bologna (UniBo) Natural Language Processing (NLP) project. In this project, we utilised the PAN-AP-2021 dataset to profile hate speech spreaders on social media, more specifically on Twitter, addressing the problem in English.

Four different methods (SVM, BiLSTM, BiGRU, and BERTweet) were trained and evaluated on the dataset. Our results show that the BERTweet transformer method produces the best results in terms of accuracy on the test set.

The steps taken are described in detail in the Report. The slides used for the Presentation are also available.

The code may also be viewed directly from the Notebook.

Authors

Results

The table below shows the accuracy on the test dataset using the four different models and their respective encodings.

Method Test Accuracy
TF-IDF + SVM 76.0
GLoVe + BiLSTM 64.0
GLoVe + BiGRU 67.0
BERTweet 78.0

About

Hate Speech Spreader Detection on the PAN-AP-2021 dataset

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published