- PyTorch 0.3.0
- spaCy 2.0.0
- Python 3.6
Features are available at Google Drive
Gazetteers are available at Google Drive
- Clone this repo.
- Create three new folders
models
,features
andcheckpoints
. - Download pre-trained word embeddings to
models
and feature files tofeatures
. - Run
python main.py
and the model will be save atcheckpoints
Some programs are adapted from:
- Official PyTorch Tutorial
- A Theano implementation for Lample's work
- A PyTorch implementation for Ma's work
- A Keras implementation for Ma's work
Thank you for your contributions.