System, method, and computer program for augmenting multi-turn text-to-SQL datasets with self-play
AssigneeTencent America LLC
InventorLinfeng Song
Life of this patent
Estimating the term…
Loading patent…
AssigneeTencent America LLC
InventorLinfeng Song
Estimating the term…
A method, performed by at least one processor, and an apparatus for augmenting multi-turn text-to-SQL datasets is provided. The method and computer program code include generating an SQL-to-text model to converse with a text-to-SQL model, pre-training the SQL-to-text model and the text-to-SQL model based on input training data, sampling an SQL query as a goal query of an interaction between the SQL-to-text model and the text-to-SQL model, generating the interaction based on the goal query, a current utterance, previous utterances in the interaction, an SQL query from a preceding turn of the interaction, and a serialized database, filtering interactions based on a similarity score between the last turn of the interaction and the goal query, and re-training the SQL-to-text model and the text-to-SQL model based on the input training data and the filtered interactions.
A method for augmenting multi-turn text-to-SQL datasets, performed by at least one processor and comprising:
An apparatus for augmenting multi-turn text-to-SQL datasets, the apparatus comprising:
A non-transitory computer-readable medium storing instructions that, when executed by at least one processor of an apparatus for augmenting multi-turn text-to-SQL datasets, cause the at least one processor to:
Dependencies are inferred from the claim text.