Alongside a RAG demo, I fine-tuned a model with QLoRA on 4,026 question-and-answer pairs, then brought it back to run locally. The compute cost about a dollar.
The question. My RAG demo runs on a real company’s public site: crawl, hybrid search, reranking. Retrieval brings the right passages. I wanted to know how far a small fine-tune could push the model on that one domain, and what it would actually cost.
The run. QLoRA trains small adapter layers on top of a frozen, 4-bit quantised model, which keeps the whole job on a single GPU. I trained on 4,026 generated question-and-answer pairs. The run took about an hour and a half on an A100, for roughly one dollar of compute.
Back to local. Once trained, the model was exported to run locally, next to the retrieval pipeline. The finished assistant answers without calling any external API.
What I kept. Fine-tuning is no longer the expensive part of the job: the compute was cheap, the dataset is where the time goes. And it works with retrieval, not instead of it. Retrieval brings the facts; the fine-tune shapes how the model uses them.