Skip to content

rrlcs/ggnn-seq2seq

Repository files navigation

ggnn-seq2seq

Synthesizing Programs from Logical Constraints using Deep Neural Networks. Modeled the constraints in First Order Logic using Gated Graph Neural Network. Learned the Embedding in a Multi-Modal setup. Finally, used a GRU Decoder to generate the corresponding programs to satisfy the constraints.

Requirements

  • PyTorch + Cuda
  • torchtext
  • nltk
  • typing
  • time
  • math
  • json
  • numpy
  • matplotlib

Data

Download Dataset

cd data
Download from https://drive.google.com/file/d/1sfh4jp2YqH-A9_Iy8zF4QHzNCVjzfmWx/view?usp=sharing

Train the model

python3 train.py

Evaluate the model

python3 evaluate.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages