paper-with-me

홈 › Papers

LoRACode: LoRA Adapters for Code Embeddings

2025-03-07 · Saumya Chaturvedi, Aman Chadha, Laurent Bindschaedler

Code embeddings are essential for semantic code search; however, current approaches often struggle to capture the precise syntactic and contextual nuances inherent in code. Open-source models such as CodeBERT and UniXcoder exhibit limitations in scalability and efficiency, while high-performing proprietary systems impose substantial computational costs. We introduce a parameter-efficient fine-tuning method based on Low-Rank Adaptation (LoRA) to construct task-specific adapters for code retrieval. Our approach reduces the number of trainable parameters to less than two percent of the base model, enabling rapid fine-tuning on extensive code corpora (2 million samples in 25 minutes on two H100 GPUs). Experiments demonstrate an increase of up to 9.1% in Mean Reciprocal Rank (MRR) for Code2Code search, and up to 86.69% for Text2Code search tasks across multiple programming languages. Distinction in task-wise and language-wise adaptation helps explore the sensitivity of code retrieval for syntactical and linguistic variations. To foster research in this area, we make our code and pre-trained models publicly available.

📄 PDF Abstract BibTeX arXiv:2503.05315

Code (0)

등록된 구현이 없습니다.

Tasks

Code Searchparameter-efficient fine-tuningRetrieval

Methods 이 논문이 사용한 방법론

CodeBERT 설명 없음
BASE 설명 없음

Similar Papers 제목 키워드 기반

Effective LoRA Adapter Routing using Task Representations

2026-01-29 · Akash Dhasade, Anne-Marie Kermarrec, Igor Pavlovic, Diana Petrescu 외 arxiv

Low-rank adaptation (LoRA) enables parameter efficient specialization of large language models (LLMs) through modular adapters, resulting in rapidly growing public adapter pools spanning diverse tasks. Effectively using …

S-LoRA: Serving Thousands of Concurrent LoRA Adapters

2023-11-06 · Ying Sheng, Shiyi Cao, Dacheng Li, Coleman Hooper 외

The "pretrain-then-finetune" paradigm is commonly adopted in the deployment of large language models. Low-Rank Adaptation (LoRA), a parameter-efficient fine-tuning method, is often employed to adapt a base model to a mul…

GPUparameter-efficient fine-tuning

Prompt Sliders for Fine-Grained Control, Editing and Erasing of Concepts in Diffusion Models

2024-09-25 · Deepak Sridhar, Nuno Vasconcelos

Diffusion models have recently surpassed GANs in image synthesis and editing, offering superior image quality and diversity. However, achieving precise control over attributes in generated images remains a challenge. Con…

Image Generation

jina-embeddings-v3: Multilingual Embeddings With Task LoRA

2024-09-16 · Saba Sturua, Isabelle Mohr, Mohammad Kalim Akram, Michael Günther 외

We introduce jina-embeddings-v3, a novel text embedding model with 570 million parameters, achieves state-of-the-art performance on multilingual data and long-context retrieval tasks, supporting context lengths of up to …

MTEB BenchmarkRepresentation LearningRetrievalText Matching

Weight space Detection of Backdoors in LoRA Adapters

2026-02-16 · David Puertolas Merenciano, Ekaterina Vasyagina, Kevin Zhu, Javier Ferrando 외 arxiv

LoRA adapters let users fine-tune large language models (LLMs) efficiently. However, LoRA adapters are shared through open repositories like Hugging Face Hub \citep{huggingface_hub_docs}, making them vulnerable to backdo…