Add ConvE knowledge graph embedding model #9867
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Added ConvE implementation following from paper https://arxiv.org/pdf/1707.01476 and its corresponding repository https://github.com/TimDettmers/ConvE/blob/master/model.py.
ConvE is a KGE model that uses 2D convolutional layers to capture interactions between entities and relations in a knowledge graph, leveraging its ability to capture non-linearity interactions to improve embedding expressiveness.
This PR is separate from the final project.