arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2312.12414cs.DBcs.AIcs.LG
收藏

基于T5模型的自然语言查询到SQL的转换

Translating Natural Language Queries to SQL Using the T5 Model

Langara College(兰加拉学院);Okanagan College(奥肯那根学院);Harris SmartWorks(哈里斯智能工作部门)

Albert Wong, Lien Pham, Young Lee, Shek Chan, Razel Sadaya, Youry Khmelevsky, Mathias Clement, Florence Wing Yau Cheng, Joe Mahony, Michael Ferri

AI总结:

本研究以T5模型为基础构建自然语言转SQL模型,针对在线事务处理系统和数据仓库场景分别实现73%、84%的精确匹配准确率,已落地多家企业日常使用,方法可推广至其他数据库环境并适配更强的预训练语言模型。

摘要:

本文介绍了以T5模型为基础构建自然语言转SQL模型的开发过程。这些模型于2022年8月为一套在线事务处理系统和一个数据仓库开发,在两个场景下的精确匹配准确率分别为73%和84%。这些模型与该研究项目中完成的其他工作一同,已在多家企业落地并成功投入日常使用。该模型开发所采用的方法可类似地推广到其他数据库环境中,也可结合更强大的预训练语言模型实现。

英文摘要:

This paper presents the development process of a natural language to SQL model using the T5 model as the basis. The models, developed in August 2022 for an online transaction processing system and a data warehouse, have a 73\% and 84\% exact match accuracy respectively. These models, in conjunction with other work completed in the research project, were implemented for several companies and used successfully on a daily basis. The approach used in the model development could be implemented in a similar fashion for other database environments and with a more powerful pre-trained language model.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑