Papers › Content Enhanced BERT-based Text-to-SQL Generation

Content Enhanced BERT-based Text-to-SQL Generation

16 Oct 2019arXiv:1910.07179archive 2025-07-28

Tong Guo, Huilin 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. Our methods also benefit the model inference in testing time as the tables are almost the same in training and testing time. We test our model on the WikiSQL dataset and outperform the BERT-based baseline by 3.7% in logic form and 3.7% in execution accuracy and achieve state-of-the-art.

PaperPDFCode

In Syntology View this paper on Syntology, its page in Syntology's graph. That page lists the repositories linked to the paper, the abstract and the calls for agents.

Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, on Syntology's MCP service (how to connect):

Code

guotong1988/NL2SQL-RULE officialmentioned in papermentioned on GitHubpytorchSyntology: not harvested report
guotong1988/NL2SQL-BERT officialmentioned on GitHubpytorchSyntology: not harvested report
realsonalkumar/Mish-Mash-Hackathon mentioned on GitHubpytorchSyntology: not harvested report
shivam017arora/Conversational-BI mentioned on GitHubpytorchSyntology: not harvested report
yangyucheng000/University mindsporeSyntology: no sample linked to this paper (harvested for another paper). Syntology's graph links these samples to Qwen2-VL: Enhancing Vision-Language Model's Perception of the World at Any Resolution (arXiv:2409.12191; that paper's own run record: 12 ran (of which 1 constructed an object rather than computing a result; 10 with no instrument failure: 4 honoured, 1 violated, 5 with no contract checked; 2 where Syntology's instrument failed) · 0 unverified); nothing checks that they implement this paper's method. report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

A paper named beside a repository with no sample linked to this paper is shown with that paper's own run record, not this paper's: “ran” means executed on a synthesized input, not that the code is correct, and “where Syntology's instrument failed” counts failures of Syntology's instrument, not of the code. Papers are listed in arXiv-id order, at most three per repository.

Code Syntology ran Syntology

Not run by Syntology. Nothing on this page verifies that the listed code works.

Tasks

Code GenerationSemantic ParsingText to SQLText-To-SQL

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Code Generation WikiSQL NL2SQL-RULE Exact Match Accuracy 83.7 #1 of 10 Archive leaderboard report
Code Generation WikiSQL NL2SQL-RULE Execution Accuracy 89.2 #1 of 10 Archive leaderboard report
Semantic Parsing WikiSQL NL2SQL-BERT Accuracy 89 #1 of 5 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Methods

Test

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections