Article generation method and device, equipment and storage medium
By adopting a tree-shaped generation method in the language model and using the alternate input of title, abstract and outline text, the problem of topic consistency and relevance when the language model generates long articles is solved, and the efficient generation of multi-level chapter articles is achieved. .
Patent Information
- Application Number
- CN202310208292.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-02-27
- Publication Date
- 2024-08-27
AI Technical Summary
When existing language models generate long articles, it is difficult to maintain the relevance and topic consistency of the previous article and the previous article. The main reason is that positional encoding limits the length of the input text, resulting in the topic of the later article being inconsistent with the previous article or the content being irrelevant.
The tree generation method of three generation tasks is adopted, and multi-level chapter articles are generated through the mutual input of title text, summary paragraph and outline text, and the output content of the upper level is used to guide the output of the next level to ensure the relevance of the context.
It realizes the automatic generation of long articles, ensures the relevance of topics and the consistency of contextual logic, and avoids the problem of topic dispersion caused by input length limitations in traditional methods.
Smart Images

Figure CN118550997A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of wireless communication technologies, and in particular to an article generation method, device, equipment and storage medium. Background Art
[0002] At present, with the introduction of language models such as the GPT series and T5, natural language generation technology has developed rapidly, and it is possible to generate a semantically coherent and logically smooth paragraph of hundreds of words. With the development of controllable text technologies such as prompt learning, more and more short texts are generated. For the generation of long texts of thousands of words, because the position encoding of the language model needs to limit the length of the input text, such as 512 for T5 and 1024 for GPT, if the generated article is too long, the language model cannot capture all the information of the previously generated text, which may cause the topic of the later text to be inconsistent with the topic of the previous text or the content of the later text to be irrelevant to the content of the previous text. Summary of the invention
[0003] In view of this, embodiments of the present invention are intended to provide an article generation method, apparatus, device and storage medium.
[0004] The technical solution of the embodiment of the present invention is achieved as follows:
[0005] An embodiment of the present invention provides an article generation method, the method comprising:
[0006] Acquire first data;
[0007] Input the first data into the first model to obtain second data; the first data represents the title text to be processed, and the second data represents the first summary paragraph; wherein the first model is obtained by training the first prediction model based on the first training sample set; the first training sample set includes the title text to be trained;
[0008] The first data and the second data are input into the second model to obtain third data; the third data represents the first outline text; the first outline text includes a plurality of first-level titles; wherein the second model is obtained by training the second prediction model based on the second training sample set; the second training sample set includes the title text to be trained, and the second summary paragraph obtained by inputting the title text to be trained into the first model;
[0009] The first data, the second data and the third data are input into a third model to obtain fourth data; the fourth data represent paragraphs corresponding to each first-level title; wherein the third model is obtained by training a third prediction model based on a third training sample set; the third training sample set includes the title text to be trained, the second summary paragraph, and a second outline text obtained by inputting the title text to be trained and the second summary paragraph into the second model; the second outline text includes a plurality of first-level titles;
[0010] An article is generated using the first data, the second data, the third data and the fourth data.
[0011] In addition, according to at least one embodiment of the present invention, the method further includes:
[0012] Inputting the third data and the fourth data into the second model to obtain fifth data; the fifth data represents the secondary titles corresponding to the primary titles in the first outline text;
[0013] Input the third data, the fourth data and the fifth data into the third model to obtain sixth data; the sixth data represents the paragraphs corresponding to each secondary title;
[0014] An article is generated by using the first data, the second data, the third data, the fourth data, the fifth data and the sixth data.
[0015] In addition, according to at least one embodiment of the present invention, inputting the first data into a first model to obtain second data includes:
[0016] The first task identifier, the first data identifier, the first data, and the end identifier are concatenated in a forward and backward order to obtain a first character; the first task identifier represents the text generation task corresponding to the first model; the first data identifier represents that the character data to be input is the first data; the end identifier represents the end of the input data;
[0017] The first character is input into the first model to obtain the second data.
[0018] In addition, according to at least one embodiment of the present invention, the step of inputting the first data and the second data into a second model to obtain third data includes:
[0019] The second task identifier, the first data identifier, the first data, the second data identifier, the second data, and the ending identifier are concatenated in a forward and backward order to obtain a second character; the second task identifier represents the text generation task corresponding to the second model; the first data identifier represents that the character data to be input is the first data; the second data identifier represents that the character data to be input is the second data; and the ending identifier represents the end of the input data;
[0020] The second character is input into the second model to obtain the third data.
[0021] In addition, according to at least one embodiment of the present invention, inputting the first data, the second data, and the third data into a third model to obtain fourth data includes:
[0022] The third task identifier, the first data identifier, the first data, the second data identifier, the second data, the third data identifier, the third data, and the ending identifier are concatenated in a forward and backward order to obtain a third character; the third task identifier represents the text generation task corresponding to the third model; the first data identifier represents that the character data to be input is the first data; the second data identifier represents that the character data to be input is the second data; the third data identifier represents that the character data to be input is the third data; and the ending identifier represents the end of the input data;
[0023] The third character is input into the third model to obtain the fourth data.
[0024] In addition, according to at least one embodiment of the present invention, the method further includes:
[0025] Acquire the first training sample set;
[0026] Based on the first training sample set, the first prediction model is trained to obtain the first model.
[0027] In addition, according to at least one embodiment of the present invention, the method further includes:
[0028] Acquire the second training sample set;
[0029] Based on the second training sample set, the second prediction model is trained to obtain the second model.
[0030] In addition, according to at least one embodiment of the present invention, the method further includes:
[0031] Acquire the third training sample set;
[0032] Based on the third training sample set, the third prediction model is trained to obtain the third model.
[0033] At least one embodiment of the present invention provides an article generating device, comprising:
[0034] An acquiring unit, configured to acquire first data;
[0035] A processing unit, used for inputting the first data into a first model to obtain second data; the first data represents the title text to be processed, and the second data represents the first summary paragraph; wherein the first model is obtained by training a first prediction model based on a first training sample set; the first training sample set includes the title text to be trained; the first data and the second data are input into a second model to obtain third data; the third data represents the first outline text; the first outline text includes a plurality of first-level headings; wherein the second model is obtained by training a second prediction model based on a second training sample set; the second training sample set includes the title text to be trained, and the first training sample set includes the title text to be trained. The title text to be trained is input into the first model to obtain the second summary paragraph; the first data, the second data and the third data are input into the third model to obtain the fourth data; the fourth data represent the paragraphs corresponding to each first-level title; wherein the third model is obtained by training the third prediction model based on the third training sample set; the third training sample set includes the title text to be trained, the second summary paragraph, and the second outline text obtained by inputting the title text to be trained and the second summary paragraph into the second model; the second outline text includes multiple first-level titles; an article is generated through the first data, the second data, the third data and the fourth data.
[0036] At least one embodiment of the present invention provides a network device, including:
[0037] A communication interface, used to obtain first data;
[0038] A processor is used to input the first data into a first model to obtain second data; the first data represents the title text to be processed, and the second data represents the first summary paragraph; wherein the first model is obtained by training a first prediction model based on a first training sample set; the first training sample set includes the title text to be trained; the first data and the second data are input into a second model to obtain third data; the third data represents the first outline text; the first outline text includes a plurality of first-level headings; wherein the second model is obtained by training a second prediction model based on a second training sample set; the second training sample set includes the title text to be trained, and the first-level headings to be trained are obtained by training the second prediction model based on the second training sample set; the second training sample set includes the title text to be trained, and the first-level headings to be trained are obtained by training the second prediction model based on the second training sample set The title text is input into the first model to obtain a second summary paragraph; the first data, the second data and the third data are input into the third model to obtain fourth data; the fourth data represents the paragraphs corresponding to each first-level title; wherein the third model is obtained by training the third prediction model based on the third training sample set; the third training sample set includes the title text to be trained, the second summary paragraph, and the second outline text obtained by inputting the title text to be trained and the second summary paragraph into the second model; the second outline text includes multiple first-level titles; an article is generated through the first data, the second data, the third data and the fourth data.
[0039] At least one embodiment of the present invention provides a network device, comprising a processor and a memory for storing a computer program that can be run on the processor.
[0040] Wherein, when the processor is used to run the computer program, it executes the steps of any one of the methods described above on the network device side.
[0041] At least one embodiment of the present invention provides a storage medium having a computer program stored thereon, wherein the computer program implements the steps of any of the above methods when executed by a processor.
[0042] The article generation method, device, equipment and storage medium provided by the embodiments of the present invention obtain first data; input the first data into a first model to obtain second data; the first data represents the title text to be processed, and the second data represents the first summary paragraph; wherein the first model is obtained by training a first prediction model based on a first training sample set; the first training sample set includes the title text to be trained; the first data and the second data are input into a second model to obtain third data; the third data represents the first outline text; the first outline text includes multiple first-level titles; wherein the second model is obtained by training a second prediction model based on a second training sample set; the second training sample set includes the title text to be trained The invention relates to a method for generating an article by using the first data, the second data and the third data. The method comprises the following steps: a) inputting the first data, the second data and the third data into the third model to obtain the fourth data; b) inputting the first data, the second data and the third data into the third model to obtain the fourth data; c) the fourth data represents the paragraphs corresponding to each first-level title; c) the third model is obtained by training the third prediction model based on the third training sample set; c) the third training sample set includes the title text to be trained, the second summary paragraph and the second outline text obtained by inputting the title text to be trained and the second summary paragraph into the second model; c) the second outline text includes multiple first-level titles; and c) generating an article by using the first data, the second data, the third data and the fourth data. The technical solution provided by the embodiment of the invention is adopted to realize three generation tasks based on the first model, the second model and the third model, and the tree-shaped generation method of the three generation tasks realizes the automatic generation of long articles. Moreover, by guiding the output content of the next level with the output content of the previous level, more information of the previously generated text is captured, thereby ensuring the relevance of the context. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] Figure 1 It is a schematic diagram of the implementation process of the article generation method of the embodiment of the present invention;
[0044] Figure 2 It is a schematic diagram of a specific implementation process of the article generation method according to an embodiment of the present invention;
[0045] Figure 3 is a schematic diagram of a process of generating an article according to an embodiment of the present invention;
[0046] Figure 4 It is a schematic diagram of a process of generating a multi-level chapter article according to an embodiment of the present invention;
[0047] Figure 5 It is a schematic diagram of the composition structure of the article generating device according to an embodiment of the present invention;
[0048] Figure 6It is a schematic diagram of the composition structure of the network device according to the embodiment of the present invention. DETAILED DESCRIPTION
[0049] Before introducing the technical solution of the embodiment of the present invention, the related technology is first described.
[0050] In the related technologies, with the introduction of language models such as the GPT series and T5, natural language generation technology has developed rapidly, and it has become possible to generate a paragraph of hundreds of words with semantic coherence and logical coherence. At present, with the development of controllable text technologies such as prompt learning, more and more auxiliary writing products are constantly produced on the market, providing users with functions such as theme writing, text continuation, and example sentence generation, assisting the writing of articles in multiple fields such as marketing copywriting and news releases, and effectively improving users' writing efficiency. Most of the auxiliary writing functions involve the generation of short texts. There are still many problems in the generation of long texts of thousands of words: one is the consistency of the generated articles, and the theme of the latter text is inconsistent with that of the former text; the other is that the generated articles are too long, and the latter content is irrelevant to the former content, mainly because the position encoding of the language model needs to limit the length of the input text, such as 512 for T5 and 1024 for GPT. Therefore, the generated text is too long, and the model cannot capture the information of the previously generated text. If the input text length limit is increased, the training cost and reasoning difficulty of model learning will increase.
[0051] In the related art, the method for automatic article generation is generally based on keywords or topic sentences to guide the generation of long articles. The solution mentioned in the patent with publication number WO2022121165A1 and invention name Long Text Generation Method, Device, Equipment and Storage Medium is: control the generation of long text through multiple keywords, and input the keyword vector together with the previously generated sentence vector into the text generation model to control the generation content of the next sentence. This scheme can improve the diversity of long text generation and the coherence between sentences. However, the information contained in the keywords is still relatively broad, and it is difficult to focus on the themes of each chapter of the generated long article. In addition to keywords, there is also a scheme to control article generation based on topic sentences. The topic sentence can be set in advance, or the generated sentence can be input into the generation model to control the theme of text generation. The solution mentioned in the patent with publication number CN114021527A and invention name Long Text Generation Method, System, Medium and Device is: according to the habit of humans to divide articles into chapters and write abstracts, the text to be generated is divided into blocks, and each text generation block is layered, and the corresponding text is generated in sequence by one layer and one block. This solution generates each part of the article in sequence. After generating multiple blocks of content, due to the limitation of the input length of the language model, the model still finds it difficult to capture previous information, and this solution can only be used for the generation of articles with one-level chapters, and cannot achieve the generation of multi-level chapters.
[0052] In summary, traditional article generation schemes only intervene in text generation models by constructing topic sequences through a few keywords or sentences. However, the topic information contained in keywords and single sentences is still relatively small, and the model is difficult to capture clear semantics or arguments. Therefore, the topics of each chapter of the generated article are too scattered. At the same time, traditional article generation methods generate articles in a chain according to the order of the articles, which makes it difficult to solve the theme consistency of each chapter of a very long article and cannot achieve the generation of multi-level chapter articles.
[0053] Based on this, in an embodiment of the present invention, first data is obtained; the first data is input into a first model to obtain second data; the first data represents the title text to be processed, and the second data represents the first summary paragraph; the first data and the second data are input into a second model to obtain third data; the third data represents the first outline text; the first outline text includes multiple first-level titles; the first data, the second data and the third data are input into a third model to obtain fourth data; the fourth data represents the paragraphs corresponding to each first-level title; and an article is generated using the first data, the second data, the third data and the fourth data.
[0054] Figure 1 Schematic diagram of the implementation process of the article generation method of the embodiment of the present invention, such as Figure 1 As shown, the method includes steps 101 to 105:
[0055] Step 101: Acquire first data;
[0056] Step 102: input the first data into the first model to obtain second data; the first data represents the title text to be processed, and the second data represents the first summary paragraph; wherein the first model is obtained by training a first prediction model based on a first training sample set; the first training sample set includes the title text to be trained;
[0057] Step 103: input the first data and the second data into a second model to obtain third data; the third data represents a first outline text; the first outline text includes a plurality of first-level titles; wherein the second model is obtained by training a second prediction model based on a second training sample set; the second training sample set includes the title text to be trained, and a second summary paragraph obtained by inputting the title text to be trained into the first model;
[0058] Step 104: input the first data, the second data and the third data into a third model to obtain fourth data; the fourth data represents paragraphs corresponding to each first-level title; wherein the third model is obtained by training a third prediction model based on a third training sample set; the third training sample set includes the title text to be trained, the second summary paragraph, and a second outline text obtained by inputting the title text to be trained and the second summary paragraph into the second model; the second outline text includes a plurality of first-level titles;
[0059] Step 105: Generate an article using the first data, the second data, the third data and the fourth data.
[0060] Here, the first model may also be referred to as a summary generation model. The model may be implemented using a generative language model of any architecture, and a summary paragraph may be generated by inputting the title text into the model.
[0061] For example, a title text of less than 50 words is input into the first model, and a summary paragraph of about 500 words is output.
[0062] Here, the second model may also be referred to as an outline generation model, which may be implemented using a generative language model of any architecture, and the title text and the abstract paragraph are input into the second model to generate the first outline text.
[0063] For example, a title text of less than 50 words and a summary paragraph of about 500 words are input into the second model to generate an outline text consisting of multiple sub-headings. For example, the outline text can be: "1. The conceptual origin of the metaverse; 2. Technical analysis of the metaverse; 3. Industrial analysis of the metaverse; 4. Summary".
[0064] Here, the third model may also be referred to as a paragraph generation model. The model may be implemented using a generative language model of any architecture, and the title text, summary text, and each sub-title are input into the third model to generate paragraphs corresponding to each sub-title.
[0065] For example, a title text of less than 50 words, a summary paragraph of about 500 words, and a subtitle of less than 50 words are generated into a paragraph of 500 words.
[0066] In the embodiment of the present invention, the above three models are combined with the tree generation method to realize the automatic generation of multi-level chapter articles.
[0067] In actual application, in order to generate multi-level chapter articles, a tree-shaped generation method in which outline paragraphs are alternately generated can be used to generate articles with multi-level chapters and highly related topics.
[0068] Based on this, in one embodiment, the method further includes:
[0069] Inputting the third data and the fourth data into the second model to obtain fifth data; the fifth data represents the secondary titles corresponding to the primary titles in the first outline text;
[0070] Input the third data, the fourth data and the fifth data into the third model to obtain sixth data; the sixth data represents the paragraphs corresponding to each secondary title;
[0071] An article is generated by using the first data, the second data, the third data, the fourth data, the fifth data and the sixth data.
[0072] In one embodiment, inputting the first data into a first model to obtain second data comprises:
[0073] The first task identifier, the first data identifier, the first data, and the end identifier are concatenated in a forward and backward order to obtain a first character; the first task identifier represents the text generation task corresponding to the first model; the first data identifier represents that the character data to be input is the first data; the end identifier represents the end of the input data;
[0074] The first character is input into the first model to obtain the second data.
[0075] Here, the first task identifier, the first data identifier, and the ending identifier are all preset character fragments.
[0076] In one embodiment, inputting the first data and the second data into a second model to obtain third data includes:
[0077] The second task identifier, the first data identifier, the first data, the second data identifier, the second data, and the ending identifier are concatenated in a forward and backward order to obtain a second character; the second task identifier represents the text generation task corresponding to the second model; the first data identifier represents that the character data to be input is the first data; the second data identifier represents that the character data to be input is the second data; and the ending identifier represents the end of the input data;
[0078] The second character is input into the second model to obtain the third data.
[0079] Here, the second task identifier, the first data identifier, the second data identifier, and the ending identifier are all preset character fragments.
[0080] In one embodiment, inputting the first data, the second data, and the third data into a third model to obtain fourth data comprises:
[0081] The third task identifier, the first data identifier, the first data, the second data identifier, the second data, the third data identifier, the third data, and the ending identifier are concatenated in a forward and backward order to obtain a third character; the third task identifier represents the text generation task corresponding to the third model; the first data identifier represents that the character data to be input is the first data; the second data identifier represents that the character data to be input is the second data; the third data identifier represents that the character data to be input is the third data; and the ending identifier represents the end of the input data;
[0082] The third character is input into the third model to obtain the fourth data.
[0083] Here, the third task identifier, the first data identifier, the second data identifier, the third data identifier, and the ending identifier are all preset character fragments.
[0084] Here, obtaining the summary paragraph from the title text can be regarded as task one, obtaining the outline text of the full text from the title text and the generated summary paragraph can be regarded as task two, and generating paragraphs from the title text, summary paragraph, and first-level title can be regarded as task three. In terms of generation form, the three major tasks adopt the prompt learning method, and introduce identifiers to improve data processing efficiency and simplify task complexity. By modifying the vocabulary of the language model (adding prompts), the model can be adapted to different tasks and learn scenarios. At the same time, a unified task form is given to support single-model multi-task learning, and improve model update iteration and deployment benefits.
[0085] Table 1 is a schematic diagram of task identifiers and data identifiers. As shown in Table 1, the first task identifier is getabstract, which indicates that the text generation task corresponding to the first model is an abstract paragraph generation task, the second task identifier is getoutline, which indicates that the text generation task corresponding to the second model is an outline generation task, and the third task identifier is getpara, which indicates that the text generation task corresponding to the third model is a paragraph generation task. The first data identifier is mytitle, which indicates that the character data to be input is the first data; the second data identifier is mypara, which indicates that the character data to be input is the second data; the third data identifier is mysubtitle, which indicates that the character data to be input is the third data. The end identifier is myoutput, which indicates the end of the input data.
[0086] Table 1
[0087]
[0088] In one embodiment, the method further comprises:
[0089] Acquire the first training sample set;
[0090] Based on the first training sample set, the first prediction model is trained to obtain the first model.
[0091] It should be noted that the training samples of the first model can be compiled from ready-made articles, such as public accounts, news information, research reports, papers, etc., and the data processing and annotation costs are relatively low.
[0092] Specifically, title texts and abstract paragraphs are extracted from the collected articles, and the first training sample set is formed using the first task identifier, the first data identifier, the extracted title text, and the ending identifier. Based on the first training sample set, the first prediction model is trained to obtain gradient parameters that match the first training sample set; based on the gradient parameters that match the first training sample set, the parameters of the first prediction model are updated to obtain the first model, and the first model is used to obtain the second abstract paragraph.
[0093] In one embodiment, the method further comprises:
[0094] Acquire the second training sample set;
[0095] Based on the second training sample set, the second prediction model is trained to obtain the second model.
[0096] It should be noted that the training samples of the second model can be compiled from ready-made articles, such as public accounts, news information, research reports, papers, etc., and the data processing and annotation costs are relatively low.
[0097] Specifically, title text, summary paragraphs, and first-level headings are extracted from the collected articles, and the second training sample set is formed using the second task identifier, the first data identifier, the extracted title text, the second data identifier, the second summary paragraph, and the ending identifier. Based on the second training sample set, the second prediction model is trained to obtain gradient parameters that match the second training sample set; based on the gradient parameters that match the second training sample set, the parameters of the second prediction model are updated to obtain the second model, and the second model is used to obtain the second outline text; the second outline text includes multiple first-level headings.
[0098] In one embodiment, the method further comprises:
[0099] Acquire the third training sample set;
[0100] Based on the third training sample set, the third prediction model is trained to obtain the third model.
[0101] It should be noted that the training samples of the third model can be compiled from ready-made articles, such as public accounts, news information, research reports, papers, etc., and the data processing and annotation costs are relatively low.
[0102] Specifically, title text, summary paragraph, each first-level title and its corresponding paragraph are extracted from the collected articles, and the third training sample set is formed by using the third task identifier, the first data identifier, the extracted title text, the second data identifier, the second summary paragraph, the third data identifier, and each first-level title included in the second outline text. Based on the third training sample set, the third prediction model is trained to obtain gradient parameters matching the third training sample set; based on the gradient parameters matching the third training sample set, the parameters of the third prediction model are updated to obtain the third model, and the third model is used to obtain paragraphs corresponding to each first-level title.
[0103] In actual application, when generating an article with multiple chapters, multiple first-level titles and the paragraphs corresponding to each first-level title can be used as a training sample set for training to obtain the second model, and the second model is also used to obtain the second-level titles corresponding to each first-level title. Similarly, multiple first-level titles, the paragraphs corresponding to each first-level title, and each second-level title can be used as a training sample set for training to obtain the third model, and the third model is also used to obtain the paragraphs corresponding to each second-level title.
[0104] It should be noted that overly long title paragraphs need to be filtered or deleted to ensure that the length of the input text meets the limitations of the language model.
[0105] The embodiments of the present invention have the following advantages:
[0106] (1) Based on the first model, the second model and the third model, three generation tasks are implemented. The tree-like generation method of the three generation tasks realizes the automatic generation of long articles. Moreover, by guiding the output content of the next level with the output content of the previous level, more information of the previously generated text can be captured, thereby ensuring the relevance of the context.
[0107] In other words, the topic relevance is high. In the text generation process, unlike the traditional topic sequence based on keywords or short sentences, it is based on the tree structure of the article, and the sub-titles and text of the previous level are used to guide the generation of the next level outline and paragraphs. More information is used as the input of the model, so that the model can capture more fine-grained topic semantic information, and the input length will not exceed the limit of the language model.
[0108] (2) A tree-based generation method that mimics human writing logic is proposed. Based on three major generation tasks, the generation of long texts is decomposed into multiple short text generation steps. The outline-paragraph alternating tree-based generation method replaces the traditional chain generation method, and the generation of articles with multi-level chapters and highly related topics is achieved. The consistency of the topic and the context logic before and after the article can be guaranteed without changing the upper limit of the input and output length of the generation model.
[0109] In other words, according to the idea of expanding the text into chapters when users write articles, a tree generation method based on the alternating generation of outline paragraphs is proposed. Multi-level chapter article generation can be achieved based only on source text information such as titles, and the consistency of the themes of each chapter in an extremely long article can be ensured within the limitation of a single input length of the generative language model.
[0110] Figure 2 Schematic diagram of a specific implementation process of the article generation method of the embodiment of the present invention. Figure 2 As shown, the method includes steps 201 to 205:
[0111] Step 201: Obtain the title text T to be processed.
[0112] Step 202: Input the title text T into the first model, and generate a summary paragraph S corresponding to the title text T.
[0113] Here, the title text may also be referred to as a title sentence.
[0114] Step 203: Input the title text T and the generated summary paragraph S into the second model to generate a first outline text; the first outline text includes multiple first-level titles.
[0115] Step 204: Input the title text T, the generated summary paragraph S, and multiple first-level headings into the third model to generate paragraphs corresponding to each first-level heading.
[0116] Step 205: Generate an article using the title text T, the generated summary paragraph S, multiple first-level headings, and the paragraphs corresponding to each first-level heading.
[0117] For example, assuming that the input title text T is "The significance of computing power network to China Mobile", based on the first model, the generated summary paragraph S can be "Computing power network is the infrastructure for realizing data computing and is currently widely used in various industries. With the development of new technologies such as big data, cloud computing, and artificial intelligence, the application scenarios of computing power networks in traditional and new businesses have gradually expanded, and a variety of service forms and application scenarios have been formed, including AI computing power cloud, edge computing, supercomputing data centers, and edge computing security services. Computing power cloud refers to a cloud computing platform based on a large-scale heterogeneous network infrastructure model, which separates the data center from the traditional network and establishes it on the cloud through cloud deployment. Edge computing deploys the data center in a specific scenario area and performs data calculation and control through cloud resource management and scheduling. In the future, as the scale of computing power network construction expands and the types and forms of business diversify, there will be a need for comprehensive integration of the three major areas of computing, storage, and computing networks, and higher demands will be placed on new businesses."
[0118] Then, the title text T and the generated summary paragraph S are input into the second model to generate a first outline text; the first outline text includes multiple first-level headings A. The content of one of the first-level headings A can be "1. Construction and application scenarios of computing power network". The title text T, the generated summary paragraph S, and multiple first-level headings A are input into the third model to generate paragraphs corresponding to each first-level heading A. The content of one of the paragraphs corresponding to the first-level heading A can be "The computing power network is composed of traditional data center infrastructure equipment and business layers. The data center refers to a data center that mainly carries out tasks such as computing and supercomputing basic equipment; the data business layer refers to a cloud platform that specifically provides an operation and maintenance and performance management platform for the computing power network; the business layer mainly refers to computing power cloud, edge computing, supercomputing data center, and edge computing security services. The main feature of the computing power cloud platform is to complete resource supply, security protection, operation and maintenance services, etc. by building a "one-stop" service system. The edge computing layer mainly provides customers with intelligent business scenarios such as edge collaborative scheduling and intelligent operations."
[0119] Finally, an article is generated using the title text T, the generated summary paragraph S, multiple first-level headings A, and the paragraphs corresponding to each first-level heading A.
[0120] Table 2 is a schematic diagram of a part of the content of the generated article. As shown in Table 2, the article includes a title text T, a summary paragraph S, a first-level heading A, and a paragraph corresponding to the first-level heading A.
[0121] Table 2
[0122]
[0123]
[0124] Figure 3 is a schematic diagram of the process of generating articles, such as Figure 3 As shown, the following three tasks can be included:
[0125] Task 1: Get the summary paragraph S from the title text T.
[0126] Here, the title text T is "The significance of computing power network to China Mobile", which is embedded in the template. "getabstractmytitleThe significance of computing power network to China Mobilemyoutput" is input into the generation model to obtain the abstract paragraph S, which includes 200-900 words. The specific content is "Computing power network is the infrastructure for realizing data computing..."
[0127] Task 2: Obtain the outline text of the full text from the title text T and the generated summary paragraph S; the outline text includes multiple first-level headings.
[0128] Here, embedded in the template, "getoutline mytitleThe significance of computing power network to China MobilemyparaThe computing power network is the infrastructure for realizing data computing......myoutput" is input into the generation model to obtain the outline text, that is, the first-level titles A, B, C... (3-7 sub-titles), such as "1. Construction and application scenarios of computing power network sep4outline 2. Core key technologies of computing power network sep4outline 3. Development trend of computing power network.....", after splitting according to the separator sep4outline, multiple first-level titles A, B, C are obtained. The content of the first-level title A is "1. Construction and application scenarios of computing power network (first-level title A)".
[0129] Task 3: Generate paragraph A from title text T, summary paragraph S, and first-level title A.
[0130] Here, the title text T, summary paragraph S, and first-level title A are combined into a string according to the template. "getparamytitleThe significance of computing power network to China MobilemyparaThe computing power network is the infrastructure for realizing data computing...mysubtitle1. Construction and application scenarios of computing power networkmyoutput" is input into the generation model to obtain paragraph A, and the content of paragraph A is "The computing power network is composed of traditional data center infrastructure and business layer...". And so on, the paragraphs of each subtitle are obtained.
[0131] It should be noted that if it is necessary to generate a second-level chapter, the first-level title A and the corresponding paragraph A are used as the title and summary, and the second model and the third model are used alternately to generate the outline and paragraphs corresponding to the second-level chapter.
[0132] here, Figure 4 This is a schematic diagram of the process of generating a multi-level chapter article, such as Figure 4 As shown, the process may include:
[0133] Step 1: Get the title text T to be processed.
[0134] Step 2: Input the title text T into the first model to generate a summary paragraph S corresponding to the title text T.
[0135] Here, the title text may also be referred to as a title sentence.
[0136] Step 3: Input the title text T and the generated summary paragraph S into the second model to generate a first outline text; the first outline text includes multiple first-level titles A.
[0137] Here, based on regular expressions or other methods, the sub-title sequences can be split into first-level title A, first-level title B, etc. according to the numerical sequence.
[0138] Step 4: Input the title text T, the generated summary paragraph S, and multiple first-level headings A into the third model to generate paragraphs corresponding to each first-level heading A.
[0139] Step 5: Input multiple first-level headings A and paragraphs corresponding to each first-level heading A into the second model to obtain second-level headings corresponding to each first-level heading A.
[0140] Step 6, input multiple first-level headings A, paragraphs corresponding to each first-level heading A, and second-level headings corresponding to each first-level heading A into the third model to obtain paragraphs corresponding to each second-level heading.
[0141] For example, suppose the content of the first-level title A is "1. Construction and application scenarios of computing power network". The content of the paragraph corresponding to the first-level title A can be "The computing power network is composed of traditional data center infrastructure equipment and business layers. The data center refers to a data center that mainly carries out computing and supercomputing and other basic equipment tasks; the data business layer refers to a cloud platform that provides operation and maintenance and performance management platforms specifically for the computing power network; the business layer mainly refers to computing power cloud, edge computing, supercomputing data center and edge computing security services. The main feature of the computing power cloud platform is to complete resource supply, security protection, operation and maintenance services by building a "one-stop" service system. The edge computing layer mainly provides customers with intelligent business scenarios such as edge collaborative scheduling and intelligent operations". The first-level title A and the paragraph corresponding to the first-level title A are input into the second model to obtain the second-level titles corresponding to the first-level title A, represented by A1 and A2, the content of A1 is "(1) Construction and deployment", and the content of A2 is "(2) Application scenarios".
[0142] Then, the first-level title A, the paragraph corresponding to the first-level title A, and the second-level title corresponding to the first-level title A are input into the third model to obtain the paragraphs corresponding to each second-level title. The content of the paragraph corresponding to the second-level title A1 can be "The construction of computing power network mainly involves three aspects: one is basic equipment, including data center basic equipment, business layer computing power cloud platform and edge computing security services; the second is business network planning, including access to cloud network switches and cloud deployment of various computing power services; the third is the computing power cloud platform deployment plan. China Mobile launched the "Cloud Network Integration" strategic action in 2018, and will deploy services in the cloud based on the "Cloud Network Integration Deployment Plan. Relevant pilot practices have been carried out in Guizhou, Hunan, Hubei and other places. As of the end of December 2020, the investment in data center infrastructure construction has reached 16.6 billion yuan. At present, the computing power cloud platform has been deployed and applied in industries such as smart cities and smart transportation." The content of the paragraph corresponding to the secondary title A2 can be "China Mobile's computing power network has achieved good results in application scenarios in industries such as government affairs, medical care, industrial manufacturing, transportation, electric power, and security. In terms of government affairs: use computing power network technology to achieve integrated management of the entire process of government services, and uniformly allocate and optimize resources through local data processing and local service capabilities; support various institutions to centrally access and uniformly control government cloud services, improve work efficiency and quality, and reduce costs; combine artificial intelligence technology to achieve rapid access and real-time interaction between different users, and improve business processing and business response speed. In terms of medical care: use this computing power cloud technology to perform intelligent health monitoring for various medical devices, predict performance fluctuation trends, and automatically troubleshoot and report faults; remotely control and remotely diagnose medical equipment through remote control. In terms of electric power and energy: use computing power cloud technology to build an electric power and energy management platform and realize automated operation and maintenance, and obtain real-time information on power supply, operating conditions, etc."
[0143] Step 7, generate an article using the title text T, the generated summary paragraph S, multiple first-level headings A and paragraphs corresponding to each first-level heading A, and second-level headings corresponding to each first-level heading A and paragraphs corresponding to each second-level heading.
[0144] Table 3 is a schematic diagram of a part of the content of the generated article. As shown in Table 3, the article includes a title text T, a summary paragraph S, a first-level title A, a paragraph corresponding to the first-level title A, a second-level title, and a paragraph corresponding to the second-level title.
[0145] Table 3
[0146]
[0147]
[0149] In this example, the following advantages are achieved:
[0150] (1) Based on the first model, the second model and the third model, three generation tasks are implemented. The tree-like generation method of the three generation tasks realizes the automatic generation of long articles. Moreover, by guiding the output content of the next level with the output content of the previous level, more information of the previously generated text can be captured, thereby ensuring the relevance of the context.
[0151] In other words, the topic relevance is high. In the text generation process, unlike the traditional topic sequence based on keywords or short sentences, it is based on the tree structure of the article, and the sub-titles and text of the previous level are used to guide the generation of the next level outline and paragraphs. More information is used as the input of the model, so that the model can capture more fine-grained topic semantic information, and the input length will not exceed the limit of the language model.
[0152] (2) A tree-based generation method that mimics human writing logic is proposed. Based on three major generation tasks, the generation of long texts is decomposed into multiple short text generation steps. The outline-paragraph alternating tree-based generation method replaces the traditional chain generation method, and the generation of articles with multi-level chapters and highly related topics is achieved. The consistency of the topic and the context logic before and after the article can be guaranteed without changing the upper limit of the input and output length of the generation model.
[0153] In other words, according to the idea of expanding the text into chapters when users write articles, a tree generation method based on the alternating generation of outline paragraphs is proposed. Multi-level chapter article generation can be achieved based only on source text information such as titles, and the consistency of the themes of each chapter in an extremely long article can be ensured within the limitation of a single input length of the generative language model.
[0154] In order to implement the article generating method of the embodiment of the present invention, the embodiment of the present invention also provides an article generating device. Figure 5 Schematic diagram of the composition structure of the article generating device according to the embodiment of the present invention. Figure 5 As shown, the device comprises:
[0155] An acquisition unit 51, configured to acquire first data;
[0156] The processing unit 52 is used to input the first data into the first model to obtain second data; the first data represents the title text to be processed, and the second data represents the first summary paragraph; wherein the first model is obtained by training the first prediction model based on the first training sample set; the first training sample set includes the title text to be trained; the first data and the second data are input into the second model to obtain third data; the third data represents the first outline text; the first outline text includes a plurality of first-level headings; wherein the second model is obtained by training the second prediction model based on the second training sample set; the second training sample set includes the title text to be trained, and the first training sample set includes the title text to be trained. The title text to be trained is input into the first model to obtain the second summary paragraph; the first data, the second data and the third data are input into the third model to obtain the fourth data; the fourth data represents the paragraphs corresponding to each first-level title; wherein the third model is obtained by training the third prediction model based on the third training sample set; the third training sample set includes the title text to be trained, the second summary paragraph, and the second outline text obtained by inputting the title text to be trained and the second summary paragraph into the second model; the second outline text includes multiple first-level titles; an article is generated through the first data, the second data, the third data and the fourth data.
[0157] In one embodiment, the processing unit 52 is further configured to:
[0158] Inputting the third data and the fourth data into the second model to obtain fifth data; the fifth data represents the secondary titles corresponding to the primary titles in the first outline text;
[0159] Input the third data, the fourth data and the fifth data into the third model to obtain sixth data; the sixth data represents the paragraphs corresponding to each secondary title;
[0160] An article is generated by using the first data, the second data, the third data, the fourth data, the fifth data and the sixth data.
[0161] In one embodiment, the processing unit 52 is configured to:
[0162] The first task identifier, the first data identifier, the first data, and the end identifier are concatenated in a forward and backward order to obtain a first character; the first task identifier represents the text generation task corresponding to the first model; the first data identifier represents that the character data to be input is the first data; the end identifier represents the end of the input data;
[0163] The first character is input into the first model to obtain the second data.
[0164] In one embodiment, the processing unit 52 is configured to:
[0165] The second task identifier, the first data identifier, the first data, the second data identifier, the second data, and the ending identifier are concatenated in a forward and backward order to obtain a second character; the second task identifier represents the text generation task corresponding to the second model; the first data identifier represents that the character data to be input is the first data; the second data identifier represents that the character data to be input is the second data; and the ending identifier represents the end of the input data;
[0166] The second character is input into the second model to obtain the third data.
[0167] In one embodiment, the processing unit 52 is configured to:
[0168] The third task identifier, the first data identifier, the first data, the second data identifier, the second data, the third data identifier, the third data, and the ending identifier are concatenated in a forward and backward order to obtain a third character; the third task identifier represents the text generation task corresponding to the third model; the first data identifier represents that the character data to be input is the first data; the second data identifier represents that the character data to be input is the second data; the third data identifier represents that the character data to be input is the third data; and the ending identifier represents the end of the input data;
[0169] The third character is input into the third model to obtain the fourth data.
[0170] In one embodiment, the processing unit 52 is further configured to:
[0171] Acquire the first training sample set;
[0172] Based on the first training sample set, the first prediction model is trained to obtain the first model.
[0173] In one embodiment, the processing unit 52 is further configured to:
[0174] Acquire the second training sample set;
[0175] Based on the second training sample set, the second prediction model is trained to obtain the second model.
[0176] In one embodiment, the processing unit 52 is further configured to:
[0177] Acquire the third training sample set;
[0178] Based on the third training sample set, the third prediction model is trained to obtain the third model.
[0179] In actual application, the acquisition unit 51 can be implemented by a communication interface in the article generation device; the processing unit 52 can be implemented by a processor in the article generation device.
[0180] It should be noted that: the article generation device provided in the above embodiment only uses the division of the above program modules as an example when performing article generation. In actual applications, the above processing can be assigned to different program modules as needed, that is, the internal structure of the device is divided into different program modules to complete all or part of the processing described above. In addition, the article generation device provided in the above embodiment and the article generation method embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.
[0181] The embodiment of the present invention also provides a network device, such as Figure 6 As shown, including:
[0182] Communication interface 61, capable of exchanging information with other devices;
[0183] The processor 62 is connected to the communication interface 61 and is used to execute the method provided by one or more technical solutions of the network device side when running the computer program. The computer program is stored in the memory 63.
[0184] It should be noted that the specific processing process of the processor 62 and the communication interface 61 is detailed in the method embodiment and will not be repeated here.
[0185] Of course, in actual application, the various components in the network device 60 are coupled together through the bus system 64. It can be understood that the bus system 64 is used to realize the connection and communication between these components. In addition to the data bus, the bus system 64 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, Figure 6 Various buses are labeled as bus system 64.
[0186] The memory 63 in the embodiment of the present application is used to store various types of data to support the operation of the network device 60. Examples of such data include: any computer program used to operate on the network device 60.
[0187] The method disclosed in the above embodiment of the present application can be applied to the processor 62, or implemented by the processor 62. The processor 62 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit or software instructions in the processor 62. The above-mentioned processor 62 may be a general-purpose processor, a digital data processor (DSP, Digital Signal Processor), or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The processor 62 can implement or execute the methods, steps and logic block diagrams disclosed in the embodiments of the present application. A general-purpose processor may be a microprocessor or any conventional processor, etc. In combination with the steps of the method disclosed in the embodiment of the present application, it can be directly embodied as a hardware decoding processor to execute, or it can be executed by a combination of hardware and software modules in the decoding processor. The software module can be located in a storage medium, which is located in the memory 63, and the processor 62 reads the information in the memory 63 and completes the steps of the above method in combination with its hardware.
[0188] In an exemplary embodiment, the network device 60 can be implemented by one or more application specific integrated circuits (ASIC), DSP, programmable logic device (PLD), complex programmable logic device (CPLD), field programmable gate array (FPGA), general processor, controller, microcontroller (MCU), microprocessor, or other electronic components to execute the aforementioned method.
[0189] It can be understood that the memory (memory 63) of the embodiment of the present application can be a volatile memory or a non-volatile memory, and can also include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a magnetic random access memory (FRAM), a flash memory, a magnetic surface memory, an optical disc, or a compact disc read-only memory (CD-ROM); the magnetic surface memory can be a disk memory or a tape memory. The volatile memory can be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static random access memory (SRAM), synchronous static random access memory (SSRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM, SyncLink Dynamic Random Access Memory), and direct RAMbus random access memory (DRRAM, Direct Rambus Random Access Memory).The memories described in the embodiments of the present application are intended to include, but are not limited to, these and any other suitable types of memories.
[0190] In an exemplary embodiment, the embodiment of the present invention further provides a storage medium, namely a computer storage medium, specifically a computer-readable storage medium, for example, a memory storing a computer program, and the computer program can be executed by the processor 62 of the network device 60 to complete the steps of the aforementioned network device side method. The computer-readable storage medium can be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface storage, optical disk, or CD-ROM.
[0191] It should be noted that: "first", "second", etc. are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.
[0192] In addition, the technical solutions described in the embodiments of the present invention can be arbitrarily combined without conflict.
[0193] The above description is only a preferred embodiment of the present invention and is not intended to limit the protection scope of the present invention.
Claims
1. A method for generating an article, characterized in that: The method comprises: Acquire first data; Input the first data into the first model to obtain second data; the first data represents the title text to be processed, and the second data represents the first summary paragraph; wherein the first model is obtained by training the first prediction model based on the first training sample set; the first training sample set includes the title text to be trained; The first data and the second data are input into the second model to obtain third data; the third data represents the first outline text; the first outline text includes a plurality of first-level titles; wherein the second model is obtained by training the second prediction model based on the second training sample set; the second training sample set includes the title text to be trained, and the second summary paragraph obtained by inputting the title text to be trained into the first model; The first data, the second data and the third data are input into a third model to obtain fourth data; the fourth data represent paragraphs corresponding to each first-level title; wherein the third model is obtained by training a third prediction model based on a third training sample set; the third training sample set includes the title text to be trained, the second summary paragraph, and a second outline text obtained by inputting the title text to be trained and the second summary paragraph into the second model; the second outline text includes a plurality of first-level titles; An article is generated using the first data, the second data, the third data and the fourth data.
2. The method according to claim 1, characterized in that The method further comprises: Inputting the third data and the fourth data into the second model to obtain fifth data; the fifth data represents the secondary titles corresponding to the primary titles in the first outline text; Input the third data, the fourth data and the fifth data into the third model to obtain sixth data; the sixth data represents the paragraphs corresponding to each secondary title; An article is generated by using the first data, the second data, the third data, the fourth data, the fifth data and the sixth data.
3. The method according to claim 1, characterized in that The step of inputting the first data into a first model to obtain second data comprises: The first task identifier, the first data identifier, the first data, and the end identifier are concatenated in a forward and backward order to obtain a first character; the first task identifier represents the text generation task corresponding to the first model; the first data identifier represents that the character data to be input is the first data; the end identifier represents the end of the input data; The first character is input into the first model to obtain the second data.
4. The method according to claim 1, characterized in that The step of inputting the first data and the second data into a second model to obtain third data comprises: The second task identifier, the first data identifier, the first data, the second data identifier, the second data, and the ending identifier are concatenated in a forward and backward order to obtain a second character; the second task identifier represents the text generation task corresponding to the second model; the first data identifier represents that the character data to be input is the first data; the second data identifier represents that the character data to be input is the second data; and the ending identifier represents the end of the input data; The second character is input into the second model to obtain the third data.
5. The method according to claim 1, characterized in that The step of inputting the first data, the second data and the third data into a third model to obtain fourth data comprises: The third task identifier, the first data identifier, the first data, the second data identifier, the second data, the third data identifier, the third data, and the ending identifier are concatenated in a forward and backward order to obtain a third character; the third task identifier represents the text generation task corresponding to the third model; the first data identifier represents that the character data to be input is the first data; the second data identifier represents that the character data to be input is the second data; the third data identifier represents that the character data to be input is the third data; and the ending identifier represents the end of the input data; The third character is input into the third model to obtain the fourth data.
6. The method according to claim 1 or 3, characterized in that: The method further comprises: Acquire the first training sample set; Based on the first training sample set, the first prediction model is trained to obtain the first model.
7. The method according to claim 1 or 4, characterized in that: The method further comprises: Acquire the second training sample set; Based on the second training sample set, the second prediction model is trained to obtain the second model.
8. The method according to claim 1 or 5, characterized in that: The method further comprises: Acquire the third training sample set; Based on the third training sample set, the third prediction model is trained to obtain the third model.
9. An article generating device, characterized in that: include: An acquiring unit, configured to acquire first data; A processing unit, configured to input the first data into a first model to obtain second data; The first data represents the title text to be processed, and the second data represents the first summary paragraph; wherein the first model is obtained by training the first prediction model based on the first training sample set; the first training sample set includes the title text to be trained; the first data and the second data are input into the second model to obtain the third data; the third data represents the first outline text; the first outline text includes a plurality of first-level headings; wherein the second model is obtained by training the second prediction model based on the second training sample set; the second training sample set includes the title text to be trained, and the second summary paragraph obtained by inputting the title text to be trained into the first model; the first data, the second data and the third data are input into the third model to obtain the fourth data; the fourth data represents the paragraphs corresponding to each first-level heading; wherein the third model is obtained by training the third prediction model based on the third training sample set; the third training sample set includes the title text to be trained, the second summary paragraph, and the second outline text obtained by inputting the title text to be trained and the second summary paragraph into the second model; the second outline text includes a plurality of first-level headings; an article is generated through the first data, the second data, the third data and the fourth data.
10. A network device, characterized in that: include: A communication interface, used to obtain first data; A processor is used to input the first data into a first model to obtain second data; the first data represents the title text to be processed, and the second data represents the first summary paragraph; wherein the first model is obtained by training a first prediction model based on a first training sample set; the first training sample set includes the title text to be trained; the first data and the second data are input into a second model to obtain third data; the third data represents the first outline text; the first outline text includes a plurality of first-level headings; wherein the second model is obtained by training a second prediction model based on a second training sample set; the second training sample set includes the title text to be trained, and the first-level headings to be trained are obtained by training the second prediction model based on the second training sample set; the second training sample set includes the title text to be trained, and the first-level headings to be trained are obtained by training the second prediction model based on the second training sample set The title text is input into the first model to obtain a second summary paragraph; the first data, the second data and the third data are input into the third model to obtain fourth data; the fourth data represents the paragraphs corresponding to each first-level title; wherein the third model is obtained by training the third prediction model based on the third training sample set; the third training sample set includes the title text to be trained, the second summary paragraph, and the second outline text obtained by inputting the title text to be trained and the second summary paragraph into the second model; the second outline text includes multiple first-level titles; an article is generated through the first data, the second data, the third data and the fourth data.
11. A network device, characterized in that: comprising a processor and a memory for storing a computer program capable of being executed on the processor, Wherein, when the processor is used to run the computer program, it executes the steps of the method described in any one of claims 1 to 8.
12. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 8 are implemented.
Citation Information
Patent Citations
Story generation method and device based on hidden variable model
CN110287999A
Story generation model training method and device, equipment and storage medium
CN111414737A
Writing method and device and storage medium
CN113792543A
Text generation method and device
CN115687565A
Method and apparatus for generating judgment document abstract, and electronic device and readable storage medium
WO2022078308A1
Cited By
Document generation method and device, electronic equipment and medium
CN119494326A
Document generation method, device, electronic device and medium
CN119494326B
Target text processing method and device, equipment and medium
CN119719360A
