/NER-GRN

Code for our AAAI2019 paper "GRN: Gated Relation Network to Enhance Convolutional Neural Network for Named Entity Recognition"

Primary LanguagePython

GRN

Code for our AAAI2019 paper "GRN: Gated Relation Network to Enhance Convolutional Neural Network for Named Entity Recognition"

Requirements and Installation

We recommended the following dependencies.

  • PyTorch 0.4
  • Python 3.6
  • torchvision
  • Numpy

Training and Test

After datasets are prepared, run train.py:

python train.py

Test:

python test.py