Model evaluation method, device, equipment, medium and program product

The cross-entropy loss function is used to calculate the prediction loss values ​​of multiple models on the target corpus and determine the optimal model, which solves the problems of tedious model evaluation and poor reusability in the existing technology, and achieves efficient and automatic evaluation of model performance.

CN118656609APending Publication Date: 2024-09-17BEIJING YUANLI WEILAI SCI & TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202410711695.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-03
Publication Date
2024-09-17

AI Technical Summary

Technical Problem

Existing model evaluation methods require manual construction of data sets, which is cumbersome and difficult to reuse, and cannot efficiently evaluate the performance of the model on different data sets.

Method used

By obtaining the target corpus, the cross-entropy loss function is used to calculate the prediction loss value of multiple models on the corpus, and the model with the smaller loss value is determined as the optimal model to achieve automatic evaluation and avoid the data set construction step.

Benefits of technology

It achieves a simple, efficient and automatic evaluation of model performance without the need to build a data set, saves labor costs, and improves the reusability of the evaluation method.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118656609A
    Figure CN118656609A
Patent Text Reader

Abstract

Embodiments of the invention provide a model evaluation method and apparatus, a computing device, a computer readable storage medium and a computer program product. The model evaluation method comprises the steps of obtaining a target corpus; inputting the target corpus into a to-be-evaluated first model, and calculating a first loss value of the first model for predicting the target corpus by adopting a cross entropy loss function; inputting the target corpus into a second model to be evaluated, and calculating a second loss value of the second model for predicting the target corpus by adopting the cross entropy loss function; and determining the to-be-evaluated model corresponding to the smaller loss value in the first loss value and the second loss value as an optimal model in the industrial field to which the target corpus belongs. Based on the scheme of the embodiment of the invention, simple and efficient evaluation of the model is realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of this specification relate to the field of artificial intelligence technology, and in particular, to a model evaluation method, apparatus, computing device, computer-readable storage medium, and computer program product. Background Art

[0002] Model evaluation is an important part of machine learning and artificial intelligence. It verifies the performance and effect of the model by evaluating the performance of the model on the test set.

[0003] Usually, when evaluating a model, you need to first build a dataset, then build an evaluation method based on the dataset, and finally evaluate the model. However, the dataset needs to be manually built on the existing corpus, and the construction method is cumbersome. In addition, the evaluation method needs to be customized according to the dataset, which makes it difficult to efficiently reuse it on other datasets.

[0004] Therefore, a simpler and more efficient model evaluation method is needed. Summary of the invention

[0005] In view of this, an embodiment of this specification provides a model evaluation method. One or more embodiments of this specification also relate to a model evaluation device, a computing device, a computer-readable storage medium and a computer program to solve the technical defects existing in the prior art.

[0006] According to a first aspect of an embodiment of this specification, a model evaluation method is provided, comprising:

[0007] Obtain the target corpus;

[0008] Input the target corpus into a first model to be evaluated, and use a cross entropy loss function to calculate a first loss value of the first model predicting the target corpus; the first loss value is used to reflect the difference between a first predicted value of the target corpus by the first model and an actual value of the target corpus;

[0009] Input the target corpus into the second model to be evaluated, and use the cross entropy loss function to calculate a second loss value of the target corpus predicted by the second model; the second loss value is used to reflect the difference between the second predicted value of the target corpus by the second model and the actual value of the target corpus;

[0010] The model to be evaluated corresponding to the smaller loss value between the first loss value and the second loss value is determined as the preferred model in the industry field to which the target corpus belongs.

[0011] According to a second aspect of an embodiment of this specification, a model evaluation device is provided, including:

[0012] Corpus acquisition module, used to acquire target corpus;

[0013] a loss value calculation module, configured to input the target corpus into a first model to be evaluated, and use a cross entropy loss function to calculate a first loss value of the first model predicting the target corpus; the first loss value is used to reflect the difference between a first predicted value of the target corpus by the first model and an actual value of the target corpus;

[0014] The loss value calculation module is further used to input the target corpus into a second model to be evaluated, and use the cross entropy loss function to calculate a second loss value of the target corpus predicted by the second model; the second loss value is used to reflect the difference between the second predicted value of the target corpus by the second model and the actual value of the target corpus;

[0015] The model evaluation module is used to determine the model to be evaluated corresponding to the smaller loss value between the first loss value and the second loss value as the preferred model in the industry field to which the target corpus belongs.

[0016] According to a third aspect of an embodiment of this specification, a computing device is provided, including:

[0017] Memory and processor;

[0018] The memory is used to store computer-executable instructions, and the processor is used to execute the computer-executable instructions. When the computer-executable instructions are executed by the processor, the steps of the above-mentioned model evaluation method are implemented.

[0019] According to a fourth aspect of the embodiments of this specification, a computer-readable storage medium is provided, which stores computer-executable instructions, and when the instructions are executed by a processor, the steps of the above-mentioned model evaluation method are implemented.

[0020] According to a fifth aspect of the embodiments of this specification, a computer program is provided, wherein when the computer program is executed in a computer, the computer is caused to execute the steps of the above-mentioned model evaluation method.

[0021] An embodiment of the present specification can achieve at least the following beneficial effects: by providing corpus to multiple models to be evaluated, and then using the same method to calculate the prediction loss value of each model to be evaluated for predicting the information in the corpus, and then determining the model to be evaluated with a small prediction loss value as the preferred model, thereby achieving automatic evaluation of the performance of the model on the target corpus without constructing a data set, and the model evaluation method is simple and efficient. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] Figure 1A flow chart of a model evaluation method provided according to an embodiment of this specification is shown;

[0023] Figure 2 A flowchart of calculating a first loss value using a first model to be evaluated is shown according to an embodiment of this specification;

[0024] Figure 3 A flowchart of a method for evaluating the performance of a large language model in the field of education in an actual application scenario provided according to an embodiment of this specification is shown;

[0025] Figure 4 A schematic diagram of the structure of a model evaluation device provided according to an embodiment of this specification is shown;

[0026] Figure 5 A structural block diagram of a computing device 500 provided according to an embodiment of the present specification is shown. DETAILED DESCRIPTION

[0027] Many specific details are described in the following description to facilitate a full understanding of this specification. However, this specification can be implemented in many other ways different from those described herein, and those skilled in the art can make similar generalizations without violating the connotation of this specification, so this specification is not limited to the specific embodiments disclosed below.

[0028] The terms used in one or more embodiments of this specification are only for the purpose of describing specific embodiments, and are not intended to limit one or more embodiments of this specification. The singular forms of "a", "said" and "the" used in one or more embodiments of this specification and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used in one or more embodiments of this specification refers to and includes any or all possible combinations of one or more associated listed items.

[0029] It should be understood that although the terms first, second, etc. may be used to describe various information in one or more embodiments of this specification, this information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of one or more embodiments of this specification, the first may also be referred to as the second, and similarly, the second may also be referred to as the first. Depending on the context, the word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining".

[0030] In addition, it should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in one or more embodiments of this specification are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions, and provide corresponding operation entrances for users to choose to authorize or refuse.

[0031] First, the terms involved in one or more embodiments of this specification are explained.

[0032] Large models: Large models usually refer to models with large parameters in deep learning, such as BERT, GPT, etc. Such models usually have strong data extraction and representation capabilities, and perform well in processing various complex tasks.

[0033] Model evaluation: Model evaluation is an important part of machine learning and artificial intelligence. It verifies the performance and effect of the model by evaluating the performance of the model on the test set.

[0034] Automatic evaluation: Automatic evaluation is the process of using computer programs to automatically evaluate certain tasks. This process usually involves pre-set criteria or standards, and the output of the model is compared and scored according to these criteria.

[0035] Loss: is an indicator of a machine learning model that measures the gap between the model's prediction results and the actual results. The smaller the value of the loss function, the closer the model's prediction results are to the actual results. In the embodiments of this specification, Loss can be used to represent the cross entropy loss commonly seen in large language models.

[0036] Usually, when conducting model evaluation, you need to first build a test data set, then build an evaluation method corresponding to the data set according to the data set, and finally use the constructed evaluation method to evaluate the model on the constructed test data set.

[0037] However, on the one hand, the method of constructing a dataset is cumbersome, labor-intensive, and costly. Taking the field of education as an example, for different problems in the field, it is necessary to design special test datasets, such as math problems and composition problems. If a test dataset is to be constructed on an existing corpus, the existing corpus needs to be manually cleaned. For example, the question stem and answer need to be determined from the existing corpus; and if the answer is complex, the answer needs to be further separated into analysis, steps, and final results.

[0038] On the other hand, the evaluation method needs to be customized according to the data set, which means that the constructed evaluation method may be difficult to reuse on other data sets. Taking the field of education as an example, if there is a definite answer in the data set (for example, multiple-choice questions, etc.), it is necessary to compare whether the answer given by the model is consistent with the standard answer; if the answer is uncertain (for example, essays, or mathematical reasoning questions that are scored by steps, etc.), it is also necessary to carefully design the evaluation method, such as relying on a more credible model as a referee or relying on manual selection to score or rank the answers given by the model.

[0039] It can be seen that evaluating the ability of a model is a tedious and complicated matter. Taking the field of education as an example, it is usually necessary to build a test data set containing several questions and an evaluation method corresponding to the data set, and then let the model give the answer to each question according to the constructed evaluation method, and automatically give the evaluation result by comparing the difference between the real answer and the answer given by the model.

[0040] In view of this, in the embodiments of this specification, a simpler and more efficient model evaluation method is provided. This specification also involves a model evaluation device, a computing device and a computer-readable storage medium, which are described in detail one by one in the following embodiments.

[0041] See also Figure 1 , Figure 1 A flow chart of a model evaluation method provided according to an embodiment of the present specification is shown, which specifically includes the following steps.

[0042] Step 102: Obtain target corpus.

[0043] Corpus may include a set of written or spoken language samples collected in a natural usage environment. Target corpus may include corpus in the field where the model to be evaluated will be applied.

[0044] Furthermore, from the perspective of corpus content, the target corpus can be determined according to a preset industry field. The industry field may include, but is not limited to, the education field, the medical field, the financial field, the transportation field, and the like. For example, if you want to evaluate the performance of the model on natural language tasks in the education field, you can use the corpus in the education field. For another example, if you want to evaluate the performance of the model on natural language tasks in the medical field, you can use the corpus in the medical field. For another example, if you want to evaluate the performance of the model on natural language tasks in the financial field, you can use the corpus in the financial field.

[0045] Furthermore, from the perspective of the corpus acquisition method, the target corpus can be obtained from relevant written materials, electronic materials, etc. in the preset industry field, but is not limited thereto. Taking the education field as an example, the target corpus can include the content in education-related materials, the content in education-related websites, etc., but is not limited thereto.

[0046] Step 104: Input the target corpus into the first model to be evaluated, and use the cross entropy loss function to calculate the first loss value of the first model predicting the target corpus; the first loss value is used to reflect the difference between the first predicted value of the target corpus by the first model and the actual value of the target corpus.

[0047] In the embodiments of the present specification, the first model to be evaluated may specifically be a large model, and more specifically, may be a large language model (LLM).

[0048] Large language models are artificial intelligence models designed to understand and generate human language. Large language models are trained on large amounts of text data and can perform a wide range of tasks, including text classification, text summarization, translation, sentiment analysis, and more. By learning from a large amount of natural language data, they can generate and understand natural language text and have strong language processing capabilities. Large language models are characterized by their large size and billions of parameters. Large language models are usually modeled and trained using Transformer or its variant networks. Representative large language models include BERT, GPT and other models. The training of large language models adopts a pre-training method, which uses large-scale unlabeled data to pre-train and initialize the model. The training of large language models requires a lot of computing resources and time, but once the pre-training is completed, it can be fine-tuned on various natural language processing tasks to achieve efficient natural language understanding and generation.

[0049] In the embodiments of this specification, optionally, the model to be evaluated (including the first model or the second model) can be an untrained model, a model in the training process, or a trained model. Optionally, the model to be evaluated (including the first model or the second model) can be a model obtained after pre-training, or can be a model obtained after pre-training and fine-tuning.

[0050] In actual application, there is no need to separate questions and answers from the target corpus. Instead, the target corpus is preprocessed by means of word segmentation, masking, word embedding, etc., and then input into the first model to be evaluated to obtain the prediction information output by the first model, and then the prediction loss between the prediction information output by the first model and the actual information is calculated, that is, the first loss value is obtained as the basis for evaluating the first model.

[0051] In deep learning, loss function is a crucial concept. It is a way to evaluate the gap between the model's predicted results and the actual results, and provides a direction for model optimization. Among the many loss functions, the cross-entropy loss function is a loss function widely used in classification problems. The cross-entropy loss function is widely used in classification problems in deep learning, especially multi-classification problems. In models such as logistic regression and neural networks, the cross-entropy loss function can be used as an optimization target. For example, in image classification tasks, the output of the model is usually a probability distribution, which indicates the probability that the input image belongs to each category. The cross-entropy loss function can be used to measure the difference between the model's predicted probability distribution and the true label, thereby guiding the model's training process.

[0052] In the embodiments of this specification, the use of the cross entropy loss function in the model optimization process is borrowed. The difference from the traditional use method includes that, instead of applying the cross entropy loss function to the classification problem and using the loss function value as the optimization target, the cross entropy loss function is applied to the model evaluation and the loss function value is used as the model evaluation indicator.

[0053] Furthermore, when the cross entropy loss function is applied to model evaluation, it is considered that the numerical value of a loss function value itself cannot objectively reflect the quality of the model prediction performance. After comparing the two loss function values, the relative quality of the model prediction performance can be determined based on the comparison results. Therefore, in the embodiments of the present specification, it is necessary to further determine the prediction loss value of the second model different from the first model for the same batch of corpus, such as step 106, so as to further determine a relatively better model from the first model and the second model.

[0054] Step 106: Input the target corpus into the second model to be evaluated, and use the cross entropy loss function to calculate the second loss value of the second model predicting the target corpus; the second loss value is used to reflect the difference between the second predicted value of the target corpus by the second model and the actual value of the target corpus.

[0055] In the embodiments of the present specification, the second model to be evaluated may specifically be a large model, and more specifically, may be a large language model (LLM).

[0056] In an embodiment of the present specification, the second model is different from the first model. For example, the difference between the second model and the first model may include a different model structure or different model training data, but is not limited thereto.

[0057] Optionally, the second model and the first model may be two independent models. For example, the first model may be a BERT model, and the second model may be a GPT model. For another example, the first model may be a GPT model of the first model structure, and the second model may be a GPT model of the second model structure, wherein the difference between the second model structure and the second model structure may include different numbers and connection methods of encoders and decoders, different numbers of self-attention heads, etc.

[0058] Alternatively, the second model and the first model may correspond to different stages of the same model in the training process. That is, the second model may be obtained after further training of the model parameters of the first model. That is, the second model and the first model have the same model structure, but different values ​​of the model parameters. For example, the first model may be a model corresponding to the model parameters obtained after 200 iterations of a GPT model during the training process, and the second model may be a model corresponding to the model parameters obtained after 400 iterations of the GPT model during the training process.

[0059] In actual application, the loss value calculation method used to calculate the first loss value and the loss value calculation method used to calculate the second loss value can be the same. Specifically, the same cross entropy loss function can be used to calculate the first loss value and the second loss value.

[0060] Step 108: Determine the model to be evaluated corresponding to the smaller loss value between the first loss value and the second loss value as the preferred model in the industry field to which the target corpus belongs.

[0061] As described above, the first loss value and the second loss value may be values ​​calculated based on the same cross entropy loss function. Since the value of the cross entropy loss function is always non-negative, it can be determined that the smaller loss value between the first loss value and the second loss value corresponds to a better performance of the model to be evaluated.

[0062] As an example, if the target corpus is in the field of education, it can be considered that the model to be evaluated with a smaller loss value (for example, the second model) performs better in the field of education than another model to be evaluated with a larger loss value (for example, the first model).

[0063] As an example, if the target corpus is a corpus of a subdivided educational field in the educational field (e.g., the field of composition or the field of mathematics, etc.), it can be considered that the model to be evaluated with a smaller loss value (e.g., the second model) performs better in the subdivided educational field (e.g., the field of composition or the field of mathematics, etc.) than another model to be evaluated with a larger loss value (e.g., the first model). For example, when the subdivided educational field is the field of composition, it can be considered that the composition written by the second model is of higher quality than the composition written by the first model. For another example, when the subdivided educational field is the field of mathematics, it can be considered that the second model has a higher accuracy rate in answering math problems than the first model.

[0064] In the embodiments of this specification, the performance or better performance of a model in an industry field may mean that the model performs better when completing natural language processing tasks in the industry field. The natural language processing tasks may include information extraction, text generation, question answering, dialogue, text mining, information retrieval, translation, etc., and the types of natural language processing tasks may not be limited to these.

[0065] It should be understood that in the methods described in one or more embodiments of this specification, the order of some steps can be adjusted according to actual needs, or some steps can be omitted.

[0066] Figure 1 The method in the paper provides corpus to multiple models to be evaluated, and then uses the same method to calculate the prediction loss value of each model to be evaluated for predicting the information in the corpus, and then determines the model to be evaluated with a small prediction loss value as the preferred model. In this way, the performance of the model on the target corpus is automatically evaluated without constructing a dataset. The model evaluation method is simple and efficient.

[0067] based on Figure 1 The method, the embodiments of this specification also provide some specific implementation methods of the method, which are described below.

[0068] In one or more embodiments of the present specification, a specific implementation of calculating a loss value using a model to be evaluated is provided.

[0069] See also Figure 2 , Figure 2 A flowchart for calculating a first loss value using a first model to be evaluated is shown according to an embodiment of the present specification, which may specifically include the following steps.

[0070] Specifically, the step of inputting the target corpus into the first model to be evaluated and using the cross entropy loss function to calculate a first loss value of the first model predicting the target corpus (step 104) may include the following steps.

[0071] Step 202: split the target corpus into word units to obtain word unit sequences.

[0072] Step 204: Input the word-gram sequence into a first model to obtain prediction information for each position in the word-gram sequence output by the first model.

[0073] Step 206: For each position in the word-unit sequence, a cross entropy loss function is used to calculate a word-unit prediction loss value between the predicted information and the actual information.

[0074] Step 208: Calculate a first loss value for predicting the target corpus using the first model based on the word prediction loss value at each position in the word sequence.

[0075] For step 202, further, the word-gram splitting of the target corpus to obtain the word-gram sequence may specifically include: splitting the target corpus into word-grams according to a preset vocabulary of the first model to obtain the word-gram sequence. The vocabulary may be a vocabulary used by the first model when performing sample preprocessing during training.

[0076] Furthermore, the word segmenter corresponding to the first model can be used to perform word-unit splitting on the target corpus. Specifically, the target corpus can be input into a preset word segmenter, and the preset word segmenter splits the target corpus to obtain a word-unit sequence. The word segmenter can be a word segmenter used in the first model training process to pre-process the training samples.

[0077] For step 204, in an optional embodiment, the word sequence is input into the first model to obtain the prediction information for each position in the word sequence output by the first model, which may specifically include: for a target position in the word sequence, the first model determines the prediction information of the target position based on the word before the target position in the word sequence.

[0078] Specifically, for the target position in the word-gram sequence, the first model determines the prediction information of the target position based on the word-gram before the target position in the word-gram sequence, which may include: first, masking the target position in the word-gram sequence and the word-gram corresponding to the position after the target position to obtain a masked word-gram sequence; then, inputting the masked word-gram sequence into the model to be evaluated to obtain the prediction information of the target position output by the first model.

[0079] More specifically, for the target position in the word-gram sequence, the first model determines the prediction information of the target position based on the word-gram before the target position in the word-gram sequence, which may include: first, masking the word-grams from the jth position to the mth position in the word-gram sequence to obtain the masked word-gram sequence; then, inputting the masked word-gram sequence into the model to be evaluated to obtain the prediction information of the i-th position output by the first model. Wherein, m may represent the length of the word-gram sequence, that is, the number of word-grams contained in the word-gram sequence; and j may be an integer from 1 to m.

[0080] In the embodiments of this specification, generally, a target position may correspond to a word-gram, but is not limited thereto, and a target position may also correspond to multiple adjacent word-grams. For example, the target position may correspond to a word-gram split based on a vocabulary. For another example, the target position may correspond to two or more consecutive word-grams split based on a vocabulary.

[0081] In practical applications, after obtaining the masked word sequence, the method may further include: using a feature extraction operation to convert the masked word sequence into a first feature vector; inputting the first feature vector into a first model to obtain a second feature vector output by the first model; using an inverse operation corresponding to the feature extraction operation to convert the second feature vector into a predicted word sequence, wherein the predicted word sequence contains prediction information for the masked word.

[0082] In addition, in actual application, the predicted word-gram sequence may include not only the prediction information of the word-gram covered at the target position, but also the prediction information of the word-gram covered at the position after the target position.

[0083] For step 204, in another optional embodiment, the step of inputting the word sequence into the first model to obtain the prediction information for each position in the word sequence output by the first model may specifically include: for a target position in the word sequence, the first model may determine the prediction information for the target position based on the words in the word sequence other than the target position.

[0084] In this case, specifically, the word corresponding to the target position in the word-gram sequence can be masked to obtain a masked word-gram sequence; then the masked word-gram sequence is input into the model to be evaluated to obtain the prediction information of the target position output by the first model.

[0085] In the embodiments of the present specification, when referring to a word corresponding to a target position in the word-gram sequence, the target position may specifically include one target position or multiple target positions. For example, in a prediction process, the target position may include a first target position and a second target position that are not adjacent to each other.

[0086] Regarding the solution of determining the prediction information corresponding to the target position in the word-gram sequence in step 204, in practical application, considering that in the scene of interaction with people based on natural language, the following text is usually output based on the previous text, therefore, in the process of model training, the word-gram at the target position can be limited to be predicted based on the word-gram before the target position, and the word-gram after the target position can be not used as the basis for prediction. As a result, the trained model can usually have better performance in practical applications.

[0087] With respect to step 204 and step 206, in an optional embodiment, further, for the target position in the word-gram sequence, the expression form of the predicted information and the actual information may specifically be a vector.

[0088] Specifically, the prediction information may include a prediction probability vector, the length of which is the same as the number of word-grams in a preset vocabulary, the preset vocabulary is the basis for splitting the target corpus into word-grams, and each element in the prediction probability vector represents the probability that the target position is predicted to be each word-gram in the preset vocabulary. The actual information may include an actual probability vector; the length of which is the same as the number of word-grams in the preset vocabulary; and each element in the actual probability vector represents the probability that the target position is actually each word-gram in the preset vocabulary.

[0089] Furthermore, the probability value of the element in the actual probability vector corresponding to the actual word-unit may be 1. The probability value of the element not corresponding to the actual word-unit may be 0.

[0090] Furthermore, the actual probability vector can be a one-hot encoding, i.e., a one-hot encoding, also known as a one-bit effective encoding. For a target word in a preset vocabulary, if the target position is actually the target word, i.e., the probability that the target position is actually the target word is 100%, thus, the element corresponding to the target word in the actual probability vector can be marked as a valid state, for example, it can be recorded as 1; for a target word in a preset vocabulary, if the target position is actually not the target word, i.e., the probability that the target position is actually the target word is 0%, thus, the element corresponding to the target word in the actual probability vector can be marked as an invalid state, for example, it can be recorded as 0.

[0091] For step 206, in an optional embodiment, the cross entropy loss function represented by the following formula (1) may be used to calculate the word prediction loss value of the target position:

[0092]

[0093] Among them, H(p, q) can represent the word unit prediction loss value of the target position; p can represent the actual probability vector of the target position, p i can represent the probability that the target position is actually the i-th word in the preset vocabulary; q can represent the predicted probability vector of the target position, q i may represent the probability that the target position is predicted to be the i-th word in the preset vocabulary; i may represent an integer from 1 to n, and n may represent the number of word elements in the preset vocabulary.

[0094] For step 208, in an optional embodiment, the first loss value for predicting the target corpus by the first model is calculated based on the word-gram prediction loss value at each position in the word-gram sequence, which may specifically include: calculating the average value of the word-gram prediction loss value at each position in the word-gram sequence as the first loss value for predicting the target corpus by the first model.

[0095] Similarly, consistent with the above-mentioned method for calculating the first loss value, in one or more embodiments of the present specification, a specific implementation method for calculating the second loss value may be used using the second model to be evaluated.

[0096] Specifically, the step of inputting the target corpus into the second model to be evaluated, and using the cross entropy loss function to calculate the second loss value of the second model predicting the target corpus (step 106) may include the following steps: performing word-gram splitting on the target corpus to obtain a word-gram sequence; inputting the word-gram sequence into the second model to obtain prediction information for each position in the word-gram sequence output by the second model; for each position in the word-gram sequence, using the same cross entropy loss function as step 104 to calculate the word-gram prediction loss value between the predicted information and the actual information; and calculating the second loss value of the second model predicting the target corpus based on the word-gram prediction loss value at each position in the word-gram sequence.

[0097] Furthermore, in step 106, the target corpus may be split into word units according to the preset vocabulary of the second model to obtain a corresponding word unit sequence, wherein the vocabulary used may be the vocabulary used by the second model when processing training samples during training. Furthermore, the word segmenter corresponding to the second model may be used to perform the operation of splitting the target corpus into word units, specifically, the target corpus may be input into the preset word segmenter corresponding to the second model, and the preset word segmenter may split the target corpus to obtain a word unit sequence, wherein the word segmenter may be the word segmenter used in the training process of the second model to pre-process the training samples.

[0098] Furthermore, the prediction information of the second model for each position in the word-gram sequence may be determined in a manner consistent with the specific implementation of the above step 204; the word-gram prediction loss value of the second model may be determined in a manner consistent with the specific implementation of the above step 206; and the second loss value of the second model predicting the target corpus may be calculated in a manner consistent with the specific implementation of the above step 208. No further details will be given here.

[0099] In one or more embodiments of the present specification, a specific implementation method for determining a preferred model based on a loss value calculated by a cross entropy loss function is provided.

[0100] Specifically, determining the model to be evaluated corresponding to the smaller loss value between the first loss value and the second loss value as the preferred model in the industry field to which the target corpus belongs (step 108) may include: judging whether the second loss value is smaller than the first loss value to obtain a judgment result; if the judgment result is yes, determining that in the industry field to which the target corpus belongs, the performance of the second model is better than that of the first model.

[0101] Similarly, if it is determined that the first loss value is smaller than the second loss value, it can be determined that the performance of the first model is better than that of the second model in the industry field to which the target corpus belongs.

[0102] In one or more embodiments of the present specification, the industry field may include an education field, and the target corpus may include corpus in the education field.

[0103] Furthermore, according to the type of question, the educational field corpus may include problem-solving corpus, dialogue corpus, composition corpus, etc., but is not limited thereto. According to the type of subject, the educational field corpus may include Chinese corpus, mathematics corpus, chemistry corpus, early childhood education corpus, etc., but is not limited thereto.

[0104] In actual application, the corpus in the field of education may not be further subdivided, but the model may be evaluated as a whole to evaluate the performance of the model on the corpus in the entire field of education, so as to screen out models with better overall performance. Alternatively, the corpus in the field of education may be further subdivided from one or more classification perspectives such as topic type or subject type, and the model may be evaluated for each subdivided field to evaluate the performance of the model on the corpus in each subdivided field, so as to more accurately screen out models with better performance in each subdivided field.

[0105] According to the above description, the embodiment of this specification provides a flowchart of a method for evaluating the performance of a large language model in the field of education in an actual application scenario, such as Figure 3 shown.

[0106] like Figure 3 As shown, the method for evaluating the performance of a large language model in the field of education may include the following steps.

[0107] Step 302: Collect corpus in the field of education.

[0108] For example, corpus in the field of education may include essays, oral conversations, questions and answers from various subjects, etc.

[0109] In the embodiments of the present specification, the collected corpus does not need to have a specific format, that is, it does not need to be separated into questions and answers.

[0110] Step 304: Calculate the prediction performance of the large language model on the corpus, that is, calculate the loss of the large language model on the corpus.

[0111] Step 3041: Input processing.

[0112] Specifically, for a given corpus, according to the vocabulary of the model, the corpus is first divided into multiple tokens, where tokens can be characters, words, symbols, etc., and then each token is converted into a corresponding digital ID. That is, the token sequence is determined according to the corpus and then converted into a digital ID sequence.

[0113] To facilitate understanding, let’s take an example.

[0114] Assume that the vocabulary is as shown in Table 1.

[0115] Table 1 Vocabulary

[0116]

[0117]

[0118] Assume that the collected corpus is "I love Chinese." Then, after processing in step 3041, the sequence of digital IDs obtained is: [0, 1, 3, 4].

[0119] Step 3042: Model prediction.

[0120] Specifically, the model receives these digital IDs as input and predicts the probability distribution of the token at each position in the sequence. Further, for each position, the model can output a probability vector, the length of the probability vector can be equal to the size of the vocabulary, and each element in the probability vector can represent the probability of being predicted as the corresponding token.

[0121] Preferably, when the model is calculating a certain position, the model can only refer to all tokens of the previous position, that is, only the tokens of the previous position participate in the internal calculation of the model.

[0122] In practical applications, when predicting the token at each position, the model can give the probability of all tokens in the vocabulary.

[0123] Continuing with the above example, suppose that when predicting the fourth token of the corpus "I love Chinese.", the distribution of possibilities given by the first model to be evaluated (i.e., the model prediction probability) can be shown in Table 2-1 below, and the distribution of possibilities given by the second model to be evaluated (i.e., the model prediction probability) can be shown in Table 2-2 below.

[0124] Table 2-1 Prediction probability of the first model

[0125] token Token ID Model prediction probability I 0 10% like 1 10% dawn 2 20% Language 3 50% 。 4 10%

[0126] Table 2-2 Prediction probability of the second model

[0127] token Token ID Model prediction probability I 0 10% like 1 10% dawn 2 60% Language 3 10% 。 4 10%

[0128] Step 3043: Calculate the model prediction Loss.

[0129] Specifically, first, for each position, the real token is known, and these real tokens are converted into one-hot encoding. Combined with the predicted probability given by the model in step 3042, the cross entropy loss function can be used to calculate the difference between the model predicted probability distribution and the actual distribution in the one-hot encoding form. Then, based on the cross entropy loss results corresponding to each position, the average of the cross entropy loss results of all positions in the corpus is calculated, that is, the model prediction Loss of the model in the corpus is obtained.

[0130] Continuing with the example above, the fourth token in the corpus "I love Chinese." is "Chinese", then the actual probability (i.e., one-hot encoding) is shown in Table 3 below.

[0131] Table 3 Actual probability of the corpus

[0132] token Token ID Actual probability of corpus I 0 0 like 1 0 dawn 2 0 Language 3 100% 。 4 0

[0133] Then, using the cross entropy loss function, we can calculate the model prediction Loss1-4 of the first model for the fourth token in the corpus "I love Chinese." according to the model prediction probability in Table 2-1 and the actual probability of the corpus in Table 3; and calculate the model prediction Loss2-4 of the second model for the fourth token in the corpus "I love Chinese." according to the model prediction probability in Table 2-2 and the actual probability of the corpus in Table 3.

[0134] Taking the above formula (1) as an example, substituting the model prediction probability and the actual probability of the corpus into formula (1), we can calculate the first model prediction Loss1-4 of the fourth token in the corpus "I love Chinese.": -0*ln(0.1)-0*ln(0.1)-0*ln(0.2)-1*ln(0.5)-0*ln(0.1)=-0*(-2.3)-0*(-2.3)-0*(-1.6)-1*(-0.7)-0*(-2.3)=0.7. Similarly, we can calculate the model prediction Loss1-1, Loss1-2, Loss1-3, and Loss1-5 corresponding to the tokens in other positions in the corpus "I love Chinese." Furthermore, based on Loss1-1, Loss1-2, Loss1-3, Loss1-4 and Loss1-5 (for example, averaging), the model prediction Loss1 of the first model in the corpus can be obtained.

[0135] Similarly, the second model prediction Loss2-4 of the fourth token in the corpus "I love Chinese." can be calculated as: -0*ln(0.1)-0*ln(0.1)-0*ln(0.6)-1*ln(0.1)-0*ln(0.1)=-0*(-2.3)-0*(-2.3)-0*(-0.51)-1*(-2.3)-0*(-2.3)=2.3. Similarly, the model prediction Loss2-1, Loss2-2, Loss2-3, and Loss2-5 corresponding to the tokens in other positions in the corpus "I love Chinese." can be calculated. Furthermore, based on Loss2-1, Loss2-2, Loss2-3, Loss2-4, and Loss2-5 (for example, averaging), the model prediction Loss2 of the second model in the corpus can be obtained.

[0136] Step 306: Determine the preferred model based on the prediction performance of different large language models.

[0137] Specifically, the Loss value is greater than or equal to 0. The smaller the Loss value, the stronger the model capability.

[0138] Assuming that the Loss1 calculated using the above example is smaller than the Loss2, it means that the first model has better prediction results for the corpus "I love Chinese.". It can be further inferred that the first model will have better prediction results for the text in the educational field to which the corpus "I love Chinese." belongs.

[0139] The model evaluation method provided by the embodiment of this specification only needs to collect corpus in a specific field, and there is no need to further clean and extract the questions and answers in the corpus, which saves manpower and has a low sample collection cost; and there is no need to customize the evaluation method for the collected corpus, but a unified solution for calculating the cross entropy loss is adopted, and the evaluation solution is highly reusable. The model evaluation solution provided by the embodiment of this specification is simple and reliable, and can provide more accurate, comprehensive, and real-world evaluation results.

[0140] Corresponding to the above method embodiment, this specification also provides a model evaluation device embodiment, Figure 4 FIG. 1 is a schematic diagram showing the structure of a model evaluation device provided by an embodiment of this specification. Figure 4 As shown, the device comprises:

[0141] Corpus acquisition module 402, used to acquire target corpus;

[0142] A loss value calculation module 404 is used to input the target corpus into the first model to be evaluated, and use a cross entropy loss function to calculate a first loss value of the first model predicting the target corpus; the first loss value is used to reflect the difference between the first predicted value of the target corpus by the first model and the actual value of the target corpus;

[0143] The loss value calculation module 404 is further used to input the target corpus into the second model to be evaluated, and use the cross entropy loss function to calculate the second loss value of the second model predicting the target corpus; the second loss value is used to reflect the difference between the second predicted value of the target corpus by the second model and the actual value of the target corpus;

[0144] The model evaluation module 406 is used to determine the model to be evaluated corresponding to the smaller loss value between the first loss value and the second loss value as the preferred model in the industry field to which the target corpus belongs.

[0145] based on Figure 4The present specification also provides some specific implementation schemes of the method, which are described below.

[0146] Optionally, the loss value calculation module 404 can be specifically used to: perform word-gram splitting on the target corpus to obtain a word-gram sequence; input the word-gram sequence into a first model to obtain prediction information for each position in the word-gram sequence output by the first model; for each position in the word-gram sequence, calculate the word-gram prediction loss value between the predicted information and the actual information; based on the word-gram prediction loss value at each position in the word-gram sequence, calculate the first loss value of the first model predicting the target corpus.

[0147] Optionally, the step of inputting the word sequence into a first model to obtain prediction information for each position in the word sequence output by the first model may specifically include: for a target position in the word sequence, the first model determines the prediction information of the target position based on the word preceding the target position in the word sequence.

[0148] Optionally, for the target position in the word-gram sequence, the first model determines the prediction information of the target position based on the word-gram before the target position in the word-gram sequence, which may specifically include: masking the target position in the word-gram sequence and the word-gram corresponding to the position after the target position to obtain a masked word-gram sequence; inputting the masked word-gram sequence into the model to be evaluated to obtain the prediction information of the target position output by the first model.

[0149] Optionally, for the target position in the word-gram sequence, the prediction information specifically includes a prediction probability vector; the length of the prediction probability vector is the same as the number of word-grams in the preset vocabulary; the preset vocabulary is the basis for splitting the target corpus into word-grams; each element in the prediction probability vector respectively represents the probability that the target position is predicted to be each word-gram in the preset vocabulary; the actual information specifically includes an actual probability vector; the length of the actual probability vector is the same as the number of word-grams in the preset vocabulary; each element in the actual probability vector respectively represents the probability that the target position is actually each word-gram in the preset vocabulary.

[0150] Optionally, the word prediction loss value of the target position may be calculated using the following formula:

[0151]

[0152] Wherein, H(p, q) represents the word prediction loss value of the target position;

[0153] p represents the actual probability vector of the target location, p i Indicates the probability that the target position is actually the i-th word in the preset vocabulary;

[0154] q represents the predicted probability vector of the target position, q i represents the probability that the target position is predicted to be the i-th word in the preset vocabulary;

[0155] i represents an integer from 1 to n, and n represents the number of word-units in the preset vocabulary.

[0156] Optionally, the first loss value for predicting the target corpus by the first model is calculated based on the word-gram prediction loss value at each position in the word-gram sequence, which may specifically include: calculating the average value of the word-gram prediction loss value at each position in the word-gram sequence as the first loss value for predicting the target corpus by the first model.

[0157] Optionally, the model evaluation module 406 can be specifically used to: determine whether the second loss value is less than the first loss value to obtain a judgment result; if the judgment result is yes, it is determined that in the industry field to which the target corpus belongs, the performance of the second model is better than that of the first model.

[0158] Optionally, the industry field includes the education field, and the target corpus includes corpus in the education field.

[0159] Optionally, the second model and the first model correspond to different stages of the training process of the same model.

[0160] It is understood that the above modules refer to computer programs or program segments for executing one or more specific functions. In addition, the distinction between the above modules does not mean that the actual program codes must also be separated.

[0161] The above is a schematic scheme of a model evaluation device of this embodiment. It should be noted that the technical scheme of the model evaluation device and the technical scheme of the above-mentioned model evaluation method belong to the same concept, and the details not described in detail in the technical scheme of the model evaluation device can be referred to the description of the technical scheme of the above-mentioned model evaluation method.

[0162] Figure 5 The structure block diagram of a computing device 500 provided according to an embodiment of the present specification is shown. The components of the computing device 500 include but are not limited to a memory 510 and a processor 520. The processor 520 is connected to the memory 510 via a bus 530, and the database 550 is used to store data.

[0163] The computing device 500 also includes an access device 540 that enables the computing device 500 to communicate via one or more networks 560. Examples of these networks include a public switched telephone network (PSTN), a local area network (LAN), a wide area network (WAN), a personal area network (PAN), or a combination of communication networks such as the Internet. The access device 540 may include one or more of any type of network interface (e.g., a network interface card (NIC)) that is wired or wireless, such as an IEEE 802.11 wireless local area network (WLAN) wireless interface, a world-wide interoperability for microwave access (Wi-MAX) interface, an Ethernet interface, a universal serial bus (USB) interface, a cellular network interface, a Bluetooth interface, and a near field communication (NFC).

[0164] In one embodiment of the present specification, the above components of the computing device 500 and Figure 5 Other components not shown in the figure may also be connected to each other, for example, via a bus. It should be understood that Figure 5 The computing device structure block diagram shown is only for the purpose of illustration, and is not intended to limit the scope of this specification. Those skilled in the art can add or replace other components as needed.

[0165] The computing device 500 may be any type of stationary or mobile computing device, including a mobile computer or mobile computing device (e.g., a tablet computer, a personal digital assistant, a laptop computer, a notebook computer, a netbook, etc.), a mobile phone (e.g., a smart phone), a wearable computing device (e.g., a smart watch, smart glasses, etc.), or other types of mobile devices, or a stationary computing device such as a desktop computer or a personal computer (PC). The computing device 500 may also be a mobile or stationary server.

[0166] The processor 520 is used to execute the following computer executable instructions, which, when executed by the processor, implement the steps of the above-mentioned model evaluation method.

[0167] The above is a schematic scheme of a computing device of this embodiment. It should be noted that the technical scheme of the computing device and the technical scheme of the above-mentioned model evaluation method belong to the same concept, and the details not described in detail in the technical scheme of the computing device can be referred to the description of the technical scheme of the above-mentioned model evaluation method.

[0168] An embodiment of the present specification also provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement the steps of the above-mentioned model evaluation method.

[0169] The above is a schematic scheme of a computer-readable storage medium of this embodiment. It should be noted that the technical scheme of the storage medium and the technical scheme of the above-mentioned model evaluation method belong to the same concept, and the details not described in detail in the technical scheme of the storage medium can be referred to the description of the technical scheme of the above-mentioned model evaluation method.

[0170] An embodiment of the present specification also provides a computer program, wherein when the computer program is executed in a computer, the computer is caused to execute the steps of the above-mentioned model evaluation method.

[0171] The above is a schematic scheme of a computer program of this embodiment. It should be noted that the technical scheme of the computer program and the technical scheme of the above-mentioned model evaluation method belong to the same concept, and the details not described in detail in the technical scheme of the computer program can be referred to the description of the technical scheme of the above-mentioned model evaluation method.

[0172] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other. Each embodiment focuses on the differences from other embodiments. In particular, for the device, computing device, and computer-readable storage medium embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiments. The device, computing device, and computer-readable storage medium provided in the embodiments of this specification correspond to the method, so the device, computing device, and computer-readable storage medium also have beneficial technical effects similar to the corresponding method. Since the beneficial technical effects of the method have been described in detail above, the beneficial technical effects of the corresponding device, computing device, and computer-readable storage medium will not be repeated here.

[0173] The above is a description of a specific embodiment of the specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0174] The computer instructions include computer program codes, which may be in source code form, object code form, executable files or some intermediate forms, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium, etc. It should be noted that the content contained in the computer-readable medium may be appropriately increased or decreased according to the requirements of patent practice. For example, in some regions, according to patent practice, computer-readable media do not include electric carrier signals and telecommunication signals.

[0175] It should be noted that, for the above-mentioned method embodiments, for the sake of simplicity of description, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the embodiments of this specification are not limited by the order of the actions described, because according to the embodiments of this specification, some steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the embodiments of this specification.

[0176] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0177] The preferred embodiments of this specification disclosed above are only used to help explain this specification. The optional embodiments do not describe all the details in detail, nor do they limit the invention to only the specific implementation methods described. Obviously, many modifications and changes can be made according to the content of the embodiments of this specification. This specification selects and specifically describes these embodiments in order to better explain the principles and practical applications of the embodiments of this specification, so that technicians in the relevant technical field can well understand and use this specification. This specification is only limited by the claims and their full scope and equivalents.

Claims

1. A model evaluation method, It is characterized in that include: Obtain the target corpus; Inputting the target corpus into a first model to be evaluated, and using a cross entropy loss function to calculate a first loss value of the first model predicting the target corpus; The first loss value is used to reflect the difference between the first prediction value of the target corpus by the first model and the actual value of the target corpus; Input the target corpus into the second model to be evaluated, and use the cross entropy loss function to calculate a second loss value of the target corpus predicted by the second model; the second loss value is used to reflect the difference between the second predicted value of the target corpus by the second model and the actual value of the target corpus; The model to be evaluated corresponding to the smaller loss value between the first loss value and the second loss value is determined as the preferred model in the industry field to which the target corpus belongs.

2. The method according to claim 1, It is characterized in that The step of inputting the target corpus into a first model to be evaluated and using a cross entropy loss function to calculate a first loss value of the first model predicting the target corpus specifically includes: Performing word-unit splitting on the target corpus to obtain a word-unit sequence; Inputting the word-gram sequence into a first model to obtain prediction information for each position in the word-gram sequence output by the first model; For each position in the word-unit sequence, calculating a word-unit prediction loss value between the predicted information and the actual information; Based on the word-gram prediction loss value at each position in the word-gram sequence, a first loss value for predicting the target corpus by the first model is calculated.

3. The method according to claim 2, It is characterized in that The step of inputting the word-gram sequence into a first model to obtain prediction information output by the first model for each position in the word-gram sequence specifically includes: For a target position in the word-gram sequence, the first model determines prediction information of the target position based on the word-gram preceding the target position in the word-gram sequence.

4. The method according to claim 3, It is characterized in that For the target position in the word-gram sequence, the first model determines the prediction information of the target position according to the word-gram before the target position in the word-gram sequence, specifically including: Covering the word-gram corresponding to the target position and the position after the target position in the word-gram sequence to obtain a covered word-gram sequence; The masked word sequence is input into the model to be evaluated to obtain the prediction information of the target position output by the first model.

5. The method according to claim 2, It is characterized in that For the target position in the word sequence, The prediction information specifically includes a prediction probability vector; the length of the prediction probability vector is the same as the number of word units in a preset vocabulary; the preset vocabulary is a basis for splitting the target corpus into word units; each element in the prediction probability vector represents the probability that the target position is predicted to be each word unit in the preset vocabulary; The actual information specifically includes an actual probability vector; the length of the actual probability vector is the same as the number of word elements in the preset vocabulary; each element in the actual probability vector represents the probability that the target position is actually each word element in the preset vocabulary.

6. The method according to claim 5, It is characterized in that The word prediction loss value of the target position is calculated using the following formula: Wherein, H(p, q) represents the word prediction loss value of the target position; p represents the actual probability vector of the target location, p i Indicates the probability that the target position is actually the i-th word in the preset vocabulary; q represents the predicted probability vector of the target position, q i represents the probability that the target position is predicted to be the i-th word in the preset vocabulary; i represents an integer from 1 to n, and n represents the number of word-units in the preset vocabulary.

7. The method according to claim 2, It is characterized in that The calculating, based on the word-gram prediction loss value at each position in the word-gram sequence, a first loss value for predicting the target corpus by the first model specifically includes: An average value of the word-gram prediction loss values ​​at each position in the word-gram sequence is calculated as a first loss value for predicting the target corpus by the first model.

8. The method according to claim 1, It is characterized in that The step of determining the model to be evaluated corresponding to the smaller loss value between the first loss value and the second loss value as the preferred model in the industry field to which the target corpus belongs specifically includes: Determine whether the second loss value is less than the first loss value, and obtain a determination result; If the judgment result is yes, it is determined that the performance of the second model is better than that of the first model in the industry field to which the target corpus belongs.

9. The method according to claim 1, It is characterized in that The industry field includes the education field, and the target corpus includes corpus in the education field.

10. The method according to claim 1, It is characterized in that The second model and the first model correspond to different stages in the training process of the same model.

11. A model evaluation device, It is characterized in that include: Corpus acquisition module, used to acquire target corpus; a loss value calculation module, configured to input the target corpus into a first model to be evaluated, and use a cross entropy loss function to calculate a first loss value of the first model predicting the target corpus; the first loss value is used to reflect the difference between a first predicted value of the target corpus by the first model and an actual value of the target corpus; The loss value calculation module is further used to input the target corpus into a second model to be evaluated, and use the cross entropy loss function to calculate a second loss value of the target corpus predicted by the second model; the second loss value is used to reflect the difference between the second predicted value of the target corpus by the second model and the actual value of the target corpus; The model evaluation module is used to determine the model to be evaluated corresponding to the smaller loss value between the first loss value and the second loss value as the preferred model in the industry field to which the target corpus belongs.

12. A computing device, It is characterized in that include: Memory and processor; The memory is used to store computer-executable instructions, and the processor is used to execute the computer-executable instructions. When the computer-executable instructions are executed by the processor, the steps of the model evaluation method described in any one of claims 1 to 10 are implemented.

13. A computer-readable storage medium, It is characterized in that It stores computer executable instructions, which, when executed by a processor, implement the steps of the model evaluation method described in any one of claims 1 to 10.

14. A computer program product comprising a computer program, It is characterized in that When the computer program is executed by a processor, the steps of the model evaluation method described in any one of claims 1 to 10 are implemented.

Citation Information

Patent Citations

  • Systems, computer-implemented methods, and computer program products for data sequence validity processing

    US20220180863A1