Skip to content

Menu

Evaluation-first model customization

We fine-tune open-weight LLMs only when prompting and RAG hit their limit.

Most enterprise AI tasks don't need fine-tuning—they need disciplined prompt engineering, robust retrieval, and a reliable evaluation suite. But when schema drift breaks production, proprietary domain terminology confuses general models, or frontier API bills become prohibitive, we fine-tune a dedicated open-weight model on your data, prove it beats your baseline, and deploy it behind an endpoint you control.

Our rule: no training for its own sake

A model ships to production only if it demonstrably beats your baseline on accuracy, latency, or cost on a held-out evaluation set. If our initial feasibility audit shows that prompt engineering or RAG already meets your SLA, we hand you the solution and advise you not to spend budget on training.

Evaluation-gated

Held-out test suites decide every deployment. No moving goalposts or subjective demos.

Data stays in your boundary

Data and weights remain inside your Snowflake perimeter or private cloud VPC under your RBAC.

Yours to keep

You own all adapter weights, training scripts, curated datasets, and vLLM serving configs.

Loft leads this


Decision framework

Should you fine-tune? A clear, unhyped checklist.

Start with the gap you actually have. Often, better prompting or retrieval solves the problem faster and for less than training would.

Train

Fine-tuning (SFT)

The model knows the facts but speaks the wrong language or format.

Retrieve + train

Hybrid (RAG + PEFT)

Retrieve current context and pair it with a model adapted to your domain's style.

No training

Prompt engineering

The base model already does the job with clear instructions and examples.

Retrieve

Retrieval (RAG)

Information changes often, but the model's own reasoning is good enough.

Behavior gap: tone, syntax, structure, conversational style. Knowledge gap: proprietary facts, real-time data, specific documents.

Then check the details

Start with Prompting & RAG

Do not fine-tune yet if these match your situation

  • Facts & knowledge change frequently

    Product inventory, daily prices, and documentation updates belong in RAG retrieval. Fine-tuning freezes information into static weights.

  • A prompt baseline already passes

    If prompt engineering and few-shot examples meet your accuracy bar, fine-tuning adds retraining debt without meaningful ROI.

  • Broad general reasoning or open-ended chat

    Frontier general models already excel here. Fine-tuning is meant for deep specialization, not broad general intelligence.

  • No evaluation benchmark exists yet

    Training a model without a held-out evaluation set is flying blind. We build and freeze the evaluation suite before touching compute.

  • Low request volume

    Closed API pay-per-token pricing is far cheaper at low volume than maintaining dedicated GPU inference infrastructure.

Recommendation: We help you design optimal prompt templates, few-shot schemas, and vector retrieval pipelines without unnecessary model training.

Fine-Tuning Pays for Itself

The ideal solution when these constraints apply

  • Uncompromising format & tool-calling adherence

    Strict JSON schemas, deterministic SQL, or multi-step tool calls that prompt drift or frontier updates frequently break.

  • Nuanced, proprietary domain dialect

    Specialized medical codes, financial contracts, manufacturing logs, or legal clauses where generic models hallucinate.

  • Inference cost & latency reduction at scale

    At high volume, a smaller specialized open-weight model can replace calls to a large hosted model, cutting cost per request and response time.

  • Scorable business objectives (RL & DPO)

    Optimizing directly against measurable business metrics—such as ticket resolution rate, compliance pass rate, or citation accuracy.

  • Strict data privacy & regulatory isolation

    Regulated data that cannot leave your Snowflake boundary, private VPC (AWS/GCP/Azure), or on-prem hardware under enterprise RBAC.

Recommendation: For a narrow, high-volume task, a fine-tuned open-weight model can give you more consistent behavior, shorter prompts, and a lower cost per request than a large general model.

Optimization spectrum

Climb only as far as your evaluation benchmark demands.

We follow an incremental progression. Every level adds capability, but also adds maintenance. You should only cross the weight-adaptation boundary when the simpler options fall short.

Inference-time: no weight changesTraining: weights change

Only escalate to training when inference-time levers measurably plateau. →

  1. Step 1Prompt + few-shotSolves basic formatting
  2. Step 2RAG / tool accessSolves knowledge gaps
  3. Step 3Structured outputSolves schema violations
  4. Step 4SFT / LoRAFixes tone, syntax, and domain vocabulary
  5. Step 5Preference tuning (DPO)Turns acceptable answers into excellent ones
  6. Step 6RL fine-tuningGains on reasoning you can verify

Training pipeline

How a model learns your work.

Every aligned model goes through the same three phases. Each phase uses a different kind of data and produces a more useful model.

  1. Phase 1 · PretrainingDone by the model lab
    Unsupervised dataTrillions of tokens
    Next-token prediction
    Base model
  2. Phase 2 · Fine-tuning (SFT)Where we work
    Demonstration dataCurated prompt–response pairs
    Cross-entropy loss on target tokens
    SFT model
  3. Phase 3 · Preference tuningWhere we work
    Preference dataChosen > rejected answers
    RLHF or DPO
    Aligned model
We start from an open-weight base model, so the expensive pretraining phase is already done. Our work is phases 2 and 3: teaching the model your tasks, then tuning it toward the answers you prefer.

Execution platforms

Where we train and deploy your models.

We adapt models where your governance model dictates—inside Snowflake, on your private cloud GPUs, or served for mission-critical production throughput.

Snowflake · Public preview

Snowflake Cortex Training

Best for: Teams with structured data, tables, and interaction logs already in Snowflake.

  • Data, model weights, and optimizer states remain strictly within Snowflake RBAC boundaries.
  • Serverless SFT or reinforcement learning, full-parameter or LoRA, on families such as Qwen, Gemma, DeepSeek, Nemotron, and GLM.
  • Direct integration with Snowpark and Cortex AI Gateway interaction traces.
  • No GPU clusters to run; trained models deploy to OpenAI-compatible endpoints on dedicated GPUs.
AWS · GCP · Azure · On-Prem

Private Cloud & On-Prem GPUs

Best for: Teams requiring full control over the training stack, custom loss functions, or multi-node RL.

  • SFT, DPO, and reinforcement learning pipelines using open frameworks (Hugging Face TRL, veRL).
  • Deterministic, reproducible pipelines with pinned data splits, code, and base model revisions.
  • Parameter-efficient LoRA / QLoRA or full-parameter tuning sized exactly to your GPU budget.
  • Knowledge distillation from large frontier teacher models into efficient internal models.
vLLM · SGLang · TGI

High-Throughput Production Serving

Best for: Low-latency, high-concurrency production workloads requiring OpenAI API compatibility.

  • OpenAI-compatible inference endpoint for drop-in compatibility with existing SDKs.
  • Continuous batching, PagedAttention, and speculative decoding for maximum tokens/second.
  • Cold-start minimization, warm capacity autoscaling, and private VPC network isolation.
  • Comprehensive Prometheus/Grafana dashboards for TTFT, queue depth, and cost per request.

Delivery blueprint

From the initial feasibility audit to production serving.

Every step concludes with measurable empirical evidence and a Go / No-Go decision. You never pay for unnecessary GPU training hours.

Phase 01

Baseline & Fit Audit

We test prompting and retrieval against your evaluation criteria. Fine-tuning is greenlit only where a provable quality, latency, or cost gap remains.

Gate / Deliverable: Go / No-Go Gate: If prompt engineering already clears your target threshold, we recommend against training.

Phase 02

Data Curation & Eval Harness

Curate real enterprise cases, synthetic edge cases, and human corrections. Strict PII redaction and automated scoring rubrics are established.

Gate / Deliverable: Deliverable: Locked, held-out evaluation benchmark that never contaminates training splits.

Phase 03

Base Model & Architecture Selection

Evaluate candidate open-weight models (Qwen, DeepSeek, Llama, Gemma) against your latency, context length, and licensing constraints.

Gate / Deliverable: Deliverable: Model selection matrix evaluating license, parameter count, and GPU topology.

Phase 04

Targeted Training & Alignment

Execute SFT, LoRA adapters, or preference alignment (DPO/RL). Hyperparameters are tuned systematically against validation loss and task metrics.

Gate / Deliverable: Deliverable: Reproducible training run with tracked loss curves and alignment validation.

Phase 05

Side-by-Side Proof of Gain

A rerunnable, reproducible evaluation report comparing the fine-tuned checkpoint against the baseline prompt and frontier APIs.

Gate / Deliverable: Release Gate: The model only ships if it beats the baseline on accuracy, speed, or cost.

Phase 06

Production Serving & Runbook

Deploy behind an OpenAI-compatible endpoint with vLLM or Snowflake Cortex. Hand over continuous retraining procedures and drift alerts.

Gate / Deliverable: Deliverable: Private endpoint deployment, telemetry dashboards, and retraining guide.

Asset sovereignty

What you keep when we hand over.

We build production systems, not proprietary silos. Everything created during the engagement is handed over to your team.

Reproducible Training Pipelines

All training code, hyperparameters, environment containers, and pinned data versions.

Held-Out Evaluation Suite

Automated scoring harnesses, golden test splits, and regression tests your team can rerun anytime.

Model Weights & Adapters

Clean LoRA adapters and merged weights in standard open formats (Safetensors / GGUF).

Production Serving Manifests

vLLM, SGLang, or Snowflake Cortex deployment configurations and autoscaling rules.

Retraining & Curation Runbook

Step-by-step operating documentation for incorporating production traces into future fine-tuning iterations.


FAQ

Common questions from engineering leaders.

Transparent answers on datasets, deployment boundaries, and the reality of model fine-tuning.

Start here

Have a workload you think needs fine‑tuning?

Tell us about the task. We'll review it with sample data and your current baseline, and tell you honestly whether fine-tuning is justified or whether better prompting will do the job for less.