Abstract

Traditional machine translation based on RNN has two major defects: (1)it can only process word-by-word and result in slow training speed; (2)when the sentence is too long, gradient disappearance and explosion reduce the accuracy of translation. To solve this problem, this paper designs a Transformer based machine translation implemented by PyTorch. Compared with traditional machine translation, Transformer uses the attention mechanism to redesign the defects of RNN and effectively solves the problems of efficiency and forgetting. The French-English machine translation based on Transformer designed in this paper achieves a translation accuracy rate of 80% from French to English after training and practical application.

Full Text
Paper version not known

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.