malllabiisc / EmbedKGQA

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

How did you get pretrained_models webqsp.pt? #69

Closed yaowang1112 closed 3 years ago

yaowang1112 commented 3 years ago

I don't know how to get webqsp.pt when I do relation_matching.

apoorvumang commented 3 years ago

Yes sry that pretrained model is missed out, I will upload it and update you

apoorvumang commented 3 years ago

Please download the file using

curl http://transfer.sh/PbRHI/webqsp.pt -o webqsp.pt

And place it in the correct folder ../../pretrained_models/relation_matching_models/webqsp.pt

This is a temporary download and I will be moving this to pretrained_models.zip soon

yaowang1112 commented 3 years ago

I downloaded the file before, I am curious about how to get webqsq.pt. Run which file can get webqsp.pt?

apoorvumang commented 3 years ago

This file: https://github.com/malllabiisc/EmbedKGQA/blob/master/KGQA/RoBERTa/pruning_main.py

You will have to edit it to save the checkpoint to the proper location with the proper name

dungtn commented 3 years ago

@apoorvumang thank you for sharing, I notice that the pruning_test.txt is still missing from data.zip. Can you share the it? And the script to create pruning_{train, test}.txt if possible?

apoorvumang commented 3 years ago

@dungtn sure, can you please create a new issue regarding this? will be easier to track

aravindarajanS commented 3 years ago

@apoorvumang thanks for the code. please share pruning_test.txt and script for pruning file creation if possible. thanks