Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question about nat-sql+rat+sql #4

Open
npcxxxx opened this issue Apr 19, 2022 · 2 comments
Open

Question about nat-sql+rat+sql #4

npcxxxx opened this issue Apr 19, 2022 · 2 comments

Comments

@npcxxxx
Copy link

npcxxxx commented Apr 19, 2022

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
Copy link
Owner

ygan commented Jun 4, 2022

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

@zhangyuchen584
Copy link

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?

Repository owner deleted a comment from AntonioSalazar Feb 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants