Patents
Literature
Patsnap Eureka AI that helps you search prior art, draft patents, and assess FTO risks, powered by patent and scientific literature data.

199 results about "Class model" patented technology

Calibrated model intervention with conformal threshold

A classification model is calibrated with a conformal threshold to determine a known error rate for classifications. Rather than directly use the model outputs, the classification model outputs are processed to a conformal score that is compared with a conformal threshold for determining whether a data sample is a member of a class. When a number of classes for the data sample that pass the conformal threshold for inclusion is a single class, an action associated with the class can confidently be applied with a known error rate. When the number of classes is zero or multiple classes, it may indicate sufficient uncertainty in the model prediction and the data sample may be escalated to another decision mechanism, such as manual review or a more complex classification model.
Owner:TORONTO DOMINION BANK THE

Multi-coal-type coal calorific value determination method and system based on NIRS-XRF combination

The invention belongs to the field of coal analysis, and particularly discloses a multi-coal-type coal calorific value measuring method and system based on NIRS-XRF (near infrared spectroscopy-X fluorescence spectroscopy) combination, and the method comprises the following steps: obtaining NIRS spectrum and XRF energy spectrum of to-be-measured coal; inputting the NIRS spectrum and XRF energy spectrum data of the coal into the trained coal type identification model, and determining the coal type of the coal; the coal type identification model is an XGBoost model, the XGBoost model is iteratively trained through a Boosting algorithm, hyper-parameters of the XGBoost model are optimized through a genetic algorithm GA, an objective function is optimized through an addition model and a forward step-by-step algorithm, and the XGBoost model determines an optimal split point of a classification regression tree CART through a greedy algorithm in each iteration; and inputting the NIRS spectrum and XRF energy spectrum data of the coal into the trained subclass model of the corresponding coal type, and determining the calorific value of the coal. According to the invention, coal type identification is carried out through the XGBoost, and then the accuracy of calorific value measurement is significantly improved through the strategy of subclass model prediction.
Owner:SHANXI UNIV

Method, device and system for multi-model cooperative processing of security operation task and medium

A method, device and system for multi-model cooperative processing of a security operation task and a medium relate to the technical field of information security, and the method comprises the following steps: receiving a security operation instruction of a user, and determining the type of the security operation instruction by using a pre-trained classification model; under the condition that the safe operation instruction is determined to be an execution task type instruction, reasoning based on the safe operation instruction by utilizing a first type model so as to determine a target tool required to be called in response to the safe operation instruction; and under the condition that the target tool is determined, calling the target tool to execute the corresponding safety operation task, under the condition that the safety operation instruction is determined as the knowledge question and answer instruction, reasoning is carried out based on the safety operation instruction by utilizing a second-class model so as to determine a reply statement corresponding to the safety operation instruction; the parameter quantity of the first-class model is smaller than that of the second-class model. The advantages of high reasoning speed of a small model and high reasoning accuracy of a large model are fully utilized, and the quality of safe operation service is improved.
Owner:BEIJING VENUS INFORMATION SECURITY TECH +2

Code generation method and device, equipment and storage medium

The invention discloses a code generation method and device, equipment and a storage medium, and relates to the technical field of computers. The method comprises the following steps: screening out a target reusable code meta-model corresponding to code generation demand information from a pre-constructed code model library according to the code generation demand information; the code model library comprises reusable code meta-models corresponding to various businesses, and the reusable code meta-models comprise one or more of an application template class model, a function module class model and a code snippet class model; verifying the target reusable code meta-model by using a pre-constructed rule base to obtain a verified target reusable code meta-model; and combining all the target reusable code meta-models passing the verification to obtain a program code corresponding to the code generation demand information. On the basis of ensuring the accuracy of code generation, the generation of multi-field program codes can be realized, and the universality of code generation in the application field is improved.
Owner:INSPUR SUZHOU INTELLIGENT TECH CO LTD

Electric power label knowledge classification method and system based on large model

The invention discloses an electric power label knowledge classification method and system based on a large model, and relates to the field of data processing. The method comprises the following steps: collecting power source end data, and determining effective source end data; determining a hierarchical label map, and supervising and training the open source large model; introducing a label-free standard semantic library to determine an initialized classification model; downstream task features are read, supervised adjustment is carried out, and a large classification model is determined; receiving a pre-classification task, performing classification decision, and determining a classification result; and if the classification result of the pre-classification task is vacant, receiving a new defect type, and executing class incremental learning. By adopting the method, the technical problems of rare tag category data and poor interpretability caused by high specialty of power knowledge tags in the prior art are solved, the interpretability of the model is enhanced by introducing domain knowledge, and the technical effects of tag classification of standard knowledge and prediction and deduction of new sample data are achieved.
Owner:GLOBAL ENERGY INTERCONNECTION RES INST CO LTD +2

Unsupervised representation learning and active learning to improve data efficiency

A problem of imbalanced big data is solved by decoupling a classifier into a neural network for generation of representation vectors and into a classification model for operating on the representation vectors. The neural network and the classification model act as a mapper classifier. The neural network is trained with an unsupervised algorithm and the classification model is trained with a supervised active learning loop. An acquisition function is used in the supervised active learning loop to speed arrival at an accurate classification performance, improving data efficiency. The accuracy of the hybrid classifier is similar to or exceeds the accuracy of comparative classifiers in all aspects. In some embodiments, big data includes an imbalance of more than 10:1 in image classes. The hybrid classifier reduces labor and improves efficiency needed to arrive at an accurate classification performance, and improves recognition of previously-unrecognized images.
Owner:SAMSUNG SDS AMERICA INC

Method for hyperspectral remote sensing scene classification

The invention provides a method for hyperspectral remote sensing scene classification. The method is characterized in that a data collecting and processing module, a classification model training module and a hyperspectral remote sensing scene classification module are included; the method comprises the following steps: constructing a multi-teacher-student model framework of three teacher models and one student model, training the three teacher-student models by using training data, and then teaching knowledge of the three teacher models to the student model by using a distillation technology, a student model obtains knowledge representations including local information, global information, spectral information and the like from different teacher sources, a comprehensive knowledge system is constructed, and then a new hyperspectral remote sensing scene is automatically classified by using the trained student model. By adopting the method provided by the invention to classify the hyperspectral remote sensing scene, the efficiency is improved, and the precision and accuracy are also improved.
Owner:CHONGQING UNIV

Apparatus, method, and computer program product for multi-class classification using adapted two-level binary classification models

A multi-class classification system performs multi-class classification using an adapted, multi-level binary classification model in conjunction with pre-classification and post-classification processing. Original, multi-class training data is transformed into coarse-level adapted training data and fine-level adapted training data. In the coarse-level adapted training data, objects from the original training set are classified into either a majority classification set (representing the largest original classification set) or a non-majority classification set representing a combination of the remaining classification sets from the original training data. In the fine-level adapted training data, objects from the non-majority classification set retain their original classifications from the original training data. The adapted training data is used to train coarse-level and fine-level instances of the binary classification model, which are used to generate coarse-level and fine-level binary classifications of objects with respect to an input data set. The binary classifications are transformed into a multi-class classification.
Owner:HONEYWELL INTERNATIONAL INC

Teaching quality evaluation and optimization platform based on OpenPose skeleton key point detection

The invention discloses a teaching quality evaluation and optimization platform based on OpenPose skeleton key point detection. The teaching quality evaluation and optimization platform comprises a classroom behavior recognition module, a teaching quality evaluation module and a teaching analysis and optimization module. The classroom behavior recognition module acquires and preprocesses video information generated in a classroom video, then detects skeleton key points in the classroom video by using an OpenPose skeleton key point detection model to recognize teacher and student classroom behaviors, and then performs training based on a support vector machine classification algorithm to generate a classroom behavior classification model to classify the teacher and student classroom behaviors; the teaching quality evaluation module is used for calculating the class positive degree, the class attending seriousness of the students and the teaching seriousness of the teachers and evaluating the teaching quality; the teaching analysis and optimization module carries out teaching analysis and optimization based on teacher and student classroom behaviors and teaching quality evaluation. According to the invention, classroom behaviors of teachers and students can be identified and classified in real time, and comprehensive, objective and reliable teaching quality evaluation is provided.
Owner:ZHEJIANG UNIV OF SCI & TECH

Method for training a classification model using class prototypes of previous classes, and corresponding system

A method for training a classification model (f) with a training dataset (X,Y) and a set of class prototypes (pc), the method comprising an initialization of a class prototype for at least one class of the training dataset not having a class prototype in the set of class prototypes, and wherein training is performed using a loss function including: - a first component (LSC) to learn, by the classification model, representation of samples of the training dataset, - a second component (Lp) configured to update the at least one initialized class prototype by optimizing a similarity between the initialized class prototype and the output of the classification model, - a third component (Ld) configured to update at least one class prototype of the set of class prototypes and the classification model by preserving, during training, an order distances.
Owner:TOYOTA JIDOSHA KK +1

Rheumatoid arthritis patient low muscle quality risk prediction method based on uncertainty perception stacked meta-learning structure

The invention provides a rheumatoid arthritis patient low muscle quality risk prediction method based on an uncertainty perception stacked meta-learning structure, and belongs to the technical field of machine learning. The method comprises the following steps: acquiring a rheumatoid arthritis data set; constructing a base learner set comprising a table Transform class network and a gradient boosting tree class model; splicing the out-of-fold prediction probabilities of all the base learners and the statistics thereof to form a meta-feature matrix; taking the meta feature matrix as input, and constructing and training a meta learner comprising a spectrum normalization multilayer perceptron and a random feature Gaussian process output layer; collecting to-be-detected data, inputting the to-be-detected data into the trained base learner set and the trained meta learner in sequence, and performing temperature scaling and beta-calibration on a prediction result; and taking the calibrated prediction probability as a final prediction result. Through multi-source data fusion, the defects of an existing model in the aspects of practicability, probability reliability and the like are overcome.
Owner:THE AFFILIATED HOSPITAL OF SHANDONG UNIV OF TCM

Classification model training method, related method, device, equipment and medium

The invention discloses a classification model training method, a related method, a device, equipment and a medium. Comprising the steps of obtaining an unknown prediction result, a newly-added prediction result and a known prediction result for sample features of a first sample object based on a preset class increasing model; determining classification loss according to a target classification result and a category label obtained by classification of the unknown prediction result, the newly added prediction result and the known prediction result; a class increasing classification model is obtained through classification loss training; inputting the second sample object into the known class classification model and the increased class classification model, and optimizing the known class classification result according to the increased class classification result and the correction parameter; and determining fine tuning loss according to the known class optimization result, the increased class classification result and the class label, performing fine tuning on the correction parameter according to the fine tuning loss to obtain a fine-tuned correction parameter, and obtaining a target classification model based on the fine-tuned correction parameter, the known class classification model and the increased class classification model. According to the method, the classification accuracy can be still improved under the condition that the classification categories are newly added.
Owner:TENCENT TECHNOLOGY (SHENZHEN) CO LTD

Transform class model coding method and system for channel state information prediction

The invention provides a coding method and system of a Transform class model for channel state information prediction. The coding method comprises the following steps: S1, acquiring and processing channel state time sequence data; s2, inputting the processed data into an encoder to extract features; s3, CFR data needing to be predicted are embedded, and position codes of the model are added; decoding the relevant parameters using a decoder; s4, processing the output of the decoder, and predicting channel state information; and S5, taking the CFR data and the CSI data obtained in the actual scene as the input of the model, and predicting channel frequency response information. According to the method, the time sequence characteristics of the channel state information are calculated and coded, and the time information is brought into the model, so that the relative stability time of the channel at the future moment is considered, the problem of weak time sequence information embedding capability in a Transform model is solved, and the accuracy of channel state prediction is improved.
Owner:SHANGHAI JIAOTONG UNIV

Scoliosis classification model training method and scoliosis classification method and system

The invention relates to the field of spine detection, and provides a scoliosis classification model training method, a scoliosis classification method and a scoliosis classification system in order to reduce computing resources and improve detection precision, and the scoliosis classification model is trained by constructing a class-balanced metadata set and a class-unbalanced basic data set. The model is guided to learn features of each category, the problem of category imbalance in a scoliosis data set is solved, and the generalization ability of the model under different scoliosis angle categories is effectively improved, so that the detection precision is improved; a Mama structure and an attention mechanism are introduced into the scoliosis classification model, and by optimizing a calculation process and a feature extraction mode, on the premise that the detection precision is guaranteed, the requirement for calculation resources is reduced, and the detection method can be effectively operated on common equipment.
Owner:XIN HUA HOSPITAL AFFILIATED TO SHANGHAI JIAO TONG UNIV SCHOOL OF MEDICINE

Joint simulation method of embedded computer digital twin multi-class model

The invention relates to the field of joint simulation of multi-class models, in particular to a joint simulation method of embedded computer digital twin multi-class models, which comprises the following steps: acquiring configuration information for a simulation object; obtaining a plurality of types of models required by simulation, packaging each type of model, constructing a to-be-operated simulation model library, and synchronously analyzing each type of model; starting a simulation model library, performing synchronous simulation, and determining resource synchronous competition characterization parameters for the synchronous simulation process based on complexity differences and load competition rates of various types of models so as to divide resource synchronous competition categories for the synchronous simulation process; in the synchronous simulation process, simulation parameters are adaptively controlled based on resource synchronous competition categories; according to the multi-class model joint simulation system and method, system resource competition in the multi-class model joint simulation process can be relieved, resource balanced distribution and the stability of the simulation process are guaranteed, and the simulation effect and efficiency are improved.
Owner:JINGHANG WEITAI AUTOMATIC TEST EQUIP BEIJING

Training method for classification model, search method for hyperparameters, and device

The present application relates to the field of artificial intelligence technology, and discloses a training method for a classification model, a search method for hyperparameters, and a device. The training method includes obtaining target hyperparameters of a classification model to be trained, where the target hyperparameters are used to control the gradient update step size of the classification model to be trained, and the classification model to be trained includes a scale-invariant linear layer, and the scale-invariant linear layer enables the prediction classification result output when the weight parameters of the classification model to be trained are multiplied by any scaling factor to remain unchanged; updating the weight parameters of the classification model to be trained according to the target hyperparameters and a target training method to obtain a trained classification model, and the target training method enables the magnitudes of the weight parameters of the classification model to be trained before and after updating to be the same. Based on the technical solution of the present application, it is possible to reduce the computing resources consumed for training the classification model while ensuring the accuracy of the classification model.
Owner:HUAWEI TECH CO LTD

Meta-learning systems and / or methods for error detection in structured data

Certain example embodiments relate to meta-learning based error detection. Base classifiers are provided for historical attributes in historical datasets. Each is trained to indicate dirtiness of a value for the associated historical attribute. Clusters and a clustering model are generated using historical clustering features determined for each historical attribute, which are then associated with the clusters. For each dirty attribute in a dirty dataset, corresponding dirty clustering features are determined. The dirty attributes are assigned to the clusters using the corresponding determined dirty clustering features and the clustering model. The base classifiers associated with the clusters to which the dirty attributes were assigned are retrieved. Dirty features are extracted from the dirty dataset, and selectively modified. The extracted dirty features are applied to the retrieved the base classifiers to determine meta-features. A meta-classifier is trained using labeled meta-features. Predictions about the dirty dataset's dirtiness can be made using the meta-classifier.
Owner:SOFTWARE AG

Computer-implemented method and device for generating training data and for training based on the generated training data

The invention relates to a computer-implemented method for generating training data and for training based on the generated training data. The method comprises providing (S1) a first training data generation model; providing (S2) a class distribution model; providing (S3) a classification model; providing (S4) a second training data generation model; training (S5) the first training data generation model depending on a class condition, including the class distribution model; and generating (S6) first training data depending on the class condition, including real-world data, by the first training data generation model.a training (S7) of the classification model based on the first training data, such that the classification model assigns at least one class and / or one class probability to each of the first training data and generates second training data classified in this way; and a training (S8) of the second training data generation model based on the first training data, including real-world data;
Owner:ROBERT BOSCH GMBH

Model performance evaluation method and device

ActiveCN118860821AReduce the amount of labelingimprove accuracyHardware monitoringAlgorithmClass model
One or more embodiments of the invention provide a model performance evaluation method and apparatus. The method comprises the steps of obtaining a model set comprising a plurality of models and a sample set comprising at least one evaluation sample; sequentially determining the evaluation samples in the sample set as target evaluation samples, and obtaining a first type of model pairs generated in the process of merging and sorting the model set; publishing the first type of model pairs to a labeling party, so that the labeling party labels the first type of model pairs according to model outputs obtained by inputting the target evaluation samples into the two models in the first type of model pairs respectively, obtaining a labeling result used for indicating a comparison result of model performances of two models in the first type of model pair on the target evaluation sample; and obtaining a labeling result of the first-class model pair on the target evaluation sample, and continuing to complete merging and sorting for the model set according to the labeling result to obtain a sorting result of the model performance of the models in the model set on the target evaluation sample.
Owner:ALIPAY (HANGZHOU) INFORMATION TECH CO LTD

Multi-document question and answer retrieval method combining generative language model and semantic document atlas

The invention discloses a multi-document question and answer retrieval method combining a generative language model and a semantic document atlas, which further perfects and optimizes the construction and traversal mode of a document knowledge atlas, and respectively designs a bert-class model-based atlas construction and a KGP3 algorithm-based retrieval traversal mode optimization. In the graph traversal process, a main problem and an obtained node are combined, a sub-problem related to next needed node information is generated, the most appropriate document node is accurately selected from neighbor nodes, the correlation between the node and an initial problem is judged, and if the node and the initial problem are not related, the node and the initial problem are not listed in a follow-up retrieval list. The method is efficient, has traceability and interpretability, and abstractly summarizes the whole process of selecting the next hop node in graph traversal by the model. In order to reduce the cost, the small encoder-decoder T5 model is improved, and a contrast learning mechanism is introduced into the model, so that the retrieval performance of the small model is further improved.
Owner:HARBIN INST OF TECH

Stroke prediction multi-architecture stacked ensemble supermodel

Apparatus and associated methods relate to emergency stroke detection and classification. In an illustrative example, a stroke detection device may include an ensemble stroke classification model (ESCM). The ESCM may, for example, include class-specific model sets applicable for at least four classes of features, and a general model set applicable for all classes of features. Each model set, for example, may be stacked with multiple class-specific models for each of a corresponding group of architectures. The stroke detection device may, for example, extract predetermined features from a rolling window of a first predetermined duration of EEG data. The predetermined features are extracted and combined into a 1-D input vector. By applying the input vector, the stroke detection device may generate a binary stroke prediction result. Various embodiments may advantageously accurately predict whether a patient is experiencing a stroke within a finite time to assist an emergency service personnel.
Owner:ASTERION AI INC

Feature backward compatible learning method between models, electronic equipment and storage medium

The invention provides an inter-model feature backward compatible learning method. The method comprises the steps of obtaining a first classification model, a second classification model and a training data set; calculating a first feature value and a second feature value corresponding to each sub-data set based on the first classification model and the second classification model; performing disturbance calculation on the first characteristic value to obtain a corresponding third characteristic value; calculating a target feature vector corresponding to each data sample based on a second classification model, constructing a negative sample pair between the target feature vector and the first feature value, constructing a positive sample pair between the target feature vector and the third feature value, and calculating to obtain a first loss function; classifying the training data set based on a second classification model, and calculating according to the classification accuracy of the second classification model to obtain a second loss function of the second classification model; and updating model parameters of the second classification model based on the first loss function and the second loss function. The method can improve the discrimination capability of the new model.
Owner:PENG CHENG LAB

Character recognition method and device based on deep learning and storage medium

The invention discloses a character recognition method and device based on deep learning and a storage medium, training is carried out through a training set to obtain a detection classification model, a character detection model and a character recognition model, and the detection classification model comprises a large class classification model and a subdivision classification model corresponding to each large class. The applicability can be improved through decoupling use, and the accuracy can be improved through combination of the two; the character detection network takes a deep convolutional neural network as a trunk network and is combined with a pixel aggregation network, so that high-layer and low-layer features have strong spatial and semantic information, and the character recognition network performs training according to CTC loss and Center Loss to improve the training speed and the recognition effect; the to-be-analyzed object is classified through the detection classification model to determine the target classification, the to-be-analyzed object is detected through the character detection network to determine the target character area, and the target character area is recognized through the character recognition model, so that the accuracy of a character recognition result is improved.
Owner:GUANGDONG ESHORE TECH

A classification model training method, object classification method and related device

ActiveCN114118242BMedicineAlgorithm
The application relates to a classification model training method, an object classification method and related equipment. The classification model training method comprises the following steps: obtaining a training sample set; the training sample set comprises a plurality of sample subsets, and the plurality of sample subsets correspond to a plurality of different kinds of category labels; a preset machine learning model is constructed; the category of each training sample in the training sample set is predicted based on the preset machine learning model, and prediction category information of each training sample is obtained; the prediction category information is determined based on the number of samples in each sample subset in the plurality of sample subsets and a feature output index of the training sample; a loss value is determined based on the prediction category information of each training sample and the category label of each training sample; the preset machine learning model is trained according to the loss value until a preset training end condition is met, and a classification model is obtained. In this way, the recognition accuracy of the classification model can be improved, and the safety of the application of the classification model in the automobile field can be improved.
Owner:CHINA AUTOMOTIVE INNOVATION CORP

Model training method, feature classification method, device and computer equipment

The present application relates to a model training method, a feature classification method, an apparatus and a computer device. The method includes: the computer device determines the contribution of each symptom feature to each department based on the historical symptom feature data of multiple users, determines a sample data set based on the contribution of the historical symptom features, trains the initial classification model based on the sample data set, and obtains a target classification model; wherein the contribution is the frequency of occurrence of the symptom feature for the department, the initial classification model includes a first-layer classification model and a second-layer classification model, wherein the second-layer classification model is a least squares dual support vector machine meta-classification model, and the target classification model is used to classify departments according to the user's symptom features. The target classification model involved in this solution uses the least squares dual support vector machine as the second-layer meta-classifier of Stacking ensemble learning, which reduces the learning difficulty of the model during training and improves the solution efficiency of model training.
Owner:SHANGHAI LIANYING ZHIYUAN MEDICAL TECH CO LTD

Question reply method and device, electronic equipment, storage medium and program product

The invention provides a question reply method and device and electronic equipment, and relates to the technical field of artificial intelligence such as human-computer interaction, natural language understanding, large models and light weight. The method comprises the steps of obtaining a to-be-processed question input by a user in a current session; a plurality of alternative models associated with the to-be-processed problem are utilized to process the to-be-processed problem in parallel to obtain a plurality of candidate replies, the alternative models comprise at least one first-class model and at least one second-class model, and the parameter scale and / or single call cost of the first-class model are / is lower than that of the second-class model; determining a target model in the plurality of alternative models according to behavior information of the user for the plurality of candidate replies; and during the duration of the current session, generating corresponding reply contents for the input subsequent questions by using the target model. According to the method, the target model conforming to user preferences can be rapidly and clearly determined by simultaneously presenting the behavior information of the multiple candidate replies to the multiple alternative models by the user, and the interaction turns and the clarification cost are reduced.
Owner:BEIJING BAIDU NETCOM SCI & TECH CO LTD

Audio classification method, model training method, system, equipment and medium

The invention relates to an audio classification method, a model training method, a system, equipment and a medium. The training method comprises the following steps: acquiring an extended audio set and an audio tag set corresponding to the extended audio set; inputting the extended audio set into the trained original model, and extracting generated reference original category labels and original features; inputting the extended audio set into an extended model, and extracting a generated original category label and / or a newly added category label and an extended feature generated by the same network layer as the original model; and updating parameters of an expansion model based on the difference degree between the original category label and the reference original category label, the difference degree between the expansion feature and the original feature, and the difference degree between the original category label, the newly added category label and the corresponding audio label in the audio label set, and taking the trained expansion model as an audio classification model. According to the method, the problem of knowledge forgetting possibly occurring when the extension model learns a new category is solved, and meanwhile, the learning ability of the extension model to a new category is enhanced.
Owner:BESTECHNIC SHANGHAI CO LTD

Computer-implemented method and device for generating training data and for training on the basis of the generated training data

PCT designated stage expiredWO2024240612A1Biological modelsMedicineAlgorithm
The invention relates to a computer-implemented method for generating training data and for training on the basis of the generated training data. The method comprises providing (S1) a first training data generation model; providing (S2) a class distribution model; providing (S3) a classification model; providing (S4) a second training data generation model; training (S5) the first training data generation model according to a class condition by including the class distribution model; generating (S6) first training data according to the class condition by including real data by way of the first training data generation model; training (S7) the classification model on the basis of the first training data in such a way that the respective first training data are assigned at least one class and / or one class probability by the classification model and in such a way that classified second training data are generated; and training (S8) the second training data generation model on the basis of the first training data by including real data.
Owner:ROBERT BOSCH GMBH

A fine-tuning stage distillation method and device for text-based models

This specification discloses a distillation method for the fine-tuning stage of a text-based model, comprising: acquiring training set samples and a pre-trained teacher model, the teacher model including multiple hidden layers; selecting at least two specified layers from the multiple hidden layers of the teacher model and aggregating them to obtain aggregated hidden layers; generating a student model based on the aggregated hidden layers and the remaining unspecified layers in the teacher model; distilling the student model using the teacher model; and reusing the distilled student model as the teacher model until it is impossible to select at least two specified layers from the teacher model, at which point the teacher model at this point is used as the target model. Accordingly, this specification also discloses a distillation apparatus for the fine-tuning stage of a text-based model.
Owner:ALIPAY (HANGZHOU) INFORMATION TECH CO LTD