paper-with-me

Papers

CodeT5+: Open Code Large Language Models for Code Understanding and Generation

2023-05-13 · Yue Wang, Hung Le, Akhilesh Deepak Gotmare, Nghi D. Q. Bui, Junnan Li, Steven C. H. Hoi

Large language models (LLMs) pretrained on vast source code have achieved prominent progress in code intelligence. However, existing code LLMs have two main limitations in terms of architecture and pretraining tasks. First, they often adopt a specific architecture (encoder-only or decoder-only) or rely on a unified encoder-decoder network for different downstream tasks. The former paradigm is limited by inflexibility in applications while in the latter, the model is treated as a single system for all tasks, leading to suboptimal performance on a subset of tasks. Secondly, they often employ a limited set of pretraining objectives which might not be relevant to some downstream tasks and hence result in substantial performance degrade. To address these limitations, we propose ``CodeT5+'', a family of encoder-decoder LLMs for code in which component modules can be flexibly combined to suit a wide range of downstream code tasks. Such flexibility is enabled by our proposed mixture of pretraining objectives to mitigate the pretrain-finetune discrepancy. These objectives cover span denoising, contrastive learning, text-code matching, and causal LM pretraining tasks, on both unimodal and bimodal multilingual code corpora. Furthermore, we propose to initialize CodeT5+ with frozen off-the-shelf LLMs without training from scratch to efficiently scale up our models, and explore instruction-tuning to align with natural language instructions. We extensively evaluate CodeT5+ on over 20 code-related benchmarks in different settings, including zero-shot, finetuning, and instruction-tuning. We observe state-of-the-art (SoTA) model performance on various code-related tasks, such as code generation and completion, math programming, and text-to-code retrieval tasks. Particularly, our instruction-tuned CodeT5+ 16B achieves new SoTA results on HumanEval code generation task against other open code LLMs.

📄 PDF Abstract BibTeX arXiv:2305.07922

Code (2)

salesforce/codet5 공식 구현 pytorch
leiluk1/codesearcher pytorch

Tasks

Arithmetic ReasoningCode CompletionCode GenerationCode SearchCode SummarizationDecoderHumanEvalMath

Methods 이 논문이 사용한 방법론

ALIGN In the ALIGN method, visual and language representations are jointly trained from noisy image alt-text data. The image and text encoders are learned via contrastive loss…

Similar Papers 제목 키워드 기반

CoDet: Co-Occurrence Guided Region-Word Alignment for Open-Vocabulary Object Detection

2023-10-25 · NeurIPS 2023 11 · Chuofan Ma, Yi Jiang, Xin Wen, Zehuan Yuan 외

Deriving reliable region-word alignment from image-text pairs is critical to learn object-level vision-language representations for open-vocabulary object detection. Existing methods typically rely on pre-trained or self…

Objectobject-detectionObject DetectionObject Discovery+3

CodeTF: One-stop Transformer Library for State-of-the-art Code LLM

2023-05-31 · Nghi D. Q. Bui, Hung Le, Yue Wang, Junnan Li 외

Code intelligence plays a key role in transforming modern software engineering. Recently, deep learning-based models, especially Transformer-based large language models (LLMs), have demonstrated remarkable potential in t…

CodeTransOcean: A Comprehensive Multilingual Benchmark for Code Translation

2023-10-08 · Weixiang Yan, Yuchen Tian, Yunzhe Li, Qian Chen 외

Recent code translation techniques exploit neural machine translation models to translate source code from one programming language to another to satisfy production compatibility or to improve efficiency of codebase main…

Code TranslationMachine TranslationTranslation

Cracking the Code: Enhancing Implicit Hate Speech Detection through Coding Classification

2025-06-05 · Lu Wei, Liangzhi Li, Tong Xiang, Xiao Liu 외

The internet has become a hotspot for hate speech (HS), threatening societal harmony and individual well-being. While automatic detection methods perform well in identifying explicit hate speech (ex-HS), they struggle wi…

Hate Speech Detection

CodeTaxo: Enhancing Taxonomy Expansion with Limited Examples via Code Language Prompts

2024-08-17 · Qingkai Zeng, Yuyang Bai, Zhaoxuan Tan, Zhenyu Wu 외

Taxonomies play a crucial role in various applications by providing a structural representation of knowledge. The task of taxonomy expansion involves integrating emerging concepts into existing taxonomies by identifying …

Taxonomy Expansion