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

build a single combined token for Textual Inversions #212

Closed
ssube opened this issue Mar 5, 2023 · 0 comments · Fixed by #252
Closed

build a single combined token for Textual Inversions #212

ssube opened this issue Mar 5, 2023 · 0 comments · Fixed by #252
Labels
model/diffusion status/fixed issues that have been fixed and released type/feature new features
Milestone

Comments

@ssube
Copy link
Owner

ssube commented Mar 5, 2023

While the current code does support textual inversions, ones with more than one layer/vector will be split into multiple tokens. There are some benefits to that, since you can weight/omit individual tokens, but some of the embeddings available from Civitai have more than 10 layers - a few even have 70-75 or more. Providing that many tokens in the winter-0, winter-1, winter-2, winter-3, ... form takes a lot of time and space in the prompt.

Add a single token that will either expand into all of the others or invoke the layers correctly without expansion.

@ssube ssube added status/planned issues that have been planned but not started type/feature new features model/diffusion labels Mar 5, 2023
@ssube ssube added status/progress issues that are in progress and have a branch and removed status/planned issues that have been planned but not started labels Mar 17, 2023
@ssube ssube added status/fixed issues that have been fixed and released and removed status/progress issues that are in progress and have a branch labels Mar 18, 2023
@ssube ssube added this to the v0.9 milestone Mar 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
model/diffusion status/fixed issues that have been fixed and released type/feature new features
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant