Check patentability & draft patents in minutes with Patsnap Eureka AI!

Quantization method, device and equipment of text feature extraction model and storage medium

A technology of feature extraction and quantification method, which is applied in the computer field and can solve problems such as the decline of the accuracy of text feature extraction models.

Active Publication Date: 2021-04-20
BEIJING YOUZHUJU NETWORK TECH CO LTD
View PDF5 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, after quantifying the text feature extraction model, the accuracy of the text feature extraction model will be greatly reduced. Therefore, it is very important to optimize the quantification method of the text feature extraction model and reduce the loss of accuracy.

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
  • Quantization method, device and equipment of text feature extraction model and storage medium
  • Quantization method, device and equipment of text feature extraction model and storage medium
  • Quantization method, device and equipment of text feature extraction model and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the drawings, it should be understood that the disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein; A more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are for exemplary purposes only, and are not intended to limit the protection scope of the present disclosure.

[0033] It should be understood that the various steps described in the method implementations of the present disclosure may be executed in different orders, and / or executed in parallel. Additionally, method embodiments may include additional steps and / or omit performing illustrated steps. The scope of the present disclosure is not limited in this respect. ...

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 embodiment of the invention discloses a quantification method and device of a text feature extraction model, equipment and a storage medium. The method comprises the steps that in the training process of a text feature extraction model, a quantization interval corresponding to a target quantization parameter is determined according to the target quantization parameter; wherein the quantization interval comprises a part of floating point values in the target quantization parameter; constructing a mapping relationship between a floating point value and a fixed point value of the target quantization parameter according to the quantization interval; wherein the floating point value, smaller than the left end point of the quantization interval, in the target quantization parameter is mapped into a quantized minimum fixed point value, and the floating point value, larger than the right end point of the quantization interval, in the target quantization parameter is mapped into a quantized maximum fixed point value; and performing quantization operation on the target quantization parameter based on the mapping relationship. According to the quantification method of the text feature extraction model provided by the embodiment of the invention, the accuracy of the text feature extraction model can be effectively improved while the running speed of the text feature extraction model is improved.

Description

technical field [0001] Embodiments of the present disclosure relate to the field of computer technology, and in particular, to a quantification method, device, device, and storage medium of a text feature extraction model. Background technique [0002] In natural language processing, text feature extraction models have been more and more widely used. At present, the popular text feature extraction models are the Transformer model and its various variant models. These models have been achieved in various natural language processing tasks. for the best results. However, the text feature extraction model has a large amount of model parameters and calculations, and is limited by computer storage and computing capabilities, which brings great problems to the fast reasoning of the text feature extraction model and the deployment of the model on the mobile terminal. [0003] At present, the most direct solution to this problem is to quantify the text feature extraction model, that...

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): G06F40/279G06F40/151
CPCG06F40/279G06F40/151G06F40/157Y02D10/00G06F18/213
Inventor 韦阳熊鹰王晓晖王明轩李磊
Owner BEIJING YOUZHUJU NETWORK TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More