The invention discloses an automatic template updating method and
system, and relates to the technical field of auditing informationization, original policy information is standardized to obtain standardized corpus data by responding to an auditing template updating request, and a pre-training fine-tuning large
language model comprising a policy auditing semantic analysis mapping layer and a mapping result calibration optimization layer is called to obtain a pre-training fine-tuning large
language model; inputting the standardized corpus into a policy audit semantic analysis mapping layer to complete semantic analysis and mapping so as to output policy audit initial mapping data, verifying and correcting the initial mapping data through a mapping result calibration optimization layer to obtain structured mapping correction data, and matching a target industry
template based on the structured data, and if the target industry template does not meet the preset template evaluation condition, performing fine adjustment on the fine adjustment large
language model and circularly executing the mapping process until the template meets the condition, thereby ensuring the suitability and accuracy of the target industry template to policy requirements, and solving the problem of insufficient accuracy of a policy and audit corresponding result in the prior art.