JBoRu / StructGPT

The code and data for "StructGPT: A general framework for Large Language Model to Reason on Structured Data"
Apache License 2.0
97 stars 39 forks source link

file missing #7

Open CH7auAI opened 1 year ago

CH7auAI commented 1 year ago

in file structgpt_for_webqsp.py, line 10: from KnowledgeBase.sparql_executor import *. However, i can't find sparql_executor code definition in KnowledgeBase floder.

CH7auAI commented 1 year ago

in dataset folder: data/spider, dataset file/folder is missing. this [data/spider/dataset] file/folder is needed by the spider evaluation command: python evaluate_for_spider.py --path ./outputs/spider-realistic/output_wo_icl_v1_sample.jsonl --db data/spider/database --table data/spider-realistic/tables.json --etype exec

Ultrama0227 commented 1 year ago

我也试了,他确实没有这些文件,/data/webqsp/subgraph_2hop_triples.npy

JBoRu commented 1 year ago

in dataset folder: data/spider, dataset file/folder is missing. this [data/spider/dataset] file/folder is needed by the spider evaluation command: python evaluate_for_spider.py --path ./outputs/spider-realistic/output_wo_icl_v1_sample.jsonl --db data/spider/database --table data/spider-realistic/tables.json --etype exec

Thanks for your attention! Since the large size of the "subgraph_2hop_triples.npy", I have not found a proper way to upload this file. I will try my best to find the way. Besides, the KnowledgeBase.sparql_executor is not needed to run this project.