temperwork Blog Documentation
Guides

Quickstart: fine-tune a LoRA

Teach a model something it doesn't know from your own examples. You'll set up the datasets a LoRA learns from, train it, and pick its best checkpoint.

The example teaches Qwen Image Edit 2511 to add one particular dog to a photo (Examples); use any subject you have photos of.

1. Upload your examples

A LoRA learns from pairs: a before image and the after image its instruction should produce, matched by file name. Datasets → Upload dataset, kind Images:

  • subject: 20 to 40 photos of what the model should learn (the afters);

  • test-scenes: 5 to 10 photos it will never train on, to test with.

Upload data: the kind, the dataset's name and the files
Upload data: the kind, the dataset's name and the files

If you don't have the befores, make them with a pipeline: a step on Qwen Image Edit 2511 with the prompt "Remove the dog from this photo… Change nothing else", run on subject (Quickstart: test a prompt shows how). Its output, subject-generated, has the same file names.

2. Train

Training → Train a LoRA: a name, the base model, the instruction it learns ("Add cocodoodle dog to this photo"), the befores as the source and the afters as the target. The form counts the pairs and shows the price. Start training.

Create a LoRA: its name, base model, instruction, and the before and after datasets
Create a LoRA: its name, base model, instruction, and the before and after datasets

Its page shows its progress. Each checkpoint goes into LoRAs as soon as it is saved; 2,000 steps take about two hours.

3. Pick the best checkpoint

On the training's page, Evaluate checkpoints on test-scenes and click the best output for each photo, or judge each checkpoint's output beside the base model's. Use this checkpoint makes the winner your LoRA.

Evaluate checkpoints: each test photo under every checkpoint
Evaluate checkpoints: each test photo under every checkpoint

Add it to a pipeline's step with + Add LoRA. More: Training and LoRAs, Pricing.

On this page