arXiv · 2310.16673
Exploring Large Language Models for Code Explanation
Abstract
Automating code documentation through explanatory text can prove highly beneficial in code understanding. Large Language Models (LLMs) have made remarkable strides in Natural Language Processing, especially within software engineering tasks such as code generation and code summarization. This study specifically delves into the task of generating natural-language summaries for code snippets, using various LLMs. The findings indicate that Code LLMs outperform their generic counterparts, and zero-shot methods yield superior results when dealing with datasets with dissimilar distributions between training and testing sets.
Explore related subjects
Keep this discovery
Paheli Bhattacharya, Manojit Chakraborty, Kartheek N S N Palepu, Vikas Pandey, Ishan Dindorkar, Rakesh Rajpurohit, Rishabh Gupta. 2023-10-25. Exploring Large Language Models for Code Explanation. https://arxiv.org/abs/2310.16673
Cite the original work for its findings. Save a collection to share your selection of sources.