- 专利标题: PRE-TRAINING METHOD FOR SENTIMENT ANALYSIS MODEL, AND ELECTRONIC DEVICE
-
申请号: EP20185932.9申请日: 2020-07-15
-
公开(公告)号: EP3846069A1公开(公告)日: 2021-07-07
- 发明人: GAO, Can , LIU, Hao , HE, Bolei , XIAO, Xinyan , TIAN, Hao
- 申请人: BEIJING BAIDU NETCOM SCIENCE AND TECHNOLOGY CO. LTD.
- 申请人地址: CN 100085 Beijing 2/F Baidu Campus, No. 10, Shangdi 10th, Haidian District
- 代理机构: advotec.
- 优先权: CN201911399965 20191230
- 主分类号: G06F40/30
- IPC分类号: G06F40/30 ; G06N3/02
摘要:
The present disclosure provides a pre-training method for a sentiment analysis model and an electronic device, which relates to a field of artificial intelligence technologies. The method includes: based on a given seed sentiment dictionary, performing sentimental knowledge detection on a training corpus in a training corpus set, and determining a detection sentiment word and a detection word pair of the training corpus; according to preset mask processing rules, performing mask process on the training corpus to generate a masked corpus; performing encoding and decoding on the masked corpus by using a preset encoder and decoder to determine the detection sentiment word and the detection word pair of the training corpus; and updating the preset encoder and decoder according to a difference between prediction sentiment word and the detection sentiment word, and a difference between prediction word pair and the detection word pair.
信息查询