mlsanityData to 7 Oct 2026

Creating a Dataset for High-Performance Computing Code Translation using LLMs: A Bridge Between OpenMP Fortran and C++

arXiv 2307.07686 ↗First posted 15 Jul 2023cs.SE cs.AI cs.LGcited by 11

Not on the map. Why?

Abstract (arXiv)

In this study, we present a novel dataset for training machine learning models translating between OpenMP Fortran and C++ code. To ensure reliability and applicability, the dataset is created from a range of representative open-source OpenMP benchmarks. It is also refined using a meticulous code similarity test. The effectiveness of our dataset is assessed using both quantitative (CodeBLEU) and qualitative (human evaluation) methods. We showcase how this dataset significantly elevates the translation competencies of large language models (LLMs). Specifically, models without prior coding knowledge experienced a boost of ×~5.1 in their CodeBLEU scores, while models with some coding familiarity saw an impressive ×~9.9-fold increase. The best fine-tuned model using our dataset outperforms GPT-4. It is also reaching human-level accuracy. This work underscores the immense potential of our dataset in propelling advancements in the domain of code translation for high-performance computing. The dataset is accessible at hrefhttps://github.com/bin123apple/Fortran-CPP-HPC-code-translation-datasetOpenMP-Fortran-CPP-Translation.

Key facts. Cited by 11 papers in the map (data through 7 Oct 2026). Builds on 6 of its 22 references that are in the map. First posted on arXiv 15 Jul 2023.

Builds on

6 of 22 references.

References · 6

  1. 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,464
  2. 2023StarCoder: may the source be with you!cited by 790
  3. 2020CodeBLEU: a Method for Automatic Evaluation of Code Synthesiscited by 468
  4. 2023How Good Are GPT Models at Machine Translation? A Comprehensive Evaluationcited by 344
  5. 2020Unsupervised Translation of Programming Languagescited by 262
  6. 2021CodeNet: A Large-Scale AI for Code Dataset for Learning a Diversity of Coding Taskscited by 199

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 4; 2025: 5; 2026: 2.

11 papers.