Skip to content
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

数据集构建 #2

Open
gao-xiao-fei opened this issue Sep 9, 2024 · 2 comments
Open

数据集构建 #2

gao-xiao-fei opened this issue Sep 9, 2024 · 2 comments

Comments

@gao-xiao-fei
Copy link

请问训练数据集中inverse的作用是什么。
以及query 嵌入是怎么计算的,怎么得到的query_id

@a1157996973
Copy link

inverse:头尾预测,query 嵌入用simkgc,transe之类的。他论文和代码里挺清楚的了

@ldp2211479
Copy link

query嵌入是预先通过KGE方法计算出来的,比如TransE、ComplEx等,这些方法会给每个实体和关系分配嵌入向量,然后基于某种评分指标计算出query的嵌入;
举例如下: query(h,r,?) 在 TransE 表示为 | Embedding(h)+Embedding(r) |

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants