Home

Awesome

RAT-SQL-TC

Code for our paper "Pay More Attention to History: A Context Modeling Strategy for Conversational Text-to-SQL"

Please refer to gap-text2sql rep for environment and requirements.

Preprocess dataset

python run.py preprocess experiments/sparc-tcs-configs/gap-run.jsonnet

Inference

python run.py eval experiments/sparc-tcs-configs/gap-run.jsonnet

Training

python run.py train experiments/sparc-tcs-configs/gap-run.jsonnet