Text prediction method, device and equipment and storage medium

A text prediction and equipment technology, applied in the field of data processing, can solve problems such as failure to meet customer needs, low efficiency of classification model prediction, etc., and achieve the effect of increasing CPU utilization and improving prediction efficiency

Pending Publication Date: 2020-12-11
BEIJING BAIDU NETCOM SCI & TECH CO LTD
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, since the customer does not have a Graphics Processing Unit (GPU), the prediction efficiency of the classification model on the customer's device is low and cannot meet the customer's needs

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 prediction method, device and equipment and storage medium
  • Text prediction method, device and equipment and storage medium
  • Text prediction method, device and equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] Exemplary embodiments of the present application are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present application to facilitate understanding, and they should be regarded as exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the application. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.

[0030] figure 1 It is a flow chart of a text prediction method provided by the embodiment of this application. The embodiment of the present application is applicable to the case of performing label prediction on text. Typically, this application is applicable to the case of multi-label prediction of legal documents. The method can be executed by a text prediction...

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 text prediction method, device and equipment and a storage medium, and relates to the technical field of data processing, in particular to deep learning, natural language processing and intelligent search technologies. The specific implementation scheme is that the method comprises the steps: segmenting a text to be predicted to obtain at least two sentences; grouping atleast two sentences according to the number of CPU central processing unit cores included in target equipment, wherein the target equipment is equipment for executing prediction operation; allocatingeach sentence group obtained by grouping to each CPU kernel of the target equipment, and predicting each sentence group sentence by sentence by each CPU kernel; and determining a prediction result ofthe to-be-predicted text according to the prediction result of each sentence group. According to the technology of the invention, the CPU utilization rate of the target device is improved, and then the text prediction efficiency is improved.

Description

technical field [0001] The present application relates to the field of data processing technology, especially deep learning, natural language processing and intelligent search technology, and specifically relates to a text prediction method, device, equipment and storage medium. Background technique [0002] In the process of handling criminal cases, many unstructured legal documents are involved, such as indictments, judgments, and criminal statements. Information relevant to the case was extracted. When users need to view information related to the case, they need to browse these files one by one and manually extract useful information, which is not only inefficient, but also easy to ignore relevant information due to omission. [0003] At present, classification models can be used to automatically extract case-related information to solve the above problems. However, since the client does not have a graphics processing unit (Graphics Processing Unit, GPU), the predictio...

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/211G06F9/50
CPCG06F40/211G06F9/5027G06F40/258G06F40/289G06F40/274G06N20/00G06F40/205G06F9/485
Inventor 杨晨杨天行彭彬张一麟宋勋超
Owner BEIJING BAIDU NETCOM SCI & TECH 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