Unlock instant, AI-driven research and patent intelligence for your innovation.

Model training method and device, text classification method, electronic equipment and storage medium

A model training and text technology, applied in the field of image processing, can solve the problems of low accuracy and low classification efficiency, and achieve the effect of improving the recognition accuracy.

Pending Publication Date: 2022-08-02
ALIBABA (CHINA) CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The embodiment of the present application provides a model training method and device, a text classification method, electronic equipment, and a storage medium to solve the defects of low efficiency and low accuracy in classifying news texts in the prior art

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, text classification method, electronic equipment and storage medium
  • Model training method and device, text classification method, electronic equipment and storage medium
  • Model training method and device, text classification method, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0037] The solutions provided in the embodiments of the present application can be applied to any system with text processing capabilities, such as a server system including a chip with text processing functions and related components, and the like. figure 1 A schematic diagram of a scenario of the model training scheme provided in the embodiment of the present application, figure 1 The shown scenario is only one of the scenarios to which the technical solution of the present application can be applied.

[0038] With the development of media technology, news also appears more and more in people's life and work, becoming an important part of it. Especially for enterprises, the rapid increase in the number of news and the increase in the speed of dissemination make news management one of the important tasks of enterprise risk control. For example, enterprise managers need to classify news that appears and disseminates on various media according to risk categories according to v...

Embodiment 2

[0055] figure 2 A flowchart of an embodiment of the model training method provided in this application, the execution body of the method may be various terminal or server devices with text classification capabilities, or may be devices or chips integrated on these devices. like figure 2 As shown, the model training method includes the following steps:

[0056] S201 , according to the labeled text with the label, obtain a relational graph with the labeled text as a central node.

[0057] In step S201, one or more text data classified by labels that have been labelled may be obtained, so that the batch of labelled texts is used as a training set. For example, in figure 1In the scenario shown in , in step S201, a labeled text N_labeled may be obtained from a labeling data source such as the Internet, and the labeled text may have a classification label determined for it through labeling processing. Therefore, this annotated text can serve as a central node in the relational...

Embodiment 3

[0073] image 3 It is a flowchart of another embodiment of the model training method provided in this application. The execution body of the method can be various terminal or server devices with text classification capabilities, or can be devices or chips integrated on these devices. like image 3 As shown, the model training method provided in the embodiment of the present application may include the following steps:

[0074] S301 , according to the marked text with the label, obtain a relational graph with the marked text as a central node.

[0075] In step S301, one or more text data classified by labels that have been labelled may be obtained, so that the batch of labelled texts is used as a training set. For example, in figure 1 In the scenario shown in , in step S301, a labeled text N_labeled may be obtained from a labeling data source such as the Internet, and the labeled text may have a classification label determined for it through labeling processing. Therefore, ...

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, a text classification method, electronic equipment and a storage medium. The method comprises the steps that according to a labeled text with a label, a relation graph with the labeled text as a center node is obtained, the relation graph comprises neighbor nodes directly or indirectly associated with the center node, and the neighbor nodes comprise text nodes and entity nodes; inputting the text nodes in the relation graph into a text classification model to obtain a predicted pseudo tag and a predicted feature vector for each text node; according to the prediction pseudo tag, performing convergence processing on each text node and the center node to obtain a convergence feature vector; and training a graph classification model by using the convergence feature vector as training data. According to the embodiment of the invention, effective extension of the labeled text is realized, so that the recognition accuracy of the trained model is improved by increasing a large amount of training data related to the labeled text.

Description

technical field [0001] The present application relates to the technical field of image processing, and in particular, to a model training method and apparatus, a text classification method, an electronic device, and a storage medium. Background technique [0002] With the development of media technology, news also appears more and more in people's life and work, becoming an important part of it. Especially for enterprises, the rapid increase in the number of news and the increase in the speed of dissemination make news management one of the important tasks of enterprise risk control. For example, enterprise managers need to classify news that appears and disseminates on various media according to risk categories according to various work carried out by the enterprise, so as to use corresponding strategies for timely processing. Such artificial humans not only need to consume huge manpower, but also cannot ensure the efficiency and the timeliness and accuracy of processing. ...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F16/35G06F16/36
CPCG06F16/355G06F16/367
Inventor 李旭瑞康杨杨孙常龙
Owner ALIBABA (CHINA) CO LTD