METHOD AND APPARATUS, COMPUTER DEVICE AND MEDIUM

    公开(公告)号:US20220286521A1

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

    申请号:US17824318

    申请日:2022-05-25

    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.

    TEXT RECOGNITION METHOD, ELECTRONIC DEVICE, AND STORAGE MEDIUM

    公开(公告)号:US20210383064A1

    公开(公告)日:2021-12-09

    申请号:US17101789

    申请日:2020-11-23

    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.

    METHOD FOR DISTRIBUTED TRAINING MODEL, RELEVANT APPARATUS, AND COMPUTER READABLE STORAGE MEDIUM

    公开(公告)号:US20210357814A1

    公开(公告)日:2021-11-18

    申请号:US17362674

    申请日:2021-06-29

    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.

    METHOD FOR GENERATING CONVERSATION, ELECTRONIC DEVICE AND STORAGE MEDIUM

    公开(公告)号:US20210319185A1

    公开(公告)日:2021-10-14

    申请号:US16953426

    申请日:2020-11-20

    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.

    LANGUAGE GENERATION METHOD AND APPARATUS, ELECTRONIC DEVICE AND STORAGE MEDIUM

    公开(公告)号:US20210232775A1

    公开(公告)日:2021-07-29

    申请号:US17031569

    申请日:2020-09-24

    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.

Patent Agency Ranking