stanleylsx / entity_extractor_by_ner

基于Tensorflow2.3开发的NER模型,都是CRF范式,包含Bilstm(IDCNN)-CRF、Bert-Bilstm(IDCNN)-CRF、Bert-CRF,可微调预训练模型,可对抗学习,用于命名实体识别,配置后可直接运行。
390 stars 73 forks source link

替换为自己的数据后,出现错误 #46

Closed Wuhu0 closed 2 years ago

Wuhu0 commented 2 years ago

用您的数据跑是可以的,但是换成自己的数据出现了这个错误 ValueError: Input [] is not valid. Should be a string, a list/tuple of strings or a list/tuple of integers.

Wuhu0 commented 2 years ago

已解决,自己的数据集中有多余的空行