Closed dinani65 closed 3 years ago
In webqsp folder, there is no kb_03 folder.
The config about dataset is in format --data_folder <position relative/absolute path>
. For example, --data_folder /home/username/data/KBQA/MetaQA-3hop/
. You may refer to my command in run_webqsp.sh, run_metaqa.sh for reference.
Many thanks for your reply. I do apologize it if my questions are simple. 1) --load_teacher is one of parameters when main_student.py should be run, but there is no any .ckpt file to use that. 2) entities.txt includes the ids of the entities, could u please share the id2entity file as well? I want to have the file which contains entities and related ids? 3) each line of *_simple.json file describes a question and related question-specific graph. each sub graph contains some tuples, what are the numbers which have been used to show the sub graphs and how can access to their corresponded entities? I guess each entity has a text, an index and and an Id. If so, is it possible to have them in a file?
I think you'd better have a look at my example command, and try to run it.
NSM/data/basic_dataset.py
, the load_dict
function indicate what's id2entity.
could u please describe more how to config dataset?