Training sample generation, model training and extraction methods, equipment, medium and product
Патент · CN B
Полный текст
The embodiment of the invention discloses a training sample generation, model training and extraction method, equipment, a medium and a product, and relates to the technical field of computers. The method comprises the steps of obtaining original log data, standardizing the original log data to obtain a first log data set, carrying out mode mining on the log data in the first log data set to obtain a log data mode set, respectively determining field structure types contained in the log data modes, extracting variable field content in the field structure types and carrying out variable naming to obtain a mapping relation table between fields and variables, generating training samples based on the original log data, the log data mode set and the mapping relation table between the fields and the variables, and training the field extraction model of the log data by the training samples. According to the scheme provided by the embodiment of the invention, the training sample can be quickly and accurately generated, and a basis is provided for training the field extraction model for obtaining the log data.