wudapeng268 / KBQA-Adapter

Source code and data for our long paper (Wu et al., 2019)
https://arxiv.org/abs/1907.07328
53 stars 12 forks source link

relation data as text or csv file #6

Closed DeepInEvil closed 3 years ago

DeepInEvil commented 3 years ago

Hello,

thanks for the work, the paper is very interesting, but the coding could be improved. There are a lot of pre-defined paths in the code which should be avoided. Also, I am not able to load the pickle file since it requires the Item class somehow probably

with open('Data/SQB/fold-0.test.pickle', 'rb') as f: test = pickle.load(f)

ModuleNotFoundError: No module named 'Item'

Please provide the new data in a csv/text file.

DeepInEvil commented 3 years ago

the issue is resolved by loading the file from the directory