malllabiisc / EmbedKGQA

ACL 2020: Improving Multi-hop Question Answering over Knowledge Graphs using Knowledge Base Embeddings
Apache License 2.0
412 stars 95 forks source link

Using LibKge embeddings #93

Open perceptrons-vnit opened 2 years ago

perceptrons-vnit commented 2 years ago

Hello, we are trying to replicate the model with a custom dataset and we have got the checkpoint file for our dataset. I wanted to know how to use that to give input to the KGQA module. And how do I get bn0, bn1, and bn2 files? What are the required input embedding files and how do i get them using LibKge

apoorvumang commented 2 years ago

Hi, in case you are trying on a custom dataset I would recommend you use the code from KGQA/RoBERTa. There you don't need bn0 etc. (which is needed for code in KGQA/LSTM) and you can directly use libKGE embeddings.

perceptrons-vnit commented 2 years ago

Hii, It will be really helpful if you could provide an example for using a custom dataset using RoBERTa