/HateEnsemble

Hatred of Crowds: Ensemble Learning for Hate Speech Detection

Primary LanguagePythonMIT LicenseMIT

Constructing Ensembles for Hate Speech Detection

Overview

This repository will be contain the official implementation of the manuscript "Constructing Ensembles for Hate Speech Detection".

Hierarchy:

  • src/Topics: Contains the topic keywords.
  • src/gmm_splitter.py: source code of GMM splitter method
  • src/influential_splitter.py: source code of influential splitter method
  • src/stratified_splitter.py: source code of fold splitter method
  • src/topic_splitter.py: source code of topic splitter method

Disclaimer

This paper discusses examples of harmful content (hate speech stereotypes). The authors do not support the use of harmful language, nor any of the harmful representations quoted.

Environment

  • Python 3.6.9
  • PyTorch 1.10.2

Citation

If you make use of this code, please cite the following paper:

To be added.