Bert-based multi-layer attention mechanism relationship extraction method
A technology of relation extraction and attention, applied in neural learning methods, computer components, biological neural network models, etc., can solve problems such as inability to explain polysemy of words in text, and achieve the effect of improving accuracy
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0027] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and implementation examples. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.
[0028] see figure 1 , the present invention provides a kind of bert-based multi-layer attention mechanism relation extraction method, comprises the following steps:
[0029] Step S1: Obtain sample data;
[0030] Step S2: Divide the sample data;
[0031] Step S3: replace the entities in the sample data with #;
[0032] Step S4: Obtain the entity and connect the entity and the sentence with $ to form a training sample;
[0033] Step S5: Input the training samples into the BERT language model and the fully connected layer, perform vectorization processing, and obtain the vectorized rep...
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