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

How to generate executable sql like "query" field of the example?

shxliang opened this issue · comments

Code use the 'query_toks_no_value' field of the example which anonymizes values to train and predict, so the model predict results cannot be directly used for execution.
How to generate executable sql like "query" field of the example, can use the 'query_toks' field of the example to train?

Currently the model doesn't handle predicting values. You will need to modify it to allow this - perhaps by attending any of the tokens in the question after decoding an anonymized value token.