lonePatient / BERT-NER-Pytorch

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

Some weights of the model checkpoint at/ BERT-NER-Pytorch-master/prev_trained_model/bert-base-chinese were not used when initializing BertCrfForNe #84

Open zacharykzhao opened 2 years ago

zacharykzhao commented 2 years ago

在自己数据集上运行script/run_ner_crf.sh, 运行之后就卡在这里了,求大佬建议

Some weights of the model checkpoint at ./BERT-NER-Pytorch-master/prev_trained_model/bert-base-chinese were not used when initializing BertCrfForNer: ['cls.seq_relationship.weight', 'cls.seq_relationship.bias', 'cls.predictions.transform.dense.bias', 'cls.predictions.transform.dense.weight', 'cls.predictions.bias', 'cls.predictions.decoder.weight', 'cls.predictions.transform.LayerNorm.bias', 'cls.predictions.transform.LayerNorm.weight']

jiazhicai commented 2 years ago

我也遇到了这个问题