NL2SQ analysis method based on deep learning

An analysis method and deep learning technology, applied in machine learning, special data processing applications, instruments, etc., can solve problems such as model inapplicability, network architecture dependent on data distribution, and no more consideration of the meaning of table names, etc., to achieve High implementability, high logical accuracy and wide coverage

Pending Publication Date: 2022-03-29
北京尘锋信息技术有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0009] The current mainstream method based on the background technology is to achieve the purpose of analysis through deep learning, but the current deep learning network framework has the following problems: some parts of the network architecture are heavily dependent on the distribution of data, when the data source changes , the model is not applicable, and the network architecture needs to be readjusted for training; the use of the network architecture for the table column name is only part of the input, and the model is allowed to learn the correlation between the query and the column name, and there is no more consideration for the table column name Meaning; the currently public network architectures are all experiments on a single table, and the tasks do not involve the GROUP, HAVING, and multi-table joint query (JOIN) in the above standard structure, which are difficult but commonly used in business. Grammar, so Due to the technical problem of being unable to evaluate the effect of the current public network, the present invention proposes a deep learning-based NL2SQ analysis method

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • NL2SQ analysis method based on deep learning

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] The technical solution of this patent will be further described in detail below in conjunction with specific embodiments.

[0035] Embodiments of the present patent are described in detail below, examples of which are shown in the drawings, wherein the same or similar reference numerals designate the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary and are only used for explaining the patent, and should not be construed as limiting the patent.

[0036] In the description of this patent, it is to be understood that the terms "center", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", The orientation or positional relationship indicated by "top", "bottom", "inner", "outer", etc. is based on the orientation or positional relationship shown in the drawings, and is only for the convenience of describing this patent and simplifying the des...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention belongs to the technical field of intelligent search, in particular to an NL2SQ analysis method based on deep learning, and provides the following scheme that an NL2SQL analysis model is included, the NL2SQL analysis model comprises an encoder, the encoder is an NLP pre-training model, the NL2SQL analysis model constructs a network architecture adaptive to an NL2SQL task, and the NL2SQ analysis model is used for analyzing the NL2SQ task. And the NL2SQL analysis model unifies the annotation formats of the public data and the self-annotation data. According to the method, [SEL], [GRP], [ORD] and special marks are added through model input to assist a model analysis method, a two-time calculation architecture of the model and an information fusion mode between two-time prediction, the set network architecture is not limited to a source data form, when data changes, the network structure does not need to be changed, the network architecture basically comprises all basic grammar of SQL, coverage is wider, and the method is suitable for large-scale popularization and application. The landing requirements are better met.

Description

technical field [0001] The present invention relates to the technical field of intelligent search, in particular to an NL2SQ analysis method based on deep learning. Background technique [0002] In intelligent search, the process of computers understanding user query intentions has become a research hotspot in the industry. Before understanding user intentions, it is first necessary to convert natural language into an executable program language that computers can understand and generate accurate statement semantics. [0003] NaturalLanguagetoSQL (NL2SQL) is a method to convert the user's natural language statement into a computer-readable, runnable, and semantic representation that conforms to computer rules. NL2SQL aims to convert natural language into database structured query language (NL2SQL), and natural The key to converting the language into SQL is to parse out what the corresponding parts of the above structured statements are according to the natural language (Quer...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F16/242G06F16/2453G06N20/00
CPCG06F16/244G06F16/2445G06F16/24537G06N20/00
Inventor 赵继帆张杨
Owner 北京尘锋信息技术有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products