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

Data processing method and device, electronic equipment and computer readable storage medium

A technology for data processing and computer programs, applied in the fields of data processing, devices, electronic equipment, and computer-readable storage media, can solve problems such as time-consuming, slow training speed, and inability to meet practical needs, so as to reduce the amount of calculation and improve The effect of data processing efficiency

Pending Publication Date: 2022-04-12
TENCENT TECH (SHENZHEN) CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Due to the complexity of the text, related technologies need to spend a lot of time in the training process of the text processing model, and the training speed is slow, which cannot meet the practical 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
  • Data processing method and device, electronic equipment and computer readable storage medium
  • Data processing method and device, electronic equipment and computer readable storage medium
  • Data processing method and device, electronic equipment and computer readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment approach

[0113] In this alternative embodiment, the method further includes:

[0114] According to the maximum character length of each sample text in the training sample, each sample text in the training sample is paired by the character length to obtain the character length, which is obtained after the pre-treatment of training sample set, where the pre-processed training sample set each sample The text is consistent with the length of the text and matches the maximum character length;

[0115] The training sample is set to the initial neural network model, including:

[0116] Enter the pre-processed training sample set to the initial neural network model.

[0117] Among them, the maximum length of the character length of each sample text is determined to be trained as the maximum character length of each sample text pair (hereinafter also referred to as the minimum character length corresponding to the training sample set) of each sample text. .

[0118] For each training sample set, ea...

specific Embodiment approach

[0145] Alternatively, the loss of the training sample set is determined according to the predicted results corresponding to the blocking text fragment of each sample text, respectively, respectively, respectively, respectively, the label, respectively, the loss, including:

[0146]According to the respective prediction results corresponding to the occlusion text fragment of each sample text, respectively correspond to the real text fragment of the segments of each sample text, respectively, the losses of each occlusion text fragment are determined;

[0147] Determine the loss of training samples based on the loss of each occlusion text fragment.

[0148] In this implementation, the loss of each occlusion text fragment refers to the corresponding prediction result of the blocking text fragment and the loss value between the segment of the shutdown section corresponding to the segment.

[0149] When the loss of the training sample set is calculated, the loss of the training sample s...

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 provides a data processing method and device, electronic equipment and a computer readable storage medium, and relates to the technical field of artificial intelligence, natural language processing, cloud technologies and block chains. The method comprises the following steps: filtering a training sample set based on a filtering layer of an initial neural network model to obtain a shielding vector corresponding to a shielding text fragment of each sample text pair included in the training sample set; and according to the shielding vectors and a preset dictionary table, determining prediction results respectively corresponding to the shielding text segments of the sample text pairs. And determining the loss of the training sample set according to the prediction result corresponding to the shielded text fragment of each sample text pair and the labeling label corresponding to each sample text pair. And training the initial neural network model based on the loss of the training sample set to obtain a trained text processing model. Through the method, the calculation amount in the training process is reduced, the data processing efficiency is improved, and the model training speed is increased.

Description

Technical field [0001] The present application relates to artificial intelligence, natural language processing, cloud technology, and block chain technology. Specifically, the present application relates to a data processing method, device, electronic device, computer readable storage medium, and computer program product. Background technique [0002] In recent years, more and more fields need to be processed, and different text processing models are usually used in the process of processing text. [0003] Due to the complexity of the text, the related technologies need to spend a lot of time during the training of text processing models, and the training speed is slower, and the practical needs are not met. Inventive content [0004] The present application provides a data processing method, apparatus, electronic device, computer readable storage medium, computer program product, which reduces the amount of calculation during training, improves data processing efficiency, and s...

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): G06K9/62G06F16/335G06F40/242G06N3/04G06N3/08
Inventor 弓静
Owner TENCENT TECH (SHENZHEN) CO LTD