Text matching method and device based on prediction model, equipment and storage medium

A technology of prediction model and matching method, applied in the field of artificial intelligence, can solve problems such as overfitting training efficiency, achieve the effect of high iteration efficiency, reduce training time, and speed up the speed of going online

Pending Publication Date: 2022-04-26
PINGAN PUHUI ENTERPRISE MANAGEMENT CO LTD
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The present invention provides a text matching method, device, equipment and storage medium based on a predictive model, which can solve the problem of serious overfitting phenomenon and low training efficiency caused by traditional model round-robin training for a single task

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

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

[0046] The terms "first", "second", and "third" in the present invention are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly specifying the quantity of indicated technical features. Thus, features defined as "first", "second", and "third" may explicitly or implicitly include at least one of these features. In the description of the present invention, "plurality" means at least two, such as...

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 artificial intelligence, and particularly discloses a text matching method and device based on a prediction model, equipment and a storage medium. The method comprises the steps of obtaining a pre-training sample; inputting the pre-training sample into a pre-constructed prediction model to obtain a semantic vector of each word, and performing mask mark prediction and text sample similarity prediction according to the semantic vectors to obtain a first prediction result and a second prediction result; calculating a target loss function according to the first prediction result and the second prediction result, and training a prediction model by using the target loss function to obtain a target prediction model; and obtaining a to-be-predicted text containing two to-be-matched texts, inputting the to-be-predicted text into the target prediction model, obtaining a similarity prediction result of the two to-be-matched texts, and determining whether the two to-be-matched texts are matched or not according to the similarity prediction result. In this way, the generalization ability of the model can be improved, the over-fitting risk is reduced, and the training efficiency is improved.

Description

technical field [0001] The present invention relates to the technical field of artificial intelligence, in particular to a predictive model-based text matching method, device, equipment and storage medium. Background technique [0002] With the increasing application of intelligent customer service in telephone scenarios in recent years, the intersection between people and intelligent customer service in daily life is increasing. [0003] In intelligent dialogue, the development of the model for identifying customer intent has gone through several rounds of iterations, from the initial tf-idf, to word vectors, to LSTM, and recently to the pre-training model represented by bert. When using pre-trained models such as bert, the general practice is to fine-tune them directly on the current task data set. However, the shortcoming of this solution is that since the amount of data in the task data set is generally relatively small, after several rounds of training, serious overfit...

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/194G06F40/30
CPCG06F40/194G06F40/30
Inventor 沈佳
Owner PINGAN PUHUI ENTERPRISE MANAGEMENT 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