ygan / NatSQL

44 stars 9 forks source link

Question about nat-sql+rat+sql #4

Open npcxxxx opened 2 years ago

npcxxxx commented 2 years ago

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.
ygan commented 2 years ago

Hi, Thanks for your interest in our work. Please send me an email (y.gan@qmul.ac.uk), I would send you the RATSQL+GAP+NatSQL.

zhangyuchen584 commented 2 years ago

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?