The invention provides a translation model training method and device and a medium, and relates to the technical field of artificial intelligence, in particular to a natural language processing technology, and the translation model training method can improve the output accuracy of a trained translation model. In the translation model training method, the synonyms corresponding to the languages different from the languages of the to-be-translated sentences are used for replacing partial words in the to-be-translated sentences, and the different languages are input into the translation model at one time, so that the translation model can learn the relation among multiple languages at one time, the training effect of the translation model is improved, therefore, the output accuracy of the translation model is improved.