Skip to content
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

Add CFG support #46

Merged
merged 2 commits into from
Jan 2, 2024
Merged

Add CFG support #46

merged 2 commits into from
Jan 2, 2024

Conversation

bdashore3
Copy link
Member

No description provided.

CFG, or classifier-free guidance helps push a model in different
directions based on what the user provides.

Currently, CFG is ignored if the negative prompt is blank (it shouldn't
be used in that way anyways).

Signed-off-by: kingbri <[email protected]>
Fallback to the BOS token since an empty string won't do anything.
Ideally, an empty negative prompt should not be used, but it's not
the end of the world.

Signed-off-by: kingbri <[email protected]>
@bdashore3 bdashore3 merged commit bbd4ee5 into main Jan 2, 2024
1 check passed
@bdashore3 bdashore3 deleted the cfg branch January 19, 2024 04:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant