The invention relates to the technical field of
model learning, in particular to a vertical class
large model generation method and platform based on model
rubbing and a storage medium. The method comprises the following steps: S1, taking an
open source model with the best performance in a plurality of
open source models as a first model; s2, training the first model based on a first
data set in a preset field, adjusting the weight of the first model, and generating a second
data set based on the first model and the first
data set; s3, training a second model through knowledge
distillation, and adjusting the weight of the second model according to a # imgabs0 # output result corresponding to jth data in the second data set and a # imgabs1 # output result output by inputting the jth data into the second model; and S4, compressing the second model according to the position of the
hidden layer of the second model and the number of neurons. According to the method, the problems of
high complexity and low precision of a
large model are solved, the complexity of the
large model is reduced, and the precision is improved.