Model training and content generation method and device
Патент · CN B
Полный текст
The disclosure provides a model training and content generating method and device, and relates to the artificial intelligence fields of large models, deep learning, natural language processing, knowledge maps and the like. The AIGC model training method includes the steps of constructing a first training set, wherein the first training set comprises a first training sample, the first training sample comprises a first training picture corresponding to any entity and picture description information of the first training picture, the first training set is used for training entity cognitive ability of a first content generation model to obtain a second content generation model, the second training set comprises a second training sample, the second training sample comprises modification relation information among words in target prompt words and a second training picture matched with the target prompt words, and the second training set is used for training entity detail description ability of a second content generation model to obtain a third content generation model. By applying the scheme disclosed by the disclosure, the instruction following capability and the like of the content generation model can be improved.