Method of training ranking model, and electronic device
Abstract:
A method of training a ranking model, and an electronic device, which relate to technical fields of natural language processing and intelligent search. The method includes: in training the ranking model, firstly acquiring a plurality of first sample pairs and respective label information; for each first sample pair, inputting a first search text, a first title text of a first candidate text, and a first target summary corresponding to the first candidate text into an initial language model to obtain a second relevance score corresponding to the each first sample pair; then using the first target summary to replace the first candidate text to participate in the training of the ranking model, and updating at least one network parameter of the initial language model according to the label information and the second relevance score corresponding to each first sample pair.
Public/Granted literature
Information query
Patent Agency Ranking
0/0