Fine-Tuning of Large Language Models for Solving DSA Problems Using QLoRA

Fine-tuning large language models (LLMs) for domain specific tasks is often an expensive resource intensive procedure requiring large computing and memory resources. In this paper, We introduce finetuned-leetcode-CodeLlama-7b, a version of CodeLlama that was fine tuned for solving LeetCode problems, specifically. Using QLoRA (Quantized Low Rank Adaptation) techniques, we show that smaller models achieve high performance when solving Data Structure and Algorithm (DSA) problems, providing a cost effective alternative to larger models. The proposed incremental approach reduces memory and computational needs, keeping high accuracy while providing advanced problem-solving in resource constrained environments.

Authors

Publication Details

Published
2025-03-21
DOI
https://doi.org/10.1109/comp-sif65618.2025.10969969
Primary Topic
Text and Document Classification Technologies
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Fine-Tuning of Large Language Models for Solving DSA Problems Using QLoRA

T. Satish Kumar, Pratik Patil, Koteswara Rao Anne, Pothireddy Harshini et al.
Text and Document Classification Technologies
article

Fine-Tuning of Large Language Models for Solving DSA Problems Using QLoRA

T. Satish Kumar, Pratik Patil, Koteswara Rao Anne, Pothireddy Harshini, Pavan Kalyan S, Prem Raj S
article en

Abstract

Fine-tuning large language models (LLMs) for domain specific tasks is often an expensive resource intensive procedure requiring large computing and memory resources. In this paper, We introduce finetuned-leetcode-CodeLlama-7b, a version of CodeLlama that was fine tuned for solving LeetCode problems, specifically. Using QLoRA (Quantized Low Rank Adaptation) techniques, we show that smaller models achieve high performance when solving Data Structure and Algorithm (DSA) problems, providing a cost effective alternative to larger models. The proposed incremental approach reduces memory and computational needs, keeping high accuracy while providing advanced problem-solving in resource constrained environments.

Quality Education
Openalex Percentile: Top 96%
Text and Document Classification Technologies
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.