-
Notifications
You must be signed in to change notification settings - Fork 62
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
IterE使用的一些问题 #46
Comments
您好! 感谢您对我们工作的支持,关于初始化axiom_pool,您可以参考以下GitHub项目中的代码:GitHub - IterE/axiomPools.py。关于详细的实现细节和方法,您可以查阅这篇论文:Iteratively Learning Embeddings and Rules for Knowledge Graph Reasoning。 希望这些资源对您有所帮助! |
非常感谢回复,我在提出issue之后找到了ITERE的原始仓库并使用axiomPools.py进行了新数据集的公里池生成,但之后标准的生成文件中只包含下图所示的七个文件。而论文中所提到仓库中多出了图二所示的关于inference公理的新文件,这里是怎么生成的呢。: 多出了inferenceChain1, inferenceChain2, inferenceChain3等文件
|
您好, 我看不到评论中所提到的“图”。论文中所提到的仓库多出来的inferenceChain1, inferenceChain2, inferenceChain3,是考虑了路径中关系的方向而差异化出来的inferenceChain,比如 a --[r1] --> b --[r2]--> c 和 a <--[r3]-- b --[r2] --> c 是符合不同模式的inferenceChain。 希望解答了你的疑惑! |
感谢你的解答,针对4种不同的inferenceChain 我在IterE的具体实现中找到了定义区分。原文是通过更改AxiomPool.py中inferenceChain分支进行生成的嘛,想请教一下改写的代码用于学习 |
对的,在inferenceChain中增加其他几种非h --> e --> t顺序的路径的采样,就可以生成了对应的inferenceChain1, inferenceChain2, inferenceChain3了。 |
在使用IterE.py做新数据集的操作时,按照IterE_FB.sh方法进行脚本编写,在初始训练时并没有在axiom_pool中进行赋值,都是空文件,这直接导致了运行时报错:
想请问一下这里的axiom_pool在针对新数据集时应该如何进行初始化操作
The text was updated successfully, but these errors were encountered: