Skip to content

Manual Installation

Xuanyu Zhou edited this page Oct 28, 2018 · 1 revision

Generally it's recommended to create a Python3 virtualenv and work under it.

You need to first install AllenAI's bilm-tf package by running python3 setup.py install in ./bilm-tf directory

Then install requirements by pip3 install -r requirements.txt in project root

Then you need to download all the data/model files. There are two steps in this:

  • in bilm-tf/, download model.zip, and uncompress
  • project root, download data.zip, and uncompress

Then check if all files are here by python3 scripts.py CHECKFILES or python3 scripts.py CHECKFILES figer in order to check figer caches etc.

If you intend to use the server mode, please then refer to cogcomp-nlpy to see how to install this package.

Clone this wiki locally