A modified physics-informed neural network is used to predict the dynamics of optical pulses including one-soliton, two-soliton, and rogue wave based on the coupled nonlinear Schrodinger equation in birefringent fibers. At the same time, the elastic collision process of the mixed bright-dark soliton is predicted. Compared the predicted results with the exact solution, the modified physics-informed neural network method is proven to be effective to solve the coupled nonlinear Schrodinger equation. Moreover, the dispersion coefficients and nonlinearity coefficients of the coupled nonlinear Schrodinger equation can be learned by modified physics-informed neural network. This provides a reference for us to use deep learning methods to study the dynamic characteristics of solitons in optical fibers.