/sequence-labeling-BiLSTM-CRF

BiLSTM-CRF joint model for tasks like sequence labeling using char/word level embeddings in Tensorflow

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

Sequential Labeling using BiLSTM+CRF


Attention plz: tensorflow upgrades too much frequently causing the codes unrunnabel. But that still can be used to be a reference.


@char embedding

Input

N  B
B	M
A	E
D	O

an empty line

Z	O
Z	O
Z	O

Output

NBAD\<@\>NBA
ZZZZZ\<@\>

@world embedding

same as char embedding

I  B
like	M
you	E
,	O
……


Installation Requirements

  • python 2.7
  • tensorflow 0.8
  • numpy
  • pandas

References