knowledge_representation_pytorch icon indicating copy to clipboard operation
knowledge_representation_pytorch copied to clipboard

请问fb15k和wn18数据集的negvalid2id.txt和negtest2id.txt怎么得到

Open chehefei opened this issue 4 years ago • 1 comments

datasets中的fb13和wn11都有对应的负例,求问如何得到fb15k和wn18对应的负例数据集合呢,非常感谢!

chehefei avatar Dec 14 '20 14:12 chehefei

在utils.py里有calculate_one_or_many方法

SRL94 avatar Mar 26 '21 14:03 SRL94