BERT-BiLSTM-CRF-NER icon indicating copy to clipboard operation
BERT-BiLSTM-CRF-NER copied to clipboard

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

Results 105 BERT-BiLSTM-CRF-NER issues
Sort by recently updated
recently updated
newest added

![image](https://user-images.githubusercontent.com/33311822/58170664-982d8680-7cc6-11e9-85ea-6a2f529e3de3.png)

使用 1个cpu 12核心,一个1000个字的文章,推理速度在1000ms,这个速度正常吗,GPU,大概是100毫秒。一般什么速度比较正常?

请问 crf_only=False和True效果哪一个好一点? 如果设置crf_only=False时,epoch应该设置为多少比较合适,还有其他参数需要调整吗?

用的NER模式,有四类标注,其中三个F值分别为90%,95%,98% 但是另外一个F值为0 然后用训练的模型测试语句,结果整句话全部识别为一个实体,测试语句如下: from bert_base.client import BertClient bc = BertClient() str1 = "灌木,高1-1.5米。" bc.encode([str1]) 返回标注如下: array([['I-lifeform', 'I-lifeform', 'I-lifeform', 'I-lifeform', 'I-lifeform', 'I-lifeform', 'I-lifeform', 'I-lifeform', 'I-lifeform', 'I-lifeform', 'I-lifeform', 'X']], dtype='

![image](https://user-images.githubusercontent.com/33311822/76138456-3dadbd00-6083-11ea-8017-26a406d90766.png)

目前的NER是基于词的,BIO标注的每个字 那么我可以修改训练集应用到句子嘛,我想区分,开始句字,中间句子,结尾句子 是不是修改训练集 句子1 O 句子2 O 句子3 O 句子4 B-AA 句子5 I-AA ... 这样然后重新训练就可以了

正常安装后启动服务,键入bert-base-serving-start -help 得到如下反馈 TypeError: 'required' is an invalid argument for posbert-base-ner-train -helpitionals 环境是python3.7, tf1.12. 请问是什么原因呢