guotong1988 / NL2SQL-RULE

Content Enhanced BERT-based Text-to-SQL Generation https://arxiv.org/abs/1910.07179
188 stars 48 forks source link

Testing models with simple prediction - Generate predictions JSON files #9

Closed mellahysf closed 4 years ago

mellahysf commented 4 years ago

I have 2 questions very close :

1)How can i test the model using simple user question and schema table ? simply, how to do simple prediction ?

2)How to generate predictions JSON files (for WikiSQL TrainigSet and DevSet ?)

Thank you very much for helping me.

guotong1988 commented 4 years ago

These features are not ready now but may be ready in the future.

mellahysf commented 4 years ago

Thank your for your response.

I want to generate CSV file that contains 4 columns : Question-Schema-Logical Form Evaluation (true or false)-Execution Evaluation (true or false) for TrainingSet and DevSet of WikiSQL !! How can i do this ? possible from train.py directly ?

Thank you again for helpping me.

guotong1988 commented 4 years ago

Sorry, out of my knowledge.