Translation method and device, training method and device for translation model

A translation model and post-translation technology, applied in the computer field, can solve problems such as the adverse effects of translation effects, and achieve the effect of good translation effects

Active Publication Date: 2019-02-19
成都金山互动娱乐科技有限公司 +1
View PDF2 Cites 32 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] In the Google translation model, the output vector of the last encoding stack layer is used as the final output vector of the encoding layer, where the output vector of each encoding stack layer will be the final The output vector has an influence, but the influence weight of each encoding stack layer is fixed, which will adversely affect the final translation effect

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Translation method and device, training method and device for translation model
  • Translation method and device, training method and device for translation model
  • Translation method and device, training method and device for translation model

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0090] In the following description, numerous specific details are set forth in order to provide a thorough understanding of the application. However, the present application can be implemented in many other ways different from those described here, and those skilled in the art can make similar promotions without violating the connotation of the present application. Therefore, the present application is not limited by the specific implementation disclosed below.

[0091] Terms used in one or more embodiments of this specification are for the purpose of describing specific embodiments only, and are not intended to limit one or more embodiments of this specification. As used in one or more embodiments of this specification and the appended claims, the singular forms "a", "the", and "the" are also intended to include the plural forms unless the context clearly dictates otherwise. It should also be understood that the term "and / or" used in one or more embodiments of the present sp...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides a translation method and device, a translation model training method and a translation device, wherein, the translation method comprises the following steps of: obtaining a sentence to be translated; inputting the sentence to be translated into a translation model to obtain a translation sentence corresponding to the sentence to be translated, wherein the translation model is trained in the following ways: the first sentence in the target corpus and the translated second sentence are used as training samples and training features respectively; inputting the training sample to the coding layer of the translation model to obtain at least one coding vector; inputting at least one coding vector to a weight layer of the translation model to obtain a weight vector; inputting the training feature and the weight vector to a decoding layer of the translation model, obtaining a decoding vector, and obtaining an error of the decoding vector according to the decoding vector;adjusting the weight layer according to an error of the decoding vector, and continuing to train the translation model until a training stop condition is reached.

Description

technical field [0001] The present application relates to the field of computer technology, and in particular to a translation method and device, a translation model training method and device, computing equipment, and a computer-readable storage medium. Background technique [0002] With the improvement of computer computing power, the application of neural networks has become more and more extensive, such as building translation models to realize the conversion from source language to target language. Generally, the architecture of a translation model includes: an encoder layer (encoder)-a decoder layer (decoder). The encoding layer realizes encoding the source sentence to be translated to generate a vector, and the decoding layer realizes decoding the vector of the source sentence to generate the corresponding target sentence. [0003] Most traditional translation models use Convolutional Neural Networks (CNN) models or Recurrent Neural Networks (RNN) models as the model...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F17/28
CPCG06F40/44G06F40/58
Inventor 李长亮唐剑波郭馨泽刘畅
Owner 成都金山互动娱乐科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products