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

Allow specifying modules to save in mergekit-extract-lora #496

Merged
merged 5 commits into from
Jan 25, 2025

Conversation

cg123
Copy link
Collaborator

@cg123 cg123 commented Jan 25, 2025

Now you can do mergekit-extract-lora FINETUNED_MODEL BASE_MODEL OUT_PATH --save-module lm_head --save-module embed_tokens.

Also should handle optional/tied weights better.

@cg123 cg123 merged commit 526c5a8 into main Jan 25, 2025
8 checks passed
@cg123 cg123 deleted the lora-modules-to-save branch January 25, 2025 06:51
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