Skip to content

Submission for the Multilingual Abusive Comment Identification Challenge on Kaggle

Notifications You must be signed in to change notification settings

sriramsk1999/moj-abusive-detection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Moj Multilingual Abusive Comment Identification - Challenge

Submission for the Moj Abusive Comment Detection Challenge, hosted on Kaggle.

Setup

  1. Download the dataset and extract it the root directory.
  2. Create a virtual environment:
python -m venv env # virtual env
pip install -r requirements.txt
source env/bin/activate
  1. Change index in main.py to choose which model of the ensemble to train/test.
  2. Run python main.py
  3. utils.py contains helper functions for caching and ensembling.

Note: BERT models are large, GPU with 16GB VRAM required. Batch size can be reduced if training on 8GB GPU.

About

Submission for the Multilingual Abusive Comment Identification Challenge on Kaggle

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages