arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2412.00726cs.SEcs.AIcs.LG
收藏

基于LLM的免费且可定制的代码文档生成:一种微调方法

Free and Customizable Code Documentation with LLMs: A Fine-Tuning Approach

Department of Computer Science and Engineering(计算机科学与工程系);Northwestern University(西北大学);School of Electrical & Computer Engineering(电气与计算机工程学院);Purdue University(普渡大学)

Sayak Chakrabarty, Souradip Pal

AI总结:

本文提出一种基于LLM的免费代码文档生成工具,通过微调方法解决现有开源应用在成本和可定制性上的不足。

摘要:

自动为编程源代码生成文档是一项具有重大实际和科学意义的挑战性任务,对开发者社区具有重要影响。我们提出了一种基于大型语言模型(LLM)的应用程序,开发者可以将其用作支持工具,生成任何公开可用仓库的基本文档。在过去十年中,已有若干论文探讨了使用神经网络架构生成源代码文档的方法。随着最近在LLM技术上的进展,一些开源应用已被开发出来解决这一问题。然而,这些应用通常依赖于OpenAI API,这会带来显著的财务成本,特别是对于大型仓库。此外,这些开源应用中没有提供微调模型或允许用户微调的功能。此外,找到适合微调的数据往往具有挑战性。我们的应用程序解决了这些问题,该应用可在https://pypi.org/project/readme-ready/上获取。

英文摘要:

Automated documentation of programming source code is a challenging task with significant practical and scientific implications for the developer community. We present a large language model (LLM)-based application that developers can use as a support tool to generate basic documentation for any publicly available repository. Over the last decade, several papers have been written on generating documentation for source code using neural network architectures. With the recent advancements in LLM technology, some open-source applications have been developed to address this problem. However, these applications typically rely on the OpenAI APIs, which incur substantial financial costs, particularly for large repositories. Moreover, none of these open-source applications offer a fine-tuned model or features to enable users to fine-tune. Additionally, finding suitable data for fine-tuning is often challenging. Our application addresses these issues which is available at https://pypi.org/project/readme-ready/.

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

↑