Make google's BERT easy to install using setuptools. Should keep working on later commits.
Usage (assuming a virtualenv):
# clone bert
git clone https://github.com/google-research/bert
# get gist files
wget \
https://gist.githubusercontent.com/derlin/2196c17e72a344e45d6f8676d0be53db/raw/fix_imports.py
wget \
https://gist.githubusercontent.com/derlin/2196c17e72a344e45d6f8676d0be53db/raw/setup.py
# fix imports
python fix_imports.py
# install package
python setup.py install
Optional, make the current environment available in the notebook:
pip install ipykernel
ipython kernel install --user --name=bert-lid