Translation model training method, translation method, apparatus, device, and storage medium
AssigneeBeijing Baidu Netcom Science Technology Co., Ltd.
InventorsLiwen Zhang, Meng Sun, Zhongjun He, Zhi Li
Life of this patent
Estimating the term…
Loading patent…
AssigneeBeijing Baidu Netcom Science Technology Co., Ltd.
InventorsLiwen Zhang, Meng Sun, Zhongjun He, Zhi Li
Estimating the term…
Provided are a translation model training method, a translation method, a device, and a storage medium, and relates to a field of computer technology, and in particular, to artificial intelligence fields such as natural language processing, machine translation and the like. The translation model training method includes: processing a sample document, to obtain an RST discourse structure tree in a dependency form of the sample document, a side in the RST discourse structure tree in the dependency form indicating an RST relationship in a discourse of the sample document; determining an attention mechanism of a translation model to be trained, based on the RST relationship in the RST discourse structure tree in the dependency form; and inputting the RST discourse structure tree in the dependency form and the sample document into the translation model to be trained for training, to obtain a trained translation model.
A translation model training method, comprising:
An electronic device, comprising:
A non-transitory computer-readable storage medium storing a computer instruction, wherein the computer instruction is used to cause a computer to execute:
Dependencies are inferred from the claim text.