/Named-Entity-Recognition-with-Bidirectional-LSTM-CNNs

Named-Entity-Recognition-with-Bidirectional-LSTM-CNNs

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

Named-Entity-Recognition-with-Bidirectional-LSTM-CNNs

A keras implementation of Bidirectional-LSTM_CNNs for Named-Entity-Recoganition. The original paper can be found at https://arxiv.org/abs/1511.08308

The implementation differs from the original paper in the following ways :

  1. lexicons are not considered
  2. Bucketing is used to speed up the training
  3. nadam optimizer used instead of SGD

Result

The model produces a test F1_score of 90.9 % with ~70 epochs. The results produced in the paper for the given architecture is 91.14 Architecture(BILSTM-CNN with emb + caps)

Dataset

conll-2003

Network Model in paper

Network Model Constructed Using Keras

alt text

To run the script

   python3 nn.py

Requirements

1) numpy 
2) Keras
3) Tensorflow