arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.23074cs.SEcs.CL
收藏

面向大语言模型的多编程语言沙箱

Multi-Programming Language Sandbox for LLMs

Fudan University(复旦大学);Peking University(北京大学);Nanyang Technological University(南洋理工大学);Huazhong University of Science and Technology(华中科技大学);Harbin Institute of Technology(哈尔滨工业大学);Meituan Inc(美团公司)
Shihan Dou, Jiazheng Zhang, Jianxiang Zang, Yunbo Tao, Weikang Zhou, Haoxiang Jia, Shichun Liu, Yuming Yang, Zhiheng Xi, Shenxi Wu, Shaoqing Zhang, Muling Wu, C… 展开作者

Shihan Dou, Jiazheng Zhang, Jianxiang Zang, Yunbo Tao, Weikang Zhou, Haoxiang Jia, Shichun Liu, Yuming Yang, Zhiheng Xi, Shenxi Wu, Shaoqing Zhang, Muling Wu, Changze Lv, Limao Xiong, Wenyu Zhan, Lin Zhang, Rongxiang Weng, Jingang Wang, Xunliang Cai, Yueming Wu, Ming Wen, Rui Zheng, Tao Ji, Yixin Cao, Tao Gui, Xipeng Qiu, Qi Zhang, Xuanjing Huang

AI总结:

本文提出MPLSandbox,一个多编程语言沙箱,为LLM提供统一反馈,集成编译执行与代码分析工具,提升代码质量并简化研究工作流程。

摘要:

我们介绍了MPLSandbox,一个开箱即用的多编程语言沙箱,旨在为大语言模型(LLMs)提供来自编译器和分析工具的统一、全面的反馈。它能自动识别代码的编程语言,并在隔离的子沙箱中编译和执行代码,以确保安全性和稳定性。此外,MPLSandbox还集成了传统和基于LLM的代码分析工具,对生成的代码进行全面分析。MPLSandbox可以轻松集成到LLMs的训练和部署中,以提高其生成代码的质量和正确性。它还有助于研究人员简化各种基于LLM的代码相关任务的工作流程,降低开发成本。为了验证MPLSandbox的有效性,我们将其集成到训练和部署方法中,并利用它优化各种真实世界代码相关任务的工作流程。我们的目标是通过将工作流程委托给MPLSandbox来简化和自动化,从而提高研究人员在基于LLM的代码相关任务上的生产力。

英文摘要:

We introduce MPLSandbox, an out-of-the-box multi-programming language sandbox designed to provide unified and comprehensive feedback from compiler and analysis tools for Large Language Models (LLMs). It can automatically identify the programming language of the code, compiling and executing it within an isolated sub-sandbox to ensure safety and stability. In addition, MPLSandbox also integrates both traditional and LLM-based code analysis tools, providing a comprehensive analysis of generated code. MPLSandbox can be effortlessly integrated into the training and deployment of LLMs to improve the quality and correctness of their generated code. It also helps researchers streamline their workflows for various LLM-based code-related tasks, reducing the development cost. To validate the effectiveness of MPLSandbox, we integrate it into training and deployment approaches, and also employ it to optimize workflows for a wide range of real-world code-related tasks. Our goal is to enhance researcher productivity on LLM-based code-related tasks by simplifying and automating workflows through delegation to MPLSandbox.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑