METHOD AND APPARATUS FOR TRAINING RETRIEVAL MODEL, DEVICE AND COMPUTER STORAGE MEDIUM

    公开(公告)号:US20220100786A1

    公开(公告)日:2022-03-31

    申请号:US17407320

    申请日:2021-08-20

    Abstract: The present application discloses a method and apparatus for training a retrieval model, device and computer storage medium that relate to intelligent search and natural language processing technologies. An implementation includes: acquiring initial training data; performing a training operation using the initial training data to obtain an initial retrieval model; selecting texts with the correlation degrees with a query in the training data meeting a preset first requirement from candidate texts using the initial retrieval model; performing a training operation using the updated training data to obtain a first retrieval model; and selecting texts with the correlation degrees with the query in the training data meeting a preset second requirement from the candidate texts using the first retrieval model; and/or selecting texts with the correlation degrees with the query meeting a preset third requirement; and performing a training operation using the expanded training data to obtain a second retrieval model.

    TEXT ERROR CORRECTION METHOD, APPARATUS, ELECTRONIC DEVICE AND STORAGE MEDIUM

    公开(公告)号:US20220180058A1

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

    申请号:US17383611

    申请日:2021-07-23

    Abstract: The present disclosure provides a text error correction method, apparatus, electronic device and storage medium, and relates to the technical field of artificial intelligence such as natural language processing and deep learning. A specific implementation solution is: obtaining a current sentence and a historical sentence of the current sentence in an article to which the current sentence belongs; performing text error correction processing on the current sentence based on the current sentence and the historical sentence. According to the technical solutions of the present disclosure, text error correction can be performed on the current sentence based on the historical sentence, namely, the upper contextual information, of the current sentence in the article, so that the error correction information is richer and the error correction result is more accurate.

    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 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.

Patent Agency Ranking