Can knowledge graph embeddings be initialized from specific value? #7756
songsong0425
started this conversation in
General
Replies: 1 comment 3 replies
-
I think you have two options:
x = torch.cat([data.x, self.emb.weight)], dim=-1) |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Dear PyG community,
Greetings, thank you for your efforts on the package.
I have a general question about initializing knowledge graph embedding (KGE) models.
To my knowledge, most of the KGE models have used randomly initialized vectors for the node features.
Can the specific feature vectors be used for some nodes in KG?
For example, entity A use a 256-dimensional feature vector, otherwise uses a dimension-matched randomly initialized vector.
If it is impossible, can you explain why?
Thank you for reading this question.
Beta Was this translation helpful? Give feedback.
All reactions