Unlock instant, AI-driven research and patent intelligence for your innovation.

Chinese sentence simplification model training method and Chinese sentence simplification method and device

A technology that simplifies models and training methods, applied in neural learning methods, biological neural network models, character and pattern recognition, etc. It can solve the problem of increasing the distance between positive and negative examples, the inefficient training of simplified Chinese sentences, and simplifying task execution. problems such as low efficiency, to achieve the effect of improving fidelity and reducing complexity

Pending Publication Date: 2022-07-15
北京智谱华章科技有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] For this reason, the first purpose of this application is to propose a training method for a Chinese sentence simplification model, which introduces contrastive learning on the basis of the pre-training model of the encoder-decoder (Encoder-Decoder) to fine-tune, by crossing On the basis of the entropy loss function, the contrastive learning loss is introduced to increase the distance between positive and negative samples, so that the trained Chinese sentence simplification model can control the generated simplified sentences according to actual needs when performing sentence simplification, and improve the generated simplified sentences. In addition, it reduces the complexity of the training process. The trained Chinese sentence simplification model can handle different Chinese sentences conveniently and efficiently. question

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
  • Chinese sentence simplification model training method and Chinese sentence simplification method and device
  • Chinese sentence simplification model training method and Chinese sentence simplification method and device
  • Chinese sentence simplification model training method and Chinese sentence simplification method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0053] The following describes in detail the embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein the same or similar reference numerals refer to the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary, and are intended to explain the present invention and should not be construed as limiting the present invention.

[0054] The following describes a method for training a Chinese sentence simplification model, a Chinese sentence simplification method, and an apparatus proposed by the embodiments of the present invention with reference to the accompanying drawings.

[0055] figure 1 The flow chart of the training method of a Chinese sentence simplification model proposed in the embodiment of the present application, such as figure 1 The method includes the following steps:

[0056] Step S101 , obtain...

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 Chinese sentence simplification model training method and device and a Chinese sentence simplification method and device. The Chinese sentence simplification model training method comprises the steps that a data set of complex sentence-simple sentence pairs containing supervision signals and a Chinese single-language pre-training model are obtained; selecting a simple sentence in the current complex sentence-simple sentence pair as a positive sample in each training batch, and randomly selecting a preset number of simple sentences from other sentence pairs in the same training batch as negative samples; projecting the complex sentence, the positive sample and the negative sample into a vector representation space, and respectively obtaining a hidden layer vector of the last layer of the encoder; calculating and comparing learning loss, and calculating and generating expected cross entropy loss of the simple sentences through a decoder; and the Chinese monolingual pre-training model is jointly trained by minimizing the comparative learning loss and the cross entropy loss of the simple sentences output by the Chinese monolingual pre-training model. According to the simplified model obtained by the method, the controllability and the loyalty of the generated simplified sentences can be improved.

Description

technical field [0001] The present application relates to the technical field of natural language processing, and in particular, to a training method of a Chinese sentence simplification model, a Chinese sentence simplification method, and an apparatus. Background technique [0002] Sentence reduction is to modify the content and structure of the original sentence, reduce the complexity of the sentence, and retain its main idea and close to its original semantics, so that it is easier to read and understand. Sentence reduction can be used to improve the performance of other natural language processing (NLP) tasks, such as text summarization, information extraction, and machine translation. [0003] In the related art, the early sentence reduction method adopts a rule-based method, which mainly considers lexical simplification or syntactic simplification, and the accuracy of sentence reduction is low. The current research methods are mainly divided into two types: one is to ...

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): G06F40/30G06F40/211G06K9/62G06N3/04G06N3/08
CPCG06F40/30G06F40/211G06N3/04G06N3/088G06F18/22
Inventor 王路路张鹏杜冀中闫磊陆弘锴刘佳李光军崔菲彭钰婷
Owner 北京智谱华章科技有限公司