-
公开(公告)号:US11620449B2
公开(公告)日:2023-04-04
申请号:US17024726
申请日:2020-09-18
Inventor: Jianping Li , Xiaofeng Gu , Jian Hu , Ruinan Sun , Wenting Feng , Shunli Li , Sheng Jiang
IPC: G06F40/30 , G06N20/00 , G06F40/289 , G06F40/216 , G06F17/16 , G06K9/62
Abstract: A method for machine reading comprehension includes: S1, obtaining a character-level indication vector of a question and a character-level indication vector of an article; S2, obtaining an encoded question vector and an encoded article vector; S3, obtaining an output P1 of a bidirectional attention model and an output P2 of a shared attention model; S4, obtaining an aggregated vector P3; S5, obtaining a text encoding vector P4; S6, obtaining global interaction information between words within the article; S7, obtaining a text vector P5 after using the self-attention model; S8, obtaining aggregated data P6 according to the text encoding vector P4 and the text vector P5; S9, obtaining a context vector of the article according to the aggregated data P6 and an unencoded article vector P; and S10, predicting an answer position according to the context vector of the article and the encoded question vector to complete the machine reading comprehension.