Automatic Pull Request Description Generation Using LLMs: A T5 Model Approach

Md Nazmus Sakib, Md Athikul Islam, Md Mashrur Arifin
8/1/2024
cs.LGcs.CLcs.SE

No confident code implementation found for this paper. 3 possible matches can be shown below.

Abstract

Developers create pull request (PR) descriptions to provide an overview of their changes and explain the motivations behind them. These descriptions help reviewers and fellow developers quickly understand the updates.

Show full abstract

Despite their importance, some developers omit these descriptions. To tackle this problem, we propose an automated method for generating PR descriptions based on commit messages and source code comments. This method frames the task as a text summarization problem, for which we utilized the T5 text-to-text transfer model. We fine-tuned a pre-trained T5 model using a dataset containing 33,466 PRs. The model's effectiveness was assessed using ROUGE metrics, which are recognized for their strong alignment with human evaluations. Our findings reveal that the T5 model significantly outperforms LexRank, which served as our baseline for comparison.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 3 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{sakib2024automatic,
  title  = {Automatic Pull Request Description Generation Using LLMs: A T5 Model Approach},
  author = {Md Nazmus Sakib and Md Athikul Islam and Md Mashrur Arifin},
  year   = {2024},
  eprint = {2408.00921},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2408.00921v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2408.00921.svg)](https://codeofpaper.com/paper/2408.00921)

Discussion