Dataset construction method for strategic operation analysis events based on large model

By constructing a strategic operations analysis event data set based on a large model, using pre-built ontology models and fine-tuning technology of large language models, the problems of high labor costs and low efficiency in traditional methods are solved, and fast and accurate data are achieved. Set build.

CN118760894APending Publication Date: 2024-10-11INST OF WAR STUDIES ACAD OF MILITARY SCI OF THE CHINESE PEOPLES LIBERATION ARMY
View PDF 0 Cites 4 Cited by

Patent Information

Application Number
CN202410728907.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-06
Publication Date
2024-10-11

AI Technical Summary

Technical Problem

Currently, building high-quality strategic operations analysis event data sets requires a lot of labor costs, and traditional methods rely on annotators with extensive domain knowledge, which is inefficient.

Method used

Using a method based on large models, preprocessing is done by obtaining text data from Internet news, using pre-built ontology models for strategic operations analysis events to generate fine-tuned data sets, and fine-tuning large language models to achieve accurate text data Labeling to reduce the amount of manual labeling.

Benefits of technology

Without a lot of labor costs, high-quality data sets for strategic operations analysis events can be quickly constructed, which improves the efficiency and accuracy of data annotation and reduces the need for manual annotation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118760894A_ABST
    Figure CN118760894A_ABST
Patent Text Reader

Abstract

A big model-based strategic operation analysis-oriented event data set construction method comprises the following steps: acquiring a plurality of original webpages, capturing text data related to the field of strategic operation analysis in the plurality of original webpages, and performing data preprocessing on the captured text data to obtain preprocessed text data; for part of text data in the preprocessed text data, generating a fine tuning data set of a large language model by using a pre-constructed strategic operation analysis event-oriented ontology model; performing fine tuning on the large language model by utilizing the fine tuning data set to obtain a target large language model; calling the target large language model to carry out text labeling on the text data except the partial text data in the preprocessed text data to obtain a data set output by the large language model; and according to the data set output by the large language model and the fine tuning data set, constructing a strategic operation analysis-oriented event data set. By adopting the method, the strategic operation analysis-oriented event data set can be quickly constructed under the condition of not needing more labor cost.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a method for constructing a strategic operations analysis event data set based on a large model. Background Art

[0002] Strategic operations analysis refers to a scientific method of combining qualitative and quantitative research on strategic issues based on scientific quantification from a system perspective with the help of relevant methods and technical means in modern scientific and technological fields such as operations research, control science and computer technology.

[0003] At present, the political, economic and other event data contained in Internet news have formed a natural "information gold mine". Extracting the massive unstructured data in the "gold mine" into high-quality structured data is a beneficial supplement to small data such as internal intelligence and confidential information. It can support strategic operations analysis activities and build a strategic game simulation model with events as the core, thereby better assisting strategic research and strategic decision-making. Information extraction from Internet news has the characteristics of a wide detection range, large data volume, and much redundant information. The current research on information extraction from Internet news is mainly focused on improving the accuracy of the extraction model and improving the extraction efficiency. In terms of the event data set construction method, the traditional method of building a high-quality event data set usually requires the annotation personnel to have a relatively broad field knowledge, which requires a lot of manpower costs. Summary of the invention

[0004] Based on this, it is necessary to provide a method for constructing a strategic operations analysis event dataset based on a large model to address the above technical issues.

[0005] A method for constructing a strategic operations analysis event data set based on a large model, the method comprising:

[0006] Acquire a number of original web pages, crawl text data related to the field of strategic operations analysis from the original web pages, and perform data preprocessing on the crawled text data to obtain preprocessed text data;

[0007] For part of the text data in the preprocessed text data, a fine-tuning data set of a large language model is generated by using a pre-built ontology model for strategic operations analysis events; wherein the ontology model for strategic operations analysis events includes event attribute information for strategic operations analysis events; the feature of each training data in the fine-tuning data set is text data, and the label is event attribute information related to the strategic operations analysis event;

[0008] Using the fine-tuning dataset to fine-tune the large language model, a target large language model capable of annotating event texts for strategic operations analysis is obtained;

[0009] Calling the obtained target large language model to perform text annotation on the text data other than the part of the text data in the preprocessed text data to obtain a data set output by the large language model;

[0010] A strategic operations analysis event dataset is constructed based on the dataset output by the large language model and the fine-tuning dataset.

[0011] A device for constructing a strategic operations analysis event data set based on a large model, the device comprising:

[0012] A text acquisition module is used to acquire a number of original web pages, capture text data related to the field of strategic operations analysis in the original web pages, and perform data preprocessing on the captured text data to obtain preprocessed text data;

[0013] A fine-tuning data generation module is used to generate a fine-tuning data set of a large language model for part of the text data in the pre-processed text data by using a pre-built ontology model for strategic operations analysis events; wherein the ontology model for strategic operations analysis events includes event attribute information for strategic operations analysis events; each piece of training data in the fine-tuning data set is characterized by text data, and the label is event attribute information related to the strategic operations analysis event;

[0014] A large model fine-tuning module, used to fine-tune the large language model using the fine-tuning data set to obtain a target large language model that can be used for strategic operations analysis event text annotation;

[0015] A large model annotation module, used for calling the obtained target large language model to perform text annotation on the text data other than the part of the text data in the preprocessed text data, so as to obtain a data set output by the large language model;

[0016] The data set generation module is used to construct a strategic operations analysis event data set based on the data set output by the large language model and the fine-tuning data set.

[0017] A computer device includes a memory and a processor, wherein the memory stores a computer program, and is characterized in that when the processor executes the computer program, the steps of the method for constructing a strategic operations analysis event data set based on a large model are implemented.

[0018] 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 for constructing a strategic operations analysis event data set based on a large model are implemented.

[0019] By adopting the above-mentioned method for constructing a strategic operations analysis event dataset based on a large model, after obtaining text data, it is only necessary to manually annotate a small amount of text data according to the pre-constructed ontology model for strategic operations analysis events, generate a fine-tuning dataset using the small amount of manually annotated data, and fine-tune the large language model using the fine-tuning dataset. The fine-tuned large language model can then more accurately annotate text data for strategic operations analysis events. Thus, without requiring a large amount of labor costs, a dataset for strategic operations analysis events can be quickly obtained. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] Figure 1 A schematic diagram of a process of constructing a strategic operations analysis event data set based on a large model in one embodiment;

[0021] Figure 2 is a schematic diagram of an ontology model for strategic operations analysis events in one embodiment;

[0022] Figure 3 A flowchart of another method for constructing a strategic operations analysis event data set based on a large model in one embodiment;

[0023] Figure 4 A schematic diagram of the structure of a device for constructing a strategic operations analysis event data set based on a large model in one embodiment;

[0024] Figure 5 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0025] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0026] like Figure 1 As shown, in order to solve the technical problems mentioned above, this application proposes a method for constructing a strategic operations analysis event data set based on a large model, the method comprising:

[0027] S101, obtaining a number of original web pages, crawling text data related to the field of strategic operations analysis in the number of web pages, and performing data preprocessing on the crawled text data to obtain preprocessed text data;

[0028] In this step, the original web pages that meet the requirements can be screened, and the text data related to the field of strategic operations analysis in the web pages can be captured using crawler technology, and data preprocessing can be performed, wherein the preprocessing can be data screening, content deduplication and / or formatting. Data screening refers to removing text data that is obviously irrelevant to the field of strategic operations analysis in the entire web page, and only retaining text data related to the field of strategic operations analysis; memory deduplication means that the information in multiple web pages may be similar or identical, so it is necessary to deduplicate similar or identical text data, for example, for multiple text data with a similarity greater than a preset threshold, only one text data is retained; formatting refers to converting all acquired text data into text in a preset format for subsequent processing.

[0029] S102, for part of the text data in the preprocessed text data, using a pre-built ontology model for strategic operations analysis events, generating a fine-tuning data set for the large language model; wherein the ontology model for strategic operations analysis events includes event attribute information for strategic operations analysis events; the feature of each training data in the fine-tuning data set is text data, and the label is event attribute information related to the strategic operations analysis event;

[0030] In this step, a part of the text data in the preprocessed text data may be obtained according to a preset ratio, and for each piece of text data in the part of the text data, manually annotated event attribute information is obtained as a label of the text information, and the part of the text data and the manually annotated event attribute information are summarized as a fine-tuning data set for the large language model. For example, 10% of the preprocessed text data is obtained, and the 10% of the text data is manually annotated by humans, wherein the manual annotation includes event attribute information related to each strategic operations analysis event included in the text data.

[0031] The pre-built ontology model for strategic operations analysis events can be used as Figure 2 As shown in Table 1, it includes event attribute information for strategic operations analysis events. Figure 2In the pre-built ontology model for strategic operations analysis events, the events are defined in detail, including event attributes, which include event type, event elements, and event relations. Among them, event type is used to describe the category to which the strategic operations analysis event belongs; event elements are used to describe the detailed information of the strategic operations analysis event, including trigger words (Trigger), participating roles also called arguments (Role), time (Time) and place (Place); among them, participating roles are also divided into subjects (Subject) and objects (Object). Event relations are used to describe the relationship between various strategic operations analysis events. In strategic operations analysis events, event relations specifically include temporal relations (NextEvent), causal relations (Causality), inclusion relations (Inclusionary) and co-reference relations (Co-reference). For details, please refer to Table 1.

[0032]

[0033] Table 1 Definition of event attributes for strategic operations analysis

[0034] In the ontology model for strategic operations analysis events, event types can include N major categories for strategic operations analysis events and M subcategories under the N major categories. For example, as shown in Table 2, they can be divided into 6 major categories and several subcategories. Event elements are divided one by one according to the characteristics of event types. Event relationships consider the focus of strategic operations analysis and only mark the temporal relationship and causal relationship.

[0035]

[0036]

[0037] Table 2 Event types and event elements for strategic operations analysis

[0038] When using the pre-built ontology model for strategic operations analysis events to generate a fine-tuning dataset for a large language model, specifically, for each piece of text data in the acquired partial text data, obtain the manually annotated information for each piece of text data as a label, wherein the label includes event attribute information related to the strategic operations analysis event, such as the event type, event elements, and event relationships mentioned above, and then use the text data as a feature and the event attribute information as a label to generate a piece of data in the fine-tuning dataset. In the case where any text data in the fine-tuning dataset does not match any event type in the pre-built ontology model for strategic operations analysis events, the manually annotated label of the text data is a non-event type. The fine-tuning data labeled as a non-event type can be eliminated, or the fine-tuning data labeled as a non-event type can be stored as a negative sample, and the negative sample is subsequently used to fine-tune the large language model to improve the large language model's recognition ability for negative samples.

[0039] S103, fine-tuning the large language model using the fine-tuning dataset to obtain a target large language model that can be used for strategic operations analysis event text annotation;

[0040] In this step, specifically, a pre-formulated fine-tuning template may be filled in according to the fine-tuning data set, and the fine-tuning template includes three rounds of questions and answers; wherein each round of questions and answers includes a corresponding prompt word template and an answer template, wherein the first round of questions and answers is used to identify the events included in the text data and the event type of each event, and the second round of questions and answers is used to determine the event elements of each event according to each event type identified by the first round of questions and answers; the third round of questions and answers is used to identify the event relationship between the events according to each event type identified by the first round of questions and answers and the event elements identified by the second round of questions and answers; the filled-in fine-tuning template is input into the large language model fine-tuning interface to fine-tune the large language model to obtain the target large language model.

[0041] The fine-tuning data may include only positive samples (fine-tuning data whose labels are event attribute information corresponding to strategic operations analysis events), or it may include both positive samples and negative samples (fine-tuning data whose labels are non-event types) to enhance the large language model's ability to recognize negative samples.

[0042] Using multiple rounds of question-and-answer methods to identify event types, event elements, and event relationships can make the information obtained more accurate and without omissions. In addition, identifying the event type in the first round can filter out redundant information and reduce the search space and computational complexity.

[0043] S104, calling the obtained target large language model to perform text annotation on the text data other than the part of the text data in the preprocessed text data, to obtain a data set output by the large language model;

[0044] This step can specifically be to fill in each text data except for part of the text data according to the prompt word template of each round of question and answer, and input the filled-in prompt word template into the target large language model to obtain the labeled data output by the target large language model for each text data except for the part of the text data according to the answer template, and use all the labeled data output by the target large language model and all the corresponding text data as the data set output by the large language model.

[0045] After fine-tuning the large language model, a target large language model can be obtained. The target large language model can more accurately annotate text data for strategic operations analysis events. Therefore, in this step, the obtained target large language model can be called to annotate text data other than some text data in the preprocessed text data. For example, if 10% of the preprocessed text data was previously used to generate fine-tuning data, then in this step, the target large language model is used to annotate the remaining 90% of the text data to obtain the data set output by the large language model.

[0046] S105, constructing a strategic operations analysis event dataset according to the dataset output by the large language model and the fine-tuning dataset.

[0047] This step can be to directly aggregate the dataset output by the large language model and the fine-tuned dataset to obtain the event dataset for strategic operations analysis. In addition, in order to further ensure the accuracy and availability of the event dataset for strategic operations analysis, it is also possible to aggregate the dataset output by the large language model and the fine-tuned dataset to obtain the target dataset, and obtain the dataset after reviewing and screening the target dataset as the event dataset for strategic operations analysis, that is, the target dataset is further reviewed by humans or machines, and the data with obvious marking errors is deleted or modified, and the deleted or modified target dataset is used as the event dataset for strategic operations analysis. The above process can be as follows Figure 3 shown.

[0048] By adopting the above method, the method for constructing a strategic operations analysis event dataset based on a large model, after obtaining text data, only a small amount of text data needs to be manually annotated according to the pre-constructed ontology model for strategic operations analysis events, and a fine-tuning dataset is generated using the small amount of manually annotated data. The large language model is fine-tuned using the fine-tuning dataset, and the fine-tuned large language model can more accurately annotate the text data for strategic operations analysis events. In addition, a strategic operations analysis event dataset can be quickly obtained without requiring a large amount of labor costs.

[0049] In order to explain the above S101-104 more clearly, a specific example is provided below for illustration.

[0050] First, 918 news documents were crawled from the web, and 887 original texts were obtained after data cleaning. According to the ontology model for strategic operations analysis events, the doccano tool was used to manually annotate the event attributes of the data, with a small amount of annotations of about 90 items. The ontology model can be referred to above.

[0051] According to the pre-defined fine-tuning template, the text data annotation is converted into multiple rounds of question and answer. The first round of question and answer annotates the existing event types in the sentence; the second round of question and answer annotates the trigger words and arguments corresponding to the event types based on the annotations of the first round. The third round of question and answer further annotates the event relationship based on the annotations of the first two rounds. The manually annotated data set is filled into the prompt word template (prompt) and the answer template (Completion), respectively, and input into the large language model to start fine-tuning. The large language model is fine-tuned using the gpt-3.5turbo interface provided by OpenAI. The fine-tuning template is shown in Table 3.

[0052]

[0053]

[0054] Table 3 Fine-tuning template of large language model

[0055] After fine-tuning the large language model using the fine-tuning template and fine-tuning data, a target large language model is obtained, that is, the target large language model can be used to annotate the text.

[0056] In addition, combined with the above-mentioned actual application scenarios, after comparative experiments by the inventors, the method proposed in this application is used to construct a data set for strategic operations analysis events, which can effectively avoid the phenomenon of incomplete labeling or even missing event elements.

[0057] The experiment uses a large model without fine-tuning using multi-round answering (zero-shot+multi-stage) and a large language model after fine-tuning using single-round question answering (p-tuning+one-stage) as the control group. The experimental results are shown in Table 4.

[0058]

[0059] Table 4 Experimental results of different large language model annotation data methods

[0060] In Table 4, before manual review, only event 3, event relationship 2, event relationship 4, and negative sample 3 were not marked in the method proposed by the present invention. Compared with the method of the present invention, the other two groups of experiments showed incomplete data annotation or even missing event elements. The data features between texts effectively captured by the fine-tuned large language model, and multiple rounds of questions and answers can step by step guide the large language model to mark the events and event relationships in the text, which proves the effectiveness of the method of the present invention, can effectively reduce labor costs, and assist humans in data annotation.

[0061] like Figure 4 As shown, corresponding to the above-mentioned method for constructing a strategic operations analysis event dataset based on a large model, in one embodiment, as shown in the figure, a device for constructing a strategic operations analysis event dataset based on a large model is provided, including:

[0062] The text acquisition module 410 is used to acquire a number of original web pages, capture text data related to the field of strategic operations analysis in the number of web pages, and perform data preprocessing on the captured text data to obtain preprocessed text data;

[0063] A fine-tuning data generation module 420 is used to generate a fine-tuning data set of a large language model for part of the text data in the pre-processed text data by using a pre-built ontology model for strategic operations analysis events; wherein the ontology model for strategic operations analysis events includes event attribute information for strategic operations analysis events; the feature of each training data in the fine-tuning data set is text data, and the label is event attribute information related to the strategic operations analysis event;

[0064] A large model fine-tuning module 430 is used to fine-tune the large language model using the fine-tuning data set to obtain a target large language model that can be used for strategic operations analysis event text annotation;

[0065] A large model annotation module 440 is used to call the obtained target large language model to perform text annotation on the text data other than the part of the text data in the preprocessed text data to obtain a data set output by the large language model;

[0066] The data set generation module 450 is used to construct a strategic operations analysis event data set based on the data set output by the large language model and the fine-tuning data set.

[0067] In one embodiment, the preprocessing includes: data screening, content deduplication and / or formatting.

[0068] In one embodiment, the pre-built ontology model for strategic operations analysis events includes event attribute information such as event type, event elements, and event relationships; wherein the event type is used to describe the category to which the strategic operations analysis event belongs; the event elements are used to describe the detailed information of the strategic operations analysis event, including trigger words, participating roles, time, and location; and the event relationships are used to describe the relationship between various strategic operations analysis events.

[0069] In one embodiment, the event types include N major categories of strategic operations analysis events and M subcategories under the N major categories.

[0070] In one embodiment, the fine-tuning data generation module 420 is specifically used to obtain part of the text data in the preprocessed text data according to a preset ratio, and for each text data in the part of the text data, obtain manually annotated event attribute information as a label for the text information; and summarize the part of the text data and the manually annotated event attribute information as a fine-tuning data set for the large language model.

[0071] In one embodiment, the large model fine-tuning module 430 is used to fill in a pre-established fine-tuning template according to the fine-tuning data set, and the fine-tuning template includes three rounds of questions and answers; wherein each round of questions and answers includes a corresponding prompt word template and an answer template, wherein the first round of questions and answers is used to identify events included in the text data and the event type of each event, and the second round of questions and answers is used to determine the event elements of each event according to each event type identified by the first round of questions and answers; the third round of questions and answers is used to identify the event relationship between each event according to each event type identified by the first round of questions and answers and the event elements identified by the second round of questions and answers; the filled-in fine-tuning template is input into the large language model fine-tuning interface to fine-tune the large language model to obtain the target large language model.

[0072] In one embodiment, when any text data in the fine-tuning data set does not match any event type in the pre-built ontology model for strategic operations analysis events, the manually annotated label of the text data is a non-event type; the large model fine-tuning module 430 is used to fine-tune the large language model using the fine-tuning data labeled as a non-event type as a negative sample to improve the large language model's recognition ability for negative samples.

[0073] In one embodiment, the large model annotation module 440 is used to fill in each text data other than the partial text data according to the prompt word template of each round of question and answer, and input the completed prompt word template into the target large language model to obtain the annotation data output by the target large language model for each text data other than the partial text data according to the answer template; all the annotation data output by the target large language model and all the corresponding text data are used as the data set output by the large language model.

[0074] In one embodiment, the data set generation module 450 is used to aggregate the data set output by the large language model and the fine-tuning data set to obtain a target data set; and obtain a data set after reviewing and screening the target data set as a data set for strategic operations analysis events.

[0075] Regarding the specific limitations of the device for constructing a strategic operations analysis event data set based on a big model, please refer to the limitations of the method for constructing a strategic operations analysis event data set based on a big model above, which will not be repeated here. Each module in the above-mentioned device for constructing a strategic operations analysis event data set based on a big model can be fully or partially implemented by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

[0076] In one embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as follows: Figure 5 As shown. The computer device includes a processor, a memory, a network interface, a display screen and an input device connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a method for constructing a strategic operations analysis event data set based on a large model is implemented. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covered on the display screen, or a key, trackball or touchpad set on the computer device shell, or an external keyboard, touchpad or mouse, etc.

[0077] Those skilled in the art will understand that Figure 5The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0078] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the steps of the method for constructing a strategic operations analysis event data set based on a large model as described in any of the above embodiments are implemented.

[0079] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps of the method for constructing a strategic operations analysis event data set based on a large model described in any of the above embodiments are implemented.

[0080] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0081] The technical features of the above embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0082] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.

Claims

1. A method for constructing a strategic operations analysis event data set based on a large model, characterized in that: The method comprises: Acquire a number of original web pages, crawl text data related to the field of strategic operations analysis from the original web pages, and perform data preprocessing on the crawled text data to obtain preprocessed text data; For part of the text data in the preprocessed text data, a fine-tuning data set of a large language model is generated by using a pre-built ontology model for strategic operations analysis events; wherein the ontology model for strategic operations analysis events includes event attribute information for strategic operations analysis events; the feature of each training data in the fine-tuning data set is text data, and the label is event attribute information related to the strategic operations analysis event; Using the fine-tuning dataset to fine-tune the large language model, a target large language model capable of annotating event texts for strategic operations analysis is obtained; Calling the obtained target large language model to perform text annotation on the text data other than the part of the text data in the preprocessed text data to obtain a data set output by the large language model; A strategic operations analysis event dataset is constructed based on the dataset output by the large language model and the fine-tuning dataset.

2. The method according to claim 1, characterized in that The preprocessing comprises: Data filtering, content deduplication and / or formatting.

3. The method according to claim 1, characterized in that The pre-built ontology model for strategic operations analysis events includes event attribute information such as event type, event elements and event relationships; wherein the event type is used to describe the category to which the strategic operations analysis event belongs; the event elements are used to describe the detailed information of the strategic operations analysis event, including trigger words, participating roles, time and place; and the event relationships are used to describe the relationship between various strategic operations analysis events.

4. The method according to claim 3, characterized in that The event types include N major categories of strategic operations analysis events and M subcategories under the N major categories.

5. The method according to claim 3, characterized in that: The method of generating a fine-tuning data set of a large language model by using a pre-built ontology model for strategic operations analysis events for part of the text data in the pre-processed text data includes: Acquire part of the text data in the preprocessed text data according to a preset ratio, and for each piece of text data in the part of the text data, acquire manually annotated event attribute information as a label for the piece of text information; The partial text data and manually annotated event attribute information are aggregated as a fine-tuning dataset for the large language model.

6. The method according to claim 5, characterized in that The method of fine-tuning the large language model using the fine-tuning dataset to obtain a target large language model capable of performing event text annotation for strategic operations analysis includes: Filling in a pre-formulated fine-tuning template according to the fine-tuning data set, wherein the fine-tuning template includes three rounds of questions and answers; wherein each round of questions and answers includes a corresponding prompt word template and an answer template, wherein the first round of questions and answers is used to identify events included in the text data and the event type of each event, and the second round of questions and answers is used to determine the event elements of each event according to each event type identified by the first round of questions and answers; and the third round of questions and answers is used to identify the event relationship between the events according to each event type identified by the first round of questions and answers and the event elements identified by the second round of questions and answers; The completed fine-tuning template is input into the large language model fine-tuning interface to fine-tune the large language model to obtain the target large language model.

7. The method according to claim 6, characterized in that In the case where any text data in the fine-tuning data set does not match any event type in the pre-built ontology model for strategic operations analysis events, the manually annotated label of the text data is a non-event type; The method of fine-tuning the large language model using the fine-tuning dataset to obtain a target large language model capable of performing event text annotation for strategic operations analysis includes: The fine-tuning data labeled as non-event type is used as negative samples to fine-tune the large language model, so as to improve the recognition ability of the large language model for negative samples.

8. The method according to claim 6, characterized in that The target large language model obtained by calling performs text annotation on the text data other than the partial text data in the preprocessed text data to obtain a data set output by the large language model, including: Filling each piece of text data other than the part of the text data according to the prompt word template of each round of question and answer, and inputting the filled prompt word template into the target large language model to obtain the labeled data output by the target large language model according to the answer template for each piece of text data other than the part of the text data; All the labeled data output by the target large language model and all the corresponding text data are used as the data set output by the large language model.

9. The method according to claim 8, characterized in that The step of constructing a strategic operations analysis event dataset based on the dataset output by the large language model and the fine-tuning dataset includes: Aggregating the data set output by the large language model and the fine-tuning data set to obtain a target data set; A data set obtained after reviewing and screening the target data set is obtained as a data set for strategic operations analysis events.

10. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 9 are implemented.

Citation Information

Cited By

  • Large model training method, model, system and equipment based on scoring mechanism

    CN119357675A

  • Geological text generation method, system and device based on large language model

    CN119443270A

  • Data analysis method and device and related product

    CN119887300A

  • Large model data processing method and device, medium and computer program product

    CN121145044A