Method and apparatus for training large model, electronic device and storage medium
AssigneeBaidu International Technology (Shenzhen) Co., Ltd.
InventorsChao Huang, Gang Qiao, Zhenpeng Zhan
Life of this patent
Estimating the term…
Loading patent…
AssigneeBaidu International Technology (Shenzhen) Co., Ltd.
InventorsChao Huang, Gang Qiao, Zhenpeng Zhan
Estimating the term…
The disclosure discloses a method for training a large model, an apparatus for training a large model, an electronic device and a storage medium, and relates to a field of computer technologies, especially to a field of artificial intelligence technologies such as large model and deep learning. The method includes: obtaining a conversation sample, in which the conversation sample includes portraits of a plurality of roles, a plot containing the plurality of roles and a plurality of rounds of conversations among the plurality of roles; for any one of the plurality of roles, obtaining a predicted conversation sentence of the role by inputting the portraits of the plurality of roles, the plot and a historical conversation sentence corresponding to a sample conversation sentence of the role in the plurality of rounds of conversations into an initial large model; and obtaining a target large model by training the initial large model according to a difference between the predicted conversation sentence and the sample conversation sentence.
A method for training a large model, comprising:
An electronic device, comprising:
A non-transitory computer-readable storage medium having computer instructions stored thereon, wherein the computer instructions are used to cause a computer to perform the method for training a large model, comprising:
Dependencies are inferred from the claim text.