Context-based dialogue generation method and system
A technology for generating systems and contexts, applied in neural learning methods, biological neural network models, instruments, etc., can solve problems such as lack of large corpora, and achieve the effect of being conducive to training, reducing interference, and reflecting robustness
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0032] This embodiment provides a context-based dialogue generation method;
[0033] Context-based dialogue generation methods, including:
[0034] S101: Obtain the current dialogue sentence, the previous sentence of the current dialogue and the following sentence of the current dialogue;
[0035] S102: Input the current dialogue sentence, the previous sentence of the current dialogue and the following sentence of the current dialogue into the pre-trained codec, and the codec outputs the predicted dialogue sentence of the current dialogue sentence.
[0036] As one or more embodiments, S102: Input the current dialogue sentence, the previous sentence of the current dialogue and the following sentence of the current dialogue into the pre-trained codec, and the codec outputs the predicted dialogue sentence of the current dialogue sentence ; Specific steps include:
[0037] Input the current dialogue sentence, the previous sentence of the current dialogue and the following senten...
Embodiment 2
[0095] This embodiment provides a context-based dialogue generation system;
[0096] Context-based dialogue generation systems, including:
[0097] An acquisition module configured to: acquire the current dialogue statement, the previous statement of the current dialogue and the following statement of the current dialogue;
[0098] The prediction module is configured to: input the current dialogue sentence, the previous sentence of the current dialogue and the following sentence of the current dialogue into the pre-trained codec, and the codec outputs the predicted dialogue sentence of the current dialogue sentence.
[0099] It should be noted here that the above acquisition module and prediction module correspond to steps S101 to S102 in the first embodiment, and the examples and application scenarios implemented by the above modules and the corresponding steps are the same, but are not limited to those disclosed in the first embodiment above content. It should be noted tha...
Embodiment 3
[0103] This embodiment also provides an electronic device, including: one or more processors, one or more memories, and one or more computer programs; wherein, the processor is connected to the memory, and the one or more computer programs are programmed Stored in the memory, when the electronic device is running, the processor executes one or more computer programs stored in the memory, so that the electronic device executes the method described in Embodiment 1 above.
[0104] It should be understood that in this embodiment, the processor can be a central processing unit CPU, and the processor can also be other general-purpose processors, digital signal processors DSP, application specific integrated circuits ASIC, off-the-shelf programmable gate array FPGA or other programmable logic devices , discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor, or the processor may be any conventional processor, o...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com