Dialogue model training method
AssigneeBeijing Baidu Netcom Science Technology Co., Ltd.
InventorsYanbin Zhao, Siyu Ding, Shuohuan Wang, Yu Sun, Hao Tian, Hua Wu, Haifeng Wang
Life of this patent
Estimating the term…
Loading patent…
AssigneeBeijing Baidu Netcom Science Technology Co., Ltd.
InventorsYanbin Zhao, Siyu Ding, Shuohuan Wang, Yu Sun, Hao Tian, Hua Wu, Haifeng Wang
Estimating the term…
A method is provided. The method includes: obtaining a first sample dataset; inputting at least one first question text corresponding to at least one piece of first sample data into a dialog model separately to obtain at least one first answer prediction result; inputting each second question text into the dialog model to obtain a second answer prediction result output by the dialog model; inputting the second answer prediction result into a reward model to obtain a score of the second answer prediction result output by the reward model; determining a comprehensive loss based on the at least one first answer prediction result, a first answer text of each of the at least one piece of first sample data, and a score corresponding to each of at least one piece of second sample data; and adjusting at least one parameter of the dialog model based on the comprehensive loss.
A training method for a dialog model, comprising:
An electronic device, comprising:
A non-transitory computer-readable storage medium, storing one or more programs comprising instructions that, when executed by one or more processors of a computing device, cause the computing device to perform operations comprising:
Dependencies are inferred from the claim text.