arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2405.04324cs.AIcs.CLcs.SE
收藏

Granite Code 模型:面向代码智能的开放基础模型家族

Granite Code Models: A Family of Open Foundation Models for Code Intelligence

IBM Research(IBM研究院)
Mayank Mishra, Matt Stallone, Gaoyuan Zhang, Yikang Shen, Aditya Prasad, Adriana Meza Soria, Michele Merler, Parameswaran Selvam, Saptha Surendran, Shivdeep Sin… 展开作者

Mayank Mishra, Matt Stallone, Gaoyuan Zhang, Yikang Shen, Aditya Prasad, Adriana Meza Soria, Michele Merler, Parameswaran Selvam, Saptha Surendran, Shivdeep Singh, Manish Sethi, Xuan-Hong Dang, Pengyuan Li, Kun-Lung Wu, Syed Zawad, Andrew Coleman, Matthew White, Mark Lewis, Raju Pavuluri, Yan Koyfman, Boris Lublinsky, Maximilien de Bayser, Ibrahim Abdelaziz, Kinjal Basu, Mayank Agarwal, Yi Zhou, Chris Johnson, Aanchal Goyal, Hima Patel, Yousaf Shah, Petros Zerfos, Heiko Ludwig, Asim Munawar, Maxwell Crouse, Pavan Kapanipathi, Shweta Salaria, Bob Calio, Sophia Wen, Seetharami Seelam, Brian Belgodere, Carlos Fonseca, Amith Singhee, Nirmit Desai, David D. Cox, Ruchir Puri, Rameswar Panda

AI总结:

本文提出 Granite Code 开源 decoder-only 代码模型家族,覆盖 3B 至 34B 参数与 116 种编程语言,在多类编码任务上达到开源 LLM 先进水平,并以 Apache 2.0 许可开放。

摘要:

在代码上训练的大型语言模型(LLM)正在革新软件开发流程。代码 LLM 正越来越多地被集成到软件开发环境中,以提高人类程序员的生产力,而基于 LLM 的智能体也开始展现出自主处理复杂任务的前景。要充分发挥代码 LLM 的潜力,需要具备广泛的能力,包括代码生成、修复缺陷、解释代码并编写文档、维护代码仓库等。在本工作中,我们介绍了用于代码生成任务的 Granite 系列 decoder-only(仅解码器)代码模型,这些模型使用以 116 种编程语言编写的代码进行训练。Granite Code 模型家族包含参数规模从 30 亿到 340 亿的模型,适用于从复杂应用现代化任务到设备端内存受限用例的各类应用。在一系列全面任务上的评估表明,Granite Code 模型在可用的开源代码 LLM 中持续达到最先进性能。Granite Code 模型家族针对企业软件开发工作流进行了优化,并在一系列编码任务(例如代码生成、修复和解释)上表现良好,使其成为通用的全能型代码模型。我们以 Apache 2.0 许可证发布所有 Granite Code 模型,供研究和商业使用。

英文摘要:

Large Language Models (LLMs) trained on code are revolutionizing the software development process. Increasingly, code LLMs are being integrated into software development environments to improve the productivity of human programmers, and LLM-based agents are beginning to show promise for handling complex tasks autonomously. Realizing the full potential of code LLMs requires a wide range of capabilities, including code generation, fixing bugs, explaining and documenting code, maintaining repositories, and more. In this work, we introduce the Granite series of decoder-only code models for code generative tasks, trained with code written in 116 programming languages. The Granite Code models family consists of models ranging in size from 3 to 34 billion parameters, suitable for applications ranging from complex application modernization tasks to on-device memory-constrained use cases. Evaluation on a comprehensive set of tasks demonstrates that Granite Code models consistently reaches state-of-the-art performance among available open-source code LLMs. The Granite Code model family was optimized for enterprise software development workflows and performs well across a range of coding tasks (e.g. code generation, fixing and explanation), making it a versatile all around code model. We release all our Granite Code models under an Apache 2.0 license for both research and commercial use.

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

↑