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

Entity和Relation的嵌入向量如何与具体的实体关系相对应 #407

Open
BELE-Y opened this issue Apr 3, 2024 · 0 comments
Open

Comments

@BELE-Y
Copy link

BELE-Y commented Apr 3, 2024

我在执行transe.save_parameters("./embed.vec")后,文件中ent_embedding.weight中的张量,是按照其下标与entity2id.txt的文件中的实体对应一 一的嘛?ent_embedding.weight中下标为0的张量,是否就是id为0的实体在向量空间的嵌入?relation同理

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

1 participant