-
Notifications
You must be signed in to change notification settings - Fork 18
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
[FR] Attention Interpolation #39
Comments
I think you can sort of do this already if you combine the The existing interpolation feature works on the embedding tensors directly so it's unfortunately not useful. |
Hmmm, this does look like it works, but it's not the prettiest. |
Edited to allow for descending weight
|
You can make that a bit simpler with MUSimpleWildcard with its in-prompt variable / macro support, but that does get a bit complex. I actually didn't know Jinja can do macros; I should probably refactor the "built-in" functions in |
Describe what's missing
Basically, this: https://github.com/ljleb/prompt-fusion-extension/wiki/Attention-Interpolation
Additional context
🙏🏻
Not sure if there's a way to accomplish this using the existing interpolation feature.
The text was updated successfully, but these errors were encountered: