Skip to content
프로젝트

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

GitHub에서 보기

소개

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

AI 및 머신러닝

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

Better NER BERT Named-Entity-Recognition

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

0) nltk
1) numpy 
2) Keras==2.1.2
3) Tensorflow==1.4.1

Inference on trained model

from ner import Parser

p = Parser()

p.load_models("models/")

p.predict("Steve Went to Paris")
##Output [('Steve', 'B-PER'), ('went', 'O'), ('to', 'O'), ('Paris', 'B-LOC')]

관련 프로젝트 살펴보기

불러오는 중…