EmbedKGQA icon indicating copy to clipboard operation
EmbedKGQA copied to clipboard

knowledge embedding

Open xdcui-nlp opened this issue 3 years ago • 1 comments

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

xdcui-nlp avatar Dec 09 '21 12:12 xdcui-nlp

First pretrain the right embeddings. Then modify the scoring function used in the QA models, for example, see this line https://github.com/malllabiisc/EmbedKGQA/blob/b2a33674a0a6653745e55a3da53cc2d7e00c372d/KGQA/LSTM/model.py#L24

and change the function to your choice

apoorvumang avatar Dec 19 '21 09:12 apoorvumang