lonePatient / BERT-NER-Pytorch

Chinese NER(Named Entity Recognition) using BERT(Softmax, CRF, Span)
MIT License
2.05k stars 425 forks source link

cner测试集与验证集中CONT类型的precision与recall均为0 #76

Closed yangjianxin1 closed 2 years ago

yangjianxin1 commented 2 years ago

cner测试集与验证集中CONT类型的precision与recall均为0,其他类型的实体的指标都较为正常,暂时还没找出原因 Eval results %s acc: 0.9466 - recall: 0.9373 - f1: 0.9419 - loss: 0.6826 Entity results %s * CONT results **** acc: 0.0000 - recall: 0.0000 - f1: 0.0000 * EDU results **** acc: 0.9911 - recall: 0.9911 - f1: 0.9911 * LOC results **** acc: 1.0000 - recall: 1.0000 - f1: 1.0000 * NAME results **** acc: 1.0000 - recall: 1.0000 - f1: 1.0000 * ORG results **** acc: 0.9253 - recall: 0.9403 - f1: 0.9327 * PRO results **** acc: 0.8684 - recall: 1.0000 - f1: 0.9296 * RACE results **** acc: 1.0000 - recall: 1.0000 - f1: 1.0000 * TITLE results **** acc: 0.9505 - recall: 0.9481 - f1: 0.9493 testset precision:0.946617008069522, recall:0.9373079287031346, f1:0.941939468807906, loss:0.6826483011245728

leizhu1989 commented 1 year ago

@yangjianxin1 请问是什么原因导致的呢,您分析出来了吗,求指教