Method and apparatus for training text prediction model, and text prediction method and apparatus
AssigneeAlibaba Innovation Private Limited
InventorsBinyuan HUI, Jiaxi Yang, Binhua LI, Fei HUANG, Yongbin LI
Life of this patent
Estimating the term…
Loading patent…
AssigneeAlibaba Innovation Private Limited
InventorsBinyuan HUI, Jiaxi Yang, Binhua LI, Fei HUANG, Yongbin LI
Estimating the term…
Disclosed in the embodiments of the present disclosure are a method and apparatus for training a text prediction model, and a text prediction method and apparatus. A training sample set is used for training a large language model (LLM) to obtain a text prediction model. In this mode, labeled samples are substantively used for training the large language model, and in an updating process of a second key matrix and a second value matrix, a second key matrix and a second value matrix obtained through a previous round of iteration and a first key matrix and a first value matrix generated by a current input feature matrix are used, so that both historical information and information of a current input text are kept, and the large language model can fully understand and learn the labeled samples.
A method for training a text prediction model, comprising:
6-7. (canceled)
A method for training a text prediction model, comprising:
12-16. (canceled)
An electronic device, comprising:
18-20. (canceled)
Dependencies are inferred from the claim text.