Code language model-based science and engineering problem solving method and apparatus, and electronic device

The invention provides a code language model-based science and engineering problem solving method and device and electronic equipment. The method comprises the following steps of: obtaining a to-be-solved science and engineering problem; based on a pre-trained code language model and a code interpre...

Full description

Saved in:
Bibliographic Details
Main Authors LU YAN, ZHANG PENG, HUANG MINLIE, LEE WOOK-JUN, YANG LEKANG, WANG HONGNING, LI FENGZU
Format Patent
LanguageChinese
English
Published 20.12.2024
Subjects
Online AccessGet full text

Cover

More Information
Summary:The invention provides a code language model-based science and engineering problem solving method and device and electronic equipment. The method comprises the following steps of: obtaining a to-be-solved science and engineering problem; based on a pre-trained code language model and a code interpreter, generating a target solution result according to the science and engineering subject; wherein the code language model is obtained based on the pre-training model through fine adjustment of a training sample data set composed of the science and engineering subject samples and the corresponding code answer result samples. A natural language reasoning process and a code calculation deduction process of a science and engineering subject are generated at the same time through a code language model, a code interpreter is called to execute a target code block in the process of generating a target answer result so as to assist in generating a final answer result, the tool calling capability of the code language model
Bibliography:Application Number: CN20241143298