-
公开(公告)号:US20220129768A1
公开(公告)日:2022-04-28
申请号:US17646851
申请日:2022-01-03
Inventor: Dongling XIAO , Yukun LI , Han ZHANG , Yu SUN , Hao TIAN , Hua WU , Haifeng WANG
IPC: G06N5/02
Abstract: The present disclosure provides a method and apparatus for training a model. The method can include: acquiring at least one paragraph text, each paragraph text comprising a plurality of fine-grained samples; processing a fine-grained sample in the each paragraph text to obtain a coarse-grained sample; annotating the coarse-grained sample in the each paragraph text and obscuring one coarse-grained sample using a mask of one fine-grained sample to obtain a training sample set, wherein the training sample set comprises a plurality of annotated texts, and each annotated text comprises at least one of a fine-grained sample or an annotated coarse-grained sample; and training a fine-grained model using the training sample set to obtain a trained fine-grained model, the fine-grained model being used to learn content of a previous fine grain size and predict content of an adjacent coarse grain size.
-
公开(公告)号:US20220300697A1
公开(公告)日:2022-09-22
申请号:US17835717
申请日:2022-06-08
Inventor: Yukun LI , Han ZHANG , Weichong YIN , Dongling XIAO , Yu SUN , Hao TIAN
Abstract: A method for generating a target object is provided. A first discrete encoded sequence corresponding to an original object is generated by performing discrete encoding on the original object. The original object is of an image type, a text type, or a text-image-combined type. A second discrete encode sequence is obtained by inputting the first discrete encoded sequence into a generative model. A target object is generated based on the second discrete encoded sequence. The target object is of an image type or a text type. When the original object is of the image type, the target object is of the text type. When the original object is of the text type, the target object is of the image type.
-