Skip to content

Feature Request: Additional conditioning settings for <break> #631

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
caith-h opened this issue Mar 5, 2025 · 0 comments
Open

Feature Request: Additional conditioning settings for <break> #631

caith-h opened this issue Mar 5, 2025 · 0 comments
Labels
C# This pertains to the C# engine Feature New feature or request Frontend This pertains to the frontend UI (HTML/CSS/JS)

Comments

@caith-h
Copy link

caith-h commented Mar 5, 2025

Feature Idea

Currently we can use <break> to concat the prompt in a specific place.

However any large scale finetunes done on Onetrainer & SimpleTuner instead of Kohya, will work much better with conditioning average, instead of conditioning concat (due to the strict enforcement of the token limit)

Feature Request:
add optional conditionings to the <break> tag, such as:
<break:average> (with <break:a> doing the same) which defaults to 0.5 strength, but <break:a:0.3> lets you control the strength of the averaging conditioning right in the prompt (especially useful for models trained with quality tags, like pony, illustrious & animagine - where changing to a non 0.5 averaging conditioning increases prompt adherence significantly, when combined with any lora/finetune trained on OneTrainer or SimpleTuner)

for the sake of completion, adding <break:combine> would make sense as well, though I'd advise against using it.

PS: If implemented, I'll add a wiki page with examples detailing when to use which conditioning, and showing results from different models, since this can be hard to conceptualize without examples and there being no "best practice"

Other

No response

@caith-h caith-h added the Feature New feature or request label Mar 5, 2025
@mcmonkey4eva mcmonkey4eva added Frontend This pertains to the frontend UI (HTML/CSS/JS) C# This pertains to the C# engine labels Mar 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C# This pertains to the C# engine Feature New feature or request Frontend This pertains to the frontend UI (HTML/CSS/JS)
Projects
None yet
Development

No branches or pull requests

2 participants