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

knowledge embedding #112

Open
xdcui-nlp opened this issue Dec 9, 2021 · 1 comment
Open

knowledge embedding #112

xdcui-nlp opened this issue Dec 9, 2021 · 1 comment

Comments

@xdcui-nlp
Copy link

Hello, I want to ask how to use other embedding methods except complEx? Like Rotate.

@apoorvumang
Copy link
Collaborator

First pretrain the right embeddings. Then modify the scoring function used in the QA models, for example, see this line

self.getScores = self.DistMult

and change the function to your choice

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

2 participants