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
- T. Satish Kumar (ORCID: https://orcid.org/0000-0001-8191-416X)
- Pratik Patil (ORCID: https://orcid.org/0000-0002-7200-3572)
- Koteswara Rao Anne (ORCID: https://orcid.org/0000-0003-1735-6540)
- Pothireddy Harshini
- Pavan Kalyan S
- Prem Raj S
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