Auto-conversion from Natural Language to Structured Query Language using Neural Networks Embedded with Pre-training and Fine-tuning Mechanism

Jian Liu,Qian Cui,Hongwei Cao, Tianyuan Shi, Min Zhou

chinese automation congress(2020)

引用 2|浏览3
暂无评分
摘要
From Natural Language to Structured Query Language(NL2SQL) represents an interesting yet challenging process in translating natural questions into database queries in human-machine dialogue systems. NL2SQL requires a high level of semantic understanding, which is difficult to achieve with traditional methods. Although there is a variety of ways to address this problem, most of them do not work satisfactorily. In this work, we propose an approach for NL2SQL using artificial neural networks embedded with pre-training and fine-tuning model, where we use XLNet as the encoding layer for the model, this method is able to better capture the hidden semantic information between natural language and table header of dataset. To make more use of the related information, the table header type information is enhanced in our model. In particular we introduce this information into the calculation of probability values at the output layer. The effectiveness of the proposed method is tested with good performance on WikiSql dataset, nearly 81% accuracy is achieved on the dev dataset.
更多
查看译文
关键词
NL2SQL,pretrain-finetune
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要