{"repo":"salesforce/TabularSemanticParsing","free":true,"listed":false,"github":"https://github.com/salesforce/TabularSemanticParsing","clone":"git clone https://github.com/salesforce/TabularSemanticParsing.git","description":"Translating natural language questions to structured query language (SQL)","language":"Jupyter Notebook","stars":237,"topics":["text-to-sql","semantic-parsing","natural-language-interface","pytorch","natural-language-processing","database"],"license":"BSD-3-Clause","category":"databases-storage","readme_excerpt":"⚠️[09.08.25] REPO NO LONGER MAINTAINED, RESEARCH CODE PROVIDED AS IT IS Bridging Textual and Tabular Data for Cross-Domain Text-to-SQL Semantic Parsing This is the official code release of the following paper: Xi Victoria Lin, Richard Socher and Caiming Xiong. Bridging Textual and Tabular Data for Cross-Domain Text-to-SQL Semantic Parsing. Findings of EMNLP 2020. Overview Cross-domain tabular semantic parsing (X-TSP) is the task of predicting the executable structured query language given a natural language question issued to some database. The model may or may not have seen the target database during training. This library implements - A strong sequence-to-sequence based cross-domain text-to-SQL semantic parser that achieved state-of-the-art performance on two widely used benchmark datasets: Spider and WikiSQL. - A set of SQL processing tools for parsing, tokenizing and validating SQL queries, adapted from the Moz SQL Parser. The parser can be adapted to learn mappings from text to other structured query languages such as SOQL by modifying the formal langauge pre-processing and post-processing modules. Model Our model takes a natural language utterance and a database (schema + field picklists) as input, and generates SQL queries as token sequences. We apply schema-guided decoding and post-processing to make sure the final output is executable. - Preprocessing: We concatenate the serialized database schema with the utterance to form a tagged sequence. A fuzzy string matching ","default_branch":null,"files":null,"tree":[],"storefront":"/r/salesforce","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/salesforce/TabularSemanticParsing/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}