This commit is contained in:
Awni Hannun 2024-03-13 10:09:36 -07:00 committed by GitHub
parent 76c3244cc5
commit 14fe868825
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View File

@ -47,6 +47,7 @@ def linear_to_lora_layers(
"qwen2", "qwen2",
"gemma", "gemma",
"starcoder2", "starcoder2",
"cohere",
]: ]:
keys = set(["self_attn.q_proj", "self_attn.v_proj"]) keys = set(["self_attn.q_proj", "self_attn.v_proj"])
if model.model_type == "mixtral": if model.model_type == "mixtral":

View File

@ -1,3 +1,3 @@
# Copyright © 2023-2024 Apple Inc. # Copyright © 2023-2024 Apple Inc.
__version__ = "0.1.0" __version__ = "0.3.0"