benbogin / spider-schema-gnn-global

Author implementation of Global Reasoning over Database Structures for Text-to-SQL Parsing

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Running a real time NLP question

abhishekmamdapure opened this issue · comments

Hello,

I am able to use the inference code on the dev set and I am able to get the results on the dev set. However, I am not understanding how to use the inference code to get predicted SQL queries on providing input in the form of questions(during deployment).

Can anyone help me understand how to use the same?

Hey,
I don't have any exact command line configuration at hand but basically you can run AllenNLP's simple demo server which gives an interactive web page + api. The predictor class is already implemented in this code base.