Commit History
-
Docs: publish LoRA trainer + add README fine-tuning storyβ
Task #3 β training/lora_trainer/: the reproducible Modal + ai-toolkit setup (run_modal.py, numzoo_klein.yaml, README with repro steps + the gotchas we hit). Task #4 β README: new "Custom AI art: the NumZoo LoRA" section with before/after panda (photoreal β cozy), a LoRA gallery, the Qwen-Image dataset story, training summary, and a link to the published HF LoRA (goumsss/numzoo-flux2-klein-lora). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>6805506 -
Prep captions for LoRA training: trigger word + content-onlyβ
- Add TRIGGER='NUMZOO' and split generation prompt (styled) from training caption (trigger + content, no style words) per BFL style-LoRA guidance - Add --captions-only to rewrite .txt captions without re-generating images - Rewrite all 54 captions to "NUMZOO. <content>" format Trigger word will be prepended by the app at inference once the LoRA is trained (done at integration time, not now). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>47fb1ee -
Regenerate training image 011 β replace human girl with chibi butterflyβ
The original butterfly scene rendered a chibi human girl as the main subject (NUMZOO_STYLE's "chibi character with big sparkling eyes" pulls toward a humanoid when the only animal is a faceless butterfly). Regenerated with the butterfly itself as the chibi character + a no-humans negative prompt. Caption (.txt) unchanged β still app-aligned. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>c80b403 -
Switch dataset model to Qwen-Image + add 54-image training set (LFS)β
scripts/generate_dataset.py: - Use Qwen/Qwen-Image (fal-ai provider) β beat FLUX.1-dev on multi-animal accuracy in side-by-side tests; FLUX.2-dev is edit-only so unusable for t2i - Add a 4-attempt retry loop for transient fal-ai 504 timeouts - Drop the --provider flag (single model now) training/: - 54 generated images + caption .txt files, tracked via Git LFS - All 12 app animals solo, all 10 places, plus 2β3 animal and 2β3 place combos - Captions share the app's exact build_subject prefix + NUMZOO_STYLE suffix Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>38bba68