2023 · 16 citations · 14 references
ComputingComputer ScienceDatabasesMachine LearningNatural Language ProcessingLanguage ModelingLanguage ModelsQuery ExpansionQuery ProcessingStructured Query LanguageText GenerationAutomated Query GenerationConsistencyData-to-text GenerationFew-shot LearningIn-context LearningLarge Language ModelsNatural Language InferencePrompt-based Generation
Text-to-SQL aims to automate the process of generating SQL queries on a database from natural language text. In this work, we propose “SQLPrompt”, tailored to improve the few-shot prompting capabilities of Text-to-SQL for Large Language Models (LLMs). Our methods include innovative prompt design, execution-based consistency decoding strategy which selects the SQL with the most consistent execution outcome among other SQL proposals, and a method that aims to improve performance by diversifying the SQL proposals during consistency selection with different prompt designs (“MixPrompt”) and foundation models (“MixLLMs”). We show that SQLPrompt outperforms previous approaches for in-context learning with zero labeled data by a large margin, closing the gap with finetuning state-of-the-art with thousands of labeled data.
14
PaLM: Scaling Language Modeling with Pathways
Aakanksha Chowdhery, Sharan Narang, Jacob Devlin et al. · arXiv (Cornell University) · 2022 · 2.1K citations · Full text
Scaling Instruction-Finetuned Language Models
Hyung Won Chung, Le Hou, Shayne Longpre et al. · arXiv (Cornell University) · 2022 · 1.2K citations · Full text
Emergent Abilities of Large Language Models
Yi Tay, Rishi Bommasani, Colin Raffel et al. · arXiv (Cornell University) · 2022 · 1K citations · Full text