-
公开(公告)号:US20230094730A1
公开(公告)日:2023-03-30
申请号:US18061029
申请日:2022-12-02
Inventor: Hongyang Zhang , Zhenyu Jiao , Shuqi Sun , Yue Chang , Tingting Li
IPC: G06F40/35 , G06F40/186 , G06F40/279
Abstract: A model training method, a method and an apparatus for human-machine interaction. The method includes: acquiring a sample set corresponding to a template; constructing positive example pairs and negative example pairs for a contrastive learning task based on the sample set; performing contrastive learning training on a pre-training model based on the positive example pairs and the negative example pairs for the contrastive learning task.
-
公开(公告)号:US20230089268A1
公开(公告)日:2023-03-23
申请号:US18060692
申请日:2022-12-01
Inventor: Hao Li , Zhenyu Jiao , Shuqi Sun , Yue Chang , Tingting Li
IPC: G06F40/56 , G06F40/35 , G06F16/332
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.
-
公开(公告)号:US12086555B2
公开(公告)日:2024-09-10
申请号:US17643053
申请日:2021-12-07
Inventor: Jianglu Hu , Hehan Li , Huifeng Sun , Shuqi Sun , Yue Chang , Tingting Li , Hua Wu , Haifeng Wang
IPC: G06F40/35 , G06F16/332
CPC classification number: G06F40/35 , G06F16/3329
Abstract: The disclosure provides a method for generating a dialogue. The method includes: obtaining an input sentence; determining a type of a task-based response sentence that is to be generated, by updating a current dialogue state based on the input sentence; generating the task-based response sentence by inputting the input sentence into a task-based dialogue response generator; and determining the task-based response sentence as a target response sentence in response to the type of the task-based response sentence being a designated type.
-
4.
公开(公告)号:US11989516B2
公开(公告)日:2024-05-21
申请号:US17572068
申请日:2022-01-10
Inventor: Lijie Wang , Shuai Zhang , Xinyan Xiao , Yue Chang , Tingting Li
IPC: G06F40/289 , G06N20/00
CPC classification number: G06F40/289 , G06N20/00
Abstract: The present disclosure provides a method and apparatus for acquiring a pre-trained model, an electronic device and a storage medium, and relates to the field of artificial intelligence, such as the natural language processing field, the deep learning field, or the like. The method may include: adding, in a process of training a pre-trained model using training sentences, a learning objective corresponding to syntactic information for a self-attention module in the pre-trained model; and training the pre-trained model according to the defined learning objective. The solution of the present disclosure may improve a performance of the pre-trained model, and reduce consumption of computing resources, or the like.
-
公开(公告)号:US12038955B2
公开(公告)日:2024-07-16
申请号:US17652314
申请日:2022-02-24
Inventor: Ao Zhang , Lijie Wang , Xinyan Xiao , Tingting Li
IPC: G06F16/00 , G06F16/33 , G06F16/332
CPC classification number: G06F16/3329 , G06F16/3347
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.
-
-
-
-