Method for converting natural language into SQL (Structured Query Language) statement based on deep learning
A natural language and deep learning technology, applied in the field of obtaining lightweight models, can solve the problems of algorithm time complexity and space complexity need to be improved, inference speed is not fast enough, training time is long, etc., and the method is simple, clear, fast, The effect of small computing resources and improved computing speed
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment
[0047] Given a data table T to be queried "List of transaction information in major cities" and a natural language query question Q "How many cities have the transaction volume in the past four weeks less than 3574 sets and the chain ratio is lower than 69.7%", the Chinese-English NL2SQL based on deep learning The specific implementation details of the model algorithm are as follows:
[0048] Get the target natural language query question text and the column name of the data table, the data example is as follows: "[CLS] cities with a volume of less than 3574 sets in the past four weeks and less than 69.7% month-on-month have several [SEP] cities [SEP] in the past four weeks Weekly Average Transaction [SEP] MoM [SEP]”;
[0049] The SQL statement obtained through the NL2SQL model is as follows: SELECT COUNT city FROM TABLE WHERE chain ratio < 69.7 AND weekly average transaction in the past 4 weeks < 3574;
[0050] The obtained SQL query statement is queried in the query databas...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com