The invention provides an intelligent teaching-assistant
system base LLM training method for a drilling simulator, and belongs to the technical field of
petroleum drilling large
language model training, and the method comprises the steps: obtaining the
simulation data of the drilling simulator based on an intelligent teaching-assistant
system base large
language model, and carrying out the field self-adaptive pre-training; performing fine adjustment on the original weight by utilizing low-rank self-adaption, and performing operation steps and fault diagnosis generation; the method comprises the following steps: constructing an enterprise private
knowledge base, training a large
language model by utilizing retrieval enhancement generation, and obtaining a trained
verification header through explicit supervision; a direct preference optimization
loss function is defined, a direct preference optimization
loss function of retrieval
perception is obtained in combination with the
verification head, the large language model is optimized, and large language model training is completed; according to the invention, an external professional
knowledge base can be fused, an equipment operation mechanism can be understood, an intelligent assistant architecture with teaching guidance and error diagnosis capabilities is provided, and the intelligent level of the drilling simulator is improved.