Supervised fine-tuning (SFT) with LoRA
Learn a small adapter from reviewed demonstrations while keeping the base model frozen.
Choose SFT → LoRA, the fresh SFT default. Engram adapter and Neuron training are other supervised modifications with their own forms and runtime requirements. Ordinary SFT + LoRA starts from the pinned base; a scheduled fresh-base batch is not generic saved-adapter continuation.
Supervised fine-tuning (SFT) learns to produce desired answers from demonstrations. LoRA controls which weights change: selected linear layers add a small learned update to a frozen base model. The managed SFT path uses a qualified single-GPU LoRA runtime; it does not expose arbitrary full-weight training.
Where the adapter fits
At one selected linear layer, W0 is the frozen weight and the adapter adds
scale × B × A. A compresses the incoming features to rank r; B maps them
back to the output size. The same low-rank factors are used across that layer's
tokens. Each selected module has its own factors; this is not a claim that every
layer shares one global A matrix. LoRA paper.
Solid arrows show forward computation; dashed arrows show parameter updates. The current supervised trainer masks prompt tokens from the loss and learns from answer tokens. Targets must fit the sequence limits; an answer is not silently made valid by cutting off its end.
Independent and shared adapter factors
Multiple low-rank updates can contribute to one projection. With independent
factors, each branch owns its own Aᵢ and Bᵢ; their scaled outputs add to
the frozen base. Freezing old branches while training a new branch is the
architecture behind stacked continuation.
A different architecture can share one A matrix across several B branches. Updating that A matrix changes every branch's output, including branches whose B matrices are frozen. This is a mathematical architecture comparison, not an additional SFT runtime option.
OpenPond's GRPO continuation option named Shared means continuing the parent's existing A and B factors. It does not mean creating this multi-branch shared-A architecture. See the dedicated guides for Shared LoRA, Stacked LoRA and Merged LoRA. They explain factor updates, inherited freezing, materialization and exact GRPO limits.
Worked example: structured support replies
Create a reviewed support Dataset with separate training and held-out tasks. One training task might contain:
{
"input": {"ticket": "My order arrived damaged"},
"expectedOutput": {"action": "replace", "reply": "Please send a photo of the damage."}
}These are illustrative task fields, not a complete Dataset-import request. Approve exactly one matching demonstration whose assistant text is the JSON answer above, then seal the supervised batch. Dataset instructions become the system instructions and the task input becomes the user payload. A grader's score or an unreviewed generated answer cannot replace the demonstration. Privileged context, assets and other unprojected resources are not accepted by this text-only training path.
- Open New Model, choose SFT and LoRA, then Save.
- In Model, choose the exact compatible checkpoint. In Dataset, select or create the Dataset, prepare its sealed supervised batch and select the independent evaluation inputs. Review attached checks in Graders.
- Review the supported LoRA rank/modules, learning rate, steps, sequence limits and compute. Begin with a small reviewed batch and short run.
- Choose the available billing mode before preparing. Reserved budget preserves the current qualified path. Actual usage, when qualified, reviews component prices and an optional whole-Job spending limit; its planning budget is a separate compiler/resource envelope.
- Save configuration retains the draft. Choose Train, inspect the exact inputs and estimate, then explicitly approve Start. Draft saves and preparation do not start compute.
Equivalent official CLI flow
For an existing SFT configuration and sealed batch, save this complete request
shape as sft-request.json. Replace every example ID, revision and hash with
its actual reviewed reference; the example values are not published resources.
The configuration must itself select SFT and its qualified exact base/recipe.
{
"schemaVersion": "openpond.trainingPreparationRequest.v1",
"teamId": "your-workspace",
"operationId": "support-sft-001",
"projectId": null,
"configuration": {
"id": "your-sft-configuration",
"expectedRevision": 3,
"expectedEtag": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
},
"batch": {
"id": "your-approved-supervised-batch",
"revision": 1,
"contentHash": "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb"
},
"name": "Structured support replies",
"maximumSpendUsd": 1
}This request omits usageFunding, retaining the reserved-budget mode. Do not
add priced funding to an accepted preparation to change its billing mode.
openpond training --help
openpond training hosted-prepare sft-request.json --team-id your-workspace --json > prepared.jsonInspect the retained prepared.json, exact inputs and budget before proceeding.
Separately approve paid Start by invoking:
openpond training hosted-start prepared.json --team-id your-workspace --yes --jsonRead the returned Job ID without submitting another run:
openpond training hosted-status YOUR_JOB_ID --team-id your-workspace --json
openpond training hosted-result YOUR_JOB_ID --team-id your-workspace --jsonUse the account's configured OpenPond home; desktop development accounts
normally use --home ~/.openpond/openpond-app-dev. hosted-start accepts the
retained preparation receipt, not the original request. The model-first
hosted-prepare-experiment alternative accepts the SDK's
TrainingExperimentSetupRequest, including exact base-model and recipe data.
A representative partial projection, not a measured result or full wire response, is:
{
"state": "submitted",
"revision": 2,
"jobId": "example-job-id"
}submitted means a Job exists, not that training succeeded. Inspect status,
training loss, final evaluation and the result's verified candidate artifact.
Compare the candidate's answers against the unchanged base on the same held-out
requests; a lower training loss alone does not establish improved support quality.
What a decoded answer comparison looks like
For the same input {"ticket":"My order arrived damaged"}, an illustrative
pair of decoded answers is:
| Version | Decoded answer | Evidence to inspect |
|---|---|---|
| Baseline | Sorry about that. Contact our support team. | Does not satisfy the required JSON output shape. |
| Candidate | {"action":"replace","reply":"Please send a photo of the damage."} | Parses as JSON and matches this task's expected action/reply. |
This is a worked illustration, not generated output from a measured run or
proof of improvement. Find real answers and grades in the run's Evals and
retained per-task evaluation evidence. The official CLI exposes evaluation task
records with hosted-evaluation-tasks using an evaluation ID from
hosted-artifacts; hosted-feedback accepts that evaluation ID and task ID.
Check unfamiliar held-out requests too: reproducing one training demonstration
does not establish generalization or runtime qualification.
Measured supervised control
A bounded Qwen3-8B control on November 5, 2026 trained rank-16 LoRA on four reviewed demonstrations, consuming 936 answer tokens over 32 optimizer steps. The adapter parameters changed, its checkpoint was uploaded and reloaded, and the same three held-out tasks were evaluated before and after training.
Both versions passed one of three tasks. This run demonstrates execution, checkpoint recovery and evaluation; it does not demonstrate improved quality. The run completed and its GPU was positively terminated. Its reserved-budget Job receipt was $0.065190 against a $2 limit. That Job charge is distinct from the separate supplier-cost estimate and does not qualify whole-Job actual-usage billing, another runtime, or saved-version serving.
Actual bounded supervised control, November 5, 2026: four demonstrations and 32 optimizer steps. The same three held-out tasks passed 1/3 before and after. This result does not qualify whole-Job billing or paid serving.
Schedule, recover, save and serve
- Schedule: a Model policy can check nightly, at an interval or after enough new human-approved demonstrations are ready. Each SFT iteration starts from the pinned base, uses a new reviewed batch and retains independent evaluation. A schedule does not accept the candidate or activate serving. See Continual learning.
- Continuation: current cross-Job adapter continuation is GRPO-only. An SFT artifact does not automatically qualify as a GRPO parent. For compatible GRPO parents, Shared, Stacked and Merged describe distinct continuation operations with their own limits.
- Lost response: recover the same preparation/operation and revision before retrying. A second operation can create another paid Job.
- Stop: follow cancellation through verified cleanup. Terminal training can still have open retained-storage obligations; inspect live usage when present.
- Save: use Save Model only after a successful result with verified artifacts. Saving records exact base/adapter identity; serving is a separate compatible, explicitly approved activation.
Runtime discovery remains authoritative. This guide and local accounting proofs do not qualify a new GPU image or hosted CPU package, and new actual-usage execution remains unavailable where exact native evidence is missing.
Sources
- Hu et al., LoRA: Low-Rank Adaptation of Large Language Models — original low-rank adaptation method.
- Microsoft LoRA repository — original implementation and examples.
- OpenPond training contracts — current public preparation, result and recovery contracts. OpenPond runtime qualification is separate from the paper's results.
Compatibility
Requires a qualified exact model and supervised runtime. A saved configuration does not establish execution, continuation or serving availability.