Reproducing the solution by Simple LSTM - PyTorch version.
Table of Contents
Classifying toxic online comments.
- Python
- Pytorch
Things you need to use the software.
- Python
- Jupyter notebook
- Poetry (
pip
install did not work out on Ubuntu 20.04, curl install worked after executingsource $HOME/.poetry/env
as well) - Text data by Kaggle
- Embeddings by Stanford and Facebook
Follow these steps to install create a virtual environment and activate it in Jupyter.
- In this project's repository, execute
poetry install
, which creates a virtual environment based on the pyproject.toml file - Activate the virtual environment with
poetry shell
- If you need any new dependecies, e.g.,
nltk
, executepoetry add nltk
- To run the notebook with this environment, execute
poetry run jupyter notebook