arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2405.14388cs.SEcs.CLcs.CR
收藏

大型语言模型编程能力的评估

Evaluation of the Programming Skills of Large Language Models

University of Applied Sciences and Arts, Northwestern Switzerland(西北瑞士应用科学与艺术大学)

Luc Bryan Heitz, Joun Chamas, Christopher Scherb

AI总结:

本研究通过真实示例和系统化数据集,比较ChatGPT与Gemini AI免费版生成的代码质量,评估大型语言模型在编程任务中的有效性与可靠性。

摘要:

大型语言模型(LLM)的出现彻底改变了任务完成的效率和速度,通过技术创新标志着生产力的显著飞跃。随着这些聊天机器人处理日益复杂的任务,评估其输出质量的挑战变得至关重要。本文通过比较OpenAI的ChatGPT和Google的Gemini AI这两个领先的LLM在免费版本中生成的编程代码质量,批判性地审视了它们的输出质量。通过一个真实世界的示例结合系统化数据集,我们调查了这些LLM生成的代码质量。鉴于它们在代码生成方面的显著熟练度,聊天机器人能力的这一方面呈现出一个特别引人注目的分析领域。此外,编程代码的复杂性往往升级到验证成为一项艰巨任务的程度,这凸显了我们研究的重要性。本研究旨在阐明LLM在生成高质量编程代码方面的有效性和可靠性,这一努力对软件开发及其他领域具有重大意义。

英文摘要:

The advent of Large Language Models (LLM) has revolutionized the efficiency and speed with which tasks are completed, marking a significant leap in productivity through technological innovation. As these chatbots tackle increasingly complex tasks, the challenge of assessing the quality of their outputs has become paramount. This paper critically examines the output quality of two leading LLMs, OpenAI's ChatGPT and Google's Gemini AI, by comparing the quality of programming code generated in both their free versions. Through the lens of a real-world example coupled with a systematic dataset, we investigate the code quality produced by these LLMs. Given their notable proficiency in code generation, this aspect of chatbot capability presents a particularly compelling area for analysis. Furthermore, the complexity of programming code often escalates to levels where its verification becomes a formidable task, underscoring the importance of our study. This research aims to shed light on the efficacy and reliability of LLMs in generating high-quality programming code, an endeavor that has significant implications for the field of software development and beyond.

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

↑