DeepKE icon indicating copy to clipboard operation
DeepKE copied to clipboard

re/standard模型predict结果关系对应出错

Open zmt1002 opened this issue 3 years ago • 3 comments

Describe the question 你好,下面是我data/origin/relation.csv文件的数据,训练模型之后predict,原本应该是“牵头”关系的显示索引超出范围,而原本是”担任“的对应“牵头”,“设立”对应的却是“担任”,而且结果的置信度均为1,我想请问一下这是什么原因? image

Environment (please complete the following information):

  • OS: [e.g. mac / window]
  • Python Version [e.g. 3.6]

Screenshots

If applicable, add screenshots to help explain your problem.

Additional context

Add any other context about the problem here.

zmt1002 avatar Feb 11 '23 15:02 zmt1002

embedding.yaml中的num-relations是否设置为5,还有置信度是代表模型对本次预测的概率,并不一定正确

tlk1997 avatar Feb 11 '23 15:02 tlk1997

embedding.yaml中的num-relations是否设置为5,还有置信度是代表模型对本次预测的概率,并不一定正确

num-relations是设置的5

zmt1002 avatar Feb 11 '23 15:02 zmt1002

可能是模型预测错的

zxlzr avatar Feb 12 '23 02:02 zxlzr