clab / dynet

DyNet: The Dynamic Neural Network Toolkit
Apache License 2.0
3.42k stars 707 forks source link

"Competitive Example" (4.5): BiLSTM-CRF #1294

Open neubig opened 6 years ago

neubig commented 6 years ago

Part of: #1284

It would be nice to have a BiLSTM-CRF example such as this one from PyTorch:

http://pytorch.org/tutorials/beginner/nlp/advanced_tutorial.html

There are a number of implementations of BiLSTM-CRF taggers in DyNet that can be used for reference:

https://github.com/onurgu/ner-tagger-dynet https://github.com/rguthrie3/BiLSTM-CRF

pmichel31415 commented 6 years ago

I might do that in the next weeks

neubig commented 6 years ago

FYI: here is a reference https://github.com/neulab/cmu-ner/blob/master/models/decoders.py#L28