Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash
80 tokens/sec
GPT-4o
59 tokens/sec
Gemini 2.5 Pro Pro
43 tokens/sec
o3 Pro
7 tokens/sec
GPT-4.1 Pro
50 tokens/sec
DeepSeek R1 via Azure Pro
28 tokens/sec
2000 character limit reached

CoDesc: A Large Code-Description Parallel Dataset (2105.14220v1)

Published 29 May 2021 in cs.CL and cs.AI

Abstract: Translation between natural language and source code can help software development by enabling developers to comprehend, ideate, search, and write computer programs in natural language. Despite growing interest from the industry and the research community, this task is often difficult due to the lack of large standard datasets suitable for training deep neural models, standard noise removal methods, and evaluation benchmarks. This leaves researchers to collect new small-scale datasets, resulting in inconsistencies across published works. In this study, we present CoDesc -- a large parallel dataset composed of 4.2 million Java methods and natural language descriptions. With extensive analysis, we identify and remove prevailing noise patterns from the dataset. We demonstrate the proficiency of CoDesc in two complementary tasks for code-description pairs: code summarization and code search. We show that the dataset helps improve code search by up to 22\% and achieves the new state-of-the-art in code summarization. Furthermore, we show CoDesc's effectiveness in pre-training--fine-tuning setup, opening possibilities in building pretrained LLMs for Java. To facilitate future research, we release the dataset, a data processing tool, and a benchmark at \url{https://github.com/csebuetnlp/CoDesc}.

User Edit Pencil Streamline Icon: https://streamlinehq.com
Authors (9)
  1. Masum Hasan (14 papers)
  2. Tanveer Muttaqueen (2 papers)
  3. Abdullah Al Ishtiaq (4 papers)
  4. Kazi Sajeed Mehrab (9 papers)
  5. Md. Mahim Anjum Haque (7 papers)
  6. Tahmid Hasan (10 papers)
  7. Wasi Uddin Ahmad (41 papers)
  8. Anindya Iqbal (24 papers)
  9. Rifat Shahriyar (25 papers)
Citations (24)