-
公开(公告)号:US20210192150A1
公开(公告)日:2021-06-24
申请号:US16926197
申请日:2020-07-10
Inventor: Ruiqing ZHANG , Chuanqiang ZHANG , Hao XIONG , Zhongjun HE , Hua WU , Haifeng WANG
IPC: G06F40/55 , G06F40/58 , G06F40/211
Abstract: Embodiments of the present disclosure provide a language conversion method and apparatus based on syntactic linearity and a non-transitory computer-readable storage medium. The method includes: encoding a source sentence to be converted by using a preset encoder to determine a first vector and a second vector corresponding to the source sentence; determining a current mask vector according to a preset rule, in which the mask vector is configured to modify vectors output by the preset encoder; determining a third vector according to target language characters corresponding to source characters located before a first source character; and decoding the first vector, the second vector, the mask vector, and the third vector by using a preset decoder to generate a target character corresponding to the first source character.
-
22.
公开(公告)号:US20180321994A1
公开(公告)日:2018-11-08
申请号:US16039144
申请日:2018-07-18
Inventor: Yu MA , Weide ZHANG , Wei HE , Haifeng WANG , Yibing LIANG , Zhuo CHEN
CPC classification number: G06F9/546 , G06F11/3024 , G06F11/3055 , G06F2209/508 , Y10S901/50
Abstract: This disclosure discloses a method and apparatus for monitoring a message transmission frequency in a robot operating system. A specific implementation of the method includes: writing to-be-transmitted messages, into a pre-allocated memory; obtaining time points when the to-be-transmitted messages are written into the memory, and recording the time points in a preset time point list; determining a message transmission frequency within a preset time interval based on the time points in the time point list; and comparing the message transmission frequency with a preset message transmission frequency threshold, and generating monitoring information based on a comparing result. This implementation monitors the message transmission frequency of a process to thereby avoid information codes related to monitoring of each application from being added to the application so as to reduce the program debuging cost, and improve the monitoring efficiency.
-
公开(公告)号:US20220286521A1
公开(公告)日:2022-09-08
申请号:US17824318
申请日:2022-05-25
Inventor: Yunpeng PENG , Haifeng WANG
IPC: H04L67/306 , H04L67/50 , G06K9/62
Abstract: An object recommendation method, computer device, and medium are provided, relating to the field of artificial intelligence and, particularly, content recommendation. A method includes: obtaining a first user profile of a user, the first user profile being determined based on behavior data of the user over a first historical period of time; using a matching model to determine a recommended object based on the first user profile; recommending the recommended object to the user; obtaining a second user profile of the user, the second user profile being determined based on behavior data of the user over a second historical period of time, and the behavior data of the user over the second historical period of time includes behavior data of the user after the recommended object is recommended to the user; and updating the matching model based on the first user profile, the second user profile, and the recommended object.
-
公开(公告)号:US20210383797A1
公开(公告)日:2021-12-09
申请号:US17411917
申请日:2021-08-25
Inventor: Fan WANG , Siqi BAO , Huang HE , Hua WU , Jingzhou HE , Haifeng WANG
Abstract: A method for dialogue processing, an electronic device and a storage medium are provided. The specific technical solution includes: obtaining a dialogue history; selecting a target machine from a plurality of machines; inputting the dialogue history into a trained dialogue model in the target machine to generate a response to the dialogue history, in which the dialogue model comprises a common parameter and a specific parameter, and different machines correspond to the same common parameter.
-
公开(公告)号:US20210383064A1
公开(公告)日:2021-12-09
申请号:US17101789
申请日:2020-11-23
Inventor: Shuohuan WANG , Siyu DING , Yu SUN , Hua WU , Haifeng WANG
IPC: G06F40/279 , G06F40/166 , G06F40/30 , G06N20/00
Abstract: The disclosure provides a text recognition method, an electronic device, and a storage medium. The method includes: obtaining N segments of a sample text; inputting each of the N segments into a preset initial language model in sequence, to obtain first text vector information corresponding to the N segments; inputting each of the N segments into the initial language model in sequence again, to obtain second text vector information corresponding to a currently input segment; in response to determining that the currently input segment has the mask, predicting the mask according to the second text vector information and the first text vector information to obtain a predicted word at a target position corresponding to the mask; training the initial language model according to an original word and the predicted word to generate a long text language model; and recognizing an input text through the long text language model.
-
26.
公开(公告)号:US20210357814A1
公开(公告)日:2021-11-18
申请号:US17362674
申请日:2021-06-29
Inventor: Xinxuan WU , Xuefeng YAO , Dianhai YU , Zhihua WU , Yanjun MA , Tian WU , Haifeng WANG
IPC: G06N20/00
Abstract: The present disclosure provides a method and apparatus for distributed training a model, an electronic device, and a computer readable storage medium. The method may include: performing, for each batch of training samples acquired by a distributed first trainer, model training through a distributed second trainer to obtain gradient information; updating a target parameter in a distributed built-in parameter server according to the gradient information; and performing, in response to determining that training for a preset number of training samples is completed, a parameter exchange between the distributed built-in parameter server and a distributed parameter server through the distributed first trainer to perform a parameter update on the initial model until training for the initial model is completed.
-
公开(公告)号:US20210319185A1
公开(公告)日:2021-10-14
申请号:US16953426
申请日:2020-11-20
Inventor: Jun XU , Zeyang LEI , Zhengyu NIU , Hua WU , Haifeng WANG
IPC: G06F40/30
Abstract: A method for generating a conversation, an electronic device and a storage medium, which relate to the field of artificial intelligence, are disclosed. The method may include: acquiring conversation content to be replied; determining an event node matched with the conversation content from an event graph, the event graph being a pre-constructed directed graph and including event nodes corresponding to different events respectively, and sides between the event nodes indicating logical relationships between the different events; determining an event node for guiding reply generation from the event graph according to the matched event node and the connection mode among the event nodes; and generating conversation reply content according to the event node for guiding reply generation. With the technical solution, dialog coherent, informative, and engaging multi-turn conversation may be generated.
-
公开(公告)号:US20210287044A1
公开(公告)日:2021-09-16
申请号:US17104165
申请日:2020-11-25
Inventor: Long LI , Haifeng WANG , Weibao GONG
Abstract: A method for updating a parameter of a model, a distributed training system, and an electric device are related to a field of deep learning technologies. The method includes: obtaining a batch training period of batch training data to be trained for a model; increasing priorities of tasks ranked at the bottom in a sequence of gradient communication tasks for parameters of the model when the batch training period is greater than or equal to a preset period threshold; and performing a communication of gradients of the parameters and updating the parameters based on priorities of the gradient communication tasks for the parameters in the model.
-
公开(公告)号:US20210232775A1
公开(公告)日:2021-07-29
申请号:US17031569
申请日:2020-09-24
Inventor: Han ZHANG , Dongling XIAO , Yukun LI , Yu SUN , Hao TIAN , Hua WU , Haifeng WANG
IPC: G06F40/56
Abstract: The present disclosure proposes a language generation method and apparatus. The method includes: performing encoding processing on an input sequence by using a preset encoder to generate a hidden state vector corresponding to the input sequence; in response to a granularity category of a second target segment being a phrase, decoding a first target segment vector, the hidden state vector, and a position vector corresponding to the second target segment by using N decoders to generate N second target segments; determining a loss value based on differences between respective N second target segments and a second target annotated segment; and performing parameter updating on the preset encoder, a preset classifier, and the N decoders based on the loss value to generate an updated language generation model for performing language generation.
-
公开(公告)号:US20210192147A1
公开(公告)日:2021-06-24
申请号:US16868426
申请日:2020-05-06
Inventor: Ruiqing ZHANG , Chuanqiang ZHANG , Hao XIONG , Zhongjun HE , Hua WU , Zhi LI , Haifeng WANG
IPC: G06F40/40
Abstract: Embodiments of the present disclosure provide a method and an apparatus for translating a polysemy, and a medium. The method includes: obtaining a source language text; identifying and obtaining the polysemy from the source language text; inquiring related words corresponding to each interpretation of the polysemy; determining a target interpretation corresponding to the related words contained in the source language text; and translating the polysemy into the target interpretation.
-
-
-
-
-
-
-
-
-