Protein–protein interactions are the basis of many protein functions, and understanding the contact and conformational changes of protein–protein interactions is crucial for linking the protein structure to biological function. Although difficult to detect experimentally, molecular dynamics (MD) simulations are widely used to study the conformational ensembles and dynamics of protein–protein complexes, but there are significant limitations in sampling efficiency and computational costs. In this study, a generative neural network was trained on protein–protein complex conformations obtained from molecular simulations to directly generate novel conformations with physical realism. We demonstrated the use of a deep learning model based on the transformer architecture to explore the conformational ensembles of protein–protein complexes through MD simulations. The results showed that the learned latent space can be used to generate unsampled conformations of protein–protein complexes for obtaining new conformations complementing pre-existing ones, which can be used as an exploratory tool for the analysis and enhancement of molecular simulations of protein–protein complexes.