Translation method and device and translation model training method and device

A translation model and training method technology, applied in the fields of computing equipment and computer-readable storage media, translation methods and devices, can solve problems such as adverse effects of translation effects, inability to be effectively utilized, and the like

Active Publication Date: 2019-06-18
BEIJING KINGSOFT DIGITAL ENTERTAINMENT CO LTD +1
View PDF10 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] In the method of the prior art, the decoding vector generated by the decoding layer only depends on the single encoding vector output by the encoding layer, and cannot be effectively used for other encoding vectors containing rich semantic and grammatical information, which will affect the final translation effect. negative 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 and translation model training method and device
  • Translation method and device and translation model training method and device
  • Translation method and device and translation model training method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

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

[0099] 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 and a translation model training method and device, and is used for a translation model, the translation model comprises a coding layer and a decoding layer, the translation method comprises the following steps: inputting a to-be-translated statement into the coding layer to obtain n coding vectors, and n is a positive integer greater than 1;Inputting m coding vectors in the n coding vectors into a decoding layer, decoding vectors output by the decoding layer are obtained; wherein m is greater than 1 and less than or equal to n, so that aplurality of encoding vectors are input to a decoding layer, statement information of the encoding vectors output by the encoding layer is effectively utilized, the decoding layer fuses the statementinformation of the plurality of encoding vectors in the decoding process, and finally, the translation performance of the translation model is improved.

Description

technical field [0001] The present application relates to the technical field of artificial intelligence, 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] The translation model is optimized by using the training set to obtain a trained model for all the training set data, and t...

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/28G06N3/04
CPCY02D10/00
Inventor 李长亮李国良郭馨泽唐剑波
Owner BEIJING KINGSOFT DIGITAL ENTERTAINMENT CO LTD
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