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

Answer generation method, device, electronic device and storage medium

An answer and text sequence technology, applied in the field of natural language processing, can solve problems such as low accuracy, achieve the effect of improving accuracy, solving low accuracy, and enhancing association

Active Publication Date: 2022-02-08
TENCENT TECH (SHENZHEN) CO LTD
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In practice, it is found that this method of automatically generating answers based on rules has a problem of low accuracy

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
  • Answer generation method, device, electronic device and storage medium
  • Answer generation method, device, electronic device and storage medium
  • Answer generation method, device, electronic device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this application will be thorough and complete, and will fully convey the concepts of example embodiments to those skilled in the art.

[0035] Furthermore, the described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided in order to give a thorough understanding of the embodiments of the application. However, those skilled in the art will appreciate that the technical solutions of the present application may be practiced without one or more of the specific details, or other methods, components, devices, steps, etc. may be employed. In other instances, well-known methods,...

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 application relates to the technical field of natural language processing, and discloses an answer generation method, device, electronic equipment, and storage medium. The method includes: encoding a first text sequence to obtain an encoding vector of each word in the first text sequence; According to the encoding vector of each word in the first text sequence and the output hidden vector of the decoder network at the current time step, determine the attention weight corresponding to each word in the first text sequence; according to the attention weight corresponding to each word in the first text sequence The power weight, the output hidden vector of the decoder network at the current time step and the input vector of the decoder network at the current time step determine the first probability distribution; according to the first probability and the second probability, in the preset vocabulary and the first Determine the answer word corresponding to the current time step in the text sequence; this scheme can improve the accuracy of generating the answer text. The embodiments of the present invention can be applied to various scenarios such as cloud technology, artificial intelligence, and intelligent transportation.

Description

technical field [0001] The present application relates to the technical field of natural language processing, and more specifically, relates to an answer generation method, device, electronic equipment and storage medium. Background technique [0002] With the development of artificial intelligence technology, as one of the important research fields of artificial intelligence technology, the research content of natural language processing technology is becoming more and more abundant, such as machine translation, automatic generation of summaries, automatic generation of answers, etc. [0003] In related technologies, the automatic generation of answers is mainly to generate the answer text of the question text based on rules. First, the question text input by the user is divided into words, and then according to the existing vocabulary, a certain word is selected, and then according to the set rules to make some changes to the selected word, for example "Yes" becomes "No" a...

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 Patents(China)
IPC IPC(8): G06F40/126G06F16/33G06F16/335
CPCG06F40/126G06F16/3346G06F16/335G06F16/3334
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