Semantic similarity matching method and matching device based on cross-attention mechanism
A technology of semantic similarity and matching method, which is applied in the field of semantic similarity matching based on cross-attention mechanism, can solve the problems of failure to accurately characterize interaction relationship, failure to characterize semantic relationship, etc., so as to reduce the number of model parameters and reduce training time. Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0057] see figure 1 , a kind of semantic similarity matching method based on cross-attention mechanism of the present embodiment, comprises the following steps:
[0058] S1: Obtain multiple first basic words in the first basic sentence, and obtain multiple second basic words in the second basic sentence.
[0059] This step is used to divide all the words contained in the sentence. For example, sentence 1 is "I am Chinese", and it can be divided into three basic words "I", "Yes" and "Chinese". Another example is that sentence 2 is "I am Chinese", which can be divided into three basic words "I", "am" and "Chinese".
[0060] S2: performing word vector representation on each of the first basic word and the second basic word to obtain multiple first basic vectors and multiple second basic vectors.
[0061] This step preferably uses the word2vec word vector model to represent each word in the sentence. The advantage is that the word2vec word vector model reduces the dimension of ...
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