-
公开(公告)号:US11775776B2
公开(公告)日:2023-10-03
申请号:US17147881
申请日:2021-01-13
Inventor: Shuangjie Li , Miao Yu , Yabing Shi , Xuefeng Hao , Xunchao Song , Ye Jiang , Yang Zhang , Yong Zhu
IPC: G06F40/40 , G06N20/00 , G06F40/289
CPC classification number: G06F40/40 , G06F40/289 , G06N20/00
Abstract: A method and an apparatus for processing information are provided. The method can include: acquiring a word sequence obtained by performing word segmentation on two paragraphs in a text; inputting the word sequence into a to-be-trained natural language processing model to generate a word vector corresponding to a word in the word sequence; inputting the word vector into a preset processing layer of the to-be-trained natural language processing model; predicting whether the two paragraphs are adjacent, and a replaced word in the two paragraphs; and acquiring reference information of the two paragraphs, and training the to-be-trained natural language processing model to obtain a trained natural language processing model, based on the prediction result and the reference information.