Open-source LLM specialist · available Q3

I fine-tune open-source LLMs for production.

Independent ML engineer fine-tuning & post-training open-weight models — Llama, Mistral, Qwen, Gemma — with SFT, DPO and GRPO for tool-use and agentic tasks. From raw data to a deployable endpoint, no agency markup.

View case studies
$5–9/hr
Transparent rate
40+
Models shipped
12
Open-source repos
Rate list

Three ways to work together

Billed hourly, $5–9/hr depending on depth. No retainers locked behind contracts — start small, scale if it works.

Fine-tune Sprint
A focused engagement to LoRA / QLoRA fine-tune a single open model on your data.
$5/ hour
1 base model (≤13B)
LoRA / QLoRA adapter
Eval report + sample outputs
Async, 1–2 week turnaround
RL & Agentic Fine-tuning
Post-train tool-use & agentic models — SFT → DPO → GRPO with custom reward functions and verifiers.
$9/ hour
SFT → DPO → GRPO progression
Reward functions & verifiers (LLM-as-judge)
Tool-use / agentic trajectory data
pass@k / pass^k eval harness
Embedded / Retainer
I join your team part-time — standups, code review, and continuous model iteration.
$9/ hour
Dedicated weekly hours
Architecture & infra review
On-call for prod incidents
Knowledge transfer + docs
Selected work

Models in production, results in the open

A sample of recent engagements — open any card for the full write-up. More benchmarks available on request.

Customer support · SaaS

Support copilot on Llama-3.1-8B

Curated 60k tickets into an SFT set, tuned + DPO-aligned an 8B model, served via vLLM. Replaced a frontier API at 1/30th the cost.

−96%
Inference cost
3.1×
Throughput
8B
Params
Legal · Document AI

Clause extraction, Mistral-7B

Built a synthetic + human-labeled dataset for contract clause tagging. Quantized to 4-bit for on-prem GPU deployment.

94.2
F1 score
4-bit
Quant
On-prem
Deploy
Coding · Dev tools

Repo-aware Qwen2.5-Coder

Continued-pretraining on a private monorepo, then instruction-tuned for the team's conventions and review style.

+22pt
HumanEval
14B
Params
6 wk
Timeline
Research · Open-source

Gemma-2 alignment study

Published reproducible recipes + eval harness comparing SFT, DPO and KTO on small open models. 1.4k GitHub stars.

1.4k
Stars
3
Methods
MIT
License
Agentic · Tool-use RL

Tool-use agent via SFT → DPO → GRPO

Post-trained a Qwen tool-use agent: SFT on golden trajectories, DPO on preference pairs, then GRPO with programmatic + LLM-as-judge verifiers. Scored with pass@k / pass^k.

GRPO
RL stage
pass^k
Eval
Tool-use
Agentic
How it works

From raw data to a deployable model

Every engagement runs the same transparent loop. You see progress weekly.

01

Scope

A short call to map the task, data and success metric. You get a fixed hour estimate.

02

Data

Curate, clean and format. The dataset is where 80% of model quality is won.

03

Train

SFT, then preference tuning (DPO/KTO). Tracked, reproducible, version-pinned.

04

Ship

Quantize, benchmark, and hand off a served endpoint with docs and eval dashboards.

About

An independent engineer, not an agency.

I'm Sahil Chandel. For three years I've trained and shipped open-weight language models for startups, labs and enterprise teams who want the control and economics of running their own models.

No account managers, no markup, no black boxes — you work directly with the person doing the training, and you keep every weight, dataset and recipe.

Llama 3.xMistral / MixtralQwen 2.5Gemma 2Phi-3DeepSeekSmolLM
// stack
Post-trainingSFT · DPO · PPO · GRPO · RLHF
PEFTLoRA · QLoRA · full fine-tuning
RL & rewardsVerifiers · LLM-as-judge · rejection sampling
DataGolden trajectories · preference pairs · rollouts
TrainingPyTorch · HF TRL · Accelerate · DeepSpeed · FSDP
ServingvLLM · TGI · llama.cpp · YaRN / RoPE long-context
AgenticTool-use · function calling · MCP · LangGraph
Evalpass@k · pass^k · trajectory & rubric scoring
InfraAWS · GCP · RunPod · Docker · multi-GPU
FAQ

Fine-tuning, answered

The questions teams ask before we start. Anything else — just book a call.

How much does it cost to fine-tune an open-source LLM?

Work is billed transparently at $5–9 per hour with a fixed hour estimate up front — no agency markup and no locked-in retainers. A focused LoRA / QLoRA fine-tuning sprint on a single model usually lands in the low hundreds of dollars; a full production pipeline with dataset curation, training, evaluation and a served endpoint costs more depending on data size and scope.

What is LoRA and QLoRA fine-tuning?

LoRA (Low-Rank Adaptation) trains a small set of adapter weights on top of a frozen base model, so you get task-specific behaviour without retraining billions of parameters. QLoRA does the same on a 4-bit quantized model, which slashes GPU memory — that is how a capable 7–13B model can be fine-tuned affordably and still served cheaply.

Which open-source models do you fine-tune?

Open-weight families including Llama 3.x, Mistral and Mixtral, Qwen 2.5, Gemma 2, Phi-3, DeepSeek and SmolLM. Model choice is driven by your task, latency budget and licence — I recommend the smallest model that hits your quality bar so inference stays inexpensive.

How long does it take to fine-tune a model?

A single-model LoRA / QLoRA sprint is typically a 1–2 week async turnaround. A full end-to-end production pipeline — dataset curation, supervised fine-tuning, preference tuning (DPO / KTO), quantization and a deployed endpoint — usually runs 4–6 weeks with weekly progress checkpoints.

Do I own the model weights, dataset and training code?

Yes — completely. You keep every weight, the cleaned dataset, the training configs and the recipe. There are no black boxes and no vendor lock-in: you can re-run, re-train or hand the whole thing to your own team at any time.

Fine-tuning vs RAG — which one do I actually need?

RAG (retrieval-augmented generation) is best when the model must reference changing facts or documents; fine-tuning is best when you need a consistent style, output format, task behaviour or domain skill baked into the model. They are complementary — many production systems fine-tune for behaviour and add RAG for knowledge, and I can help you decide on a short scoping call.

Can you deploy the fine-tuned model to production?

Yes. Models are quantized (AWQ / GGUF) and served on vLLM, TGI or llama.cpp behind an OpenAI-compatible endpoint, with benchmarks and eval dashboards. Deployment can be in the cloud or fully on-prem if your data cannot leave your own GPUs.

Can you work with private or on-prem data?

Absolutely. Pipelines support strict PII scrubbing and fully on-prem training and serving — no data egress and no external API calls — which is how recent legal and document-AI work reached high accuracy while running entirely on the customer's own hardware.

What is GRPO, DPO and PPO — and when do you use each?

They are LLM post-training methods. DPO (Direct Preference Optimization) aligns a model from preference pairs without a separate reward model — simple and stable. PPO is classic RLHF with a learned reward model. GRPO (Group Relative Policy Optimization) compares groups of sampled completions and works well with programmatic or rule-based rewards — ideal for tool-use and reasoning. A common progression is SFT → DPO → GRPO.

Can you fine-tune tool-use or agentic models?

Yes. I post-train models for function calling, multi-step tool selection and planner-executor patterns using golden trajectories, preference pairs and on-policy rollouts, then reinforce with GRPO and verifiers. I also debug agent-specific failure modes — tool-selection vs state-transition errors and chat-template / format drift.

How do you build reward functions and verifiers for RL training?

With a mix of programmatic verifiers (exact checks, unit tests, state-transition checks against a gym environment), LLM-as-judge rubrics for fuzzier quality, and binary or graded scoring. I design rewards to resist reward hacking and watch for KL blow-up and distribution collapse during training.

How do you evaluate a fine-tuned model (pass@k vs pass^k)?

With task-appropriate harnesses: pass@k (did any of k samples succeed) for capability, pass^k (did all k succeed) for reliability, plus trajectory-level scoring and rubric-based vs binary grading. I track judge variance and report model quality against clear benchmarks, not just training loss.

Can you do long-context tuning with YaRN / RoPE scaling?

Yes. I extend context windows using RoPE scaling / YaRN and validate retention with long-context evals, then serve efficiently with vLLM (extended-context configs) for fast, batched inference.

Let's build

Have a model that needs training?

Tell me the task and the data you have. I'll reply within a day with an approach and an hour estimate.

Thanks — I'll be in touch within a day.