Execution of this project requires the use of the Python Development Master
(pdm).
Please install pdm before continuing. See installation instructions here.
Running the code is as simple as running some make commands
$ make init- You can now run any of the
train,validate, ortest-emergingtargets
Training will take some time. But you can run the first couple of training iterations if you would like to test that.
validate and test-emerging will work right away because of the inclusion
of the pre-trained models.
Most of the major methods of execution are covered by targets within a Makefile.
make download: Download datasets and trained modelsmake install: Install dependencies withpdmmake init: Rundownloadandinstalltargetsmake train: Train month-to-month word2vec modelsmake validate: Run validation script on all channels trained modelmake test-emerging: Test emerging terms script between two models
All scripts can be run with pdm run python <script.py> --help to see options
for running.