paper-with-me

홈 › Papers

Can Large Language Models Write Parallel Code?

2024-01-23 · Daniel Nichols, Joshua H. Davis, Zhaojun Xie, Arjun Rajaram, Abhinav Bhatele

Large language models are increasingly becoming a popular tool for software development. Their ability to model and generate source code has been demonstrated in a variety of contexts, including code completion, summarization, translation, and lookup. However, they often struggle to generate code for complex programs. In this paper, we study the capabilities of state-of-the-art language models to generate parallel code. In order to evaluate language models, we create a benchmark, ParEval, consisting of prompts that represent 420 different coding tasks related to scientific and parallel computing. We use ParEval to evaluate the effectiveness of several state-of-the-art open- and closed-source language models on these tasks. We introduce novel metrics for evaluating the performance of generated code, and use them to explore how well each large language model performs for 12 different computational problem types and six different parallel programming models.

📄 PDF Abstract BibTeX arXiv:2401.12554

Code (1)

parallelcodefoundry/ParEval 공식 구현 pytorch

Tasks

Code CompletionCode GenerationLanguage ModelingLanguage ModellingLarge Language Model

Similar Papers 제목 키워드 기반

Transformers are Stateless Differentiable Neural Computers

2026-02-27 · Bo Tang, Weiwei Xie arxiv

Differentiable Neural Computers (DNCs) were introduced as recurrent architectures equipped with an addressable external memory supporting differentiable read and write operations. Transformers, in contrast, are nominally…

Trained Persistent Memory for Frozen Decoder-Only LLMs

2026-03-20 · Hong Jeong arxiv

Decoder-only language models are stateless: hidden representations are discarded after every forward pass and nothing persists across sessions. Jeong (2026a) showed that trained memory adapters give a frozen encoder-deco…

CoDesc: A Large Code-Description Parallel Dataset

2021-05-29 · Masum Hasan, Tanveer Muttaqueen, Abdullah Al Ishtiaq, Kazi Sajeed Mehrab 외

Translation between natural language and source code can help software development by enabling developers to comprehend, ideate, search, and write computer programs in natural language. Despite growing interest from the …

Code SearchCode SummarizationSource Code SummarizationTranslation

Adapting Language Models for Non-Parallel Author-Stylized Rewriting

2019-09-22 · Bakhtiyar Syed, Gaurav Verma, Balaji Vasan Srinivasan, Anandhavelu Natarajan 외

Given the recent progress in language modeling using Transformer-based neural models and an active interest in generating stylized text, we present an approach to leverage the generalization capabilities of a language mo…

DecoderDenoisingLanguage ModelingLanguage Modelling

The Impact of Multiple Parallel Phrase Suggestions on Email Input and Composition Behaviour of Native and Non-Native English Writers

2021-01-22 · Daniel Buschek, Martin Zürn, Malin Eiband

We present an in-depth analysis of the impact of multi-word suggestion choices from a neural language model on user behaviour regarding input and text composition in email writing. Our study for the first time compares d…

Language ModelingLanguage Modelling