-
Notifications
You must be signed in to change notification settings - Fork 1
Reproducing results
Davide Spallaccini edited this page Jun 27, 2019
·
3 revisions
Install the requirements from the requirements.txt
file.
Notice that on macOS you will have to compile code with CFLAGS different from the ones given in the installation script. Example solution:
sudo CFLAGS=-stdlib=libc++ /path/to/pip install allennlp
sudo CFLAGS=-stdlib=libc++ /path/to/pip install fairseq
From the train.py
module you can import the train()
function that executes the training.
You can disambiguate a document by running:
python disambiguate.py < doc.txt