Translation model training method and device, translation method and device, equipment and storage medium

A technology of translation model and training method, applied in the field of artificial intelligence and computer, which can solve problems such as difficulty in generating accurate and coherent translations, and achieve accurate translation results

Active Publication Date: 2022-06-03
BEIJING BAIDU NETCOM SCI & TECH CO LTD
View PDF13 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

It is difficult to generate accurate and coherent translations without considering the influence of document context when translating

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 model training method and device, translation method and device, equipment and storage medium
  • Translation model training method and device, translation method and device, equipment and storage medium
  • Translation model training method and device, translation method and device, equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0044] Exemplary embodiments of the present disclosure are described below with reference to the accompanying drawings, which include various details of the embodiments of the present disclosure to facilitate understanding and should be considered as exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present disclosure. Also, descriptions of well-known functions and constructions are omitted from the following description for clarity and conciseness.

[0045] figure 1 It is a schematic flowchart of a training method for a translation model according to an embodiment of the present disclosure. The method can include:

[0046] S101. Process the sample document to obtain a rhetorical structure theory (Rhetorical Structure Theory, RST) chapter structure tree of the dependency form of the sample document, and the edg...

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 training method and device of a translation model, a translation method and device, equipment and a storage medium, and relates to the technical field of computers, in particular to the field of artificial intelligence such as natural language processing and machine translation. According to the specific implementation scheme, a sample document is processed, an RST chapter structure tree in a dependency form of the sample document is obtained, and the edge of the RST chapter structure tree in the dependency form represents the RST relation in the chapter of the sample document; determining an attention mechanism of the translation model to be trained based on an RST relationship in the RST text structure tree of the dependency form; and inputting the RST text structure tree in the dependency form and the sample document into the to-be-trained translation model for training to obtain a trained translation model. According to the embodiment of the invention, the translation result of the translation model is more accurate.

Description

technical field [0001] The present disclosure relates to the field of computer technology, and in particular, to the field of artificial intelligence such as natural language processing and machine translation. Background technique [0002] Machine translation involves the process of translating a source language into a target language. At present, the Neural Machine Translation (NMT) model based on Transformer has achieved good translation results in various translation tasks. But machine translation is usually done in units of sentences. In practical scenarios, it is often necessary to translate a complete paragraph or document. Documents have cohesion and coherence, and there are cohesive phenomena such as reference, omission, repetition and semantic coherence between sentences in the document. It is difficult to generate accurate and coherent translations without considering the influence of the document context when translating. SUMMARY OF THE INVENTION [0003] 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): G06F40/58G06F40/30G06F40/211G06N3/04G06N3/08
CPCG06F40/58G06F40/30G06F40/211G06N3/08G06N3/047G06N3/045G06F40/35G06F40/44
Inventor 张力文孙萌何中军李芝
Owner BEIJING BAIDU NETCOM SCI & 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