Disclosed is an industrial
question answering model training method based on
reinforcement learning and
knowledge base matching, comprising the following steps: S1, collecting professional knowledge
questions and answers in an industrial field to construct an industrial
knowledge base, training a reward model, carrying out, for industrial knowledge
questions and answers, matching comparison on outputs of an industrial
question answering model and content of the industrial
knowledge base, and obtaining reward values on the basis of similarities; S2, sorting the reward values, and using a sorting
loss function to
train and update parameters of a reward
model network; and S3, carrying out industrial
question answering model training, incorporating a penalty term for the reward values, and using a
reinforcement learning algorithm to
train the industrial question answering model multiple times to obtain an optimal strategy. According to the industrial question answering model training method based on
reinforcement learning and knowledge base matching of the present invention, the
reinforcement learning algorithm is used, and iterative training is carried out multiple times, thereby helping the industrial question answering model to learn and understand industrial professional knowledge and improving the question answering accuracy of the industrial question answering model.