Text classification model packaging method, text classification method and related equipment

A text classification and packaging method technology, applied in text database clustering/classification, neural learning methods, biological neural network models, etc., can solve problems such as loss of model accuracy, increase computing costs, waste computing resources, etc., to improve stability. , the effect of speeding up

Pending Publication Date: 2021-06-22
PING AN TECH (SHENZHEN) CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Although the language model can be compressed, the accuracy of the model is lost after the compression model
In addition, if you want to use the model as a text classifier, you need to fine-tune it in each scene. When deploying each scene, you need a high-performance GPU server for deployment, which wastes a lot of computing resources and significantly increases the computing cost.

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
  • Text classification model packaging method, text classification method and related equipment
  • Text classification model packaging method, text classification method and related equipment
  • Text classification model packaging method, text classification method and related equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0053]The following will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

[0054] The flow charts shown in the drawings are just illustrations, and do not necessarily include all contents and operations / steps, nor must they be performed in the order described. For example, some operations / steps can be decomposed, combined or partly combined, so the actual order of execution may be changed according to the actual situation.

[0055] Embodiments of the present application provide a text classification model packaging method, device, computer...

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 relates to the technical field of natural language processing, and discloses a text classification model packaging method, a text classification method and related device. The text classification model packaging method comprises the steps: extracting a Transform part in a language model, and and packaging the extracted Transform part to generate a vector conversion module; in response to a text classification model training request, determining a classification scene of a text classification model corresponding to the text classification model training request; obtaining a training text corresponding to the classification scene; inputting the training text into the vector conversion module to obtain a sentence vector corresponding to the training text; training a full-connection shallow neural network based on the sentence vector corresponding to the training text to obtain a text classification model; and packaging the text classification model to generate a docker mirror image corresponding to the text classification model. The language recognition precision of the language model can be ensured while the volume of the language model is reduced.

Description

technical field [0001] The present application relates to the technical field of natural language processing, and in particular to a text classification model packaging method, a text classification method, a text classification model packaging device, computer equipment, and a storage medium. Background technique [0002] Language models greatly improve the accuracy of overall natural language processing. However, the reasoning speed and model size of language models have always been criticized. For example, a model that has completed basic pre-training has nearly 10 million parameters. Although the language model can be compressed, the accuracy of the model is lost after the compression model. In addition, if you want to use the model as a text classifier, you need to fine-tune it in each scene. When deploying each scene, you need a high-performance GPU server for deployment, which wastes a lot of computing resources and significantly increases the computing cost. [000...

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/36G06F40/151G06F40/284G06N3/04G06N3/08G06F9/455
CPCG06F9/45558G06F2009/45587G06N3/04G06N3/08G06F16/353G06F16/367G06F40/151G06F40/284
Inventor 李志韬王健宗程宁吴天博
Owner PING AN TECH (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products