-
Notifications
You must be signed in to change notification settings - Fork 0
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
in-label-space设置下conll测试集问题 #5
Comments
你好 可以求一下数据集或者处理脚本吗 我的邮箱 [email protected] 感谢! |
您好! 在task=in-label-space,mode=conll设置下,我将framework.py中的517-521行:logits, pred, _ = model(query['inputs'], query['tagging_labels'], query['index_labels'],query['target_classes'],query['sentence_num'])更改为了logits, pred, _ = model(query['inputs'], query['batch_labels'],query['valid_masks'],query['target_classes'],query['sentence_num'])使它可以运行,但是在eval阶段读取test.txt时好像会出现读取单行数据(长度过短)时出现异常。
是我不应该这么修改吗?(但是不修改的话代码无法运行,因为代码中没有定义过query中的字段)还是其他原因?
The text was updated successfully, but these errors were encountered: