Repo dedicated to different approaches of transforming natural language questions to structured ones such as SQL
- Wonseok Hwang, Jinyeong Yim, Seunghyun Park, and Minjoon Seo.
- Affiliation: Clova AI Research, NAVER Corp., Seongnam, Korea.
- The updated version of manuscript is available from arXiv.
Tested on Python 3.8 and Cuda 11.3
- Install minicoda and following dependencies
conda install pytorch torchvision -c pytorchconda install -c conda-forge recordsconda install babelconda install matplotlibconda install defusedxmlconda install tqdmconda install -c conda-forge stanfordcorenlpconda install -c anaconda sqlalchemyconda install -c ericmjl isortconda install -c conda-forge black
Download annotated WikiSQL data and the PyTorch-converted pre-trained BERT parameters here and place whole folder under data folder
python3 train.py you will be prompted with topic lookup and then question