Debugging with Open-Source Large Language Models: An Evaluation

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Majdoub, Yacine, Charrada, Eya Ben
Formato: Preprint
Publicado: 2024
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866917769141813248
author Majdoub, Yacine
Charrada, Eya Ben
author_facet Majdoub, Yacine
Charrada, Eya Ben
contents Large language models have shown good potential in supporting software development tasks. This is why more and more developers turn to LLMs (e.g. ChatGPT) to support them in fixing their buggy code. While this can save time and effort, many companies prohibit it due to strict code sharing policies. To address this, companies can run open-source LLMs locally. But until now there is not much research evaluating the performance of open-source large language models in debugging. This work is a preliminary evaluation of the capabilities of open-source LLMs in fixing buggy code. The evaluation covers five open-source large language models and uses the benchmark DebugBench which includes more than 4000 buggy code instances written in Python, Java and C++. Open-source LLMs achieved scores ranging from 43.9% to 66.6% with DeepSeek-Coder achieving the best score for all three programming languages.
format Preprint
id arxiv_https___arxiv_org_abs_2409_03031
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Debugging with Open-Source Large Language Models: An Evaluation
Majdoub, Yacine
Charrada, Eya Ben
Software Engineering
Large language models have shown good potential in supporting software development tasks. This is why more and more developers turn to LLMs (e.g. ChatGPT) to support them in fixing their buggy code. While this can save time and effort, many companies prohibit it due to strict code sharing policies. To address this, companies can run open-source LLMs locally. But until now there is not much research evaluating the performance of open-source large language models in debugging. This work is a preliminary evaluation of the capabilities of open-source LLMs in fixing buggy code. The evaluation covers five open-source large language models and uses the benchmark DebugBench which includes more than 4000 buggy code instances written in Python, Java and C++. Open-source LLMs achieved scores ranging from 43.9% to 66.6% with DeepSeek-Coder achieving the best score for all three programming languages.
title Debugging with Open-Source Large Language Models: An Evaluation
topic Software Engineering
url https://arxiv.org/abs/2409.03031