Method and apparatus for pre-training semantic representation model and electronic device
AssigneeBeijing Baidu Netcom Science Technology Co., Ltd.
InventorsDongliang HE, Errui DING
Life of this patent
Estimating the term…
Loading patent…
AssigneeBeijing Baidu Netcom Science Technology Co., Ltd.
InventorsDongliang HE, Errui DING
Estimating the term…
A method for pre-training a semantic representation model includes: for each video-text pair in pre-training data, determining a mask image sequence, a mask character sequence, and a mask image-character sequence of the video-text pair; determining a plurality of feature sequences and mask position prediction results respectively corresponding to the plurality of feature sequences by inputting the mask image sequence, the mask character sequence, and the mask image-character sequence into an initial semantic representation model; and building a loss function based on the plurality of feature sequences, the mask position prediction results respectively corresponding to the plurality of feature sequences and true mask position results, and adjusting coefficients of the semantic representation model to realize training.
A method for pre-training a semantic representation model, comprising:
An electronic device, comprising:
A non-transitory computer-readable storage medium having computer instructions stored thereon, wherein the computer instructions are configured to cause a computer to implement a method for pre-training a semantic representation model, the method comprising:
Dependencies are inferred from the claim text.