arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2211.07842cs.LGcs.AIcs.CLcs.SE
收藏

评估双模态数据的微调如何影响代码生成

Evaluating How Fine-tuning on Bimodal Data Effects Code Generation

Gabriel Orlanski, Seonhye Yang, Michael Healy

摘要:

尽管用于代码生成的语言模型越来越受欢迎,但在双模编码论坛上进行的训练如何影响模型的代码生成性能和可靠性仍然是未知的。因此,我们收集了超过220万个StackOverflow问题的数据集,并提供了用于微调的答案。这些微调模型在HumanEval上的平均$pass@k$改善为54.64%和85.35%(Chen等人,2021)和大部分基本程序问题(Austin et al.,2021年)的任务。该机制进一步减少了生成的具有语法和运行时错误的程序的数量。然而,我们发现,在较高的温度下,有显着降低模型的能力,尽管较高的$pass@k$分数,生成可运行的程序,强调需要更好的方法,将这些数据,减轻这些副作用。代码可以在https://github.com/gabeorlanski/bimodalcode-generation上找到

英文摘要:

Despite the increase in popularity of language models for code generation, it is still unknown how training on bimodal coding forums affects a model's code generation performance and reliability. We, therefore, collect a dataset of over 2.2M StackOverflow questions with answers for finetuning. These fine-tuned models have average $pass@k$ improvements of 54.64% and 85.35% on the HumanEval (Chen et al., 2021) and Mostly Basic Program Problems (Austin et al., 2021) tasks, respectively. This regime further decreases the number of generated programs with both syntax and runtime errors. However, we find that at higher temperatures, there are significant decreases to the model's ability to generate runnable programs despite higher $pass@k$ scores, underscoring the need for better methods of incorporating such data that mitigate these side effects. The code can be found https://github.com/gabeorlanski/bimodalcode-generation

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

↑