Code for our AAAI2019 paper "GRN: Gated Relation Network to Enhance Convolutional Neural Network for Named Entity Recognition"
We recommended the following dependencies.
- PyTorch 0.4
- Python 3.6
- torchvision
- Numpy
After datasets are prepared, run train.py
:
python train.py
Test:
python test.py