Skip to content

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

@BELE-Y

Description

@BELE-Y

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions