Skip to content
Projects

Toxic Speech Detection

ML / Fall 2023

NLP classifier for detecting and categorizing toxic speech patterns on Twitter.

  • Python
  • NLTK
  • scikit-learn
  • NLP
Toxic Speech Detection interface

Overview

NLP classifier for detecting and categorizing toxic speech patterns on Twitter. Built the full text classification pipeline - preprocessing, feature extraction, model training, evaluation.

Approach

Experimented with TF-IDF baselines, word embeddings, and transformer-based approaches. The most interesting finding was how much dataset bias affected results - models trained on one platform's data performed poorly on another's, even for the same language.