论文提出了一种新方法,称为Program-Aided Language Model (PAL),该方法让LLM生成程序作为中间推理步骤,而将实际求解步骤交给外部的Python解释器来完成。具体而言,LLM负责将自然语言问题分解成可运行的编程步骤,这些步骤由Python解释器执行以生成最终答案。PAL的核心在于,LLM只负责问题的分解和编程,避免了计算错误的发生。
1Language Technologies Institute, School of CS, Carnegie Mellon University 2Inspired Cognition,*Equal contribution PaperColabCodeData PALgenerates a Python program to solve a task from its natural language description. Abstract We presentProgram-Aided Language models (PAL): a new method that uses the...
into a sub-model code function in the high-level programming language, that the model is translated into comprehensive model code in the high-level programming language, and that the sub-model code function is called from the comprehensive model code by a pointer to the sub-model code function...
s Thesis thesisGraded IP CR NC CE 599 Special Topics Coursecontent selectedeach semester reflectcurrent trends civilengineering CE 611 Stochastic Modeli Simulatio Stochasticmethods simulatingphysical chemical biologicalprocesses Topics include Stochastic partial differential equations Monte Carlo simula tions ...