Project bulit on the Kaggle dataset to predict whether a workplace comment is misogynistic.
Users may download the dataset from Kaggle here.
-
Create and source a new virtual environment.
python3 -m venv venv_sexist_detector source venv_sexist_detector/bin/activate
-
Install project dependencies
pip install -r requirements.txt
-
Run inference by calling
python run_inference.py
To retrain the model after making architecture or hyperparameter
changes, users may run python train.py
.