读懂字里行间——从README中提取功能
Read between the lines -- Functionality Extraction From READMEs
AI总结:
本文提出从Git README文件中提取功能的新任务,发布数据集FuncRead,实验证明小型微调模型(如7B CodeLlama)优于大型语言模型基线,F1分数显著提升。
摘要:
虽然文本摘要是众所周知的自然语言处理任务,但在本文中,我们引入了一个新颖且有用的变体,称为从Git README文件中提取功能。尽管该任务在抽象层面属于文本到文本生成,但它具有自身的特殊性和挑战,使得现有的文本到文本生成系统不太适用。该任务的动机源于近期围绕大型语言模型在代码相关任务(如代码重构、代码摘要等)中应用的研究与开发活动的激增。我们还发布了一个人工标注的数据集FuncRead,并为该任务开发了一系列模型。我们详尽的实验表明,小型微调模型优于任何可以使用流行的黑盒或白盒大型语言模型(如ChatGPT和Bard)设计的基线模型。我们最佳的微调7B CodeLlama模型在F1分数上分别比ChatGPT和Bard高出70%和20%。
英文摘要:
While text summarization is a well-known NLP task, in this paper, we introduce a novel and useful variant of it called functionality extraction from Git README files. Though this task is a text2text generation at an abstract level, it involves its own peculiarities and challenges making existing text2text generation systems not very useful. The motivation behind this task stems from a recent surge in research and development activities around the use of large language models for code-related tasks, such as code refactoring, code summarization, etc. We also release a human-annotated dataset called FuncRead, and develop a battery of models for the task. Our exhaustive experimentation shows that small size fine-tuned models beat any baseline models that can be designed using popular black-box or white-box large language models (LLMs) such as ChatGPT and Bard. Our best fine-tuned 7 Billion CodeLlama model exhibit 70% and 20% gain on the F1 score against ChatGPT and Bard respectively.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。