GithubHelp home page GithubHelp logo

mpearce25 / named-entity-recognition-bidirectionallstm-cnn-conll Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mxhofer/named-entity-recognition-bidirectionallstm-cnn-conll

0.0 1.0 0.0 29.56 MB

Keras implementation of "Few-shot Learning for Named Entity Recognition in Medical Text"

Home Page: https://arxiv.org/abs/1811.05468

License: MIT License

Jupyter Notebook 91.69% Python 8.31%

named-entity-recognition-bidirectionallstm-cnn-conll's Introduction

Named-Entity-Recognition-BLSTM-CNN-CoNLL

de . Keras implementation of the Bidirectional LSTM and CNN model similar to Chiu and Nichols (2016) for CoNLL 2003 news data. Paper: https://arxiv.org/abs/1811.05468

The implementation differs from the original paper in these ways:

  1. no lexicons
  2. Nadam optimizer used instead of SGD
  3. Parameters: LSTM cell size of 200 (vs 275), dropout of 0.5 (vs 0.68)

Here is the corresponding Medium post with more details: https://medium.com/@maxhofer/deep-learning-for-named-entity-recognition-2-implementing-the-state-of-the-art-bidirectional-lstm-4603491087f1

Code adapted from: https://github.com/kamalkraj/Named-Entity-Recognition-with-Bidirectional-LSTM-CNNs

Result

The implementation achieves a test F1 score of ~86 with 30 epochs. Increase the number of epochs to 80 reach an F1 over 90. The score produced in Chiu and Nichols (2016) is 91.62.

Dataset

CoNLL-2003 newswire articles: https://www.clips.uantwerpen.be/conll2003/ner/

GloVe vector representation from Jeffrey Pennington, Richard Socher, and Christopher D. Manning. 2014. See https://nlp.stanford.edu/projects/glove/

Dependencies

1) numpy 1.15.4
2) Keras 2.1.6
3) Tensorflow 1.8.0
4) Stanford GloVE embeddings

named-entity-recognition-bidirectionallstm-cnn-conll's People

Contributors

mpearce25 avatar mxhofer avatar shuttle1987 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.