Skip to content

JD-AI-Research-Silicon-Valley/auxiliary-task-for-text-to-sql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Zero-shot Text-to-SQL Learning with Auxiliary Task

Code for Zero-shot Text-to-SQL Learning with Auxiliary Task

Usage

Conda Environments

Please use Python 3.6 and Pytorch 1.3. Other Python dependency is in requirement.txt. Install Python dependency with:

	pip install -r requirements.txt

Download Data

Data can be found from google drive. Please download them and extract them into root path.

Generate our respilted WikiSQL data

	cd data_model/wikisql
	python make_zs.py
	python make_fs.py

Run the model on original WikiSQL and our split

	cd zero-shot-text-to-SQL
	./run.sh  GPU_ID

Acknowledgement

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published