Information processing method and device, computer equipment and storage medium

An information processing method, a technology for encoding information, applied in computing, neural learning methods, electrical digital data processing, etc., and can solve problems such as low efficiency

Pending Publication Date: 2020-02-11
BEIJING XIAOMI INTELLIGENT TECH CO LTD
View PDF5 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In related technologies, the machine translation model needs to process a large amount of data during work, which leads to problems such as low efficiency of using the machine translation model for reasoning or prediction

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
  • Information processing method and device, computer equipment and storage medium
  • Information processing method and device, computer equipment and storage medium
  • Information processing method and device, computer equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0068] Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the present invention. Rather, they are merely examples of apparatuses and methods consistent with aspects of the invention as recited in the appended claims.

[0069] The method described in the embodiment of the present invention can be applied to a text translation system. The text translation system includes a terminal and a server. The terminal can process the words and sentences to be translated and send them to the server, and the server performs translation to obtain the translation results of the words and sentences to be translated, and then ...

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 relates to an information processing method and device, computer equipment and a storage medium. The method comprises the following steps: employing an encoder of a machine translation model to encode a to-be-translated word and sentence, and obtaining encoding information; storing the global attention parameter; utilizing a decoder of the machine translation model to determine global attention of the decoder according to the global attention parameter in a decoding cycle of the encoding information of each word in the words and phrases to be translated; and obtaining a prediction result corresponding to a word to be predicted in the decoding loop according to the global attention. Because the global attention parameter required to be used during decoding is stored, the stored global attention parameter can be directly called when the decoder needs to determine the global attention by using the global attention parameter, and the global attention parameter does not need to be obtained by processing the coding information again, so that the calculation amount in the decoding process is reduced. Therefore, the reasoning efficiency of the machine translation model is improved.

Description

technical field [0001] The present disclosure relates to the field of computer technology, and in particular to an information processing method, device, computer equipment, and storage medium. Background technique [0002] The machine translation model is composed of an encoder and a decoder. The encoder is used to encode the input sentence and input to the decoder. The decoder is used to perform the next step from front to back based on the output of the encoder and the previously translated results. inference or prediction. In related technologies, the machine translation model needs to process a large amount of data during work, which leads to problems such as low efficiency of reasoning or prediction by using the machine translation model. Contents of the invention [0003] According to a first aspect of an embodiment of the present disclosure, an information processing method is provided, including: [0004] Encoding the words and sentences to be translated by usin...

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): G06F40/289G06F40/58G06N3/04G06N3/08
CPCG06N3/08G06N3/045
Inventor 吴晓琳
Owner BEIJING XIAOMI INTELLIGENT TECH 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