Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Text abstract model training method and device, electronic equipment and storage medium

A technology of abstract and text, applied in electronic equipment and storage medium, training method of text abstract model, and device field, can solve the problem of failing to learn different abstracts, and achieve the effect of enhancing comprehension ability, good performance and improving accuracy

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

AI Technical Summary

Problems solved by technology

However, under such a training process, the text summarization model only learns how to generate the correct summaries, but fails to learn the advantages and disadvantages of different summaries.

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 abstract model training method and device, electronic equipment and storage medium
  • Text abstract model training method and device, electronic equipment and storage medium
  • Text abstract model training method and device, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0045] In order to make the purpose, technical solutions and advantages of the application clearer, the application will be further described in detail below in conjunction with the accompanying drawings. All other embodiments obtained under the premise of creative labor belong to the scope of protection of this application.

[0046] In the following description, references to "some embodiments" describe a subset of all possible embodiments, but it is understood that "some embodiments" may be the same subset or a different subset of all possible embodiments, and Can be combined with each other without conflict.

[0047] In the following description, the term "first\second\third" is only used to distinguish similar objects, and does not represent a specific ordering of objects. Understandably, "first\second\third" Where permitted, the specific order or sequencing may be interchanged such that the embodiments of the application described herein can be practiced in sequences oth...

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 abstract model training method and device, electronic equipment and a storage medium. Comprising the steps of obtaining a sample set comprising a plurality of training samples; respectively encoding the sample text, the positive sample abstract and the negative sample abstract in the training sample through a first encoder of the text abstract model to obtain a first sample text vector, a positive sample abstract vector and a negative sample abstract vector; decoding the first sample text vector through a decoder of the text abstract model to obtain a target abstract; determining a first loss of the text abstract model based on the target abstract and the positive sample abstract, and determining a second loss of the text abstract model based on the first sample text vector, the positive sample abstract vector and the negative sample abstract vector; and updating model parameters of the text abstract model in combination with the first loss and the second loss. In this way, the understanding ability of the model for the difference between different abstracts can be enhanced, and then the performance of the model is improved.

Description

technical field [0001] The present application relates to Internet technologies, and in particular to a text summarization model training method, device, electronic equipment and storage medium. Background technique [0002] Automatically summarizing text has very important applications in many NLP (Natural Language Processing, Natural Language Processing) fields. Such as news headline generation, meeting minutes, social short text topic generation, intelligent customer service tasks, etc. The methods for generating text summarization are generally divided into extractive and generative methods. The implementation method of extractive summarization is generally to select keywords and key sentences from the original text to form an abstract. Generative summary allows new words or short sentences to be included in the summary, which has higher flexibility, and its implementation method is generally based on the sequence-to-sequence (Seq2Seq) model. [0003] When the generat...

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): G06F16/33G06F40/126G06F40/194G06F40/242G06F40/279G06K9/62
Inventor 吴焕钦
Owner TENCENT TECH (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products