We use a few cookies

Essential cookies keep the library working. With your permission, we'd also like to use analytics to see what's useful and improve the experience. Read our Privacy Policy or Cookie Policy.

Skip to main content
Home/e-Resources/Artificial Intelligence & Machine Learning/LLM BENCHMARKING WITH LLaMA2: EVALUATING CODE DEVELOPMENT PERFORMANCE ACROSS MULTIPLE PROGRAMMING LANGUAGES
PeriodicalsArtificial Intelligence & Machine Learning

LLM BENCHMARKING WITH LLaMA2: EVALUATING CODE DEVELOPMENT PERFORMANCE ACROSS MULTIPLE PROGRAMMING LANGUAGES

Checking your access to this record.

Abstract & Overview

The rapid evolution of large language models (LLMs) has opened new possibilities for automating various tasks in software development. This paper evaluates the capabilities of the LLaMA 2-70B model in automating these tasks for scientific applications written in commonly used programming languages. Using representative test problems, we assess the model's capacity to generate code, documentation, and unit tests, as well as its ability to translate existing code between commonly used programming languages. Our comprehensive analysis evaluates the compilation, runtime behavior, and correctness of the generated and translated code. Additionally, we assess the quality of automatically generated code, documentation, and unit tests. Our results indicate that while LLaMA 2-70B frequently generates syntactically correct and functional code for simpler numerical tasks, it encounters substantial difficulties with more complex, parallelized, or distributed computations, requiring considerable manual corrections. We identify key limitations and suggest areas for future improvements to better leverage AI-driven automation in scientific computing workflows.

Cite this record

Patrick Diehl, Noujoud Nader, Maxim Moraru, Steven R. Brandt (2025). LLM BENCHMARKING WITH LLaMA2: EVALUATING CODE DEVELOPMENT PERFORMANCE ACROSS MULTIPLE PROGRAMMING LANGUAGES. Journal of Machine Learning for Modeling and Computing, 6(3), 95–129. https://doi.org/10.1615/jmachlearnmodelcomput.2025058957

Copy in another style

Diehl, P., Nader, N., Moraru, M., & Brandt, S. R. (2025). LLM BENCHMARKING WITH LLaMA2: EVALUATING CODE DEVELOPMENT PERFORMANCE ACROSS MULTIPLE PROGRAMMING LANGUAGES. Journal of Machine Learning for Modeling and Computing, 6(3), 95–129. https://doi.org/10.1615/jmachlearnmodelcomput.2025058957
Author names are used as deposited, so check their order before you submit.

Metadata is harvested from open-access indexes and can be incomplete. Check a citation against the published version before relying on it — see our open access & attribution policy.