git clone https://github.com/Hetling/NLP-second-year-project.git
pickle
files here: https://drive.google.com/drive/folders/1SinJt4EaPbn2el-Yjhj_KN7KkaCW7LY2models
folder in the root directorydata
folder inside of the newly created models
folder. Now you are ready to train, validate, and test the models. The main.py
file acts as a simple CLI to interact with the models. The usage of which is described below:
python main.py --train
python main.py --train --approach-1 --approach-2 --save False
python main.py --validate
python main.py --validate --approach-1 --approach-2
python main.py --test
python main.py --test --approach-1 --approach-2
To train the baseline model, run baseline.py
without any arguments. To reproduce visualizations, see visualize_net.ipynb