first item of logits_BxCxV should be uncond_logits_BxCxV#240
first item of logits_BxCxV should be uncond_logits_BxCxV#240hopingZ wants to merge 1 commit intonari-labs:mainfrom
Conversation
|
Per my 30 minute forray into this intriguing 1-liner: This is the standard Classifier-Free Guidance (CFG) formula. You would very likely never want cond_logits_BxCxV when cfg_scale = 0 because the conditional model is usually undertrained (or performs poorly on its own). Here's some LLM guidance on it: When
When
...
-- maybe even better would be (For performance): |
No description provided.