Automatic operation environment switching system based on large model

By using a large model library and feature extraction module in the computing environment automatic switching system, CPU and GPU resource scheduling is optimized, which solves the problem of resource waste in the computing environment switching process in the existing technology, and achieves more efficient resource utilization and accurate Data processing.

CN118535335AActive Publication Date: 2024-08-23北京科杰科技有限公司
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202410668644.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-28
Publication Date
2024-08-23
Estimated Expiration
2044-05-28

AI Technical Summary

Technical Problem

The existing technology lacks accuracy in controlling the data processing process during the execution of computing environment switching, resulting in a waste of CPU and GPU resources.

Method used

A computing environment automatic switching system based on large models is adopted, including a model library, data acquisition module, feature extraction module, feature matching module, model prediction module and model adjustment module. By extracting and matching feature data, the model required for the task is predicted. , and optimize the data processing process based on the number of adjustments and the cumulative number of gradients to achieve precise adjustment of CPU and GPU resources.

Benefits of technology

It improves the accuracy of the data processing process, avoids waste of resources, makes full use of limited resources in different task time intervals, and improves system performance and model generalization capabilities.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118535335A
    Figure CN118535335A
Patent Text Reader

Abstract

The invention relates to the technical field of computing resource task scheduling, in particular to an automatic computing environment switching system based on a large model, which comprises a model library; a data acquisition module; the feature extraction module is used for extracting feature data in the request data; the feature matching module is used for matching the feature data extracted by the feature extraction module with historical feature data of historical tasks, performing fuzzy grading on to-be-processed tasks and matching corresponding industry fields; the model prediction module is used for predicting a model required by the to-be-processed task according to a matching result of the feature matching module; the model adjusting module is used for adjusting the model and determining the evaluation accuracy of the adjusted model; and the result output module is used for outputting a switching result of the operation environment. According to the invention, the problem of CPU and GPU resource waste caused by insufficient control accuracy in the data processing process in the prior art is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of computing resource task scheduling, and in particular to an automatic switching system for computing environments based on a large model. Background Art

[0002] Companies will use GPUs for large-scale simple computing tasks, and CPUs for complex logic. However, GPUs have many processing units and require large cache spaces, and high-performance GPUs are several times more expensive than high-performance CPUs currently on the market.

[0003] An automatic switching system for computing environments based on large models can automatically switch CPU and GPU operations according to task computing requirements, make good use of CPU resources and solve the waste of GPU resources, and meet the company's different tasks in the same time period to fully utilize limited resources to complete tasks.

[0004] Chinese Patent Publication No.: CN117170878A discloses a method for dynamically adjusting CPU and GPU caches. The method includes real-time monitoring of CPU operation data and GPU operation data. When a task is completed, graph data is constructed according to input, output and operation information; the graph data is cached according to the start node in the graph data to obtain a cache table indexed by the start node, and the cache table is numerically calibrated according to the amount of data in the cache table; the data in all cache tables are classified based on the labels, the occupancy value of each graph data is calculated, and the CPU priority and GPU priority are adjusted according to the occupancy value; the invention converts the data processed by the CPU and GPU and the processing process thereof into graph data, and the resource consumption of the processing process is calculated by the graph data, and then the CPU priority and GPU priority are dynamically adjusted according to the calculated results, thereby optimizing the coordination process.

[0005] It can be seen that in the prior art, when switching computing environments, the accuracy of data processing control is insufficient, which leads to a waste of CPU and GPU resources. Summary of the invention

[0006] To this end, the present invention provides an automatic switching system for computing environments based on a large model, so as to overcome the problem in the prior art that the process control accuracy of data processing is insufficient during the switching of computing environments, thereby leading to waste of CPU and GPU resources.

[0007] To achieve the above object, the present invention provides a large model-based computing environment automatic switching system, comprising:

[0008] Model library, which is used to store models required for task processing;

[0009] A data acquisition module, which is used to acquire gateway request data of a user terminal;

[0010] A feature extraction module, connected to the data acquisition module, for extracting feature data from the request data, and determining the extraction of the feature data according to the importance of the feature data, and determining the extraction granularity for the feature data;

[0011] A feature matching module, which is connected to the model library and the feature extraction module respectively, and is used to match the feature data extracted by the feature extraction module with the historical feature data of the historical tasks, determine the resource consumption of the historical tasks with the highest similarity, perform fuzzy grading on the tasks to be processed, and determine the industry field of the tasks to be processed corresponding to the request data according to the feature matching;

[0012] A model prediction module, which is connected to the model library and the feature matching module respectively, and is used to predict the model required for the task to be processed according to the matching result of the feature matching module;

[0013] A model adjustment module, which is connected to the model prediction module, is used to adjust the model and determine the evaluation accuracy of the adjusted model, so as to determine the prediction breakpoint according to the number of adjustments; and at the same time, the cumulative number of gradients before the model adjustment is counted to determine the correction of the extraction process of the feature extraction module;

[0014] Or, determining optimization of the adjustment process and the extraction process of the feature extraction module according to the number of adjustments;

[0015] The result output module is connected to the model prediction module and is used to output the switching result of the computing environment.

[0016] Furthermore, the feature extraction module determines the extraction of the data features according to the importance of the feature data, including determining the extraction of the feature data according to the semantic coherence under the condition that the importance evaluation value is less than or equal to a preset importance evaluation value.

[0017] Furthermore, the feature extraction module determines the extraction of the feature data according to the semantic coherence degree, including determining an extraction ratio according to a comparison result between the semantic coherence degree and a preset semantic coherence degree.

[0018] Furthermore, the semantic coherence is calculated according to the following formula, setting:

[0019]

[0020] Among them, Q represents the degree of semantic coherence, (i, j) represents the node, that is, the keyword vector in the text, and W ijrepresents a weight coefficient, which is determined according to the frequency of co-occurrence of node keywords in the text. S(i,j) represents semantic similarity, which is calculated by using a word embedding model to calculate the vector representation of two words and the cosine similarity between these vectors.

[0021] Furthermore, the feature extraction module determines the extraction of the data features according to the importance of the feature data, including determining the extraction of the feature data according to the difference between the importance evaluation value and the preset importance evaluation value under the condition that the importance evaluation value is greater than the preset importance evaluation value.

[0022] Furthermore, the feature extraction module determines the extraction of the feature data according to the difference between the importance evaluation value and the preset importance evaluation value, including determining the extraction granularity according to the comparison result of the difference between the importance evaluation value and the preset importance evaluation value and the relative difference of the preset importance evaluation value.

[0023] Furthermore, the importance evaluation value is calculated according to the following formula, setting:

[0024]

[0025] Among them, P represents the importance evaluation value, n represents the total number of factors affecting the characteristic data, S i represents the score value of the i-th factor, which is determined by analyzing the historical feature data of the historical tasks. i represents the weight coefficient of the ith factor, and the weight coefficient is determined according to the influence degree of each factor.

[0026] Furthermore, the model adjustment module determines the prediction breakpoint according to the number of adjustments under the condition that the number of adjustments is less than or equal to a preset number of adjustments.

[0027] Furthermore, the model adjustment module corrects the extraction process of the feature extraction module according to the gradient accumulation number, including determining to correct the extraction ratio or the extraction granularity according to a correction coefficient under the condition that the gradient accumulation number is greater than a preset gradient accumulation number.

[0028] Furthermore, the correction coefficient is ΔN represents the difference between the gradient accumulation quantity and the preset gradient accumulation quantity.

[0029] Furthermore, under the condition that the number of adjustments is greater than the preset number of adjustments, the model adjustment module determines the optimization of the adjustment process or the extraction process of the feature extraction module based on the comparison result of the difference between the adjustment number and the preset number of adjustments and the relative difference of the preset number of adjustments.

[0030] Furthermore, under the condition that the difference between the adjustment times and the preset adjustment times is less than or equal to the preset relative difference of the adjustment times, the model adjustment module performs replacement processing on the historical data.

[0031] Furthermore, under the condition that the difference between the adjustment times and the preset adjustment times is greater than the preset adjustment times relative difference, the model adjustment module adjusts the preset importance evaluation value according to the adjustment coefficient.

[0032] Furthermore, the adjustment evaluation accuracy is calculated according to the following formula, setting:

[0033]

[0034] Among them, A represents the adjusted evaluation accuracy, T represents the amount of pre-training data, and T max represents the maximum amount of pre-training data, and F represents the data quality.

[0035] Furthermore, the adjustment coefficient is ΔC represents the difference between the adjustment times and the preset adjustment times.

[0036] Compared with the prior art, the beneficial effect of the present invention is that, by setting the feature extraction module, the present invention adopts different extraction methods for features according to different importance evaluation values, which can ensure that the data feature extraction result is more accurate, and at the same time, it lays a good foundation for the fuzzy grading of the feature matching module. Adopting different extraction granularities can make the data feature extraction process more flexible and adaptable, and help improve the performance of the system and the generalization ability of the model.

[0037] Furthermore, the feature extraction module determines the extraction ratio of the feature data according to the degree of semantic coherence under the condition that the importance evaluation value is less than or equal to a preset importance evaluation value. Correspondingly, the higher the degree of semantic coherence, the smaller the proportion of feature data extracted from the text. Selecting different extraction ratios in different situations can improve the accuracy of feature data extraction.

[0038] Furthermore, the feature extraction module determines the extraction granularity of the feature data based on the difference between the importance evaluation value and the preset importance evaluation value under the condition that the importance evaluation value is less than or equal to the preset importance evaluation value. When the importance evaluation value is high, the extraction accuracy of important feature data can be improved, laying a good foundation for subsequent feature matching.

[0039] Furthermore, by setting the feature matching module, the present invention can perform fuzzy grading and prediction modeling on the tasks to be processed according to the resource consumption of historical tasks, thereby improving the working efficiency of the system and determining the selection of CPU and GPU more quickly.

[0040] Furthermore, the present invention can improve the accuracy of data processing process control by setting a model adjustment module and determining the adjustment evaluation accuracy, determining the prediction breakpoint according to the number of adjustments, or determining the optimization of the adjustment process and the extraction process of the feature extraction module.

[0041] Furthermore, the model adjustment module determines different optimization methods for the adjustment process or the extraction process of the feature extraction module according to the difference between the adjustment times and the preset adjustment times, which can improve the adjustment evaluation accuracy and improve the generalization ability and application scenarios of the model.

[0042] Furthermore, when optimizing the extraction process of the feature extraction module, the model adjustment module uses a specific adjustment coefficient to adjust the preset importance evaluation value, thereby avoiding excessive adjustment.

[0043] Furthermore, the system can solve the problem of CPU and GPU resource waste to a certain extent by controlling the accuracy of the data processing process and automatically switching CPU and GPU operations according to the task computing requirements, and can enable different tasks to fully utilize limited resources to complete tasks in the same time period. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] Figure 1 It is a structural schematic diagram of the large model-based automatic switching system for computing environments according to an embodiment of the present invention;

[0045] Figure 2 It is a flow chart of the first extraction method of the feature extraction module in the large model-based computing environment automatic switching system according to an embodiment of the present invention;

[0046] Figure 3 It is a flow chart of the second extraction method of the feature extraction module in the large model-based computing environment automatic switching system according to an embodiment of the present invention;

[0047] Figure 4 This is a flow chart of the model adjustment module in the large model-based computing environment automatic switching system described in an embodiment of the present invention. DETAILED DESCRIPTION

[0048] In order to make the objects and advantages of the present invention more clearly understood, the present invention is further described below in conjunction with embodiments; it should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0049] The preferred embodiments of the present invention are described below with reference to the accompanying drawings. It should be understood by those skilled in the art that these embodiments are only used to explain the technical principles of the present invention and are not intended to limit the protection scope of the present invention.

[0050] It should be noted that, in the description of the present invention, terms such as "up", "down", "left", "right", "inside" and "outside" indicating directions or positional relationships are based on the directions or positional relationships shown in the drawings. This is merely for the convenience of description and does not indicate or imply that the device or element must have a specific orientation, be constructed and operated in a specific orientation. Therefore, it cannot be understood as a limitation on the present invention.

[0051] In addition, it should be noted that in the description of the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For those skilled in the art, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0052] Example 1

[0053] See also Figure 1-Figure 4 As shown,

[0054] The embodiment of the present invention provides a large model-based computing environment automatic switching system, including:

[0055] Model library, which is used to store models required for task processing;

[0056] A data acquisition module, which is used to acquire gateway request data of a user terminal;

[0057] A feature extraction module, which is connected to the data acquisition module, and is used to extract feature data from the request data, and determine the extraction of the feature data according to the importance of the feature data, and determine the extraction granularity under different extraction methods according to the importance evaluation value P and the preset importance evaluation value P0;

[0058] A feature matching module, which is connected to the model library and the feature extraction module respectively, and is used to match the feature data extracted by the feature extraction module with the historical feature data of the historical tasks, determine the resource consumption of the historical tasks with the highest similarity, perform fuzzy grading on the tasks to be processed, and determine the industry field of the tasks to be processed corresponding to the request data according to the feature matching;

[0059] A model prediction module, which is connected to the model library and the feature matching module respectively, and is used to predict the model required for the task to be processed according to the matching result of the feature matching module;

[0060] A model adjustment module, which is connected to the model prediction module, is used to adjust the model and calculate the evaluation accuracy A of the adjusted model to determine the prediction breakpoint according to the number of adjustments C; at the same time, the cumulative number of gradients before the model adjustment is counted to determine the correction of the extraction process of the feature extraction module;

[0061] Or, determining the optimization of the adjustment process and the extraction process of the feature extraction module according to the difference ΔC0 between the adjustment times C and the preset adjustment times C0;

[0062] The result output module is connected to the model prediction module and is used to output the switching result of the computing environment.

[0063] In an embodiment of the present invention, the industry fields include but are not limited to personalized e-commerce recommendations, healthcare, finance, industrial manufacturing data analysis, traditional chat AI assistants, AI painting, Xiaohongshu and Douyin script creation, program development, astronomy, Chinese law, and Chinese medicine.

[0064] In the embodiment of the present invention, the models in the model library include but are not limited to Transformer's ll ama2, chatGPT, GLM, and CogView.

[0065] Specifically, the feature extraction module determines the extraction of the data feature according to the importance of the feature data, including determining the extraction method of the feature data according to the comparison result of the importance evaluation value P and the preset importance evaluation value P0;

[0066] If P≤P0, the feature extraction module extracts the feature data in a first extraction manner;

[0067] If P>P0, the feature extraction module extracts the feature data in a second extraction manner;

[0068] The importance evaluation value P is determined according to the following formula:

[0069]

[0070] Among them, P represents the importance evaluation value, n represents the total number of factors affecting the characteristic data, S i represents the score value of the i-th factor, which is determined by analyzing the historical feature data of the historical tasks. i represents the weight coefficient of the ith factor, and the weight coefficient is determined according to the influence degree of each factor.

[0071] In the embodiment of the present invention, the preset importance evaluation value P0 is set to 90, which is set by analyzing the importance evaluation value of feature data in historical tasks. Different extraction methods are adopted for features by using different importance evaluation values, which can ensure that the data feature extraction results are more accurate, and at the same time, provide a good foundation for the fuzzy grading of the feature matching module. Those skilled in the art can adjust the preset importance evaluation value P0 according to actual conditions.

[0072] In an embodiment of the present invention, the method for determining the importance evaluation value is not limited to the above formula, and can also be determined according to a decision tree algorithm or a linear model. For example, the random forest and gradient boosting tree models can measure the importance of features by calculating the number of times each feature is used in the tree model or the importance of being used for splitting. The importance evaluation value of a feature can be calculated by calculating the average value of the purity improvement or information gain brought about by each feature when the nodes in all trees are split.

[0073] Specifically, the feature extraction module determines the semantic coherence Q of the feature data through a semantic recognition model under the first extraction mode, so as to determine the extraction ratio according to the comparison result between the semantic coherence Q and the preset semantic coherence Q0;

[0074] If Q≤Q0, the feature extraction module determines to extract the feature data at a first preset percentage;

[0075] If Q>Q0, the feature extraction module determines to extract the feature data at a second preset percentage;

[0076] The semantic coherence degree Q is calculated according to the following formula, setting:

[0077]

[0078] Among them, Q represents the degree of semantic coherence, (i, j) represents the node, that is, the keyword vector in the text, and W ij represents a weight coefficient, which is determined according to the frequency of co-occurrence of node keywords in the text, and S(i, j) represents semantic similarity, which is calculated by using the word embedding model of embedding, Word2Vec or G loVe to calculate the vector representation of two words and calculate the cosine similarity between these vectors.

[0079] In the embodiment of the present invention, the value of the first preset percentage is 70%, and the value of the second preset percentage is 50%. The values ​​of the first preset percentage and the second preset percentage are determined by analyzing the historical feature data of the historical task. When the extraction range is 50%-70%, the matching result of the extracted feature data and the historical feature data is higher. The higher the semantic coherence, the lower the extraction ratio of the text data. For different semantic coherence levels of the text, selecting different percentages to extract the text data can improve the accuracy of data extraction. Those skilled in the art can adjust the first preset percentage and the second preset percentage according to actual conditions.

[0080] Specifically, in the second extraction mode, the feature extraction module determines the extraction granularity of the feature extraction module according to the comparison result of the difference ΔP between the importance evaluation value P and the preset importance evaluation value P0 and the relative difference ΔP0 of the preset importance evaluation value:

[0081] If ΔP≤ΔP0, the feature extraction module determines to extract the data feature at a first extraction granularity;

[0082] If ΔP>ΔP0, the feature extraction module determines to extract the data features at a second extraction granularity.

[0083] Specifically, the first extraction granularity is to extract all keywords in the feature data; the second extraction granularity is to extract all keywords in the feature data and the preceding and succeeding sentences of the sentence where the keywords are located in the feature data.

[0084] In the embodiment of the present invention, the value of the relative difference ΔP0 of the preset importance evaluation value is 0, which is determined by analyzing the average value of the difference between the importance evaluation value of the historical feature data of a certain number of historical tasks and the preset importance evaluation value. In the case where the comparison results of the difference ΔP between the importance evaluation value P and the preset importance evaluation value P0 and the relative difference ΔP0 of the preset importance evaluation value are different, adopting different extraction granularities can make the data feature extraction process more flexible and adaptable, and help improve the performance of the system and the generalization ability of the model.

[0085] In the embodiment of the present invention, for example, the task to be processed is batch Hive SQL generation, annotation, and optimization, and the data requested by the user network manager is "query all databases, create three internal tables and insert three data, create an external table and set the separator and storage location, modify the external table to the internal table, and query the type of the table". The important feature data extracted from the user's request data is "SQL, query, create, insert, set, table", and the corresponding business field is matched according to the extracted features for program development, and the corresponding model is matched.

[0086] Specifically, the model adjustment module determines the adjustment of the model including determining the prediction breakpoint according to the comparison result of the adjustment times C and the preset adjustment times C0 or determining the optimization of the adjustment process and the extraction process of the feature extraction module, and calculating the adjustment evaluation accuracy A;

[0087] If C≤C0, the model adjustment module takes the highest adjustment evaluation accuracy as the prediction breakpoint;

[0088] If C>C0, the model adjustment module optimizes the adjustment process or the extraction process of the feature extraction module.

[0089] In the embodiment of the present invention, the preset number of adjustments is set to 5, which is determined by analyzing the average number of model adjustments of a certain number of historical tasks. After each adjustment of the model, if the adjustment evaluation accuracy is greater than or equal to 80%, the adjustment is considered to be up to standard, otherwise the adjustment needs to be continued. Those skilled in the art can adjust the preset number of adjustments C0 according to actual conditions.

[0090] Specifically, the adjustment evaluation accuracy A is calculated according to the following formula, setting:

[0091]

[0092] Among them, A represents the adjusted evaluation accuracy, T represents the amount of pre-training data, and T max represents the maximum amount of pre-training data, and F represents the data quality.

[0093] Specifically, the model adjustment module corrects the extraction process of the feature extraction module according to the gradient accumulation quantity, including:

[0094] If N>N0, the model adjustment module corrects the extraction ratio or the extraction granularity according to the correction coefficient;

[0095] If N≤N0, there is no need to modify the extraction process of the feature extraction module.

[0096] In the embodiment of the present invention, the value of the preset gradient accumulation number N0 is 5, which is determined by analyzing the average value of the gradient accumulation number when a certain number of historical tasks are adjusted for model adjustment. The value of the preset correction coefficient is ΔN represents the difference between the gradient accumulation quantity and the preset gradient accumulation quantity.

[0097] Specifically, the model adjustment module optimizes the adjustment process or the extraction process of the feature extraction module, including determining the optimization method of the adjustment process or the extraction process of the feature extraction module according to the comparison result of the difference ΔC between the adjustment times C and the preset adjustment times C0 and the relative difference ΔC0 of the preset adjustment times;

[0098] If ΔC≤ΔC0, the model adjustment module optimizes the adjustment process in a first optimization manner;

[0099] If ΔC>ΔC0, the feature extraction module optimizes the extraction process in a second optimization manner.

[0100] In an embodiment of the present invention, the value of the preset relative difference ΔC0 of the number of adjustments is 2, which is determined by analyzing the average value of the difference between the number of adjustments in a certain number of historical tasks whose number of adjustments is greater than the preset number of adjustments and the preset number of adjustments. According to the difference in the comparison results between the difference ΔC between the number of adjustments C and the preset number of adjustments C0 and the relative difference ΔC0 of the preset number of adjustments, different optimization methods are selected to better improve the efficiency of the system.

[0101] Specifically, the first optimization method is to replace historical data, and replace 10% of the historical data that has not appeared or been used with data of new historical tasks.

[0102] The second optimization method is to adjust the preset importance evaluation value according to the adjustment coefficient.

[0103] Specifically, the adjustment coefficient is ΔC represents the difference between the adjustment times C and the preset adjustment times C0.

[0104] In the embodiment of the present invention, a specific coefficient is used to adjust the preset importance evaluation value, thereby avoiding excessive adjustment.

[0105] So far, the technical solutions of the present invention have been described in conjunction with the preferred embodiments shown in the accompanying drawings. However, it is easy for those skilled in the art to understand that the protection scope of the present invention is obviously not limited to these specific embodiments. Without departing from the principle of the present invention, those skilled in the art can make equivalent changes or substitutions to the relevant technical features, and the technical solutions after these changes or substitutions will fall within the protection scope of the present invention.

[0106] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. An automatic switching system for computing environment based on large models, It is characterized in that include: Model library, which is used to store models required for task processing; A data acquisition module, which is used to acquire gateway request data of a user terminal; A feature extraction module, connected to the data acquisition module, for extracting feature data from the request data, and determining the extraction of the feature data according to the importance of the feature data, and determining the extraction granularity for the feature data; A feature matching module, which is connected to the model library and the feature extraction module respectively, and is used to match the feature data extracted by the feature extraction module with the historical feature data of the historical tasks, determine the resource consumption of the historical tasks with the highest similarity, perform fuzzy grading on the tasks to be processed, and determine the industry field of the tasks to be processed corresponding to the request data according to the feature matching; A model prediction module, which is connected to the model library and the feature matching module respectively, and is used to predict the model required for the task to be processed according to the matching result of the feature matching module; A model adjustment module, which is connected to the model prediction module, is used to adjust the model and determine the evaluation accuracy of the adjusted model, so as to determine the prediction breakpoint according to the number of adjustments; and at the same time, the cumulative number of gradients before the model adjustment is counted to determine the correction of the extraction process of the feature extraction module; Or, determining optimization of the adjustment process and the extraction process of the feature extraction module according to the number of adjustments; The result output module is connected to the model prediction module and is used to output the switching result of the computing environment.

2. The automatic switching system for computing environment based on a large model according to claim 1, It is characterized in that The feature extraction module determines the extraction of the data feature according to the importance of the feature data, including determining the extraction of the feature data according to the semantic coherence under the condition that the importance evaluation value is less than or equal to the preset importance evaluation value.

3. The automatic switching system for computing environment based on a large model according to claim 2, It is characterized in that The feature extraction module determines the extraction of the feature data according to the semantic coherence degree, including determining the extraction ratio according to the comparison result between the semantic coherence degree and the preset semantic coherence degree.

4. The automatic switching system for computing environment based on a large model according to claim 1, It is characterized in that The feature extraction module determines the extraction of the data feature according to the importance of the feature data, including determining the extraction of the feature data according to the difference between the importance evaluation value and the preset importance evaluation value under the condition that the importance evaluation value is greater than the preset importance evaluation value.

5. The automatic switching system for computing environment based on a large model according to claim 4, It is characterized in that The feature extraction module determines the extraction of the feature data according to the difference between the importance evaluation value and the preset importance evaluation value, including determining the extraction granularity according to the comparison result of the difference between the importance evaluation value and the preset importance evaluation value and the relative difference of the preset importance evaluation value.

6. The large model-based automatic switching computing environment system according to claim 1, It is characterized in that The model adjustment module determines the prediction breakpoint according to the number of adjustments under the condition that the number of adjustments is less than or equal to a preset number of adjustments.

7. The automatic switching system for computing environment based on a large model according to claim 1, It is characterized in that The correction of the extraction process of the feature extraction module by the model adjustment module according to the gradient accumulation number includes determining to correct the extraction ratio or the extraction granularity according to the correction coefficient under the condition that the gradient accumulation number is greater than the preset gradient accumulation number.

8. The large model-based automatic switching computing environment system according to claim 1, It is characterized in that Under the condition that the number of adjustments is greater than the preset number of adjustments, the model adjustment module determines the optimization of the adjustment process or the extraction process of the feature extraction module based on the comparison result of the difference between the adjustment number and the preset number of adjustments and the relative difference of the preset number of adjustments.

9. The large model-based automatic switching computing environment system according to claim 8, It is characterized in that The model adjustment module replaces the historical data under the condition that the difference between the adjustment times and the preset adjustment times is less than or equal to the preset relative difference of the adjustment times.

10. The large model-based automatic switching computing environment system according to claim 9, It is characterized in that The model adjustment module adjusts the preset importance evaluation value according to the adjustment coefficient under the condition that the difference between the adjustment times and the preset adjustment times is greater than the preset adjustment times relative difference.

Citation Information

Patent Citations

  • Method and device for dynamically deploying GPU resources and computer equipment

    CN112559191A

  • Client data security information grading processing system

    CN116796371A

  • Intelligent process approval method based on natural language large model

    CN117436815A

  • Crop maturity evaluation system based on intelligent estimation model

    CN117788196A

  • Digital package design method and system based on Internet of Things

    CN118036315A