Skip to content

tom68-ll/IGSQL

 
 

Repository files navigation

IGSQL

This is the implementation of EMNLP 2020 paper IGSQL: Database Schema Interaction Graph Based Neural Model for Context-Dependent Text-to-SQL Generation

Dependency

folder data/ data/database model/bert/data/annotated_wikisql_and_PyTorch_bert_param/pytorch_model_uncased_L-12_H-768_A-12.bin can be found here

How to run

use ./run_sparc.sh or ./run_cosql.sh to train and evaluate on the best model.

use ./test_sparc.sh or ./test_cosql.sh (change the save_file path) to evaluate the specific model.

Acknowledgement

We adapt the code from editsql. Thanks to the open-source project.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 61.6%
  • Jupyter Notebook 37.5%
  • Shell 0.9%