BeachWang / DAIL-SQL

A efficient and effective few-shot NL2SQL method on GPT-4.
Apache License 2.0
427 stars 69 forks source link

Error during data_preprocess #7

Closed belugak closed 10 months ago

belugak commented 1 year ago

Hello!

Thanks for great work! when I followed the instruction I got stuck when I ran the data_preprocess.py, it told me that 'Error while loading a tagger model (probably missing model file). Why did this situation occur? How to resolve this problem?

Thanks a lot!

belugak commented 1 year ago

also,my test section linking is 0%

BeachWang commented 1 year ago

Hi,

Have you launch the coreNLP server successfully?

belugak commented 1 year ago

Hi,

Have you launch the coreNLP server successfully?

How can I tell that I lauch the coreNLP server successfully

BeachWang commented 1 year ago

Hi,

The your_pre_generated_queries_file contains 1034 lines of predicted SQL statements specifically generated for problems in the dev set. These predictions follow the same format as the results/DAIL-SQL+GPT-4.txtfile. In the DAIL-SQL framework, these predictions are the output of LLMs using EUCDISQUESTIONMASK selection. For more detailed information, please refer to the run_dail_sql.shfile. Additionally, it is also possible to use your own model to generate predictions for the dev set in advance.

-----原始邮件----- 发件人:belugak 发送时间:2023-10-27 10:44:42 (星期五) 收件人: BeachWang/DAIL-SQL 抄送: BeachWang , Comment 主题: Re: [BeachWang/DAIL-SQL] Error during data_preprocess (Issue #7)

Hi, The problem above have been resolved but now I have new problem want to ask you. during prompt generation, we need a your_pre_generated_queries_file, but I don't know what is supported query type, could you please inform me ? Thanks a lot. — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @github.com>

BeachWang commented 10 months ago

Hi, We take Graphix as our preliminary model in our experiments in the paper. We have upload the your_pre_generated_queries_file in results/graphix_result.txt for Spider dev.