Text pair classification model training method, classification method and equipment and storage medium

A classification model, text technology, applied in semantic analysis, character and pattern recognition, instruments, etc., can solve problems such as reducing the generalization ability of text to classification models

Active Publication Date: 2021-05-18
TENCENT TECH (SHENZHEN) CO LTD
View PDF4 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, due to the deviation of the text-pair data set, and the text-pair classification model mainly relies on the text-pair learning in the data set, the text-pair classification model learns the deviation of the text-pair data set, which reduces the generalization of the text-pair classification model ability

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 pair classification model training method, classification method and equipment and storage medium
  • Text pair classification model training method, classification method and equipment and storage medium
  • Text pair classification model training method, classification method and equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0092] In order to make the purpose, technical solution and advantages of the present invention clearer, the present invention will be described in further detail below in conjunction with the accompanying drawings, and the described embodiments should not be considered as limiting the present invention, and those of ordinary skill in the art do not make any All other embodiments obtained under the premise of creative labor belong to the protection scope of the present invention.

[0093] In the following description, the terms "first\second" are only used to distinguish similar objects, and do not represent a specific order for objects. Understandably, "first\second" can be The particular order or sequence is interchanged such that the embodiments of the invention described herein can be practiced in other sequences than illustrated or described herein.

[0094] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understo...

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 provides a text pair classification model training method and device, electronic equipment and a storage medium. The method comprises the steps of performing text prediction processing on a first text sample in text pair samples through a first text prediction model to obtain a prediction result for the first text sample; based on unbiased distribution of the text to the sample data set, performing deviation analysis processing on the prediction result of the first text sample to obtain a weight of the text to the sample; performing semantic relationship classification processing on a first text sample and a second text sample in the text pair samples through a text pair classification model to obtain a classification result for the text pair samples; constructing a loss function of a text pair classification model based on the weight of the text pair sample and the classification result of the text pair sample; and updating the parameters of the text pair classification model until the loss function converges, and determining the updated parameters of the text pair classification model when the loss function converges as the parameters obtained after training.

Description

technical field [0001] The invention relates to artificial intelligence technology, in particular to a text pair classification model training method, a text pair classification method, electronic equipment and a storage medium. Background technique [0002] Artificial Intelligence (AI) is a comprehensive technology of computer science. By studying the design principles and implementation methods of various intelligent machines, the machines have the functions of perception, reasoning and decision-making. Artificial intelligence technology is a comprehensive subject that involves a wide range of fields, such as natural language processing technology and machine learning / deep learning. With the development of technology, artificial intelligence technology will be applied in more fields and play an increasingly important role. increasingly important value. [0003] The text pair classification model is one of the important applications in the field of natural language process...

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/211G06F40/279G06F40/30G06K9/62
CPCG06F18/241
Inventor 张冠华白冰白琨
Owner TENCENT 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