The invention relates to the technical field of computers, and discloses a multi-
modal data fusion control method and device, equipment and a medium, and the method comprises the steps: introducing cross-
modal attention into an Embedding layer and a
Transformer encoder layer of a pre-training
language model, achieving the full fusion of inter-
modal information at different semantic levels, and achieving the multi-
modal data fusion control. Multi-modal representation rich in hierarchy and semantic interactivity is formed; the importance weights of different modal information in the multi-modal fusion process are adaptively adjusted, flexible and dynamic cross-modal information interaction is realized, and the adaptability and generalization ability of the model in different scenes are improved; according to the method, the consistency of the generated content and the source input on the semantic level is explicitly converted, the correlation between the generated content and one type of
modal data is evaluated in real time, the accuracy, correlation and reliability of the output content of the model are improved, in this way, the performance of the model in cross-modal understanding and generation tasks is remarkably improved, and the hardware
processing efficiency is improved.