Ai model reuse method and apparatus
Патент · EP A1
Полный текст
An AI model reuse method and an apparatus are provided, and relate to the field of artificial intelligence technologies, to improve model reuse effect. The method includes: processing each piece of sample data in a target training dataset by using a first AI model as an initial model of a target task, where the first AI model is an AI model obtained through training based on a source training dataset of a source task; determining, based on a processing result of each piece of sample data in the target training dataset, a category mapping cost at which a category of the target task is mapped to a category of the source task; determining, based on the category mapping cost, a model reuse weight from the first AI model to a second AI model used to process the target task; and obtaining the second AI model based on the reuse weight and the target training dataset.