Semantic recognition method and system based on relative position coding
A semantic recognition and relative position technology, applied in the field of semantic recognition, can solve problems such as model output errors, achieve the effect of improving recognition speed, reducing calculation amount, and improving semantic recognition efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0055] In order to make the above-mentioned features and effects of the present invention more clear and understandable, the following specific examples are given together with the accompanying drawings for detailed description as follows.
[0056] The Transformer uses an external static position encoding, and the dimension of the encoding vector is d model , d model It is determined by the parameters of the decoder model, and it is also the dimension of the embedded encoding (embedding). The specific encoding formula of the position vector PE is as follows:
[0057]
[0058]
[0059] Where pos represents the position, i represents the dimension, where 2i and 2i+1 are used to distinguish whether the dimension is odd or even, the odd and even bits are coded differently, and then the word vector and the position vector are added to get each word final input.
[0060] Relative position encoding:
[0061] 1. The proposal of relative position coding
[0062] According to ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com