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

Base model and vector merging #1

Open
whitepapercg opened this issue Jan 23, 2024 · 1 comment
Open

Base model and vector merging #1

whitepapercg opened this issue Jan 23, 2024 · 1 comment

Comments

@whitepapercg
Copy link

Hi, can you suggest how to merge the base model and the trained vector?

@vgel
Copy link
Owner

vgel commented Jan 28, 2024

Hmm, not sure if it's possible since the library wraps extra code around the model to add the vector. Maybe by adding the vector to the appropriate layer bias? But it might be architecture-dependant based on normalization... I've been thinking about this as well so open to suggestions here!

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

No branches or pull requests

2 participants