This application provides a model training method, training
system, and related equipment. The method includes the following steps: acquiring
positive sample data, wherein the
positive sample data includes input samples and positive labels, the input samples include questions, and the positive labels include the answers corresponding to the questions; inputting the input samples into a first
large model to be fine-tuned, obtaining the first negative
label corresponding to the input sample; determining the first
score of the first negative
label based on the relevance of the first negative
label to the question and the quality of the response to the first negative label based on a scoring model; inputting the input samples into the first
large model; and fine-tuning the first
large model based on a
loss function to obtain a second large model. The
loss function is used to guide the first large model to improve the
prediction probability of positive labels and the
prediction probability of negative labels with scores greater than a threshold, so that the model can not only learn standard answers that meet
user expectations, but also generate more diverse answers, thereby improving the fine-tuning effect of the large model.