Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在添加新类别后,新类别的识别率为0 #8

Open
QiaoShiA opened this issue Sep 25, 2020 · 1 comment
Open

在添加新类别后,新类别的识别率为0 #8

QiaoShiA opened this issue Sep 25, 2020 · 1 comment

Comments

@QiaoShiA
Copy link

我在训练集中加入了两种大概500个左右的新实体类别,在训练完毕后输出的新类别识别率均为0,查看预测结果同样对于新实体类别没有识别出来,我在label_list中添加了新类别,同时修改了训练文件,能否咨询一下该模型是否支持加入新的实体类别

@GuanYingxuan
Copy link

我在训练集中加入了两种大概500个左右的新实体类别,在训练完毕后输出的新类别识别率均为0,查看预测结果同样对于新实体类别没有识别出来,我在label_list中添加了新类别,同时修改了训练文件,能否咨询一下该模型是否支持加入新的实体类别

您好!请问您是如何加载BERT模型的呀?我出现了错误:tensorflow.python.framework.errors_impl.DataLossError: Unable to open table file C:\Users\Desktop\ner\bert_ner\bert_ner\chinese_L-12_H-768_A-12\bert_model.ckpt: Data loss: not an sstable (bad magic number): perhaps your file is in a different file format and you need to use a different restore operator?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants