StackEval:基准测试大语言模型的编码辅助能力
StackEval: Benchmarking LLMs in Coding Assistance
AI总结:
该研究提出StackEval和StackUnseen两个编码辅助任务基准,评估大语言模型的编码能力与作为评审者的表现,公开相关资源以推动领域发展。
摘要:
我们提出两个综合性基准,用于评估语言模型在编码辅助任务中的性能,覆盖代码编写、调试、代码审查与概念理解四大场景。核心贡献为两个经整理的数据集:StackEval——源自Stack Overflow问题的大规模基准,以及StackUnseen——以最新Stack Overflow内容为特色的动态基准。这些基准为揭示大语言模型的能力与局限提供了新视角,尤其是在处理新兴内容方面。此外,我们借助人工标注的整理数据集,评估了大语言模型作为编码任务评审者的熟练度,探究其评估能力与潜在偏差,包括是否更偏好自身生成的解决方案。研究结果凸显了这些基准对推动大语言模型在编码辅助领域发展与应用的价值。为保证可复现性,我们在https://github.com/ProsusAI/stack-eval 公开了数据集与评估代码。
英文摘要:
We present two comprehensive benchmarks to evaluate the performance of language models in coding assistance tasks, covering code writing, debugging, code review, and conceptual understanding. Our main contribution includes two curated datasets: StackEval, a large-scale benchmark derived from Stack Overflow questions, and StackUnseen, a dynamic benchmark featuring the most recent Stack Overflow content. These benchmarks offer novel insights into the capabilities and limitations of LLMs, particularly in handling new and emerging content. Additionally, we assess LLMs' proficiency as judges for coding tasks using a curated, human-annotated dataset, exploring their evaluation capabilities and potential biases, including whether they favor their own generated solutions. Our findings underscore the potential of these benchmarks to advance LLM development and application in coding assistance. To ensure reproducibility, we publicly share our datasets and evaluation code at https://github.com/ProsusAI/stack-eval .
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。