SEMANTIC UNDERSTANDING METHOD, ELECTRONIC DEVICE, AND STORAGE MEDIUM

    公开(公告)号:US20230089268A1

    公开(公告)日:2023-03-23

    申请号:US18060692

    申请日:2022-12-01

    Abstract: A semantic understanding method, includes: acquiring a query statement and a preceding dialogue; rewriting the query statement based on a preset rule to generate a target query statement if it is recognized that the query statement meets a rule rewriting condition according to the query statement and the preceding dialogue; rewriting the query statement based on a rewriting model to generate the target query statement if it is recognized that the query statement does not meet the rule rewriting condition according to the query statement and the preceding dialogue; and performing intention recognition according to the target query statement to generate an intention recognition result.

    METHOD FOR TRAINING SEMANTIC REPRESENTATION MODEL, DEVICE AND STORAGE MEDIUM

    公开(公告)号:US20230004721A1

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

    申请号:US17655770

    申请日:2022-03-21

    Abstract: Disclosed are a method for training a semantic representation model, a device and a storage medium, which relate to the field of computer technologies, and particularly to the field of artificial intelligence, such as a natural language processing technology, a deep learning technology, or the like. The method for training a semantic representation model includes: obtaining an anchor sample based on a sentence, and obtaining a positive sample and a negative sample based on syntactic information of the sentence; processing the anchor sample, the positive sample and the negative sample using the semantic representation model respectively, so as to obtain an anchor-sample semantic representation, a positive-sample semantic representation and a negative-sample semantic representation; constructing a contrast loss function based on the anchor-sample semantic representation, the positive-sample semantic representation, and the negative-sample semantic representation; and training the semantic representation model based on the contrast loss function.

Patent Agency Ranking