mirror of
https://github.com/vladmandic/automatic
synced 2026-08-30 17:11:00 +02:00
ccb339bf0f
ToriiGate 0.5 is a Qwen3.5 vision fine-tune trained on a single system prompt and a single query structure, and it degrades on anything else. The shared qwen handler strips angle brackets and underscores from the question, which mangles the model's format templates, and the generic caption instructions are not what it was trained on. - hold the model's caption formats, system prompt and query builder in modules/caption/toriigate.py - build the system prompt and user query from those templates in the qwen handler - offer the native formats in the task dropdown and in the caption api prompt groups - drop Normal Caption for this model, which has no format between short and long