The present invention relates to the field of cross-
modal technology, and provides a training method, device, equipment and storage medium of a cross-
modal model, including extracting a first video feature by a video
encoder, extracting a first text feature and a text
mask feature by a text
encoder, a second video feature and a second text feature in the same vocabulary space, and a third video feature and a third text feature in the same vocabulary space; obtaining a first global
loss function based on the second video feature and the second text feature, obtaining a second global
loss function based on the second video feature and the text
mask feature; obtaining a first local
loss function based on the first video feature, the first text feature and a
perceptron; obtaining a second local loss function based on the first video feature, the text
mask feature and the
perceptron; and training based on the first global loss function, the second global loss function, the first local loss function, the second local loss function and the mask loss function. The problem of alleviating the modality gap is achieved.