Position coding method and system of neural machine translation Transform model and electronic equipment
The embodiment of the invention provides a position coding method and system of a neural machine translation Transform model and electronic equipment. The method comprises the steps of obtaining to-be-translated content of a source language; the method comprises the steps of determining a modificati...
Gespeichert in:
Hauptverfasser: | , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The embodiment of the invention provides a position coding method and system of a neural machine translation Transform model and electronic equipment. The method comprises the steps of obtaining to-be-translated content of a source language; the method comprises the steps of determining a modification mode of trigonometric function position coding of a neural machine translation Transform model based on a source language and a target language to be translated, the modification mode comprises the steps of determining a first modification mode of a sine function in the trigonometric function position coding based on the source language and the target language, and determining a second modification mode of a period of the trigonometric function position coding based on the word number of the to-be-translated content; performing position coding adjustment on a neural machine translation Transform model by using the determined first modification mode and the determined second modification mode; and determining the |
---|