How ishan-debugg/fine-tuning-lora works
This repository documents a notebook-based QLoRA fine-tuning project for structured JSON tool calling. Its principal workflow curates the xLAM function-calling dataset, fine-tunes Qwen2.5-1.5B with LoRA, and evaluates JSON structure and function-selection accuracy; the README also describes adapter-based inference and identifies DPO as a future direction. Notebook contents were not provided, so relationships below are limited to those explicitly documented in the README.
Main entry points: phase2sft.ipynb QLoRA fine-tuning · phase1.ipynb Dataset curation
Components 12
Data curation
- Dataset curation
phase1.ipynb - Curated splits
Fine-tuning
- QLoRA fine-tuning
notebooks/phase2sft.ipynb - Fine-tuning notebook
notebooks/Finetuning.ipynb - Qwen2.5-1.5B
- LoRA adapter
- DPO preference tuning
Inference and evaluation
- Tool-call inference
- SFT evaluation
notebooks/phase2sft.ipynb - JSON tool call
Other components
- xLAM dataset
- User
Connections 11
- xLAM dataset → Dataset curation: provides examples
Readme.md - Dataset curation → Curated splits: filters and splits
Readme.md - Curated splits → QLoRA fine-tuning: trains on
Readme.md - Qwen2.5-1.5B → QLoRA fine-tuning: fine-tunes
Readme.md - QLoRA fine-tuning → LoRA adapter: produces
Readme.md - User → Tool-call inference: provides input
Readme.md - Qwen2.5-1.5B → Tool-call inference: loads with adapter
Readme.md - LoRA adapter → Tool-call inference: configures
Readme.md - Tool-call inference → JSON tool call: generates
Readme.md - QLoRA fine-tuning → SFT evaluation: evaluates outputs
Readme.md - SFT evaluation → DPO preference tuning: motivates next step
Readme.md