Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A method and apparatus for processing a sequence model

A technology of sequences and models, applied in the field of processing methods and devices of sequence models, can solve problems such as translation errors, influence on translation quality, and influence on translation quality.

Active Publication Date: 2019-03-29
TENCENT TECH (SHENZHEN) CO LTD
View PDF3 Cites 36 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Since the sequence model in the prior art only relies on SAN to calculate the dependency relationship of sequence elements, there is a problem of poor task realization effect when using this sequence model
For example, the Transformer model in the prior art only relies on SAN to calculate the dependency relationship of sequence elements, which will affect the translation quality, usually affecting the translation quality, including translation errors, translation omissions, etc.

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
  • A method and apparatus for processing a sequence model
  • A method and apparatus for processing a sequence model
  • A method and apparatus for processing a sequence model

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] Embodiments of the present invention provide a sequence model processing method and device for improving the task execution effect of the sequence model.

[0042] In order to make the purpose, features and advantages of the present invention more obvious and understandable, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the following The described embodiments are only some, not all, embodiments of the present invention. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention belong to the protection scope of the present invention.

[0043] The terms "comprising" and "having" in the description and claims of the present invention and the above drawings, as well as any variations thereof, are intended to cover a non-exclusive inclusion so as to include ...

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 embodiment of the invention discloses a method and apparatus for processing a sequence model, which are used for improving the task execution effect of the sequence model. The method comprises thefollowing steps of: obtaining a source end sequence from a source end database and inputting the source end sequence to an encoding end of a sequence model, wherein the encoding end comprises a self-attention encoder and a timing encoder; encoding The source sequence by a timing encoder to obtain a first encoding result, wherein the first encoding result comprises timing information obtained by using the source sequence to perform timing modeling; And performing encoding processing on the source sequence by a self-attention encoder to obtain a second encoding result; Obtaining a target end sequence from a target end database, and inputting the target end sequence, a first coding result and a second coding result to a decoding end of a sequence model; using A decoding end to perform decoding processing on a target end sequence, a first encoding result and a second encoding result, and outputting a decoding result obtained after the decoding processing.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a sequence model processing method and device. Background technique [0002] The sequence model can be used to realize various tasks according to the input sequence data, and the sequence model can be realized based on the self-attention neural network (Self-Attention Network, SAN). The sequence model may be a neural machine translation model. For example, there is a Transformer model in the prior art. The Transformer model is based on the aforementioned self-attention neural network and is formed by stacking multiple layers of self-attention neural networks. [0003] Compared with the neural machine translation model based on Recurrent Neural Network (RNN) in the prior art, the Transformer model uses a self-attention neural network instead of a recurrent neural network to model sequence dependencies. While RNN operates sequentially using loops (that is, the output of each ste...

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): G06N3/04G06F17/28
CPCG06F40/58G06N3/045G06F40/44G06N3/08G06N3/044G06N3/049
Inventor 涂兆鹏郝杰王星王龙跃
Owner TENCENT TECH (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products