Content Enhanced BERT-based Text-to-SQL Generation

16 Oct 2019Tong GuoHuilin Gao

We present a simple methods to leverage the table content for the BERT-based model to solve the text-to-SQL problem. Based on the observation that some of the table content match some words in question string and some of the table header also match some words in question string, we encode two addition feature vector for the deep model... (read more)

PDF Abstract

Results from the Paper


TASK DATASET MODEL METRIC NAME METRIC VALUE GLOBAL RANK RESULT LEADERBOARD
Text-To-Sql WikiSQL NL2SQL-BERT Accuracy (agg) 97% # 1
Accuracy (sel) 97% # 1
Accuracy (anywhere) 92% # 1
Semantic Parsing WikiSQL NL2SQL-BERT Accuracy 89 # 1