arrow
Return

FI-NL2PY2SQL: Financial Industry NL2SQL Innovation Model Based on Python and Large Language Model

delete2025-01-02
delete1
delete
OA
AI
S
Shijing Hu
F
Feng Zhou *
C
Cheng Wang
B
Binh Minh Nguyen
DOI:10.3390/fi17010012delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
With the rapid development of prominent models, NL2SQL has made many breakthroughs, but customers still hope that the accuracy of NL2SQL can be continuously improved through optimization. The method based on large models has brought revolutionary changes to NL2SQL. This paper innovatively proposes a new NL2SQL method based on a large language model (LLM), which could be adapted to an edge-cloud computing platform. First, natural language is converted into Python language, and then SQL is generated through Python. At the same time, considering the traceability characteristics of financial industry regulatory requirements, this paper uses the open-source big model DeepSeek. After testing on the BIRD dataset, compared with most NL2SQL models based on large language models, EX is at least 2.73% higher than the original method, F1 is at least 3.72 higher than the original method, and VES is 6.34% higher than the original method. Through this innovative algorithm, the accuracy of NL2SQL in the financial industry is greatly improved, which can provide business personnel with a robust database access mode.
Keywords:
LLM
NL2SQL
pre-training
prompt
Python

Journal

Future Internet cover
Future Internet
IF:
3.6
Papers:
1.3K
Citations:
6.5K

Organization

G
gientech technol co ltd
Scholars:
1
Papers: 1
Citations: 1
S
shanghai normal university tianhua college
Scholars:
54
Papers: 51
Citations: 2
H
Hanoi University of Science and Technology
Scholars:
709
Papers: 339
Citations: 2.1K
researcher View more organizations
Cited Papers

Cited Papers

errShare
errSave
A survey on deep learning approaches for text-to-SQL
err2023-01-23
err0
errOAAI
errGeorge Katsogiannis-Meimarakis; Georgia Koutrika
errShare
errSave
Large language models in health care: Development, applications, and challenges
err2023-07-24
err0
errOAAI
errRui Yang; Ting Fang Tan; Wei Lu; Arun James Thirunavukarasu; Daniel Shu Wei Ting; Nan Liu
errShare
errSave
Text-to-SQL Empowered by Large Language Models: A Benchmark Evaluation
err2024-05-02
err0
errOAAI
errDawei Gao; Haibin Wang; Yaliang Li; Xiuyu Sun; Yichen Qian; Bolin Ding; Jingren Zhou
errShare
errSave
Spider: A Large-Scale Human-Labeled Dataset for Complex and Cross-Domain Semantic Parsing and Text-to-SQL Task
err2018-01-01
err0
errOAAI
errTao Yu; Rui Zhang; Kai Yang; Michihiro Yasunaga; Dongxu Wang; Zifan Li; James Ma; Irene Li; Qingning Yao; Shanelle Roman; Zilin Zhang; Dragomir Radev
errShare
errSave
BUSINESS INTELLIGENCE IN THE ERA OF BIG DATA: A REVIEW OF ANALYTICAL TOOLS AND COMPETITIVE ADVANTAGE
err2024-02-18
err0
errOAAI
errAdebunmi Okechukwu Adewusi; Ugochukwu Ikechukwu Okoli; Ejuma Adaga; Temidayo Olorunsogo; Onyeka Franca Asuzu; Donald Obinna Daraojimba
errShare
errSave
Transformers in source code generation: A comprehensive survey
err2024-08-01
err1
PREAI
errGhaemi, Hadi; Alizadehsani, Zakieh; Shahraki, Amin; Corchado, Juan M.
errShare
errSave
researcher View more