#49 · Primary category: NLP Tools & Text Processing

BERT-BiLSTM-CRF-NER

bert bert-bilstm-crf blstm crf named-entity-recognition ner

Tensorflow solution of NER task Using BiLSTM-CRF model with Google BERT Fine-tuning And private Server services

Project last updated:02/24/21

GitHub Stars

4.9K

Forks

1.2K

Contributors

8

License

Other

Why we included this project

Named entity recognition is often the awkward step in Chinese-language text pipelines, and this project is one of the more complete BERT-based treatments of it. It couples Google's BERT embeddings with a BiLSTM-CRF sequence tagger, and the training script reads the standard token-per-line format and can export the finished model. There is also a Flask service that exposes NER and text classification over HTTP, which beats wrapping a notebook when you want it in production. The project is built around Chinese data, with Google BERT checkpoints and defaults that fit that use, though the README says other languages need only small code changes. The code is TensorFlow 1.x and has been dormant since early 2021, so treat it as a reference implementation and a template to adapt rather than something to drop into a modern stack unchanged.

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