Best way to add custom html elements in extensions? (non-gradio) #4310
Unanswered
CodeExplode
asked this question in
Q&A
Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm working on a manual embedding editor, and want to have tagged positions on the weight sliders for user-provided words (tokens).
Since you can just combine embeddings to get a new valid embedding (e.g. a skunk-puppy hybrid), it seems plausible that manually moving weights between marked embeddings might help find and fine-tune exactly what you're looking for rather than rely on textual inversion, though it's possible that relative relationships between the weights are just as important and moving one weight at a time won't work, but I'd still like to try. Having a bunch of animals tagged on each weight might give an idea of valid ranges if you're trying to create say a pokemon which will still work like an animal (or create a starting point for textual inversion, since there are multiple valid embeddings for a given output but some will have better editability than others).
Gradio slider are a bit bulky for 768 weights, and afaik there's no way to add markers on them for the user-provided words. I'm happy to add my own sliders, but don't know the ideal way to do it in the extensions framework which wouldn't be considered an ugly hack.
Beta Was this translation helpful? Give feedback.
All reactions