NatSQL icon indicating copy to clipboard operation
NatSQL copied to clipboard

Question about nat-sql+rat+sql

Open npcxxxx opened this issue 3 years ago • 2 comments

I am so interested in your excellent work and follow your instructions to reproduce the experiment of nat-sql+rat-sql:

  1. Download the Spider dataset and run check_and_preprocess.sh to preprocess the dataset,
  2. Replace train_spider.json 、dev.json and tables.json in Spider with NatSQLG
  3. Run the command of “python run.py preprocess experiment_config_file” in rat-sql An error has been reported here: File "/home/xx/rat-sql/ratsql/grammars/spider.py", line 166, in parse_val raise ValueError(val) ValueError: 56 I'm wondering if you could share me how to reproduce the whole nat-sql+rat-sql experiment. Thanks a lot! Sincerely.

npcxxxx avatar Apr 19 '22 08:04 npcxxxx

Hi, Thanks for your interest in our work. Please send me an email ([email protected]), I would send you the RATSQL+GAP+NatSQL.

ygan avatar Jun 04 '22 06:06 ygan

I run “python run.py preprocess experiment_config_file”, the NatSQLG parsing SQL grammar is different with original Spider grammar, which have a lot of details. Could you introduce how you set the experiments?

zhangyuchen584 avatar Jun 27 '22 03:06 zhangyuchen584