This repo contains a PyTorch port of the lua code here for the paper "Language to Logical Form with Neural Attention." This code was written last year as part of a project with Jack Koch and is not being actively worked on or maintained. Nevertheless, I am putting the code here in case it is useful for anyone. The code runs on PyTorch 0.4.1 although it was written for an earlier version. Let me know if you encounter any errors.
For more recent PyTorch code by Li Dong, check out the GitHub repo for the paper "Coarse-to-Fine Decoding for Neural Semantic Parsing."