Invention Grant
- Patent Title: Method and apparatus for generating model
-
Application No.: US16502701Application Date: 2019-07-03
-
Publication No.: US11501182B2Publication Date: 2022-11-15
- Inventor: Mingming Sun , Xu Li , Ping Li
- Applicant: Baidu Online Network Technology (Beijing) Co., Ltd.
- Applicant Address: CN Beijing
- Assignee: Baidu Online Network Technology (Beijing) Co., Ltd.
- Current Assignee: Baidu Online Network Technology (Beijing) Co., Ltd.
- Current Assignee Address: CN Beijing
- Agency: Knobbe, Martens, Olson & Bear, LLP
- Priority: CN201810719830.8 20180703
- Main IPC: G06F40/151
- IPC: G06F40/151 ; G06F40/126 ; G06N5/02 ; G06N20/20 ; G06K9/62 ; G06F17/18

Abstract:
A method and an apparatus for generating a model are provided. The method includes: acquiring a sample set including sample sentences and labeling knowledge corresponding thereto; and selecting a sample from the sample set, and performing following training steps: inputting a sample sentence into a first initial model to generate first prediction knowledge corresponding to the sample sentence; inputting the first prediction knowledge into a second initial model to generate a first prediction sentence corresponding to the first prediction knowledge; inputting labeling knowledge into the second initial model to generate a second prediction sentence corresponding to the labeling knowledge; inputting the second prediction sentence into the first initial model to generate a second prediction knowledge corresponding to the second prediction sentence; determining a first reward signal; and training, using a reinforcement learning method based on the first reward signal to obtain a first model.
Public/Granted literature
- US20200012953A1 METHOD AND APPARATUS FOR GENERATING MODEL Public/Granted day:2020-01-09
Information query