Skip to content

BERT + CNN for toxic comments multi label classification.

Notifications You must be signed in to change notification settings

NanoNets/bert-text-moderation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Toxic Comments Classification using BERT and CNNs

The companion blog post on text moderation can be found here.

The dataset used is from the kaggle Toxic Comments Challenge and can be downloaded from here.

Overview

The labels in the dataset are labels = ['toxic', 'severe_toxic', 'obscene', 'threat', 'insult', 'identity_hate']

The CNN architecture used is an implementation of this as found here. We use the Hugging Face Transformers library to get word embeddings for each of our comments. We transfer these weights and train our CNN model based on our classification targets.

About

BERT + CNN for toxic comments multi label classification.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published