-
Notifications
You must be signed in to change notification settings - Fork 54
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
测试时出现<unk>问题 #5
Comments
因为代码重用了vocab类,你不想看到unk可以载入tag词典的时候pop掉unk |
能详细说一下怎么做么? |
我更换了训练集和测试集,格式与原始数据集一样,但在测试的时候显示的精度和召回率为1 ,其他类别都是0,请赐教! |
unk的召回率和精度为1 |
你换数据集需要重新做词表以及类别词表也就是id2tag.txt文件 |
id2tag.txt 就是标签样式和样本容量吧?我已经修改了 |
数据集换了id2tag.txt 以及vocab.txt都需要重新根据自己的数据集生成。没有negative samples loss function你可以看代码自己加上就好了。 |
vocab.txt是词频分布情况吧?请问已有的vocab.txt文件是怎么生成的?如果是代码,求分享! |
请问程序测试结果中为什么会有这样一条:
#################### ON VALIDATION SET START ####################
TAG Prec Recall
0.0000 0.0000
The text was updated successfully, but these errors were encountered: