INTENT RECOGNITION MODEL TRAINING AND INTENT RECOGNITION METHOD AND APPARATUS

    公开(公告)号:US20230004798A1

    公开(公告)日:2023-01-05

    申请号:US17825303

    申请日:2022-05-26

    Abstract: The present disclosure provides intent recognition model training and intent recognition methods and apparatuses, and relates to the field of artificial intelligence technologies. The intent recognition model training method includes: acquiring training data including a plurality of training texts and first annotation intents of the plurality of training texts; constructing a neural network model including a feature extraction layer and a first recognition layer; and training the neural network model according to word segmentation results of the plurality of training texts and the first annotation intents of the plurality of training texts to obtain an intent recognition model. The method for intent recognition includes: acquiring a to-be-recognized text; and inputting word segmentation results of the to-be-recognized text to an intent recognition model, and obtaining a first intent result and a second intent result of the to-be-recognized text according to an output result of the intent recognition model.

    METHOD FOR GENERATING QUERY STATEMENT, ELECTRONIC DEVICE AND STORAGE MEDIUM

    公开(公告)号:US20220179889A1

    公开(公告)日:2022-06-09

    申请号:US17652314

    申请日:2022-02-24

    Abstract: The disclosure provides a method for generating a query statement. The method includes: determining a first vector representation based on known nodes in a first syntax tree corresponding to a query statement to be generated; determining a target generation strategy corresponding to a target node to be generated based on the first vector representation and a preset copy reference matrix; generating the target node based on the first vector representation or a second vector representation by performing the target generation strategy, in which the second vector representation is a vector representation corresponding to an adjacent query statement prior to the query statement to be generated; and generating the query statement based on the known nodes and a terminator in response to the target node being the terminator.

Patent Agency Ranking