Text matching method and device, computer equipment and storage medium

A matching method and text technology, applied in computer parts, calculation, complex mathematical operations, etc., can solve the problems that the accuracy of text matching technology needs to be improved

Pending Publication Date: 2020-12-08
PING AN TECH (SHENZHEN) CO LTD
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The purpose of the present invention is to provide a text matching method, device, computer equipment and stora

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038] 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 some of the embodiments of the present invention, but not all of them. 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.

[0039] It should be understood that when used in this specification and the appended claims, the terms "comprising" and "comprises" indicate the presence of described features, integers, steps, operations, elements and / or components, but do not exclude one or Presence or addition of multiple other features, integers, steps, operations, elements, components and / or collections thereof.

[0040] It should also be understood that the terminology 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
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a text matching method and device, computer equipment and a storage medium, and relates to the technical field of artificial intelligence, and the method comprises the steps: constructing a question feature word set QU, a text feature word set QC and a term set T; performing vectorization processing to obtain a feature vector QE and a term vector TE; performing linear conversion to obtain a key matrix K, a query matrix Q, a value matrix V and a matrix KT; calculating a non-normalized weight matrix AQT, and then performing self-multiplication and normalization processingto obtain a plurality of sub-matrices; and performing equalization processing on the plurality of sub-matrices, performing normalization processing to obtain an influence matrix, performing matrix multiplication on the key matrix K and the query matrix Q to obtain a self-attention matrix A, performing calculation to obtain output of a self-attention module, and performing matching according to the output. According to the method, the matching between known terms is emphasized, the matching between non-terms is reduced, and the effect of improving the matching accuracy is achieved.

Description

technical field [0001] The present invention relates to the technical field of artificial intelligence, in particular to a text matching method, device, computer equipment and storage medium. Background technique [0002] In recent years, the BERT (Bidirectional Encoder Representation from Transformers and Transformer-based bidirectional encoder representation) model based on transformer (a classic NLP model proposed by the Google team in 2017) architecture and massive data has been used in various NLP (Natural Language Processing) Shine bright in the application. The design of BERT itself to support two-paragraph text input makes it easy to apply to text matching tasks. In the practical application of intelligent question answering, for each user question, different words or phrases have different importance. These more important words and phrases are called terms, which are often related to actual business. [0003] However, the existing processing methods do not incorpo...

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
IPC IPC(8): G06F40/295G06F40/30G06K9/62G06F17/16G06F17/18
CPCG06F40/295G06F40/30G06F17/16G06F17/18G06F18/22
Inventor 赵知纬高维国
Owner PING AN 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