Skip to content

Questions about MaHiRo (improved/alternate CFG) #6066

Closed Answered by yoinked-h
not-ski asked this question in Q&A
Discussion options

You must be logged in to vote

regarding using diff CFG scale, i usually used 4-ish on the model i used (vpred), but use now something like 2.2-2.8 when using MaHiRo
there isnt a concrete number, but as a rule of thumb use like 2 less cfg scale for it

rundown on MaHiRo:
it, at a high level, takes just following negative guidance, compares it with just following positive guidance, and, if there is low similarity (determined with cossim), merges the old cfg out with the positive guidance [if its completely unrelated (pos == "opposite" neg), it uses pos, if negative and positive are fully related (pos==neg), it uses cfg and interpolates in between] and returns that as the final guidance
the "paper" i made explains more in…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by not-ski
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants