Distilled GPT for Source Code Summarization
A code summary is a brief natural language description of source code. Summaries are usually only a single sentence long, and yet form the backbone of developer documentation. A short descriptions such as "changes all visible polygons to the color blue" can give a programmer a high-level idea of what code does without the effort of reading the code itself. Recently, products based on Large Language Models such as ChatGPT have demonstrated a strong ability to write these descriptions automatically. However, to use these tools, programmers must send their code to untrusted third parties for processing (e.g., via an API call). This loss of custody is not acceptable to many organizations. In this paper, we present an alternative: we train an open source model using sample output generated by GPT-3.5 in a process related to knowledge distillation. Our model is small enough (350m parameters) to be run on a single 16gb GPU, yet we show in our evaluation that it is large enough to mimic GPT-3.5 on this task.
Code (1)
Tasks
Code SummarizationGPUKnowledge DistillationSentenceSource Code SummarizationMethods 이 논문이 사용한 방법론
Similar Papers 제목 키워드 기반
Improving Long Text Understanding with Knowledge Distilled from Summarization Model
Long text understanding is important yet challenging for natural language processing. A long article or document usually contains many redundant words that are not pertinent to its gist and sometimes can be regarded as n…
Abstractive Text SummarizationDocument ClassificationOpen-Domain Question AnsweringQuestion Answering+2Efficient Multilingual Dialogue Processing via Translation Pipelines and Distilled Language Models
This paper presents team Kl33n3x's multilingual dialogue summarization and question answering system developed for the NLPAI4Health 2025 shared task. The approach employs a three-stage pipeline: forward translation from …
Knowledge DistillationQuestion AnsweringText GenerationImpossible Distillation: from Low-Quality Model to High-Quality Dataset & Model for Summarization and Paraphrasing
We present Impossible Distillation, a novel framework for paraphrasing and sentence summarization, that distills a high-quality dataset and model from a low-quality teacher that itself cannot perform these tasks. Unlike …
DiversitymodelParaphrase GenerationSentence+1Enhance Long Text Understanding via Distilled Gist Detector from Abstractive Summarization
Long text understanding is important yet challenging in natural language processing. A long article or essay usually contains many redundant words that are not pertinent to its gist and sometimes can be regarded as noise…
Abstractive Text SummarizationDocument ClassificationOpen-Domain Question AnsweringQuestion Answering+2NarraSum: A Large-Scale Dataset for Abstractive Narrative Summarization
Narrative summarization aims to produce a distilled version of a narrative to describe its most salient events and characters. Summarizing a narrative is challenging as it requires an understanding of event causality and…
Natural Language Understanding