Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Model training method and device, and method and device for realizing text processing

A model training and text technology, applied in the field of information processing, can solve the problems of missing word relationship, missing information, etc., and achieve the effect of improving the efficiency of feature representation

Active Publication Date: 2020-05-19
BEIJING MININGLAMP SOFTWARE SYST CO LTD
View PDF3 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] The most important step in natural language processing is to represent the text as a feature vector, and perform tasks such as text similarity and classification through the feature vector; the feature vector of the text is obtained by the semantic conversion of the words contained in the text, and the natural language is organized by the grammar. , text analysis through feature vectors will lose part of the information in the grammar; some text analysis models will add word position information to express the relationship between words, but the relationship between words will still be lost

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Model training method and device, and method and device for realizing text processing
  • Model training method and device, and method and device for realizing text processing
  • Model training method and device, and method and device for realizing text processing

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0061] In order to make the purpose, technical solution and advantages of the present invention more clear, the embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings. It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined arbitrarily with each other.

[0062] The steps shown in the flowcharts of the figures may be performed in a computer system, such as a set of computer-executable instructions. Also, although a logical order is shown in the flowcharts, in some cases the steps shown or described may be performed in an order different from that shown or described herein.

[0063] figure 1 It is a flow chart of the model training method of the embodiment of the present invention, such as figure 1 shown, including:

[0064] Step 101, representing the sample text as a sample dependency code in a preset format according to th...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a model training method and device and a method and device for realizing text processing. The method comprises the following steps: expressing a sample text as a sample dependency relationship code according to dependency relationship information; taking the feature vectors of the words contained in the sample text as nodes, and expressing the sample text as a sample matrix; training the sample matrix and the adjacent matrix thereof by initializing a graph neural network model of the operating parameters to obtain a dependency word vector and a subordinate word vector in the sample dependency relationship code; taking the positive sample and the configured negative sample as the input of the graph neural network model, carrying out the training through employing a back propagation method, and determining an operation parameter matrix of the graph neural network model; and processing the input to-be-processed text according to the graph neural network model for determining the operation parameter matrix. According to the embodiment of the invention, the dependency relationship information is added into the model for processing the text, so that the feature representation efficiency of the text content is improved.

Description

technical field [0001] This article involves but is not limited to information processing technology, especially a model training method, device, and text processing method and device. Background technique [0002] The most important step in natural language processing is to represent the text as a feature vector, and perform tasks such as text similarity and classification through the feature vector; the feature vector of the text is obtained by the semantic conversion of the words contained in the text, and the natural language is organized by the grammar. , text analysis through feature vectors will lose part of the information in the grammar; some text analysis models will add the position information of words to express the relationship between words, but the relationship between words will still be lost. How to represent text content more effectively has become an unresolved problem. Contents of the invention [0003] The following is an overview of the topics descr...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F40/205G06N3/04G06N3/08
CPCG06N3/084G06N3/045
Inventor 李嘉琛付骁弈陈栋姜旭
Owner BEIJING MININGLAMP SOFTWARE SYST CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products