Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/headacheboy/IGSQL
https://github.com/headacheboy/IGSQL
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/headacheboy/IGSQL
- Owner: headacheboy
- License: apache-2.0
- Created: 2020-11-11T13:50:00.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2020-11-15T16:10:44.000Z (about 4 years ago)
- Last Synced: 2024-08-18T11:13:40.300Z (6 months ago)
- Language: Python
- Size: 287 KB
- Stars: 27
- Watchers: 2
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- Awesome-Text2SQL - [code
README
# IGSQL
This is the implementation of EMNLP 2020 paper [IGSQL: Database Schema Interaction Graph Based Neural Model for Context-Dependent Text-to-SQL Generation](https://www.aclweb.org/anthology/2020.emnlp-main.560.pdf)
### 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](https://github.com/ryanzhumich/editsql)
### 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](https://github.com/ryanzhumich/editsql). Thanks to the open-source project.