Skip to content

Latest commit

 

History

History
7 lines (4 loc) · 665 Bytes

README.md

File metadata and controls

7 lines (4 loc) · 665 Bytes

Offensive language and hate speech detection

This project include five approaches to offensive and hate speech detection. Two of which are feature base methods (Bag-of-words model, feature model).BoW and syntactic features are extracted and logistic regression is applied. Other three are neural networks (BERT model, attention model, Character CNN). Each module contains of configuration file (config.jsn), model implementation and run script for training/testing (main_{model}.py).

Requirements

You need to install the packages from requirements.txt. PyTorch and some others to be installed differently. See their documentation for more information.