Information interaction method and device of micro-nano processing technology, computer equipment and storage medium

By selecting appropriate model combinations according to configuration levels in the field of micro-nano semiconductor processing, converting and querying knowledge, and generating natural language answers, the problem of difficulty in balancing functionality and confidentiality with traditional technology is solved, and the efficiency and quality of process design and manufacturing are improved. .

CN118673123AInactive Publication Date: 2024-09-20HONG KONG UNIV OF SCI & TECH (GUANGZHOU)

Patent Information

Application Number
CN202410956483.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-17
Publication Date
2024-09-20
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Traditional large language model-based technology is difficult to balance functionality and confidentiality in the field of micro-nano semiconductor processing, resulting in low process design and manufacturing efficiency in scenarios with high confidentiality requirements.

Method used

A combination of the target large model and the target embedding model is selected according to the configuration level. By converting the user question sentence into a question vector, the matching knowledge text in the local knowledge base is found, and combined with the question sentence to generate an input prompt word, which is input to the target The large model generates natural language answers to achieve both data confidentiality and question and answer functionality.

Benefits of technology

It improves the efficiency and quality of micro-nano semiconductor processing technology design and manufacturing, provides real-time and accurate consultation and guidance, meets high confidentiality requirements, and enhances the accuracy and reliability of process design and manufacturing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118673123A
    Figure CN118673123A
Patent Text Reader

Abstract

The invention provides an information interaction method and device for a micro-nano machining process, computer equipment and a storage medium. The method comprises the following steps: selecting a target large model from alternative large models according to a configuration level, and selecting a target embedding model from alternative embedding models; the alternative large model comprises a local large model and an online large model, and the alternative embedding model comprises a local embedding model and an online embedding model; in response to a question statement input by a user, converting the question statement into a question vector by using the target embedding model; finding a matched knowledge text from a local knowledge base according to the question vector; combining the knowledge text and the question statement to obtain an input prompt word; and inputting the input prompt word into the target large model, and obtaining and outputting an answer. The method is flexible according to needs, reasonably gives consideration to data confidentiality and question and answer functionality, facilitates quality improvement and efficiency improvement of engineers, and has wide application prospects.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of semiconductor micro-nano processing technology, and in particular to an information interaction method, device, computer equipment and storage medium for micro-nano processing technology. Background Art

[0002] With the development of semiconductor technology, micro-nano processing technology has become one of the key technologies in the semiconductor industry. With the continuous reduction of device size and the increase of process complexity, traditional process design and manufacturing are facing increasing challenges. In traditional process design, engineers need to rely on experience and trial and error to solve problems, which is inefficient and prone to errors. Therefore, a new technology is needed to improve the design and manufacturing efficiency of semiconductor micro-nano processing technology.

[0003] The rapid development of artificial intelligence technology has provided new possibilities for solving this problem. Artificial intelligence technology, especially the large language model technology, can be used to analyze and recognize patterns in large amounts of data, thereby providing accurate consultation and guidance, thereby providing real-time and accurate guidance to engineers and manufacturers, and improving the efficiency and quality of process design and manufacturing. However, much knowledge in the field of micro-nano semiconductor processing requires high confidentiality, and traditional vertical field process consultants developed based on large language model technology have the problem of difficulty in balancing functionality and confidentiality. Summary of the invention

[0004] The purpose of this application is to solve at least one of the above-mentioned technical defects, especially the problem that it is difficult to balance functionality and confidentiality in traditional technologies.

[0005] In a first aspect, the present application provides a method for information interaction of micro-nano processing technology, comprising:

[0006] According to the configuration level, a target large model is selected from candidate large models, and a target embedded model is selected from candidate embedded models; the candidate large models include a local large model and an online large model, and the candidate embedded models include a local embedded model and an online embedded model;

[0007] In response to a question sentence input by a user, convert the question sentence into a question vector using a target embedding model;

[0008] Find matching knowledge text from the local knowledge base based on the question vector;

[0009] Combine the knowledge text and the question sentence to obtain the input prompt word;

[0010] Input the prompt words to the target large model, and get and output the answer.

[0011] In one embodiment, the local large model includes a hybrid expert model.

[0012] In one of the embodiments, the mixture of experts model includes an embedding layer, a plurality of decoder layers, a first root mean square normalization layer, and a first linear layer connected in sequence.

[0013] In one of the embodiments, the decoder layer includes a second RMS normalization layer, a third RMS normalization layer, a first summation unit, a second summation unit, a masked attention layer, and a sparse mixture expert module;

[0014] The output of the second RMS normalization layer is connected to the input of the masked attention layer;

[0015] The input of the first summing unit is connected to the input of the second RMS normalization layer and the output of the mask attention layer respectively, and the output of the first summing unit is connected to the input of the third RMS normalization layer;

[0016] The output of the third RMS normalization layer is connected to the input of the sparse mixture expert module;

[0017] The input of the second summing unit is respectively connected to the output of the first summing unit and the output of the sparse mixing expert module.

[0018] In one embodiment, the sparse hybrid expert module includes a routing layer and a plurality of expert units, the expert unit including a second linear layer, a silu activation layer, a third linear layer and a fourth linear layer connected in sequence;

[0019] The input of the routing layer is connected to the output of the third RMS normalization layer, and the output of the routing layer is connected to the input of each second linear layer.

[0020] In one of the embodiments, the masked attention layer is configured with a multi-head attention mechanism, and the output linear layer of the multi-head attention mechanism and the three input linear layers, the linear layer in the routing layer, the second linear layer, the third linear layer and the fourth linear layer are configured with corresponding LoRA branches, and each LoRA branch is trained based on the micro-nano processing dataset to fine-tune the hybrid expert model.

[0021] In one embodiment, the process of generating a micro-nano processing dataset includes:

[0022] Capture initial data in the field of semiconductor manufacturing from the Internet and filter the initial data;

[0023] Convert each filtered initial data into a plain text format to obtain text data;

[0024] Convert text data into structured data to obtain micro-nano processing dataset.

[0025] In one embodiment, converting text data into structured data includes:

[0026] Using the Langchain architecture, the structural transformation model is instructed to ask questions and answer them based on the text data, and output them according to the preset structure to obtain structured data.

[0027] In one embodiment, after the initial data is captured, the method further includes:

[0028] Set the corresponding reliability index according to the source of the initial data;

[0029] After obtaining the micro-nano processing data set, it also includes:

[0030] The structured data in the micro-nano processing data set are checked for duplicate problems, and the structured data with low reliability index in the structured data with duplicate problems are deleted.

[0031] In one of the embodiments, before converting the text data into structured data, the method further includes:

[0032] For text data with missing data, determine the missing proportion;

[0033] If the missing ratio is greater than the completion threshold, the text data will be deleted;

[0034] Otherwise, the text data is sent to the completion model for text completion.

[0035] In one embodiment, after obtaining the micro-nano processing data set, the method further includes:

[0036] The micro-nano processing data set is sent to the audit model to obtain the confidence and classification results of each structured data; the audit model is trained using text data and is used to determine whether the input data conforms to the classification model in the text data;

[0037] If the classification result is correct and the confidence is greater than the confidence threshold, the structured data is retained;

[0038] If the classification result is wrong and the confidence is greater than the confidence threshold, the structured data will be deleted;

[0039] If the confidence level is less than the confidence threshold, the structured data is sent for manual review.

[0040] In one embodiment, the local knowledge base stores data in the form of vector-text pairs, and finding matching knowledge text from the local knowledge base according to the question vector includes:

[0041] The question vector is matched with each vector-text pair in the local knowledge base, and from the vector-text pairs whose vector similarity is greater than the similarity threshold, the texts in a preset number of the vector-text pairs are selected as knowledge texts in descending order of vector similarity.

[0042] In one embodiment, the local embedding model includes m3e-large.

[0043] In one embodiment, the online large model includes the GPT series, and the online embedding model includes text-embedding-ada-002.

[0044] In one embodiment, the method of outputting the answer includes:

[0045] The answers are displayed on a display device, and the actions of the virtual digital human are driven according to the answers.

[0046] In a second aspect, the present application provides an information interaction device for micro-nano processing technology, comprising:

[0047] A model configuration module, used to select a target large model from candidate large models and a target embedded model from candidate embedded models according to a configuration level; the candidate large models include a local large model and an online large model, and the candidate embedded models include a local embedded model and an online embedded model;

[0048] An input response module, used to respond to a question sentence input by a user and convert the question sentence into a question vector using a target embedding model;

[0049] The knowledge search module is used to find matching knowledge text from the local knowledge base according to the question vector;

[0050] A prompt word generation module is used to combine the knowledge text and the question sentence to obtain the input prompt word;

[0051] The answer module is used to input the input prompt words into the target large model, obtain and output the answer.

[0052] In a third aspect, the present application provides a computer device comprising one or more processors and a memory, wherein the memory stores computer-readable instructions, and when the computer-readable instructions are executed by one or more processors, the steps of the information interaction method of the micro-nano processing technology in any of the above-mentioned embodiments are executed.

[0053] In a fourth aspect, the present application provides a storage medium storing computer-readable instructions. When the computer-readable instructions are executed by one or more processors, the one or more processors execute the steps of the information interaction method of micro-nano processing technology in any of the above-mentioned embodiments.

[0054] It can be seen from the above technical solutions that the embodiments of the present application have the following advantages:

[0055] The solution first selects the target large model and the target embedding model according to the configuration level. Then the target embedding model is used to convert the user's question statement into a question vector, and then the best matching knowledge text is found in the local knowledge base according to the question vector. The knowledge text is then combined with the original question statement to form an input prompt word. Finally, the constructed input prompt word is input into the target large model, and the target large model generates and outputs the corresponding natural language answer based on the prompt word. This solution can be flexible and adaptable as needed, and reasonably balances data confidentiality and question-and-answer functionality. The existence of the local knowledge base can also provide support for professional process question-and-answer questions. In the micro-nano semiconductor processing and manufacturing scenario, it can serve as a process consultant to provide accurate consultation and guidance for process design and manufacturing in real time, which is conducive to improving the quality and efficiency of engineers and has broad application prospects. BRIEF DESCRIPTION OF THE DRAWINGS

[0056] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0057] Figure 1 A schematic diagram of a flow chart of an information interaction method for a micro-nano processing technology provided in one embodiment of the present application;

[0058] Figure 2 A schematic diagram of data flow of an information interaction method for micro-nano processing technology in one embodiment of the present application;

[0059] Figure 3 This is a schematic diagram of the structure of a hybrid expert model in one embodiment of the present application;

[0060] Figure 4 This is a schematic diagram of the structure of a decoder layer in one embodiment of the present application;

[0061] Figure 5 This is a schematic diagram of the structure of a sparse hybrid expert module in one embodiment of the present application;

[0062] Figure 6 This is a schematic diagram of the structure of an expert unit in one embodiment of the present application;

[0063] Figure 7 This is a schematic diagram of the structure of the routing layer in one embodiment of the present application;

[0064] Figure 8 This is a schematic diagram of the principle of a LoRA branch network in one embodiment of the present application;

[0065] Fig. 9This is a schematic diagram of a multi-head attention mechanism in one embodiment of the present application;

[0066] Fig.10 A schematic diagram of a process for obtaining a micro-nano processing data set in one embodiment of the present application;

[0067] Fig.11 A schematic diagram of a process for completing text data in one embodiment of the present application;

[0068] Fig.12 A schematic diagram of the process of reviewing micro-nano processing data in one embodiment of the present application;

[0069] Fig.13 A schematic diagram of a module of an information interaction device for micro-nano processing technology provided by an embodiment of the present application;

[0070] Fig.14 An internal structural diagram of a computer device provided for one embodiment of the present application. DETAILED DESCRIPTION

[0071] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0072] This application provides a method for information interaction of micro-nano processing technology. Figure 1 , including step S102 to step S110. The data flow of information interaction can refer to Figure 2 ,The alpaca in the figure represents the target large model, while the target embedding model is not shown in the figure.

[0073] S102, according to the configuration level, select a target large model from the candidate large models, and select a target embedded model from the candidate embedded models. The candidate large models include local large models and online large models, and the candidate embedded models include local embedded models and online embedded models.

[0074] It can be understood that this method is an information interaction system applied to micro-nano processing technology. There are multiple combinations of models used in the system, corresponding to different functions and confidentiality strengths. The configuration level is the information that determines the combination selected in the information interaction system. It can be set by the user when inputting, or it can be automatically identified based on the content of the question. The specific identification method can be to use the Bert model to determine whether the question statement involves security issues, so as to select a configuration level that matches the security.

[0075] Specifically, the information interaction system includes at least two types of models, namely candidate big models and candidate embedding models. The candidate big models all contain big language models, which can not only generate natural language text, but also deeply understand the meaning of text and handle various natural language tasks. The candidate big models include local big models and online big models. The local big model is a big model trained and deployed locally using the open source big model architecture. When interacting with the local big model, data will only flow locally, there is no risk of information leakage, and confidentiality is high, but the performance level will be relatively weaker than the online big models with good performance, such as the GPT series. The online big model is a closed-source big model that the model service provider opens an access interface on the Internet. These big models have stronger performance, but because data interaction requires data to be transferred to the other party's server, there is a risk of information leakage and low confidentiality.

[0076] The alternative embedding models all include embedding models, which are used to map text data into a vector form that is more suitable for model use. The alternative embedding models include local embedding models and online embedding models. The local embedding model is a large model trained by an open source large model architecture and deployed locally. When interacting with the local embedding model, data will only flow locally, there is no risk of information leakage, and confidentiality is high, but the performance level will be relatively weaker than that of online embedding models with good performance, such as text-embedding-ada-002. Online embedding models are closed-source embedding models for which model service providers open access interfaces on the Internet. These embedding models have stronger performance, but because data interaction requires data to be transferred to the other party's server, there is a risk of information leakage and low confidentiality.

[0077] Based on this, four configurations can be combined, namely, local large model + local embedded model, local large model + online embedded model, online large model + local embedded model, and online large model + online embedded model. The characteristics of different configuration combinations are different. Among them, the configuration combination of local large model + local embedded model has the highest confidentiality, but relatively poor functionality, while the configuration combination of online large model + online embedded model has the worst confidentiality, but the strongest functionality. The confidentiality and performance of the other two modes are in the middle. You can choose from these four configuration combinations to meet the functional and confidentiality requirements of the current question. For example, for questions that do not require confidentiality, you can use the configuration combination of online large model + online embedded model to obtain a high functional experience. For questions that require high confidentiality, you have to use the configuration combination of local large model + local embedded model to ensure that there will be no leakage. All of these four configuration combinations can be selected, or only some of them can be selected. For example, the local large model + remote embedded model has low performance and security, so it can be left unselected. After selecting the configuration combination to be used from the four configuration combinations, a one-to-one correspondence can be established between the configuration level and these configuration combinations. After the configuration level is determined, the target large model and the target embedded model are also determined.

[0078] S104, in response to a question sentence input by the user, convert the question sentence into a question vector using a target embedding model.

[0079] It can be understood that the question statement is a natural language statement of the user's question about micro-nano semiconductor processing technology. The target embedding model can be used to convert the question statement into a vector form, that is, to obtain a question vector. The vector form is more compact than the original text, easier for the model to understand and process, and the semantic similarity can also be reflected by calculating the similarity between vectors. At the same time, the vector representation reduces the complexity of subsequent processing and helps improve efficiency.

[0080] S106, finding matching knowledge text from the local knowledge base according to the question vector.

[0081] It can be understood that the local knowledge base is a database that stores knowledge of micro-nano semiconductor processing technology, which stores this knowledge in the form of vector-text pairs. By utilizing the characteristics of embedded vectors that can capture semantic information, the question vector is matched with the vector part of each vector-text pair in the local knowledge base, and the preset number of vector-text pairs most relevant to the question statement is found according to the similarity between the vectors (generally cosine similarity), and the text part of them is used as the knowledge text. The vector part of the vector-text pair here is generally generated by information in text form after being converted by an embedding model. For information that needs to be added to the local knowledge base, if it is highly confidential, a local embedding model should be used for vectorization. Otherwise, an online embedding model can be used for vectorization.

[0082] S108, combining the knowledge text and the question sentence to obtain an input prompt word.

[0083] It can be understood that the input prompt words are the text sequences input to the language model to guide the model to generate the required output. In the process of combination, the knowledge text can be input into the target large model for extraction and structural conversion to generate an enhanced document in a specific format. It can also be directly combined with the question statement. Based on the specific situation, a prompt word template can be pre-designed, which is divided into a knowledge part and a question part. The knowledge text is filled into the knowledge part, and the question statement is filled into the question part. Finally, the knowledge part and the question part are connected with reasonable conjunctions to ensure the fluency of semantics, so as to realize the combination of the knowledge text and the question statement and obtain the input prompt words.

[0084] S110, input the input prompt word into the target large model, obtain and output the answer.

[0085] It can be understood that the input prompt word contains questions and related knowledge of the questions. By using the natural language generation capability of the target large language model, an answer for micro-nano processing technology can be generated. The answer can be directly output in the form of text, or it can drive a virtual digital human to output it in the form of voice plus animation.

[0086] The solution first selects the target large model and the target embedding model according to the configuration level. Then the target embedding model is used to convert the user's question statement into a question vector, and then the best matching knowledge text is found in the local knowledge base according to the question vector. The knowledge text is then combined with the original question statement to form an input prompt word. Finally, the constructed input prompt word is input into the target large model, and the target large model generates and outputs the corresponding natural language answer based on the prompt word. This solution can be flexible and adaptable as needed, and reasonably balances data confidentiality and question-and-answer functionality. The existence of the local knowledge base can also provide support for professional process question-and-answer questions. In the micro-nano semiconductor processing and manufacturing scenario, it can serve as a process consultant to provide accurate consultation and guidance for process design and manufacturing in real time, which is conducive to improving the quality and efficiency of engineers and has broad application prospects.

[0087] In one embodiment, the local large model includes a hybrid expert model. The hybrid expert model is a parallel computing architecture that includes multiple expert units, each of which is responsible for processing a specific natural language task. For example, some expert units process symbols, some expert units process synonyms, and some expert units process phrases.

[0088] In one embodiment, see Figure 3, the mixed expert model in this embodiment is a Mixtral model. The model includes an embedding layer (Embedding), multiple decoder layers (Decoder Layer), a first root mean square normalization layer (RMS Normlization) and a first linear layer (Linear) connected in sequence. Among them, after the input prompt word passes through the embedding layer, the embedding layer converts the input prompt word into a vector. The vector is then processed by multiple decoder layers in sequence. In each decoder layer, a suitable expert unit is selected to perform natural language processing. The first root mean square normalization layer is used to scale the data, and finally the result is handed over to the first linear layer to obtain the final answer.

[0089] In one embodiment, the decoder layers in the mixture of experts model are different from the decoder layers in the Transformer. Specifically, see Figure 4 , the decoder layer includes a second RMS normalization layer, a third RMS normalization layer, a first summing unit, a second summing unit, a masked attention layer, and a sparse mixed expert module. The output of the second RMS normalization layer is connected to the input of the masked attention layer. The input of the first summing unit is connected to the input of the second RMS normalization layer and the output of the masked attention layer, and the output of the first summing unit is connected to the input of the third RMS normalization layer. The output of the third RMS normalization layer is connected to the input of the sparse mixed expert module. The input of the second summing unit is connected to the output of the first summing unit and the output of the sparse mixed expert module. Among them, the second RMS normalization layer and the third RMS normalization layer are used for data scaling, and the first summing unit and the second summing unit are used to form a residual connection path to alleviate gradient disappearance and achieve accelerated convergence. The masked attention layer extracts local features by limiting cross attention to the predicted mask area. It reduces unnecessary calculations and improves performance. A multi-head attention mechanism is configured in the masked attention layer, which allows the sparse mixed expert module to focus on key parts. The sparse hybrid expert module contains multiple expert units, which selectively call some experts according to the input allocation gate weights and perform weighted summation of the expert outputs. This can efficiently utilize the model capacity.

[0090] Specifically, the data input to the decoder layer will enter the second RMS normalization layer and the mask attention layer for processing, and will be summed with the processing results of the mask attention layer through the residual connection path and the first summing unit. The result of the first summing unit will be input to the third RMS normalization layer and the sparse mixed expert module for processing, and will be summed with the processing results of the sparse mixed expert module through another residual connection path and the second summing unit. The output of the second summing unit is the output of a decoder layer.

[0091] In one embodiment, see Figures 5 to 7, the sparse mixture-of-experts module includes a routing layer and multiple expert units. The input of the routing layer is connected to the output of the third root mean square normalization layer, and the output of the routing layer is connected to the input of each second linear layer. Among them, the multi-head attention mechanism configured in the masked attention layer is used to divide the attention into multiple parallel heads for calculation, enabling it to focus on information at different positions, and after passing through the third root mean square normalization layer, it will be input into the routing layer. The routing layer is a gating mechanism for selecting and allocating experts based on the input. As Figure 7 shown, the routing layer can select K (K < N) expert units according to the output of the third root mean square normalization layer for data processing. Specifically, the multi-head attention mechanism outputs a tensor of size (B, T, C), which is reduced in dimension by a noise linear layer (red in the figure) to obtain a tensor of size (B, T, N), which will be multiplied element-wise with a Gaussian noise of the same size to obtain a noise tensor of size (B, T, N). The tensor of size (B, T, C) output by the multi-head attention mechanism also passes through another linear layer (blue in the figure) for dimension reduction to obtain a raw tensor of size (B, T, N). The raw tensor is added to the noise tensor to obtain a comprehensive tensor of size (B, T, N). The largest K elements in the last dimension of the comprehensive tensor will be retained, and the rest will be set to zero. Then, a Softmax calculation is performed along the last dimension to obtain a tensor with a sparse representation. This tensor will be used to select K out of N experts to process the data. The expert unit is a fully connected network composed of a second linear layer, a silu activation layer, a third linear layer, and a fourth linear layer connected in sequence. It can perform necessary feature transformation and non-linear mapping on the input to execute the work it is good at in the field of natural language processing.

[0092] In one embodiment, the output linear layer of the multi-head attention mechanism, as well as the three input linear layers, the linear layers in the routing layer (i.e., Figure 7 the blue and red parts), the second linear layer, the third linear layer, and the fourth linear layer are configured with corresponding LoRA branches, and each LoRA branch is trained based on the micro-nano processing dataset to fine-tune the mixture-of-experts model.

[0093] It can be understood that the micro-nano processing dataset contains input examples related to the field of micro-nano semiconductor processing and their corresponding labels or target outputs. By training the model on this data, it can learn knowledge more suitable for this field. LoRA (Low-Rank Adaptation) is a large model fine-tuning technology, as Figure 8As shown, it is a branch network of a selected layer, and the data input to the selected layer will be processed by itself and the branch network respectively, and then added and output. The branch network includes two low-rank matrices A and B, A is initialized by random Gaussian, and B is set to 0. During training, the parameters of the original model are fixed, and only the matrices A and B in the branch network are adjusted. In this way, only a small number of LoRA parameters need to be trained to effectively adjust the behavior of the large model. The advantage of LoRA fine-tuning is the efficient use of parameters, which avoids the huge overhead of fine-tuning the entire large model. At the same time, since the correction is low-rank, the learned knowledge in the original model will not be seriously disturbed, and the general ability is retained. This embodiment chooses to fine-tune the selected multiple linear layers because the selected linear layers are located in key positions and have a significant impact on the calculation and expression capabilities of the model. Therefore, fine-tuning these layers can efficiently adjust the model behavior. In addition, the linear layer usually occupies most of the parameters and calculation amount of the neural network. Lora training for the linear layer can avoid fine-tuning the entire model, thereby greatly reducing the computational overhead. Among them, the output linear layer and three input linear layers of the multi-head attention mechanism are Fig. 9 The three linear layers corresponding to the input Q, K, and V entering the attention calculation, and the linear layer corresponding to the final output result.

[0094] Specifically, in the multi-head attention mechanism, the three linear layers of query, key, and value are used to make the model "focus" on the key parts. The key parts in the corresponding normal context are different from those in the semiconductor manufacturing field, so the three linear layers of query, key, and value need to be fine-tuned here. In addition, the output linear layer of the multi-head attention mechanism as a whole also needs to be fine-tuned. In domain adaptation, the expert unit plays a key role, and the parameters in the second linear layer, the third linear layer, and the fourth linear layer are the main parameters of the expert unit, so the second linear layer, the third linear layer, and the fourth linear layer need to be fine-tuned. After adjusting the expert unit, the original routing layer is not optimal, so the routing layer also needs to be fine-tuned to adapt to the changes in the expert unit.

[0095] In one embodiment, see Fig.10 ,The process of generating the micro-nano processing data set includes steps S1002 to S1006.

[0096] S1002, capturing initial data in the field of semiconductor manufacturing from the Internet and filtering the initial data.

[0097] It can be understood that the purpose of this step is to obtain raw data related to the field of semiconductor manufacturing from the Internet and extract valuable parts through filtering operations. Web crawler technology can be used to automatically traverse web pages, documents, databases, LaTex documents and other data on the Internet to download data files related to semiconductor manufacturing. Target crawling can be performed based on strategies such as keywords and URLs. In order to be more suitable for micro-nano processing scenarios, physical, chemical and other data related to semiconductor manufacturing can also be collected. A series of filtering rules are applied to the parsed initial data to remove invalid, noisy or irrelevant parts. Common filtering methods include pattern matching, word frequency statistics, subject classification, source classification, etc.

[0098] S1004, converting the filtered initial data into a plain text format to obtain text data.

[0099] It is understandable that the data collected from the Internet are not in a uniform format, such as word, pdf, Excel, ppt, etc. Many formats cannot be used directly. This step converts them all into plain text formats, such as txt, markdown, csv, and json. First, you need to identify the format of the initial data file, and then apply the corresponding conversion program or library for different formats to convert it into a plain text file format. For pictures, OCR technology can be used to extract text.

[0100] S1006, converting the text data into structured data to obtain a micro-nano processing data set.

[0101] It can be understood that since the data collected from the network is generally unstructured data, the extracted text does not have a unified format and is not convenient to use. Therefore, it needs to be converted into structured data. Specifically, it can be implemented using the Langchain architecture. To build a Langchain agent, first create an agent based on Langchain to coordinate the interaction of various components. The agent needs to specify which large model to use as the structure conversion large model for text processing. You can choose Claude, GPT series, etc. Then specify a pre-defined structured data template (i.e. preset structure) for the agent to constrain the format of generating structured data. For example, [{"instruct":"xxx","input":"xxx","output":"xxx"},…]. Then instruct the agent to automatically generate and answer relevant questions based on the input plain text data, and then organize it into structured data in the form of a structured data template. Using the Langchain architecture for structured conversion has a high degree of automation, no manual data annotation is required, and the structure conversion process is more intelligent, which can handle complex unstructured inputs. In addition, an iterative optimization mechanism can be added. For unsatisfactory output, it can be re-sent into the agent as text data to continuously optimize the quality of the generated structured data until it meets the expected requirements.

[0102] In one of the embodiments, after the initial data is captured, it also includes: setting a corresponding reliability index according to the source of the initial data. It can be understood that the reliability index reflects the scoring indicator of the credibility of the data source or data quality. After obtaining the initial data, this embodiment will set a reliability index for it according to the source of the data for subsequent data deduplication and quality control. It is necessary to formulate a reliability scoring table, divide data sources from different sources into several reliability levels, and assign a numerical score to each level. Generally, official authoritative websites have higher reliability or professional forums with high industry recognition have higher reliability. For each initial data, its specific source is analyzed, which can be a website URL, and it is compared with the reliability scoring table to obtain the reliability level of the initial data, thereby obtaining a reliability score.

[0103] After the micro-nano processing data set is obtained, the method further includes: checking for duplicate problems in each structured data in the micro-nano processing data set, and deleting structured data with low reliability index among the structured data with duplicate problems.

[0104] It can be understood that the micro-nano processing data set contains structured data, which contains question-answer pairs. After obtaining the structured micro-nano processing data set, the questions contained in the structured data in the data set will be checked for duplicates. When duplicate questions are found, the data with a higher reliability index is retained, and the data with a lower reliability index is deleted. The advantage of this is that for data with similar text semantics but different sources, the one with higher quality and more trustworthy can be retained first, thereby improving the overall quality level of the data set.

[0105] In one embodiment, see Fig.11 Before converting the text data into structured data, the text data needs to be completed, which specifically includes steps S1102 to S1106.

[0106] S1102: For text data with missing data, determine the missing ratio.

[0107] It can be understood that the missing proportion refers to the proportion of missing parts in the text data to the total amount. Since many data may lose information during the crawling or conversion process, or the file itself has omissions, it is necessary to try to complete it. Text missing detection uses natural language processing technologies such as word segmentation and sentence boundary detection to analyze each text to determine whether there are obvious missing parts, such as missing sentences and paragraphs. At the same time, the proportion of missing parts is calculated.

[0108] S1104: If the missing ratio is greater than the completion threshold, the text data is deleted.

[0109] It can be understood that the completion threshold refers to the judgment threshold about the degree of text missing, which is used to determine whether the current degree of missing can be completed. The detected missing ratio is compared with the preset completion threshold. If the missing ratio is small, it is considered that the text can be repaired by completion. If the missing ratio is too large, it may not be completed and the text is directly deleted.

[0110] S1106: Otherwise, the text data is sent to the completion model for text completion.

[0111] It can be understood that the completion model refers to a large language model used to complete missing text. For texts with a controllable degree of missingness, they are input into the completion model, and the model uses its semantic understanding of natural language to automatically generate the missing parts based on the contextual semantics to complete the entire text, making the text more fluent.

[0112] In one embodiment, after obtaining the micro-nano processing dataset, it is also necessary to review the structured data in the dataset to improve the quality of the dataset. Fig.12, also including steps S1202 to S1208.

[0113] S1202, the micro-nano processing data set is sent to the audit model to obtain the confidence and classification results of each structured data. The audit model is trained using text data and is used to determine whether the input data conforms to the classification model in the text data.

[0114] It can be understood that the audit model is a classification model trained based on the text data obtained in step S1004, and is used to determine whether the input matches the knowledge contained in the text data. Specifically, the audit model is a RAG (Retrieval-Augmented Generation) system. It uses text data as its own knowledge base to determine whether the content input to the system is correct. The output results of the model will include correct or incorrect binary classification results. It also includes the model's confidence in the classification result. The higher the confidence, the higher the possibility that the classification result is correct.

[0115] S1204: If the classification result is correct and the confidence level is greater than the confidence level threshold, the structured data is retained.

[0116] It can be understood that the confidence threshold is the threshold limit used to distinguish whether the classification result is acceptable. If the classification result of the audit model considers that the category of the structured data is correct and the confidence exceeds the confidence threshold, it is considered as high-quality data and retained in the data set.

[0117] S1206: If the classification result is wrong and the confidence is greater than the confidence threshold, the structured data is deleted.

[0118] It can be understood that if the classification result is an incorrect category and the confidence exceeds the confidence threshold, it means that the structured data does not conform to the collected micro-nano processing domain knowledge and is directly deleted.

[0119] S1208: If the confidence level is less than the confidence threshold, the structured data is sent to manual review.

[0120] It is understandable that if the confidence is less than the confidence threshold, it means that there is a certain degree of ambiguity and difficulty in judging the correctness of the structured data, and it needs to be handed over to humans for final review and classification. In this way, clear high-quality or irrelevant data can be automatically filtered out, and only the parts that require manual control are retained, thus balancing the workload of automation and manual review.

[0121] In one of the embodiments, data is stored in the form of vectors in a local knowledge base, and matching knowledge texts are found from the local knowledge base based on the question vector, including: matching the question vector with the data in the local knowledge base, and selecting a preset number of data as knowledge texts from the data with similarity greater than a similarity threshold, in descending order of similarity.

[0122] It can be understood that the vector similarity of the question vector and all existing data vectors in the local knowledge base is calculated to obtain a similarity score sequence. Then the data vectors with similarity to the question vector lower than the threshold are filtered out and regarded as irrelevant. Then the data vectors filtered by the threshold are sorted from high to low according to the similarity. Then a preset number of vectors are intercepted from the top as matching knowledge texts. The vectorized knowledge base naturally supports efficient retrieval based on semantic similarity, and the query speed is fast. The similarity threshold filters out a large amount of irrelevant data and improves the retrieval quality. The preset number of results are selected from the highest similarity to ensure the maximum relevance of knowledge.

[0123] In one embodiment, the local embedding model includes m3e-large. Selecting m3e-large as the local embedding model can fully utilize its powerful multi-language and large capacity advantages to lay the foundation for high-quality vectorization. At the same time, the excellent performance of m3e-large in general fields also enables it to exert good generalization capabilities in vertical fields such as micro-nano processing.

[0124] In one embodiment, the local large model is deployed using the ollama architecture. When the local large model needs to be updated, it is only necessary to create an updated local large model file, such as a gguf format file, re-import and create it in the ollama image, and restart the corresponding container.

[0125] In the second aspect, the present application provides an information interaction device for micro-nano processing technology, see Fig.13 , including a model configuration module 1310, an input response model 1320, a knowledge search module 1330, a prompt word generation module 1340 and an answer module 1350. The model configuration module 1310 is used to select a target large model from the candidate large models and a target embedding model from the candidate embedding models according to the configuration level. The candidate large models include local large models and online large models, and the candidate embedding models include local embedding models and online embedding models. The input response module 1320 is used to respond to the question statement input by the user and convert the question statement into a question vector using the target embedding model. The knowledge search module 1330 is used to find matching knowledge text from the local knowledge base according to the question vector. The prompt word generation module 1340 is used to combine the knowledge text and the question statement to obtain the input prompt word. The answer module 1350 is used to input the input prompt word into the target large model to obtain and output the answer.

[0126] In one embodiment, the information interaction device for micro-nano processing technology further includes a data set construction module. The data set construction module includes a collection unit, a first conversion unit, and a second conversion unit.

[0127] The acquisition unit is used to capture the initial data in the field of semiconductor manufacturing on the Internet and filter the initial data. The first conversion unit is used to convert the filtered initial data into a plain text format to obtain text data. The second conversion unit is used to convert the text data into structured data to obtain a micro-nano processing data set.

[0128] In one of the embodiments, the second conversion unit is used to utilize the Langchain architecture to instruct the structural conversion model to ask questions and answer them based on the text data, and output them according to a preset structure to obtain structured data.

[0129] In one embodiment, the data set construction module further includes a reliability screening unit. After the initial data is captured, the corresponding reliability index is set according to the source of the initial data. After the micro-nano processing data set is obtained, each structured data in the micro-nano processing data set is checked for duplicate problems, and the structured data with low reliability index is deleted from the structured data with duplicate problems.

[0130] In one embodiment, the data set construction module further includes a completion unit. The completion unit is used to determine the missing ratio of missing text data; if the missing ratio is greater than a completion threshold, the text data is deleted; otherwise, the text data is sent to the completion model for text completion.

[0131] In one embodiment, the data set construction module also includes an audit unit. The audit unit is used to send the micro-nano processing data set into the audit model to obtain the confidence and classification results of each structured data; the audit model is trained using text data and is used to determine whether the input data conforms to the content in the text data. The classification model; if the classification result is correct and the confidence is greater than the confidence threshold, the structured data is retained; if the classification result is wrong and the confidence is greater than the confidence threshold, the structured data is deleted; if the confidence is less than the confidence threshold, the structured data is sent to manual review.

[0132] In one embodiment, the knowledge search module 1330 is used to match the question vector with each vector-text pair in the local knowledge base, and select texts from a preset number of vector-text pairs whose vector similarity is greater than a similarity threshold as knowledge texts in order of vector similarity from high to low.

[0133] In one embodiment, the answer module 1350 is used to display the answer on a display device and drive the virtual digital human to move according to the answer.

[0134] In one embodiment, the local large model includes a hybrid expert model.

[0135] In one of the embodiments, the mixture of experts model includes an embedding layer, a plurality of decoder layers, a first root mean square normalization layer, and a first linear layer connected in sequence.

[0136] In one embodiment, the decoder layer includes a second RMS normalization layer, a third RMS normalization layer, a first summation unit, a second summation unit, a masked attention layer, a multi-head attention mechanism and a sparse mixed expert module; the output of the second RMS normalization layer is connected to the input of the masked attention layer; the input of the first summation unit is respectively connected to the input of the second RMS normalization layer and the output of the masked attention layer, and the output of the first summation unit is connected to the input of the third RMS normalization layer; the output of the third RMS normalization layer is connected to the input of the sparse mixed expert module through the multi-head attention mechanism; the input of the second summation unit is respectively connected to the output of the first summation unit and the output of the sparse mixed expert module.

[0137] In one embodiment, the sparse hybrid expert module includes a routing layer and multiple expert units, the expert unit includes a second linear layer, a silu activation layer, a third linear layer and a fourth linear layer connected in sequence; the input of the routing layer is connected to the output of the multi-head attention mechanism, and the output of the routing layer is connected to the input of each second linear layer.

[0138] In one embodiment, the output linear layer of the multi-head attention mechanism and the three input linear layers, the linear layer in the routing layer, the second linear layer, the third linear layer and the fourth linear layer are configured with corresponding LoRA branches, and each LoRA branch is trained based on the micro-nano processing dataset to fine-tune the hybrid expert model.

[0139] For the specific definition of the information interaction device of micro-nano processing technology, please refer to the definition of the information interaction method of micro-nano processing technology mentioned above, which will not be repeated here. Each module in the above-mentioned information interaction device of micro-nano processing technology can be implemented in whole or in part by software, hardware and their combination. 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 in the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules. It should be noted that the division of modules in the embodiment of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation.

[0140] The present application provides a computer device, including one or more processors and a memory, wherein the memory stores computer-readable instructions, and when the computer-readable instructions are executed by the one or more processors, the following are performed: selecting a target large model from candidate large models and selecting a target embedding model from candidate embedding models according to a configuration level; the candidate large models include a local large model and an online large model, and the candidate embedding models include a local embedding model and an online embedding model; in response to a question statement input by a user, converting the question statement into a question vector using a target embedding model; finding a matching knowledge text from a local knowledge base according to the question vector; combining the knowledge text and the question statement to obtain an input prompt word; inputting the input prompt word into the target large model to obtain and output an answer.

[0141] In one embodiment, when the computer-readable instructions are executed by one or more processors, the following are performed: capturing initial data in the field of semiconductor manufacturing from the Internet and filtering the initial data; converting the filtered initial data into a plain text format to obtain text data; and converting the text data into structured data to obtain a micro-nano processing data set.

[0142] In one embodiment, when the computer-readable instructions are executed by one or more processors, the following are performed: using the Langchain architecture, instructing the structural transformation model to ask questions and answer them based on the text data, and output them according to a preset structure to obtain structured data.

[0143] In one embodiment, when the computer-readable instructions are executed by one or more processors, the following are performed: setting a corresponding reliability index according to the source of the initial data; checking for duplicate problems in each structured data in the micro-nano processing data set, and deleting structured data with a low reliability index among the structured data with duplicate problems.

[0144] In one embodiment, when the computer-readable instructions are executed by one or more processors, the following is performed: for text data with missing information, determine the missing ratio; if the missing ratio is greater than a completion threshold, delete the text data; otherwise, send the text data to the completion model for text completion.

[0145] In one embodiment, when the computer-readable instructions are executed by one or more processors, the following are performed: sending the micro-nano processing data set into the audit model to obtain the confidence and classification results of each structured data; the audit model is trained using text data and is used to determine whether the input data conforms to the content in the text data. The classification model; if the classification result is correct and the confidence is greater than the confidence threshold, the structured data is retained; if the classification result is incorrect and the confidence is greater than the confidence threshold, the structured data is deleted; if the confidence is less than the confidence threshold, the structured data is sent for manual review.

[0146] In one of the embodiments, data is stored in the local knowledge base in the form of vector-text pairs, and when the computer-readable instructions are executed by one or more processors, the following is performed: matching the question vector with each vector-text pair in the local knowledge base, and selecting texts from a preset number of vector-text pairs as knowledge texts from the vector-text pairs whose vector similarity is greater than a similarity threshold, in descending order of vector similarity.

[0147] In one embodiment, when the computer-readable instructions are executed by one or more processors, the computer-readable instructions perform: displaying the answer on a display device, and driving the virtual digital human to move according to the answer.

[0148] In one embodiment, the local large model includes a hybrid expert model. In one embodiment, the hybrid expert model includes an embedding layer, a plurality of decoder layers, a first RMS normalization layer, and a first linear layer connected in sequence. In one embodiment, the decoder layer includes a second RMS normalization layer, a third RMS normalization layer, a first summing unit, a second summing unit, a masked attention layer, a multi-head attention mechanism, and a sparse hybrid expert module; the output of the second RMS normalization layer is connected to the input of the masked attention layer; the input of the first summing unit is respectively connected to the input of the second RMS normalization layer and the output of the masked attention layer, and the output of the first summing unit is connected to the input of the third RMS normalization layer; the output of the third RMS normalization layer is connected to the input of the sparse hybrid expert module through the multi-head attention mechanism; the input of the second summing unit is respectively connected to the output of the first summing unit and the output of the sparse hybrid expert module.

[0149] In one embodiment, the sparse hybrid expert module includes a routing layer and multiple expert units, the expert unit includes a second linear layer, a silu activation layer, a third linear layer, and a fourth linear layer connected in sequence; the input of the routing layer is connected to the output of the multi-head attention mechanism, and the output of the routing layer is connected to the input of each second linear layer. In one embodiment, the output linear layer of the multi-head attention mechanism and the three input linear layers, the linear layer in the routing layer, the second linear layer, the third linear layer, and the fourth linear layer are configured with corresponding LoRA branches, and each LoRA branch is trained based on the micro-nano processing data set to fine-tune the hybrid expert model.

[0150] In one embodiment, the local embedding model includes m3e-large. In one embodiment, the online large model includes the GPT series, and the online embedding model includes text-embedding-ada-002.

[0151] Indicatively, Fig.14 As shown, Fig.14 A schematic diagram of the internal structure of a computer device provided in an embodiment of the present application. Fig.14 The computer device 1400 includes a processing component 1402, which further includes one or more processors, and a memory resource represented by a memory 1401 for storing instructions executable by the processing component 1402, such as an application. The application stored in the memory 1401 may include one or more modules, each corresponding to a set of instructions. In addition, the processing component 1402 is configured to execute instructions to perform the steps of the information interaction method of the micro-nano processing technology of any of the above embodiments.

[0152] The computer device 1400 may also include a power supply component 1403 configured to perform power management of the computer device 1400 , a wired or wireless model interface 1404 configured to connect the computer device 1400 to the model, and an input / output (I / O) interface 1405 .

[0153] The present application provides a storage medium, in which computer-readable instructions are stored. When the computer-readable instructions are executed by one or more processors, the one or more processors are caused to execute: according to a configuration level, a target large model is selected from candidate large models, and a target embedding model is selected from candidate embedding models; the candidate large models include a local large model and an online large model, and the candidate embedding models include a local embedding model and an online embedding model; in response to a question statement input by a user, the question statement is converted into a question vector using a target embedding model; matching knowledge text is found from a local knowledge base according to the question vector; the knowledge text and the question statement are combined to obtain an input prompt word; the input prompt word is input into the target large model to obtain and output an answer.

[0154] In one embodiment, when the computer-readable instructions are executed by one or more processors, the one or more processors execute: crawling initial data in the field of semiconductor manufacturing from the Internet and filtering the initial data; converting the filtered initial data into a plain text format to obtain text data; converting the text data into structured data to obtain a micro-nano processing data set.

[0155] In one embodiment, when the computer-readable instructions are executed by one or more processors, the one or more processors execute: utilizing the Langchain architecture, instructing the structural transformation model to ask questions and answer them by itself based on the text data, and output according to a preset structure to obtain structured data.

[0156] In one of the embodiments, when the computer-readable instructions are executed by one or more processors, the one or more processors execute: setting a corresponding reliability index according to the source of the initial data; checking for duplicate problems in each structured data in the micro-nano processing data set, and deleting the structured data with a low reliability index among the structured data with duplicate problems.

[0157] In one embodiment, when the computer-readable instructions are executed by one or more processors, the one or more processors execute: for text data with missing contents, determine the missing proportion; if the missing proportion is greater than a completion threshold, delete the text data; otherwise, send the text data to a completion model for text completion.

[0158] In one of the embodiments, when the computer-readable instructions are executed by one or more processors, the one or more processors execute: sending the micro-nano processing data set into the audit model to obtain the confidence and classification results of each structured data; the audit model is trained using text data and is used to determine whether the input data conforms to the content in the text data. The classification model; if the classification result is correct and the confidence is greater than the confidence threshold, the structured data is retained; if the classification result is incorrect and the confidence is greater than the confidence threshold, the structured data is deleted; if the confidence is less than the confidence threshold, the structured data is sent for manual review.

[0159] In one of the embodiments, data is stored in the local knowledge base in the form of vector-text pairs, and when the computer-readable instructions are executed by one or more processors, the one or more processors execute: matching the question vector with each vector-text pair in the local knowledge base, and selecting texts from a preset number of vector-text pairs as knowledge texts from the vector-text pairs whose vector similarity is greater than a similarity threshold, in descending order of vector similarity.

[0160] In one embodiment, when the computer-readable instructions are executed by one or more processors, the one or more processors are caused to perform: displaying the answer on a display device, and driving the virtual digital human to act according to the answer.

[0161] In one embodiment, the local large model includes a hybrid expert model. In one embodiment, the hybrid expert model includes an embedding layer, a plurality of decoder layers, a first RMS normalization layer, and a first linear layer connected in sequence. In one embodiment, the decoder layer includes a second RMS normalization layer, a third RMS normalization layer, a first summing unit, a second summing unit, a masked attention layer, a multi-head attention mechanism, and a sparse hybrid expert module; the output of the second RMS normalization layer is connected to the input of the masked attention layer; the input of the first summing unit is respectively connected to the input of the second RMS normalization layer and the output of the masked attention layer, and the output of the first summing unit is connected to the input of the third RMS normalization layer; the output of the third RMS normalization layer is connected to the input of the sparse hybrid expert module through the multi-head attention mechanism; the input of the second summing unit is respectively connected to the output of the first summing unit and the output of the sparse hybrid expert module.

[0162] In one embodiment, the sparse hybrid expert module includes a routing layer and multiple expert units, the expert unit includes a second linear layer, a silu activation layer, a third linear layer, and a fourth linear layer connected in sequence; the input of the routing layer is connected to the output of the multi-head attention mechanism, and the output of the routing layer is connected to the input of each second linear layer. In one embodiment, the output linear layer of the multi-head attention mechanism and the three input linear layers, the linear layer in the routing layer, the second linear layer, the third linear layer, and the fourth linear layer are configured with corresponding LoRA branches, and each LoRA branch is trained based on the micro-nano processing data set to fine-tune the hybrid expert model.

[0163] In one embodiment, the local embedding model includes m3e-large. In one embodiment, the online large model includes the GPT series, and the online embedding model includes text-embedding-ada-002.

[0164] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0165] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The various embodiments can be combined as needed, and the same or similar parts can refer to each other.

[0166] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A method for information interaction of micro-nano processing technology, characterized in that: include: According to the configuration level, a target large model is selected from the candidate large models, and a target embedded model is selected from the candidate embedded models; The candidate large models include a local large model and an online large model, and the candidate embedding models include a local embedding model and an online embedding model; In response to a question sentence input by a user, converting the question sentence into a question vector using the target embedding model; Find matching knowledge text from the local knowledge base according to the question vector; Combining the knowledge text and the question sentence to obtain an input prompt word; The input prompt word is input into the target macro model to obtain and output an answer.

2. The information interaction method according to claim 1, characterized in that: The local large model includes a hybrid expert model.

3. The information interaction method according to claim 2, characterized in that: The hybrid expert model includes an embedding layer, a plurality of decoder layers, a first root mean square normalization layer, and a first linear layer connected in sequence.

4. The information interaction method according to claim 3, characterized in that: The decoder layer includes a second RMS normalization layer, a third RMS normalization layer, a first summing unit, a second summing unit, a mask attention layer, and a sparse hybrid expert module; The output of the second RMS normalization layer is connected to the input of the mask attention layer; The input of the first summing unit is connected to the input of the second RMS normalization layer and the output of the mask attention layer respectively, and the output of the first summing unit is connected to the input of the third RMS normalization layer; The output of the third RMS normalization layer is connected to the input of the sparse mixing expert module; The input of the second summing unit is respectively connected to the output of the first summing unit and the output of the sparse mixing expert module.

5. The information interaction method according to claim 4, characterized in that: The sparse hybrid expert module includes a routing layer and a plurality of expert units, wherein the expert unit includes a second linear layer, a silu activation layer, a third linear layer and a fourth linear layer connected in sequence; The input of the routing layer is connected to the output of the third RMS normalization layer, and the output of the routing layer is connected to the input of each of the second linear layers.

6. The information interaction method according to claim 5, characterized in that: The masked attention layer is configured with a multi-head attention mechanism; the output linear layer and three input linear layers of the multi-head attention mechanism, the linear layer in the routing layer, the second linear layer, the third linear layer and the fourth linear layer are configured with corresponding LoRA branches, and each of the LoRA branches is trained based on the micro-nano processing dataset to fine-tune the hybrid expert model.

7. The information interaction method according to claim 6, characterized in that: The generation process of the micro-nano processing data set includes: Capturing initial data in the field of semiconductor manufacturing from the Internet, and filtering the initial data; Converting the filtered initial data into a plain text format to obtain text data; The text data is converted into structured data to obtain the micro-nano processing data set.

8. The information interaction method according to claim 7, characterized in that: The converting the text data into structured data comprises: The Langchain architecture is used to instruct the structure conversion model to ask questions and answer them according to the text data, and output them according to the preset structure to obtain the structured data.

9. The information interaction method according to claim 7, characterized in that: After the initial data is captured, it also includes: Setting a corresponding reliability index according to the source of the initial data; After obtaining the micro-nano processing data set, the method further includes: Each of the structured data in the micro-nano processing data set is checked for duplicate problems, and among the structured data with duplicate problems, the structured data with a low reliability index is deleted.

10. The information interaction method according to claim 7, characterized in that: Before converting the text data into structured data, the method further includes: For the text data that is missing, determining the missing ratio; If the missing ratio is greater than the complement threshold, the text data is deleted; Otherwise, the text data is sent to the completion model for text completion.

11. The information interaction method according to claim 7, characterized in that: After obtaining the micro-nano processing data set, the method further includes: The micro-nano processing data set is sent to the audit model to obtain the confidence and classification results of each structured data; the audit model is trained using the text data and is used to determine whether the input data conforms to the classification model in the text data; If the classification result is correct and the confidence level is greater than a confidence level threshold, retaining the structured data; If the classification result is wrong and the confidence is greater than the confidence threshold, the structured data is deleted; If the confidence level is less than the confidence threshold, the structured data is sent to manual review.

12. The information interaction method according to claim 1, characterized in that: The local knowledge base stores data in the form of vector-text pairs, and the step of finding a matching knowledge text from the local knowledge base according to the question vector includes: The question vector is matched with each vector-text pair in the local knowledge base, and from the vector-text pairs whose vector similarity is greater than a similarity threshold, texts in a preset number of the vector-text pairs are selected as the knowledge texts in descending order of the vector similarity.

13. The information interaction method according to claim 1, characterized in that: The local embedding model includes m3e-large.

14. The information interaction method according to claim 1, characterized in that: The online large model includes the GPT series, and the online embedding model includes text-embedding-ada-002.

15. The information interaction method according to claim 1, characterized in that: The ways to output answers include: The answer is displayed on a display device, and the virtual digital human is driven to move according to the answer.

16. An information interaction device for micro-nano processing technology, characterized in that: include: A model configuration module, used to select a target large model from candidate large models and a target embedded model from candidate embedded models according to a configuration level; the candidate large models include a local large model and an online large model, and the candidate embedded models include a local embedded model and an online embedded model; An input response module, configured to respond to a question sentence input by a user and convert the question sentence into a question vector using the target embedding model; A knowledge search module, used to find matching knowledge text from a local knowledge base according to the question vector; A prompt word generation module, used for combining the knowledge text and the question sentence to obtain an input prompt word; The answer module is used to input the input prompt word into the target large model, obtain and output the answer.

17. A computer device, characterized in that: It includes one or more processors and a memory, wherein the memory stores computer-readable instructions, and when the computer-readable instructions are executed by the one or more processors, the steps of the information interaction method of the micro-nano processing technology as described in any one of claims 1 to 15 are executed.

18. A storage medium, characterized in that: The storage medium stores computer-readable instructions, and when the computer-readable instructions are executed by one or more processors, the one or more processors execute the steps of the information interaction method of the micro-nano processing technology as described in any one of claims 1-15.

Citation Information

Patent Citations

  • Question and answer diagnosis method and device for engineering machinery fault problem, equipment and medium

    CN117807204A

  • CCER smart question-answering method and device, electronic equipment and storage medium

    CN117874179A

  • Knowledge base response method and system based on large language model

    CN117951249A

  • Methods and systems for automatic authorization using machine learning algorithm

    US20240203587A1

Cited By

  • Industrial equipment voice control method and system based on large language model

    CN122474056A

  • Industrial equipment voice control method and system based on large language model

    CN122474056B