Skip to content

Commit

Permalink
[mergekit-extract-lora] renamed a method for clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasgauthier committed Jul 18, 2024
1 parent 0a622ae commit 17ff289
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mergekit/scripts/extract_lora.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ def validate_and_combine_details(
return module_details, base_model_embedding_size, finetuned_model_embedding_size


def process_module_details(
def extract_lora(
module_details: List[Tuple[str, str]],
base_model_ref: ModelReference,
finetuned_model_ref: ModelReference,
Expand Down Expand Up @@ -573,7 +573,7 @@ def main(
extend_vocab,
)

lora_weights, ranks = process_module_details(
lora_weights, ranks = extract_lora(
module_details,
base_model_ref,
finetuned_model_ref,
Expand Down

0 comments on commit 17ff289

Please sign in to comment.