Processing method, device and equipment for sentence vector generation model based on artificial intelligence

A generative model and artificial intelligence technology, applied in the field of artificial intelligence, can solve the problems of lack of accuracy in sentence vector representation and low learning efficiency of text sentence vectors, and achieve the effects of shortening the training cycle, accurate intermediate feature vectors, and improving training efficiency

Pending Publication Date: 2022-01-11
CHINA PING AN LIFE INSURANCE CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Embodiments of the present invention provide a processing method, device, computer equipment, and storage medium for a sentence vector generation model based on artificial intelligence, so as to solve the technical problems of low learning efficiency of text sentence vectors and lack of representation accuracy of sentence vectors

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
  • Processing method, device and equipment for sentence vector generation model based on artificial intelligence
  • Processing method, device and equipment for sentence vector generation model based on artificial intelligence
  • Processing method, device and equipment for sentence vector generation model based on artificial intelligence

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] 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 part 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 creative efforts fall within the protection scope of the present invention.

[0030] The processing method of the artificial intelligence-based sentence vector generation model provided by the application can be applied in such as figure 1 An application environment in which the computer device can communicate with a server through a network. Wherein, the computer equipment can be but not limited to various personal computers, notebook computers, smart phones, tablet computers and portable wearable devices. The server can be im...

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 processing method of a sentence vector generation model based on artificial intelligence, which is applied to the technical field of artificial intelligence and is used for solving the technical problems of low learning efficiency of text sentence vectors and poor expression accuracy of the sentence vectors. The method provided by the invention comprises the following steps: acquiring a text sample which does not carry a sample label; inputting the text sample into a BERT module in a sentence vector generation model to be trained, and outputting an intermediate feature of the text sample through the BERT module; selecting different discarding masks for the middle features of the same text sample to execute dropout discarding operation, and obtaining middle feature vectors, corresponding to the discarding masks, of the same text sample; determining the intermediate feature vectors belonging to the same text sample as positive samples, and determining the intermediate feature vectors belonging to different text samples as negative samples; and training the sentence vector generation model according to the positive sample, the negative sample and a loss function to obtain a trained sentence vector generation model.

Description

technical field [0001] The present invention relates to the technical field of artificial intelligence, in particular to a processing method, device, computer equipment and storage medium for a sentence vector generation model based on artificial intelligence. Background technique [0002] In natural language processing, especially in Chinese language processing, how to learn sentence vectors is the most basic and important link. Sentence vectors can be applied to text search and FAQ (Frequently Asked Questions, frequently asked questions) matching , semantic recall, text sorting and other scenarios, in recent years, how to learn sentence vectors has become more and more a research hotspot. [0003] Most of the current sentence vector learning methods are based on labeled sample data, which requires a lot of manpower to add sample labels, while pre-training-based methods, such as Bert-based methods, suffer from anisotropy problems, resulting in The learning process of sente...

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/30G06F40/211G06N3/04G06N3/08
CPCG06F40/30G06F40/211G06N3/04G06N3/08
Inventor 刘吉刚
Owner CHINA PING AN LIFE INSURANCE 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