RichardHGL / WSDM2021_NSM

Improving Multi-hop Knowledge Base Question Answering by Learning Intermediate Supervision Signals. WSDM 2021.
134 stars 22 forks source link

a short description regarding the files need to be run #7

Open rhoi2021 opened 3 years ago

rhoi2021 commented 3 years ago

Hi, Could you explain the files need to be run briefly? According to paper, I expect that student network employs the teacher network but I am little bit confused among different folders/files. Thanks for your help!

RichardHGL commented 3 years ago

I think the folder organization should be easy to read. Hope following description works for you: (1) running command is named as .sh, main_student/teacher/NSM.py is for student/teacher and basic NSM model respectively. (2) Main part of the code is in NSM/ folder.
Agent: student, teacher (hybrid and parallel). Model: forward reasoning, backward reasoning. Modules: mainly instruction and reasoning modules described in paper. data: data processing. train: train and evaluation for methods util: util functions (3) preprocessing/ folder: data preprocessing to obtain question-specific graph.