NatSQL icon indicating copy to clipboard operation
NatSQL copied to clipboard

Applying NatSQL on BIRD-SQL

Open bipurevpn opened this issue 2 years ago • 1 comments

I am attempting to apply NatSQL on the BIRD-SQL dataset (https://bird-bench.github.io/), following the provided steps. However, I've encountered an issue during the preprocessing stage.

  1. Dataset Download: I downloaded the required datasets and placed the files in the ./data/ directory.
  2. Preprocessing: I ran check_and_preprocess.sh to check and preprocess the dataset. This script successfully generated tables_bird.json and tables_for_natsql_bird.json.

Issue: The check_and_preprocess.sh script calls generate_spider_examples_with_natsql.py, which requires dev-natsql.json and train_bird-natsql.json files. However, I could not find these files, nor could I find instructions on how to generate them.

Could you provide guidance on how to generate dev-natsql.json and train_bird-natsql.json,

Thank you in advance for your assistance!

bipurevpn avatar Jan 19 '24 07:01 bipurevpn

@ygan Could you provide guidance on how to generate dev_bird-natsql.json and train_bird-natsql.json? thank you. Or can you release the full source code from sql 2 natsql?

kanseaveg avatar Apr 12 '24 00:04 kanseaveg