macanv / BERT-BiLSTM-CRF-NER

Tensorflow solution of NER task Using BiLSTM-CRF model with Google BERT Fine-tuning And private Server services
https://github.com/macanv/BERT-BiLSMT-CRF-NER
4.68k stars 1.25k forks source link

cpu运行的服务,使用http预测卡住了,半天都没返回结果 #327

Closed Edwardnone closed 4 years ago

macanv commented 4 years ago

试一下这个, 我测试使用bert as service 的框架,的确存在丢包问题。https://github.com/macanv/BERT-BiLSTM-CRF-NER/blob/master/bert_base/server/simple_flask_http_service.py