Skip to content

Recipe Format

m4bwav edited this page Nov 28, 2026 · 1 revision

A recipe is one JSON file. tw.py new writes this skeleton (shown for image-lora):

field default meaning
trainwright 1 format version
name, kind from the command run name and kind
use personal personal, sellable or public-release; the licence gate depends on it
trainer.name per kind, below trainer config and run use
base empty name, path, arch, sha256, licence, gated
dataset empty root, items (from hash --manifest), captions, subject, consent, licence
config rank 16, alpha 16, lr 1e-4, 1000 steps, batch 1, resolution 1024, save every 100, seed 42, quant qfloat8, low VRAM on training settings
eval strengths 0.0, 0.6, 0.8, 1.0; judge artwright-judge sheet (held-out prompts), strengths, judge, scores, picked
runs [] filled by run
output empty dir, and files filled by record

Per kind

kind default trainer other trainers changes to the defaults
image-lora ai-toolkit musubi-tuner, kohya none
video-lora musubi-tuner ai-toolkit resolution 512, 33 frames, block swap 20
voice voxcpm none no resolution, batch 2, gradient accumulation 8, no strengths, judge "voicewright check + human listen"
llm unsloth trl lr 2e-4, 500 steps, no resolution, 4-bit, max sequence length 2048, no strengths, judge "lm-eval or held-out prompt sheet"

Consent values

When dataset.subject names a person (always required for voice), dataset.consent must be one of:

  • self
  • granted:YYYY-MM-DD <who>
  • public-domain
  • licensed:<terms>
  • synthetic

See Gates for the rest of what check reads.

Clone this wiki locally