Unlock instant, AI-driven research and patent intelligence for your innovation.

Sentence translation model training method and device, sentence translation method and device

A technology of a translation model and a training method, which is applied in the field of sentence translation model training method and device, computing equipment and computer-readable storage media, sentence translation method and device, and can solve the disadvantages of rapid model training, slow model training speed, and update Low frequency and other issues, to achieve better sentence translation effect, faster model convergence, and better performance

Active Publication Date: 2020-07-28
BEIJING KINGSOFT DIGITAL ENTERTAINMENT CO LTD
View PDF10 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] At present, when the end-to-end neural machine translation model builds a loss function during the training process, the encoder and decoder only rely on the output of the top layer of the encoder in the subsequent processing, and update the model parameters through backward propagation at each step. The encoder , The parameters of all layers of the decoder will be updated. In fact, in the process of backpropagation, the gradients of all parameters of the model are quite different. The parameters with larger gradients should be updated less frequently, and the parameters with smaller gradients should be updated less frequently. It should be larger, but in the current model update parameter method, the parameters of all layers of the encoder and decoder will be updated, making the training speed of the model slower, which is not conducive to the rapid training of the model

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
  • Sentence translation model training method and device, sentence translation method and device
  • Sentence translation model training method and device, sentence translation method and device
  • Sentence translation model training method and device, sentence translation method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0074] 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.

[0075] Terms used in one or more embodiments of the present application are for the purpose of describing specific embodiments only, and are not intended to limit the one or more embodiments of the present application. As used in one or more embodiments of this application 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 th...

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 present application provides a sentence translation model training method and device, a sentence translation method and device, wherein the sentence translation model includes an encoder and a decoder, and the sentence translation model training method includes: obtaining the sentence to be translated and the sentence to be translated The target sentence corresponding to the sentence, the vector to be translated is obtained according to the sentence to be translated and input to the encoder, the coding vector output by each coding layer is obtained, the target vector is obtained according to the target sentence and input to the decoder A device; input the coding vector output by each coding layer to each of the decoding layers, and obtain the decoding vector corresponding to each coding vector output by each of the decoding layers in the decoder; according to each Calculate corresponding loss values ​​for each of the decoding vectors and the target vector, and determine the target loss value; adjust the parameters of the sentence translation model according to the target loss value to train the sentence translation model.

Description

technical field [0001] The present application relates to the field of Internet technologies, and in particular to a sentence translation model training method and device, a sentence translation method and device, computing equipment, and a computer-readable storage medium. Background technique [0002] With the improvement of Internet technology, the application of neural networks is becoming more and more extensive, such as building neural machine translation models to realize the conversion of sentences to be translated into target sentences. The neural machine translation model is an end-to-end network structure, and the architecture includes: encoder (encoder)-decoder (decoder). The encoder encodes the input information to obtain the encoding result, and then the decoder simultaneously receives the input of the decoder and the encoding result of the encoder for decoding, and inputs the decoded information into the linear layer, normalizes the layer, and finally obtains ...

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 Patents(China)
IPC IPC(8): G06F40/58G06F40/126G06N3/04
CPCG06N3/045
Inventor 李长亮李国良郭馨泽
Owner BEIJING KINGSOFT DIGITAL ENTERTAINMENT CO LTD