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

除了accuracy之外其他数据均为0, 请教一下原因. #320

Closed deskl0 closed 4 years ago

deskl0 commented 4 years ago

processed 83963 tokens with 0 phrases; found: 0 phrases; correct: 0. accuracy: 96.08%; precision: 0.00%; recall: 0.00%; FB1: 0.00

macanv commented 4 years ago

数据读取有问题,查看一下输入格式是否和读取对应

deskl0 commented 4 years ago

我自己写了eval的部分。问题解决,多谢回复。