/coarse2fine

Primary LanguagePythonMIT LicenseMIT

Setup

Requirements

Install Python dependency

pip install -r requirements.txt

Download data and pretrained models

Download the zip file from Google Drive, and copy it to the root folder.

unzip acl18coarse2fine_data_model.zip

Usage

Run pretrained models

./pretrain.sh [geoqueries|atis|django|wikisql] GPU_ID

Run experiments

./run.sh [geoqueries|atis|django|wikisql] GPU_ID

Acknowledgments