-
公开(公告)号:US20210216725A1
公开(公告)日:2021-07-15
申请号:US17147881
申请日:2021-01-13
Inventor: Shuangjie LI , Miao YU , Yabing SHI , Xuefeng HAO , Xunchao SONG , Ye JIANG , Yang ZHANG , Yong ZHU
IPC: 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.