add internlm3 (#1206)

This commit is contained in:
Awni Hannun
2025-01-15 14:55:41 -08:00
committed by GitHub
parent 6ae6c72c2e
commit 50f0a7f6d9
3 changed files with 259 additions and 0 deletions

View File

@@ -100,6 +100,7 @@ def linear_to_lora_layers(
"minicpm",
"deepseek",
"olmo2",
"internlm3",
]:
keys = set(["self_attn.q_proj", "self_attn.v_proj"])
if model.model_type in ["mixtral", "phimoe"]: