An implementation of Named Entity Recognition using LSTM Networks in Keras
- python 3.6 (due to
tensorflow-gpu
dependency) - pip3 v18
- anaconda3 v5 installed and set in PATH
$ conda create -n lstm-ner python=3.6
$ conda activate lstm-ner
$ pip install -r requirements-(cpu|gpu).txt
See data README
In lstm_ner
folder, type:
$ PYTHONPATH=<path/to/lstm-ner> python __main__.py [--cpu-only]
PS: Set PYTHONPATH
variable to lstm-ner
root directory.