#173 · Primary category: NLP Tools & Text Processing

sequence-labeling-BiLSTM-CRF

bilstm-crf ner nlp python35 sequence-labeling tensorflow

The BiLSTM-CRF model implementation in Tensorflow, for sequence labeling tasks.

Project last updated:11/21/22

GitHub Stars

701

Forks

254

Contributors

3

License

GPL-3.0

Why we included this project

This is a clean TensorFlow implementation of the BiLSTM+CRF model, the standard neural approach to token-level sequence labeling since Lample et al. proposed it in 2016. It covers the usual tasks in this area, named entity recognition, part-of-speech tagging, chunking, and similar problems, and lets you swap encoders, decoders, and labeling schemes like BIO or BIESO through a single config file. The code is split into clear modules, which makes it a good way to see how the pieces of a sequence labeling system fit together. It also includes training, testing, and interactive prediction modes, plus a small Django web app for trying results in a browser. One caveat: it targets TensorFlow 1.x, so treat it as a learning and prototyping reference rather than something to drop into a modern production stack.

Articles for this project

No articles for this project yet.

To suggest a topic or contribute an article, contact us.

Related projects in this category