Sentence relationship-based word vector training method
A training method and a technology of sentence relationship, applied in the field of deep learning and natural language, can solve problems such as the inability to express the polysemy of Chinese words, the inability to fully express the mapping relationship between word vectors, etc., and achieve the effect of full mapping relationship
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment
[0035] Such as figure 1 Shown as a kind of word vector training method based on the sentence relationship is an embodiment, comprising the following steps:
[0036] Step 1: Pick out and number all the words in the training data set, each word corresponds to a number, and create a word list;
[0037] Step 2: Use several sets of sentence groups as training samples, the sentence groups include two sentences and the relationship between the two sentences, number the words in the sentence corresponding to the word list, and convert the relationship between the two sentences into digital labels; the two sentences Insert a symbol [seq] representing the sentence interval between them; insert a classification symbol [CLS] representing the task type at the beginning of the two sentences.
[0038] Step 3: After numbering the sentence words, input the corresponding word embedding vector, and set the dimension vector expression for each word, including word position relationship vector, s...
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