Free and Customizable Code Documentation with LLMs: A Fine-Tuning Approach

Sayak Chakrabarty, Souradip Pal
12/1/2024
cs.SEcs.AIcs.LG

No official code found. Best implementation: souradipp76/ReadMeReady (14 stars, Apache-2.0, last commit 2026-04-16).

Abstract

Automated documentation of programming source code is a challenging task with significant practical and scientific implications for the developer community. We present a large language model (LLM)-based application that developers can use as a support tool to generate basic documentation for any publicly available repository. Over the last decade, several papers have been written on generating documentation for source code using neural network architectures. With the recent advancements in LLM technology, some open-source applications have been developed to address this problem. However, these applications typically rely on the OpenAI APIs, which incur substantial financial costs, particularly for large repositories. Moreover, none of these open-source applications offer a fine-tuned model or features to enable users to fine-tune. Additionally, finding suitable data for fine-tuning is often challenging. Our application addresses these issues which is available at https://pypi.org/project/readme-ready/.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Tool for auto-generating README documentation for code repositories

142TeX, ShellApr 14, 20246 months agoApache-2.0
fine-tuningllmqloraretrieval-augmented-generation

Similar Papers

Cite this paper

@article{chakrabarty2024free,
  title  = {Free and Customizable Code Documentation with LLMs: A Fine-Tuning Approach},
  author = {Sayak Chakrabarty and Souradip Pal},
  year   = {2024},
  eprint = {2412.00726},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2412.00726v1}
}

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/2412.00726.svg)](https://codeofpaper.com/paper/2412.00726)

Discussion