StatBot.Swiss:自然语言下的双语开放数据探索
StatBot.Swiss: Bilingual Open Data Exploration in Natural Language
AI总结:
本文发布首个英德双语Text-to-SQL基准StatBot.Swiss,包含455个自然语言/SQL配对和35个数据库,并评估GPT-3.5-Turbo等LLMs,发现其在双语SQL生成上泛化能力不足。
摘要:
大型语言模型(LLMs)在Text-to-SQL系统中带来的改进潜力大多仅在单语英语数据集上得到评估。然而,LLMs在其他语言上的表现仍未得到充分探索。在本工作中,我们发布了StatBot.Swiss数据集,这是首个基于真实应用、用于评估Text-to-SQL系统的双语基准。StatBot.Swiss数据集包含455个自然语言/SQL配对,覆盖35个大型数据库,并同时涵盖英语和德语,且具有不同的复杂度水平。我们采用上下文学习方法,评估了GPT-3.5-Turbo和mixtral-8x7b-instruct等最先进LLMs在Text-to-SQL翻译任务上的表现。我们的实验分析表明,当前的LLMs在我们新发布的双语数据集上生成SQL查询时,难以实现良好的泛化。
英文摘要:
The potential for improvements brought by Large Language Models (LLMs) in Text-to-SQL systems is mostly assessed on monolingual English datasets. However, LLMs' performance for other languages remains vastly unexplored. In this work, we release the StatBot.Swiss dataset, the first bilingual benchmark for evaluating Text-to-SQL systems based on real-world applications. The StatBot.Swiss dataset contains 455 natural language/SQL-pairs over 35 big databases with varying level of complexity for both English and German. We evaluate the performance of state-of-the-art LLMs such as GPT-3.5-Turbo and mixtral-8x7b-instruct for the Text-to-SQL translation task using an in-context learning approach. Our experimental analysis illustrates that current LLMs struggle to generalize well in generating SQL queries on our novel bilingual dataset.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。