coarse2fine icon indicating copy to clipboard operation
coarse2fine copied to clipboard

Coarse-to-Fine Decoding for Neural Semantic Parsing

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