The invention provides a training
data optimization method for a multi-sag model and a related device, and the method comprises the steps: constructing a full quantity
word list and a word attribute
library corresponding to each sag field for the sag field; performing multi-dimensional value evaluation on each vocabulary in the full-quantity
word list based on the word attribute
library to obtain a comprehensive value of each vocabulary; based on the comprehensive value of each vocabulary, optimizing the full-quantity
word list to obtain a high-value word
list corresponding to the vertical class field; and carrying out combination and deduplication on the high-value word lists corresponding to each vertical class field to obtain a mixed word
list. Thus, the comprehensive value of the vocabularies is quantified through the attribute information of the vocabularies, then the independent vocabularies corresponding to all the droop fields are optimized, the low-value vocabularies are screened out, the high-value vocabularies are reserved, finally, the high-value vocabularies of all the droop fields are subjected to merging and duplicate removal, duplicate data are removed, the mixed vocabularies are obtained, the vocabulary amount during model training is reduced, and the model training efficiency is improved. The training
data space is fully compressed, and the training cost is reduced.