CodeTF: 代码大模型的统一Transformer库
CodeTF: One-stop Transformer Library for State-of-the-art Code LLMs
AI总结:
CodeTF是一个面向最新代码大模型的统一Transformer库,通过模块化设计和可扩展框架,提供统一接口以快速开发和部署代码大语言模型及代码智能应用。
摘要:
代码智能在现代软件工程中发挥着关键作用。最近,基于深度学习的模型,尤其是基于Transformer的大型语言模型(LLMs),通过利用大量的开源代码数据和编程语言特征,在解决这些任务上展现了显著的潜力。然而,此类模型的开发和部署往往需要同时具备机器学习和软件工程的专业知识,这成为模型应用的障碍。本文我们介绍了CodeTF,一个面向最新代码大模型和代码智能的开源Transformer库。遵循模块化设计和可扩展框架的原则,我们设计了CodeTF,使其具备统一的接口,以在不同类型模型、数据集和任务之间实现快速访问和开发。我们的库支持一系列预训练的代码大语言模型和流行的代码基准测试,包括标准化接口以高效训练和提供代码大语言模型,以及数据特征如语言特定的解析器和用于提取代码属性的实用函数。本文描述了设计原则、架构、关键模块和组件,并与其他相关库工具进行了比较。最后,我们希望CodeTF能够弥合机器学习/生成AI与软件工程之间的差距,为开发者、研究人员和实践者提供全面的开源解决方案。
英文摘要:
Code intelligence plays a key role in transforming modern software engineering. Recently, deep learning-based models, especially Transformer-based large language models (LLMs), have demonstrated remarkable potential in tackling these tasks by leveraging massive open-source code data and programming language features. However, the development and deployment of such models often require expertise in both machine learning and software engineering, creating a barrier for the model adoption. In this paper, we present CodeTF, an open-source Transformer-based library for state-of-the-art Code LLMs and code intelligence. Following the principles of modular design and extensible framework, we design CodeTF with a unified interface to enable rapid access and development across different types of models, datasets and tasks. Our library supports a collection of pretrained Code LLM models and popular code benchmarks, including a standardized interface to train and serve code LLMs efficiently, and data features such as language-specific parsers and utility functions for extracting code attributes. In this paper, we describe the design principles, the architecture, key modules and components, and compare with other related library tools. Finally, we hope CodeTF is able to bridge the gap between machine learning/generative AI and software engineering, providing a comprehensive open-source solution for developers, researchers, and practitioners.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。