paper-with-me

홈 › Papers

Learning code summarization from a small and local dataset

2022-06-02 · Toufique Ahmed, Premkumar Devanbu

Foundation models (e.g., CodeBERT, GraphCodeBERT, CodeT5) work well for many software engineering tasks. These models are pre-trained (using self-supervision) with billions of code tokens, and then fine-tuned with hundreds of thousands of labeled examples, typically drawn from many projects. However, software phenomena can be very project-specific. Vocabulary, and other phenomena vary substantially with each project. Thus, training on project-specific data, and testing on the same project, is a promising idea. This hypothesis has to be evaluated carefully, e.g., in a time-series setting, to prevent training-test leakage. We compare several models and training approaches, including same-project training, cross-project training, training a model especially designed to be sample efficient (and thus prima facie well-suited for learning in a limited-sample same-project setting) and a maximalist hybrid approach, fine-tuning first on many projects in many languages and then training on the same-project. We find that the maximalist hybrid setting provides consistent, substantial gains over the state-of-the-art, on many different projects in both Java and Python.

📄 PDF Abstract BibTeX arXiv:2206.00804

Code (0)

등록된 구현이 없습니다.

Tasks

Code SummarizationTime SeriesTime Series Analysis

Methods 이 논문이 사용한 방법론

CodeBERT 설명 없음

Similar Papers 제목 키워드 기반

Hierarchical Repository-Level Code Summarization for Business Applications Using Local LLMs

2025-01-14 · Nilesh Dhulshette, Sapan Shah, Vinay Kulkarni

In large-scale software development, understanding the functionality and intent behind complex codebases is critical for effective development and maintenance. While code summarization has been widely studied, existing m…

Code Summarization

Baichuan2-Sum: Instruction Finetune Baichuan2-7B Model for Dialogue Summarization

2024-01-27 · Jianfei Xiao, Yancan Chen, Yimin Ou, Hanyi Yu 외

Large language models (LLMs) like Llama, Baichuan and Bloom models show remarkable ability with instruction fine-tuning in many natural language tasks. Nevertheless, for the dialogue summarization task, which aims to gen…

FullTransNet: Full Transformer with Local-Global Attention for Video Summarization

2025-01-01 · Libin Lan, Lu Jiang, Tianshu Yu, Xiaojuan Liu 외

Video summarization mainly aims to produce a compact, short, informative, and representative synopsis of raw videos, which is of great importance for browsing, analyzing, and understanding video content. Dominant video s…

DecoderSupervised Video SummarizationVideo Summarization

Abstractive Text Summarization based on Language Model Conditioning and Locality Modeling

2020-03-29 · LREC 2020 5 · Dmitrii Aksenov, Julián Moreno-Schneider, Peter Bourgonje, Robert Schwarzenberg 외

We explore to what extent knowledge about the pre-trained language model that is used is beneficial for the task of abstractive summarization. To this end, we experiment with conditioning the encoder and decoder of a Tra…

Abstractive Text SummarizationDecoderLanguage ModelingLanguage Modelling+1

TriSum: Learning Summarization Ability from Large Language Models with Structured Rationale

2024-03-15 · Pengcheng Jiang, Cao Xiao, Zifeng Wang, Parminder Bhatia 외

The advent of large language models (LLMs) has significantly advanced natural language processing tasks like text summarization. However, their large size and computational demands, coupled with privacy concerns in data …

Text Summarization